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

Unified Diff: chrome/browser/ui/views/ash/app_list/search_builder.h

Issue 10831173: views: Now remove the old files from ash/app_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ash/app_list/search_builder.h
diff --git a/chrome/browser/ui/views/ash/app_list/search_builder.h b/chrome/browser/ui/views/ash/app_list/search_builder.h
deleted file mode 100644
index fb036daf8f19e1b8cd19e2be449a83cd7b97052a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/ash/app_list/search_builder.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_
-#define CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
-#include "ui/app_list/app_list_model.h"
-
-namespace app_list {
-class SearchBoxModel;
-class SearchResult;
-}
-
-class AutocompleteController;
-class AutocompleteResult;
-class ExtensionAppProvider;
-class Profile;
-
-// SearchBuilder creates app list search results via AutoCompleteController.
-class SearchBuilder : public AutocompleteControllerDelegate {
- public:
- SearchBuilder(Profile* profile,
- app_list::SearchBoxModel* search_box,
- app_list::AppListModel::SearchResults* results);
- virtual ~SearchBuilder();
-
- void StartSearch();
- void StopSearch();
-
- void OpenResult(const app_list::SearchResult& result, int event_flags);
-
- private:
- // Populates result list from AutocompleteResult.
- void PopulateFromACResult(const AutocompleteResult& result);
-
- // AutocompleteControllerDelegate overrides:
- virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
-
- Profile* profile_;
-
- // Sub models of AppListModel that represent search box and result list.
- app_list::SearchBoxModel* search_box_;
- app_list::AppListModel::SearchResults* results_;
-
- // The omnibox AutocompleteController that collects/sorts/dup-
- // eliminates the results as they come in.
- scoped_ptr<AutocompleteController> controller_;
-
- // ExtensionAppProvider used for apps only mode. If apps only mode becomes the
- // only mode, remove the AutocompleteController above. Otherwise, remove this.
- scoped_refptr<ExtensionAppProvider> apps_provider_;
-
- DISALLOW_COPY_AND_ASSIGN(SearchBuilder);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_ASH_APP_LIST_SEARCH_BUILDER_H_
« no previous file with comments | « chrome/browser/ui/views/ash/app_list/extension_app_item.cc ('k') | chrome/browser/ui/views/ash/app_list/search_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698