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

Unified Diff: trunk/src/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h

Issue 266643005: Revert 267354 "Refactor views app list services to allow more co..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h
===================================================================
--- trunk/src/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h (revision 267382)
+++ trunk/src/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h (working copy)
@@ -5,22 +5,38 @@
#ifndef CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE_WIN_H_
-#include "chrome/browser/ui/app_list/app_list_controller_delegate_views.h"
+#include "base/files/file_path.h"
+#include "chrome/browser/ui/app_list/app_list_controller_delegate_impl.h"
+#include "ui/gfx/image/image_skia.h"
+#include "ui/gfx/native_widget_types.h"
+class AppListServiceWin;
+class Profile;
+
+namespace extensions {
+class Extension;
+}
+
// Windows specific configuration and behaviour for the AppList.
-class AppListControllerDelegateWin : public AppListControllerDelegateViews {
+class AppListControllerDelegateWin : public AppListControllerDelegateImpl {
public:
- explicit AppListControllerDelegateWin(AppListServiceViews* service);
+ explicit AppListControllerDelegateWin(AppListServiceWin* service);
virtual ~AppListControllerDelegateWin();
// AppListControllerDelegate overrides:
virtual bool ForceNativeDesktop() const OVERRIDE;
+ virtual void ViewClosing() OVERRIDE;
virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
+ virtual void OnShowExtensionPrompt() OVERRIDE;
+ virtual void OnCloseExtensionPrompt() OVERRIDE;
+ virtual bool CanDoCreateShortcutsFlow() OVERRIDE;
private:
// AppListcontrollerDelegateImpl:
virtual void FillLaunchParams(AppLaunchParams* params) OVERRIDE;
+ AppListServiceWin* service_;
+
DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateWin);
};

Powered by Google App Engine
This is Rietveld 408576698