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

Unified Diff: ui/aura_shell/shell.h

Issue 8895003: Aura: Add --aura-laptop-mode to fill the workspace with a single window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix unit test build Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/shelf_layout_manager.h ('k') | ui/aura_shell/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/shell.h
diff --git a/ui/aura_shell/shell.h b/ui/aura_shell/shell.h
index 80f5060a402638557873d954c856ef22ef841a41..662f793c0c09853c320bb2470921c1ed193d4a9b 100644
--- a/ui/aura_shell/shell.h
+++ b/ui/aura_shell/shell.h
@@ -18,6 +18,7 @@
namespace aura {
class EventFilter;
+class RootWindow;
class Window;
}
namespace gfx {
@@ -81,6 +82,8 @@ class AURA_SHELL_EXPORT Shell {
}
ShellDelegate* delegate() { return delegate_.get(); }
+
+ // May return NULL if we're not using a launcher (e.g. laptop-mode).
Launcher* launcher() { return launcher_.get(); }
// Made available for tests.
@@ -95,6 +98,7 @@ class AURA_SHELL_EXPORT Shell {
virtual ~Shell();
void Init();
+ void InitLayoutManagers(aura::RootWindow* root_window);
// Enables WorkspaceManager.
void EnableWorkspaceManager();
« no previous file with comments | « ui/aura_shell/shelf_layout_manager.h ('k') | ui/aura_shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698