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

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

Issue 16070003: Move immersive fullscreen check into ImmersiveFullscreenConfiguration. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: sync+rebase Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/ash/DEPS ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 8 #include <string>
9 9
10 #include "ash/launcher/launcher_types.h" 10 #include "ash/launcher/launcher_types.h"
(...skipping 21 matching lines...) Expand all
32 class ChromeLauncherController; 32 class ChromeLauncherController;
33 33
34 class ChromeShellDelegate : public ash::ShellDelegate, 34 class ChromeShellDelegate : public ash::ShellDelegate,
35 public content::NotificationObserver { 35 public content::NotificationObserver {
36 public: 36 public:
37 ChromeShellDelegate(); 37 ChromeShellDelegate();
38 virtual ~ChromeShellDelegate(); 38 virtual ~ChromeShellDelegate();
39 39
40 static ChromeShellDelegate* instance() { return instance_; } 40 static ChromeShellDelegate* instance() { return instance_; }
41 41
42 // Prefer the version in ImmersiveModeController.
43 static bool UseImmersiveFullscreen();
44
45 ash::WindowPositioner* window_positioner() { 42 ash::WindowPositioner* window_positioner() {
46 return window_positioner_.get(); 43 return window_positioner_.get();
47 } 44 }
48 45
49 // ash::ShellDelegate overrides; 46 // ash::ShellDelegate overrides;
50 virtual bool IsFirstRunAfterBoot() const OVERRIDE; 47 virtual bool IsFirstRunAfterBoot() const OVERRIDE;
51 virtual bool IsMultiProfilesEnabled() const OVERRIDE; 48 virtual bool IsMultiProfilesEnabled() const OVERRIDE;
52 virtual bool IsRunningInForcedAppMode() const OVERRIDE; 49 virtual bool IsRunningInForcedAppMode() const OVERRIDE;
53 virtual void PreInit() OVERRIDE; 50 virtual void PreInit() OVERRIDE;
54 virtual void Shutdown() OVERRIDE; 51 virtual void Shutdown() OVERRIDE;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; 118 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_;
122 119
123 ChromeLauncherController* launcher_delegate_; 120 ChromeLauncherController* launcher_delegate_;
124 121
125 scoped_ptr<TabRestoreHelper> tab_restore_helper_; 122 scoped_ptr<TabRestoreHelper> tab_restore_helper_;
126 123
127 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 124 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
128 }; 125 };
129 126
130 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 127 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/DEPS ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698