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 22 matching lines...) Expand all Loading... |
33 bool IsForceMaximizeOnFirstRun() const override; | 33 bool IsForceMaximizeOnFirstRun() const override; |
34 void PreInit() override; | 34 void PreInit() override; |
35 void PreShutdown() override; | 35 void PreShutdown() override; |
36 void Exit() override; | 36 void Exit() override; |
37 keyboard::KeyboardUI* CreateKeyboardUI() override; | 37 keyboard::KeyboardUI* CreateKeyboardUI() override; |
38 void VirtualKeyboardActivated(bool activated) override; | 38 void VirtualKeyboardActivated(bool activated) override; |
39 void AddVirtualKeyboardStateObserver( | 39 void AddVirtualKeyboardStateObserver( |
40 VirtualKeyboardStateObserver* observer) override; | 40 VirtualKeyboardStateObserver* observer) override; |
41 void RemoveVirtualKeyboardStateObserver( | 41 void RemoveVirtualKeyboardStateObserver( |
42 VirtualKeyboardStateObserver* observer) override; | 42 VirtualKeyboardStateObserver* observer) override; |
| 43 void OpenUrl(const GURL& url) override; |
43 app_list::AppListViewDelegate* GetAppListViewDelegate() override; | 44 app_list::AppListViewDelegate* GetAppListViewDelegate() override; |
44 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; | 45 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; |
45 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; | 46 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; |
46 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 47 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; |
47 ash::SessionStateDelegate* CreateSessionStateDelegate() override; | 48 ash::SessionStateDelegate* CreateSessionStateDelegate() override; |
48 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; | 49 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; |
49 ash::NewWindowDelegate* CreateNewWindowDelegate() override; | 50 ash::NewWindowDelegate* CreateNewWindowDelegate() override; |
50 ash::MediaDelegate* CreateMediaDelegate() override; | 51 ash::MediaDelegate* CreateMediaDelegate() override; |
51 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, | 52 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, |
52 const ash::ShelfItem* item) override; | 53 const ash::ShelfItem* item) override; |
53 GPUSupport* CreateGPUSupport() override; | 54 GPUSupport* CreateGPUSupport() override; |
54 base::string16 GetProductName() const override; | 55 base::string16 GetProductName() const override; |
55 gfx::Image GetDeprecatedAcceleratorImage() const override; | 56 gfx::Image GetDeprecatedAcceleratorImage() const override; |
56 | 57 |
57 private: | 58 private: |
58 ShelfDelegateImpl* shelf_delegate_; | 59 ShelfDelegateImpl* shelf_delegate_; |
59 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; | 60 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 62 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
62 }; | 63 }; |
63 | 64 |
64 } // namespace shell | 65 } // namespace shell |
65 } // namespace ash | 66 } // namespace ash |
66 | 67 |
67 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 68 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |