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); |