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 ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; | 46 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; |
47 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 47 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
48 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; | 48 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; |
49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
51 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 51 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
52 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 52 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
53 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 53 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
54 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; | 54 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; |
55 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; | 55 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; |
| 56 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
56 virtual ui::MenuModel* CreateContextMenu( | 57 virtual ui::MenuModel* CreateContextMenu( |
57 aura::Window* root_window, | 58 aura::Window* root_window, |
58 ash::ShelfItemDelegate* item_delegate, | 59 ash::ShelfItemDelegate* item_delegate, |
59 ash::ShelfItem* item) OVERRIDE; | 60 ash::ShelfItem* item) OVERRIDE; |
60 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE; | 61 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE; |
61 virtual GPUSupport* CreateGPUSupport() OVERRIDE; | 62 virtual GPUSupport* CreateGPUSupport() OVERRIDE; |
62 virtual base::string16 GetProductName() const OVERRIDE; | 63 virtual base::string16 GetProductName() const OVERRIDE; |
63 | 64 |
64 private: | 65 private: |
65 // Used to update Launcher. Owned by main. | 66 // Used to update Launcher. Owned by main. |
66 WindowWatcher* watcher_; | 67 WindowWatcher* watcher_; |
67 | 68 |
68 ShelfDelegateImpl* shelf_delegate_; | 69 ShelfDelegateImpl* shelf_delegate_; |
69 content::BrowserContext* browser_context_; | 70 content::BrowserContext* browser_context_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 72 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace shell | 75 } // namespace shell |
75 } // namespace ash | 76 } // namespace ash |
76 | 77 |
77 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 78 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |