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

Side by Side Diff: ash/wm/window_state.cc

Issue 309793005: Fixing problem with edge swipe exiting immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test removed Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/window_state.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "ash/wm/window_state.h" 5 #include "ash/wm/window_state.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/root_window_controller.h" 8 #include "ash/root_window_controller.h"
9 #include "ash/screen_util.h" 9 #include "ash/screen_util.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 WindowState::WindowState(aura::Window* window) 84 WindowState::WindowState(aura::Window* window)
85 : window_(window), 85 : window_(window),
86 window_position_managed_(false), 86 window_position_managed_(false),
87 bounds_changed_by_user_(false), 87 bounds_changed_by_user_(false),
88 panel_attached_(true), 88 panel_attached_(true),
89 ignored_by_shelf_(false), 89 ignored_by_shelf_(false),
90 can_consume_system_keys_(false), 90 can_consume_system_keys_(false),
91 top_row_keys_are_function_keys_(false), 91 top_row_keys_are_function_keys_(false),
92 unminimize_to_restore_bounds_(false), 92 unminimize_to_restore_bounds_(false),
93 in_immersive_fullscreen_(false),
93 hide_shelf_when_fullscreen_(true), 94 hide_shelf_when_fullscreen_(true),
94 minimum_visibility_(false), 95 minimum_visibility_(false),
95 can_be_dragged_(true), 96 can_be_dragged_(true),
96 ignore_property_change_(false), 97 ignore_property_change_(false),
97 current_state_(new DefaultState(ToWindowStateType(GetShowState()))) { 98 current_state_(new DefaultState(ToWindowStateType(GetShowState()))) {
98 window_->AddObserver(this); 99 window_->AddObserver(this);
99 } 100 }
100 101
101 WindowState::~WindowState() { 102 WindowState::~WindowState() {
102 } 103 }
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 446 }
446 return settings; 447 return settings;
447 } 448 }
448 449
449 const WindowState* GetWindowState(const aura::Window* window) { 450 const WindowState* GetWindowState(const aura::Window* window) {
450 return GetWindowState(const_cast<aura::Window*>(window)); 451 return GetWindowState(const_cast<aura::Window*>(window));
451 } 452 }
452 453
453 } // namespace wm 454 } // namespace wm
454 } // namespace ash 455 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698