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

Side by Side Diff: ash/shell.h

Issue 13934007: Adding experimental maximize mode (behind a flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment and tabbed reference Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/shell.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 ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Returns the list of containers that match |container_id| in 193 // Returns the list of containers that match |container_id| in
194 // all root windows. If |priority_root| is given, the container 194 // all root windows. If |priority_root| is given, the container
195 // in the |priority_root| will be inserted at the top of the list. 195 // in the |priority_root| will be inserted at the top of the list.
196 static std::vector<aura::Window*> GetContainersFromAllRootWindows( 196 static std::vector<aura::Window*> GetContainersFromAllRootWindows(
197 int container_id, 197 int container_id,
198 aura::RootWindow* priority_root); 198 aura::RootWindow* priority_root);
199 199
200 // True if "launcher per display" feature is enabled. 200 // True if "launcher per display" feature is enabled.
201 static bool IsLauncherPerDisplayEnabled(); 201 static bool IsLauncherPerDisplayEnabled();
202 202
203 // True if an experimental maximize mode is enabled which forces browser and
204 // application windows to be maximized only.
205 static bool IsForcedMaximizeMode();
206
203 void set_active_root_window(aura::RootWindow* active_root_window) { 207 void set_active_root_window(aura::RootWindow* active_root_window) {
204 active_root_window_ = active_root_window; 208 active_root_window_ = active_root_window;
205 } 209 }
206 210
207 // Shows the context menu for the background and launcher at 211 // Shows the context menu for the background and launcher at
208 // |location_in_screen| (in screen coordinates). 212 // |location_in_screen| (in screen coordinates).
209 void ShowContextMenu(const gfx::Point& location_in_screen); 213 void ShowContextMenu(const gfx::Point& location_in_screen);
210 214
211 // Toggles the app list. |window| specifies in which display the app 215 // Toggles the app list. |window| specifies in which display the app
212 // list should be shown. If this is NULL, the active root window 216 // list should be shown. If this is NULL, the active root window
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 595
592 // For testing only: simulate that a modal window is open 596 // For testing only: simulate that a modal window is open
593 bool simulate_modal_window_open_for_testing_; 597 bool simulate_modal_window_open_for_testing_;
594 598
595 DISALLOW_COPY_AND_ASSIGN(Shell); 599 DISALLOW_COPY_AND_ASSIGN(Shell);
596 }; 600 };
597 601
598 } // namespace ash 602 } // namespace ash
599 603
600 #endif // ASH_SHELL_H_ 604 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698