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

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

Issue 23625007: Replace kIgnoreSoloWindowFramePointerPolicy with global flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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_properties.h ('k') | chrome/browser/chromeos/login/login_display_host_impl.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 #include "ash/wm/window_properties.h" 5 #include "ash/wm/window_properties.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/wm/frame_painter.h" 8 #include "ash/wm/frame_painter.h"
9 #include "ui/aura/window_property.h" 9 #include "ui/aura/window_property.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace internal { 13 namespace internal {
14 DEFINE_WINDOW_PROPERTY_KEY(bool, kAnimateToFullscreenKey, true); 14 DEFINE_WINDOW_PROPERTY_KEY(bool, kAnimateToFullscreenKey, true);
15 DEFINE_WINDOW_PROPERTY_KEY(bool, kContinueDragAfterReparent, false); 15 DEFINE_WINDOW_PROPERTY_KEY(bool, kContinueDragAfterReparent, false);
16 DEFINE_WINDOW_PROPERTY_KEY(bool, kFullscreenUsesMinimalChromeKey, false); 16 DEFINE_WINDOW_PROPERTY_KEY(bool, kFullscreenUsesMinimalChromeKey, false);
17 DEFINE_WINDOW_PROPERTY_KEY(bool, kIgnoreSoloWindowFramePainterPolicy, false);
18 DEFINE_WINDOW_PROPERTY_KEY(bool, kIgnoredByShelfKey, false); 17 DEFINE_WINDOW_PROPERTY_KEY(bool, kIgnoredByShelfKey, false);
19 DEFINE_WINDOW_PROPERTY_KEY(bool, kPanelAttachedKey, true); 18 DEFINE_WINDOW_PROPERTY_KEY(bool, kPanelAttachedKey, true);
20 DEFINE_WINDOW_PROPERTY_KEY(bool, kStayInSameRootWindowKey, false); 19 DEFINE_WINDOW_PROPERTY_KEY(bool, kStayInSameRootWindowKey, false);
21 DEFINE_WINDOW_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false); 20 DEFINE_WINDOW_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false);
22 DEFINE_WINDOW_PROPERTY_KEY(bool, kUserChangedWindowPositionOrSizeKey, false); 21 DEFINE_WINDOW_PROPERTY_KEY(bool, kUserChangedWindowPositionOrSizeKey, false);
23 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect, 22 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect,
24 kPreAutoManagedWindowBoundsKey, 23 kPreAutoManagedWindowBoundsKey,
25 NULL); 24 NULL);
26 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowPositionManagedKey, false); 25 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowPositionManagedKey, false);
27 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowRestoresToRestoreBounds, false); 26 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowRestoresToRestoreBounds, false);
28 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowTrackedByWorkspaceKey, true); 27 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowTrackedByWorkspaceKey, true);
29 28
30 } // namespace internal 29 } // namespace internal
31 } // namespace ash 30 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_properties.h ('k') | chrome/browser/chromeos/login/login_display_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698