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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 11280236: A11y: Add the option to always show the a11y tray menu regardless of the state of a11y features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | Annotate | Revision Log
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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include "ash/launcher/launcher_types.h" 8 #include "ash/launcher/launcher_types.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 18 matching lines...) Expand all
29 ChromeShellDelegate(); 29 ChromeShellDelegate();
30 virtual ~ChromeShellDelegate(); 30 virtual ~ChromeShellDelegate();
31 31
32 static ChromeShellDelegate* instance() { return instance_; } 32 static ChromeShellDelegate* instance() { return instance_; }
33 33
34 ash::WindowPositioner* window_positioner() { 34 ash::WindowPositioner* window_positioner() {
35 return window_positioner_.get(); 35 return window_positioner_.get();
36 } 36 }
37 37
38 // ash::ShellDelegate overrides; 38 // ash::ShellDelegate overrides;
39 virtual bool IsUserLoggedIn() OVERRIDE; 39 virtual bool IsUserLoggedIn() const OVERRIDE;
40 virtual bool IsSessionStarted() OVERRIDE; 40 virtual bool IsSessionStarted() const OVERRIDE;
41 virtual bool IsFirstRunAfterBoot() OVERRIDE; 41 virtual bool IsFirstRunAfterBoot() const OVERRIDE;
42 virtual bool CanLockScreen() OVERRIDE; 42 virtual bool CanLockScreen() const OVERRIDE;
43 virtual void LockScreen() OVERRIDE; 43 virtual void LockScreen() OVERRIDE;
44 virtual void UnlockScreen() OVERRIDE; 44 virtual void UnlockScreen() OVERRIDE;
45 virtual bool IsScreenLocked() const OVERRIDE; 45 virtual bool IsScreenLocked() const OVERRIDE;
46 virtual void Shutdown() OVERRIDE; 46 virtual void Shutdown() OVERRIDE;
47 virtual void Exit() OVERRIDE; 47 virtual void Exit() OVERRIDE;
48 virtual void NewTab() OVERRIDE; 48 virtual void NewTab() OVERRIDE;
49 virtual void NewWindow(bool is_incognito) OVERRIDE; 49 virtual void NewWindow(bool is_incognito) OVERRIDE;
50 virtual void ToggleMaximized() OVERRIDE; 50 virtual void ToggleMaximized() OVERRIDE;
51 virtual void OpenFileManager(bool as_dialog) OVERRIDE; 51 virtual void OpenFileManager(bool as_dialog) OVERRIDE;
52 virtual void OpenCrosh() OVERRIDE; 52 virtual void OpenCrosh() OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 scoped_ptr<ash::WindowPositioner> window_positioner_; 96 scoped_ptr<ash::WindowPositioner> window_positioner_;
97 97
98 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; 98 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_;
99 99
100 ChromeLauncherController* launcher_delegate_; 100 ChromeLauncherController* launcher_delegate_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 102 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
103 }; 103 };
104 104
105 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 105 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698