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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_view_delegate.h

Issue 10871011: Move common app_list delegate code to chrome/browser/ui/app_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test file only in chrome 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/ash/app_list/app_list_view_delegate.h
diff --git a/chrome/browser/ui/ash/app_list/app_list_view_delegate.h b/chrome/browser/ui/ash/app_list/app_list_view_delegate.h
deleted file mode 100644
index 61a4e75c7335b43697a94cee7194ad662bb5447d..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/app_list/app_list_view_delegate.h
+++ /dev/null
@@ -1,43 +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_ASH_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
-#define CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/ui/ash/app_list/app_list_controller.h"
-#include "ui/app_list/app_list_view_delegate.h"
-
-class AppsModelBuilder;
-class SearchBuilder;
-
-class AppListViewDelegate : public app_list::AppListViewDelegate {
- public:
- // The delegate will take ownership of the controller.
- explicit AppListViewDelegate(AppListController* controller);
- virtual ~AppListViewDelegate();
-
- private:
- // Overridden from app_list::AppListViewDelegate:
- virtual void SetModel(app_list::AppListModel* model) OVERRIDE;
- virtual void ActivateAppListItem(app_list::AppListItemModel* item,
- int event_flags) OVERRIDE;
- virtual void StartSearch() OVERRIDE;
- virtual void StopSearch() OVERRIDE;
- virtual void OpenSearchResult(const app_list::SearchResult& result,
- int event_flags) OVERRIDE;
- virtual void Close() OVERRIDE;
-
- scoped_ptr<AppsModelBuilder> apps_builder_;
- scoped_ptr<SearchBuilder> search_builder_;
- scoped_ptr<AppListController> controller_;
-
- DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_controller_ash.h ('k') | chrome/browser/ui/ash/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698