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

Side by Side Diff: ui/app_list/views/search_box_view.cc

Issue 23072036: Adds an integration test for uninstalling app list search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit indenting Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/app_list/views/search_box_view.h" 5 #include "ui/app_list/views/search_box_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "grit/ui_resources.h" 9 #include "grit/ui_resources.h"
10 #include "ui/app_list/app_list_model.h" 10 #include "ui/app_list/app_list_model.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void SearchBoxView::HintTextChanged() { 175 void SearchBoxView::HintTextChanged() {
176 search_box_->set_placeholder_text(model_->search_box()->hint_text()); 176 search_box_->set_placeholder_text(model_->search_box()->hint_text());
177 } 177 }
178 178
179 void SearchBoxView::SelectionModelChanged() { 179 void SearchBoxView::SelectionModelChanged() {
180 search_box_->SelectSelectionModel(model_->search_box()->selection_model()); 180 search_box_->SelectSelectionModel(model_->search_box()->selection_model());
181 } 181 }
182 182
183 void SearchBoxView::TextChanged() { 183 void SearchBoxView::TextChanged() {
184 search_box_->SetText(model_->search_box()->text()); 184 search_box_->SetText(model_->search_box()->text());
185 NotifyQueryChanged();
185 } 186 }
186 187
187 } // namespace app_list 188 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698