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

Side by Side Diff: chrome/browser/ui/ash/app_list/search_builder.cc

Issue 10828151: chrome: Copy app_list files from views/ to ash/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cp the header files now Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/ash/app_list/search_builder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/ui/views/ash/app_list/search_builder.h" 5 #include "chrome/browser/ui/views/ash/app_list/search_builder.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "chrome/browser/autocomplete/autocomplete_controller.h" 10 #include "chrome/browser/autocomplete/autocomplete_controller.h"
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 ++it) { 269 ++it) {
270 results_->Add(new SearchBuilderResult(profile_, *it)); 270 results_->Add(new SearchBuilderResult(profile_, *it));
271 } 271 }
272 } 272 }
273 273
274 void SearchBuilder::OnResultChanged(bool default_match_changed) { 274 void SearchBuilder::OnResultChanged(bool default_match_changed) {
275 // TODO(xiyuan): Handle default match properly. 275 // TODO(xiyuan): Handle default match properly.
276 const AutocompleteResult& ac_result = controller_->result(); 276 const AutocompleteResult& ac_result = controller_->result();
277 PopulateFromACResult(ac_result); 277 PopulateFromACResult(ac_result);
278 } 278 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/app_list/search_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698