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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service.h

Issue 15715018: Make the Remove Extension dialog modal for win app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac fix Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service_disabled.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LIST_APP_LIST_SERVICE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "ui/gfx/native_widget_types.h"
12 13
13 class AppListControllerDelegate; 14 class AppListControllerDelegate;
14 class CommandLine; 15 class CommandLine;
15 class PrefRegistrySimple; 16 class PrefRegistrySimple;
16 class Profile; 17 class Profile;
17 18
18 namespace base { 19 namespace base {
19 class FilePath; 20 class FilePath;
20 } 21 }
21 22
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Get the profile the app list is currently showing. 55 // Get the profile the app list is currently showing.
55 virtual Profile* GetCurrentAppListProfile() = 0; 56 virtual Profile* GetCurrentAppListProfile() = 0;
56 57
57 // Returns true if the app list is visible. 58 // Returns true if the app list is visible.
58 virtual bool IsAppListVisible() const = 0; 59 virtual bool IsAppListVisible() const = 0;
59 60
60 // Enable the app list. What this does specifically will depend on the host 61 // Enable the app list. What this does specifically will depend on the host
61 // operating system and shell. 62 // operating system and shell.
62 virtual void EnableAppList() = 0; 63 virtual void EnableAppList() = 0;
63 64
65 // Get the window the app list is in, or NULL if the app list isn't visible.
66 virtual gfx::NativeWindow GetAppListWindow() = 0;
67
64 // Exposed to allow testing of the controller delegate. 68 // Exposed to allow testing of the controller delegate.
65 virtual AppListControllerDelegate* CreateControllerDelegate() = 0; 69 virtual AppListControllerDelegate* CreateControllerDelegate() = 0;
66 70
67 protected: 71 protected:
68 AppListService() {} 72 AppListService() {}
69 virtual ~AppListService() {} 73 virtual ~AppListService() {}
70 74
71 // Do any once off initialization needed for the app list. 75 // Do any once off initialization needed for the app list.
72 virtual void Init(Profile* initial_profile) = 0; 76 virtual void Init(Profile* initial_profile) = 0;
73 77
74 private: 78 private:
75 DISALLOW_COPY_AND_ASSIGN(AppListService); 79 DISALLOW_COPY_AND_ASSIGN(AppListService);
76 }; 80 };
77 81
78 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ 82 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service_disabled.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698