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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 virtual bool IsScreenLocked() const OVERRIDE; | 28 virtual bool IsScreenLocked() const OVERRIDE; |
29 virtual void Shutdown() OVERRIDE; | 29 virtual void Shutdown() OVERRIDE; |
30 virtual void Exit() OVERRIDE; | 30 virtual void Exit() OVERRIDE; |
31 virtual void NewWindow(bool incognito) OVERRIDE; | 31 virtual void NewWindow(bool incognito) OVERRIDE; |
32 virtual void Search() OVERRIDE; | 32 virtual void Search() OVERRIDE; |
33 virtual void OpenFileManager() OVERRIDE; | 33 virtual void OpenFileManager() OVERRIDE; |
34 virtual void OpenCrosh() OVERRIDE; | 34 virtual void OpenCrosh() OVERRIDE; |
35 virtual void OpenMobileSetup() OVERRIDE; | 35 virtual void OpenMobileSetup() OVERRIDE; |
36 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 36 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
37 virtual void ToggleSpokenFeedback() OVERRIDE; | 37 virtual void ToggleSpokenFeedback() OVERRIDE; |
| 38 virtual bool IsHighContrastEnabled() OVERRIDE; |
38 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 39 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
39 virtual void StartPartialScreenshot( | 40 virtual void StartPartialScreenshot( |
40 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 41 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
41 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 42 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
42 ash::LauncherModel* model) OVERRIDE; | 43 ash::LauncherModel* model) OVERRIDE; |
43 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( | 44 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( |
44 ash::SystemTray* tray) OVERRIDE; | 45 ash::SystemTray* tray) OVERRIDE; |
45 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 46 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
46 | 47 |
47 private: | 48 private: |
48 // Used to update Launcher. Owned by main. | 49 // Used to update Launcher. Owned by main. |
49 WindowWatcher* watcher_; | 50 WindowWatcher* watcher_; |
50 | 51 |
51 LauncherDelegateImpl* launcher_delegate_; | 52 LauncherDelegateImpl* launcher_delegate_; |
52 | 53 |
53 bool locked_; | 54 bool locked_; |
54 | 55 |
55 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 56 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace shell | 59 } // namespace shell |
59 } // namespace ash | 60 } // namespace ash |
60 | 61 |
61 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 62 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |