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

Unified Diff: ui/aura_shell/toplevel_window_event_filter.cc

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/toplevel_layout_manager.cc ('k') | ui/aura_shell/window_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/toplevel_window_event_filter.cc
diff --git a/ui/aura_shell/toplevel_window_event_filter.cc b/ui/aura_shell/toplevel_window_event_filter.cc
index ccdde0f974eb15182c14f9e07997ebe2e78307b2..f89f6225c63c8cf34e2df16830e0772f53a69c26 100644
--- a/ui/aura_shell/toplevel_window_event_filter.cc
+++ b/ui/aura_shell/toplevel_window_event_filter.cc
@@ -127,8 +127,8 @@ bool IsBottomEdge(int window_component) {
void ToggleMaximizedState(aura::Window* window) {
window->SetIntProperty(aura::kShowStateKey,
- IsWindowMaximized(window) ? ui::SHOW_STATE_NORMAL
- : ui::SHOW_STATE_MAXIMIZED);
+ IsWindowMaximized(window) ?
+ ui::SHOW_STATE_NORMAL : ui::SHOW_STATE_MAXIMIZED);
}
} // namespace
« no previous file with comments | « ui/aura_shell/toplevel_layout_manager.cc ('k') | ui/aura_shell/window_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698