Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fix Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
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 void ShowKeyboardOverlay(ui::AcceleratorTarget* target) OVERRIDE; 36 virtual void ShowKeyboardOverlay(ui::AcceleratorTarget* target) OVERRIDE;
37 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; 37 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE;
38 virtual void ToggleSpokenFeedback() OVERRIDE; 38 virtual void ToggleSpokenFeedback() OVERRIDE;
39 virtual bool IsHighContrastEnabled() OVERRIDE;
39 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; 40 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
40 virtual void StartPartialScreenshot( 41 virtual void StartPartialScreenshot(
41 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; 42 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE;
42 virtual ash::LauncherDelegate* CreateLauncherDelegate( 43 virtual ash::LauncherDelegate* CreateLauncherDelegate(
43 ash::LauncherModel* model) OVERRIDE; 44 ash::LauncherModel* model) OVERRIDE;
44 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( 45 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate(
45 ash::SystemTray* tray) OVERRIDE; 46 ash::SystemTray* tray) OVERRIDE;
46 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 47 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
47 48
48 private: 49 private:
49 // Used to update Launcher. Owned by main. 50 // Used to update Launcher. Owned by main.
50 WindowWatcher* watcher_; 51 WindowWatcher* watcher_;
51 52
52 LauncherDelegateImpl* launcher_delegate_; 53 LauncherDelegateImpl* launcher_delegate_;
53 54
54 bool locked_; 55 bool locked_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 57 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
57 }; 58 };
58 59
59 } // namespace shell 60 } // namespace shell
60 } // namespace ash 61 } // namespace ash
61 62
62 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 63 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698