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

Side by Side Diff: ash/wm/overview/window_selector_item.h

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_unittest.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 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 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_
6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 aura::Window* root_window_; 79 aura::Window* root_window_;
80 80
81 // The target bounds this selector item is fit within. 81 // The target bounds this selector item is fit within.
82 gfx::Rect target_bounds_; 82 gfx::Rect target_bounds_;
83 83
84 // The actual bounds of the window(s) for this item. The aspect ratio of 84 // The actual bounds of the window(s) for this item. The aspect ratio of
85 // window(s) are maintained so they may not fill the target_bounds_. 85 // window(s) are maintained so they may not fill the target_bounds_.
86 gfx::Rect bounds_; 86 gfx::Rect bounds_;
87 87
88 // True if running SetItemBounds. This prevents recursive calls resulting from 88 // True if running SetItemBounds. This prevents recursive calls resulting from
89 // the bounds update when calling views::corewm::RecreateWindowLayers to copy 89 // the bounds update when calling ::wm::RecreateWindowLayers to copy
90 // a window layer for display on another monitor. 90 // a window layer for display on another monitor.
91 bool in_bounds_update_; 91 bool in_bounds_update_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); 93 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem);
94 }; 94 };
95 95
96 } // namespace ash 96 } // namespace ash
97 97
98 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ 98 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698