Commit c0430cc1 authored by Alan Cutter's avatar Alan Cutter Committed by Commit Bot

Implement GetClassName() for CustomTabBarView

This CL updates CustomTabBarView to report its class name to native
UI devtools.

Bug: 853593
Change-Id: I9b56a2138ef08d54a604f67fa5dd7eaf8e9b19b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888851
Auto-Submit: Alan Cutter <alancutter@chromium.org>
Reviewed-by: default avatarJay Harris <harrisjay@chromium.org>
Commit-Queue: Jay Harris <harrisjay@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710591}
parent 9dc83eeb
...@@ -233,6 +233,10 @@ gfx::Rect CustomTabBarView::GetAnchorBoundsInScreen() const { ...@@ -233,6 +233,10 @@ gfx::Rect CustomTabBarView::GetAnchorBoundsInScreen() const {
title_origin_view_->GetAnchorBoundsInScreen()); title_origin_view_->GetAnchorBoundsInScreen());
} }
const char* CustomTabBarView::GetClassName() const {
return kViewClassName;
}
void CustomTabBarView::TabChangedAt(content::WebContents* contents, void CustomTabBarView::TabChangedAt(content::WebContents* contents,
int index, int index,
TabChangeType change_type) { TabChangeType change_type) {
......
...@@ -48,6 +48,7 @@ class CustomTabBarView : public views::AccessiblePaneView, ...@@ -48,6 +48,7 @@ class CustomTabBarView : public views::AccessiblePaneView,
// views::View: // views::View:
gfx::Rect GetAnchorBoundsInScreen() const override; gfx::Rect GetAnchorBoundsInScreen() const override;
const char* GetClassName() const override;
// TabstripModelObserver: // TabstripModelObserver:
void TabChangedAt(content::WebContents* contents, void TabChangedAt(content::WebContents* contents,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment