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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_BROWSER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 virtual void SetRefocusURLPatternForTest(ash::LauncherID id, | 223 virtual void SetRefocusURLPatternForTest(ash::LauncherID id, |
224 const GURL& url) OVERRIDE; | 224 const GURL& url) OVERRIDE; |
225 | 225 |
226 // Returns the extension identified by |app_id|. | 226 // Returns the extension identified by |app_id|. |
227 virtual const extensions::Extension* GetExtensionForAppID( | 227 virtual const extensions::Extension* GetExtensionForAppID( |
228 const std::string& app_id) OVERRIDE; | 228 const std::string& app_id) OVERRIDE; |
229 | 229 |
230 // ash::LauncherDelegate overrides: | 230 // ash::LauncherDelegate overrides: |
231 virtual void OnBrowserShortcutClicked(int event_flags) OVERRIDE; | 231 virtual void OnBrowserShortcutClicked(int event_flags) OVERRIDE; |
232 virtual void ItemClicked(const ash::LauncherItem& item, | 232 virtual void ItemClicked(const ash::LauncherItem& item, |
233 int event_flags) OVERRIDE; | 233 const ui::Event& event) OVERRIDE; |
234 virtual int GetBrowserShortcutResourceId() OVERRIDE; | 234 virtual int GetBrowserShortcutResourceId() OVERRIDE; |
235 virtual string16 GetTitle(const ash::LauncherItem& item) OVERRIDE; | 235 virtual string16 GetTitle(const ash::LauncherItem& item) OVERRIDE; |
236 virtual ui::MenuModel* CreateContextMenu( | 236 virtual ui::MenuModel* CreateContextMenu( |
237 const ash::LauncherItem& item, aura::RootWindow* root) OVERRIDE; | 237 const ash::LauncherItem& item, aura::RootWindow* root) OVERRIDE; |
238 virtual ui::MenuModel* CreateApplicationMenu( | 238 virtual ui::MenuModel* CreateApplicationMenu( |
239 const ash::LauncherItem& item) OVERRIDE; | 239 const ash::LauncherItem& item) OVERRIDE; |
240 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; | 240 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; |
241 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; | 241 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; |
242 | 242 |
243 // ash::LauncherModelObserver overrides: | 243 // ash::LauncherModelObserver overrides: |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 PrefChangeRegistrar pref_change_registrar_; | 360 PrefChangeRegistrar pref_change_registrar_; |
361 | 361 |
362 AppSyncUIState* app_sync_ui_state_; | 362 AppSyncUIState* app_sync_ui_state_; |
363 | 363 |
364 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; | 364 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; |
365 | 365 |
366 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerPerBrowser); | 366 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerPerBrowser); |
367 }; | 367 }; |
368 | 368 |
369 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_BROWSER
_H_ | 369 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_PER_BROWSER
_H_ |
OLD | NEW |