Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: ui/app_list/views/search_box_view.cc

Issue 2865553002: Naming more views and windows to simplify debugging. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/search_box_view.cc
diff --git a/ui/app_list/views/search_box_view.cc b/ui/app_list/views/search_box_view.cc
index 72c7e2bdcdaaac73e3facef98c2a1b104388686b..7acba845febcd0d4e5a8ece9eb0d896d608d78c4 100644
--- a/ui/app_list/views/search_box_view.cc
+++ b/ui/app_list/views/search_box_view.cc
@@ -105,6 +105,8 @@ class SearchBoxImageButton : public views::ImageButton {
canvas->FillRect(gfx::Rect(size()), kSelectedColor);
}
+ const char* GetClassName() const override { return "SearchBoxImageButton"; }
+
bool selected_;
DISALLOW_COPY_AND_ASSIGN(SearchBoxImageButton);
@@ -301,6 +303,10 @@ void SearchBoxView::OnEnabledChanged() {
speech_button_->SetEnabled(enabled());
}
+const char* SearchBoxView::GetClassName() const {
+ return "SearchBoxView";
+}
+
void SearchBoxView::UpdateModel() {
// Temporarily remove from observer to ignore notifications caused by us.
model_->search_box()->RemoveObserver(this);

Powered by Google App Engine
This is Rietveld 408576698