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

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

Issue 265163006: [Mac] Rebuild app shims when they fail to dyload Chrome Framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Write code that compiles Created 6 years, 7 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
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"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // operating system and shell. 96 // operating system and shell.
97 virtual void EnableAppList(Profile* initial_profile, 97 virtual void EnableAppList(Profile* initial_profile,
98 AppListEnableSource enable_source) = 0; 98 AppListEnableSource enable_source) = 0;
99 99
100 // Get the window the app list is in, or NULL if the app list isn't visible. 100 // Get the window the app list is in, or NULL if the app list isn't visible.
101 virtual gfx::NativeWindow GetAppListWindow() = 0; 101 virtual gfx::NativeWindow GetAppListWindow() = 0;
102 102
103 // Returns a pointer to the platform specific AppListControllerDelegate. 103 // Returns a pointer to the platform specific AppListControllerDelegate.
104 virtual AppListControllerDelegate* GetControllerDelegate() = 0; 104 virtual AppListControllerDelegate* GetControllerDelegate() = 0;
105 105
106 // Create a platform-specific shortcut for the app list.
107 virtual void CreateShortcut() = 0;
108
106 protected: 109 protected:
107 AppListService() {} 110 AppListService() {}
108 virtual ~AppListService() {} 111 virtual ~AppListService() {}
109 112
110 // Do any once off initialization needed for the app list. 113 // Do any once off initialization needed for the app list.
111 virtual void Init(Profile* initial_profile) = 0; 114 virtual void Init(Profile* initial_profile) = 0;
112 115
113 private: 116 private:
114 DISALLOW_COPY_AND_ASSIGN(AppListService); 117 DISALLOW_COPY_AND_ASSIGN(AppListService);
115 }; 118 };
116 119
117 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_ 120 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698