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

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

Issue 225053004: Refactor views app list services to allow more code sharing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+sim30 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: chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h
diff --git a/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h b/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h
index c67cb57f0e44d3f57759ad6999400ab02ea2bfd8..34d42e93fa82380df7618119b78b75b3b9c9b533 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h
+++ b/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h
@@ -5,38 +5,22 @@
#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 "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;
-}
+#include "chrome/browser/ui/app_list/app_list_controller_delegate_views.h"
// Windows specific configuration and behaviour for the AppList.
-class AppListControllerDelegateWin : public AppListControllerDelegateImpl {
+class AppListControllerDelegateWin : public AppListControllerDelegateViews {
public:
- explicit AppListControllerDelegateWin(AppListServiceWin* service);
+ explicit AppListControllerDelegateWin(AppListServiceViews* 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