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

Side by Side Diff: ash/shell_delegate.h

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: call up via ShellDelegate Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/test/test_shell_delegate.h » ('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 ASH_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Invoked to change the mode of the screen magnifier. 152 // Invoked to change the mode of the screen magnifier.
153 virtual void SetMagnifier(MagnifierType type) = 0; 153 virtual void SetMagnifier(MagnifierType type) = 0;
154 154
155 // Returns the current screen magnifier mode. 155 // Returns the current screen magnifier mode.
156 virtual MagnifierType GetMagnifierType() const = 0; 156 virtual MagnifierType GetMagnifierType() const = 0;
157 157
158 // Returns true if the user want to show accesibility menu even when all the 158 // Returns true if the user want to show accesibility menu even when all the
159 // accessibility features are disabled. 159 // accessibility features are disabled.
160 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; 160 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0;
161 161
162 // Returns true if the active browser window is in immersive mode.
163 virtual bool IsImmersiveMode() const = 0;
sky 2013/01/09 22:24:38 Could we instead use a property on the window for
164
162 // Invoked to create an AppListViewDelegate. Shell takes the ownership of 165 // Invoked to create an AppListViewDelegate. Shell takes the ownership of
163 // the created delegate. 166 // the created delegate.
164 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; 167 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0;
165 168
166 // Creates a new LauncherDelegate. Shell takes ownership of the returned 169 // Creates a new LauncherDelegate. Shell takes ownership of the returned
167 // value. 170 // value.
168 virtual LauncherDelegate* CreateLauncherDelegate( 171 virtual LauncherDelegate* CreateLauncherDelegate(
169 ash::LauncherModel* model) = 0; 172 ash::LauncherModel* model) = 0;
170 173
171 // Creates a system-tray delegate. Shell takes ownership of the delegate. 174 // Creates a system-tray delegate. Shell takes ownership of the delegate.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 virtual aura::client::StackingClient* CreateStackingClient() = 0; 220 virtual aura::client::StackingClient* CreateStackingClient() = 0;
218 221
219 // Creates a root window host factory. Shell takes ownership of the returned 222 // Creates a root window host factory. Shell takes ownership of the returned
220 // value. 223 // value.
221 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 224 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
222 }; 225 };
223 226
224 } // namespace ash 227 } // namespace ash
225 228
226 #endif // ASH_SHELL_DELEGATE_H_ 229 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698