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

Side by Side Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.h

Issue 1890583002: Renaming App List Shower to App List Presenter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix. Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/app_list/app_list_controller_ash.cc » ('j') | 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 #ifndef CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
6 #define CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_ 6 #define CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" 10 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
11 #include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h" 11 #include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h"
12 12
13 namespace app_list { 13 namespace app_list {
14 class AppListShowerImpl; 14 class AppListPresenterImpl;
15 } 15 }
16 16
17 class AppListControllerDelegateAsh : public AppListControllerDelegate { 17 class AppListControllerDelegateAsh : public AppListControllerDelegate {
18 public: 18 public:
19 explicit AppListControllerDelegateAsh(app_list::AppListShowerImpl*); 19 explicit AppListControllerDelegateAsh(app_list::AppListPresenterImpl*);
20 ~AppListControllerDelegateAsh() override; 20 ~AppListControllerDelegateAsh() override;
21 21
22 private: 22 private:
23 // AppListControllerDelegate overrides: 23 // AppListControllerDelegate overrides:
24 void DismissView() override; 24 void DismissView() override;
25 gfx::NativeWindow GetAppListWindow() override; 25 gfx::NativeWindow GetAppListWindow() override;
26 gfx::Rect GetAppListBounds() override; 26 gfx::Rect GetAppListBounds() override;
27 bool IsAppPinned(const std::string& extension_id) override; 27 bool IsAppPinned(const std::string& extension_id) override;
28 void PinApp(const std::string& extension_id) override; 28 void PinApp(const std::string& extension_id) override;
29 void UnpinApp(const std::string& extension_id) override; 29 void UnpinApp(const std::string& extension_id) override;
(...skipping 15 matching lines...) Expand all
45 void LaunchApp(Profile* profile, 45 void LaunchApp(Profile* profile,
46 const extensions::Extension* extension, 46 const extensions::Extension* extension,
47 AppListSource source, 47 AppListSource source,
48 int event_flags) override; 48 int event_flags) override;
49 void ShowForProfileByPath(const base::FilePath& profile_path) override; 49 void ShowForProfileByPath(const base::FilePath& profile_path) override;
50 bool ShouldShowUserIcon() override; 50 bool ShouldShowUserIcon() override;
51 51
52 ash::LaunchSource AppListSourceToLaunchSource(AppListSource source); 52 ash::LaunchSource AppListSourceToLaunchSource(AppListSource source);
53 53
54 // Not owned. 54 // Not owned.
55 app_list::AppListShowerImpl* app_list_shower_; 55 app_list::AppListPresenterImpl* app_list_presenter_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateAsh); 57 DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateAsh);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_ 60 #endif // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/app_list/app_list_controller_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698