OLD | NEW |
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_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_APP_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_APP_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_APP_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_APP_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 virtual void SetRefocusURLPatternForTest(ash::LauncherID id, | 229 virtual void SetRefocusURLPatternForTest(ash::LauncherID id, |
230 const GURL& url) OVERRIDE; | 230 const GURL& url) OVERRIDE; |
231 | 231 |
232 // Returns the extension identified by |app_id|. | 232 // Returns the extension identified by |app_id|. |
233 virtual const extensions::Extension* GetExtensionForAppID( | 233 virtual const extensions::Extension* GetExtensionForAppID( |
234 const std::string& app_id) OVERRIDE; | 234 const std::string& app_id) OVERRIDE; |
235 | 235 |
236 // ash::LauncherDelegate overrides: | 236 // ash::LauncherDelegate overrides: |
237 virtual void OnBrowserShortcutClicked(int event_flags) OVERRIDE; | 237 virtual void OnBrowserShortcutClicked(int event_flags) OVERRIDE; |
238 virtual void ItemClicked(const ash::LauncherItem& item, | 238 virtual void ItemClicked(const ash::LauncherItem& item, |
239 int event_flags) OVERRIDE; | 239 const ui::Event& event) OVERRIDE; |
240 virtual int GetBrowserShortcutResourceId() OVERRIDE; | 240 virtual int GetBrowserShortcutResourceId() OVERRIDE; |
241 virtual string16 GetTitle(const ash::LauncherItem& item) OVERRIDE; | 241 virtual string16 GetTitle(const ash::LauncherItem& item) OVERRIDE; |
242 virtual ui::MenuModel* CreateContextMenu( | 242 virtual ui::MenuModel* CreateContextMenu( |
243 const ash::LauncherItem& item, aura::RootWindow* root) OVERRIDE; | 243 const ash::LauncherItem& item, aura::RootWindow* root) OVERRIDE; |
244 virtual ui::MenuModel* CreateApplicationMenu( | 244 virtual ui::MenuModel* CreateApplicationMenu( |
245 const ash::LauncherItem& item) OVERRIDE; | 245 const ash::LauncherItem& item) OVERRIDE; |
246 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; | 246 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; |
247 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; | 247 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; |
248 | 248 |
249 // ash::LauncherModelObserver overrides: | 249 // ash::LauncherModelObserver overrides: |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 PrefChangeRegistrar pref_change_registrar_; | 401 PrefChangeRegistrar pref_change_registrar_; |
402 | 402 |
403 AppSyncUIState* app_sync_ui_state_; | 403 AppSyncUIState* app_sync_ui_state_; |
404 | 404 |
405 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; | 405 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; |
406 | 406 |
407 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerPerApp); | 407 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerPerApp); |
408 }; | 408 }; |
409 | 409 |
410 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_APP_H_ | 410 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_APP_H_ |
OLD | NEW |