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

Side by Side Diff: ui/aura/window.h

Issue 10675011: Rename the remaining usage of Monitor to Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 5 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 | « ui/aura/test/aura_test_helper.cc ('k') | ui/aura/window.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 UI_AURA_WINDOW_H_ 5 #ifndef UI_AURA_WINDOW_H_
6 #define UI_AURA_WINDOW_H_ 6 #define UI_AURA_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Returns true if this window and all its ancestors are visible. 128 // Returns true if this window and all its ancestors are visible.
129 bool IsVisible() const; 129 bool IsVisible() const;
130 // Returns the visibility requested by this window. IsVisible() takes into 130 // Returns the visibility requested by this window. IsVisible() takes into
131 // account the visibility of the layer and ancestors, where as this tracks 131 // account the visibility of the layer and ancestors, where as this tracks
132 // whether Show() without a Hide() has been invoked. 132 // whether Show() without a Hide() has been invoked.
133 bool TargetVisibility() const { return visible_; } 133 bool TargetVisibility() const { return visible_; }
134 134
135 // Returns the window's bounds in screen coordinates. In ash, this is 135 // Returns the window's bounds in screen coordinates. In ash, this is
136 // effectively screen bounds. 136 // effectively screen bounds.
137 // 137 //
138 // TODO(oshima): Fix this to return screen's coordinate for multi-monitor 138 // TODO(oshima): Fix this to return screen's coordinate for multi-display
139 // support. 139 // support.
140 gfx::Rect GetBoundsInRootWindow() const; 140 gfx::Rect GetBoundsInRootWindow() const;
141 141
142 virtual void SetTransform(const ui::Transform& transform); 142 virtual void SetTransform(const ui::Transform& transform);
143 143
144 // Assigns a LayoutManager to size and place child windows. 144 // Assigns a LayoutManager to size and place child windows.
145 // The Window takes ownership of the LayoutManager. 145 // The Window takes ownership of the LayoutManager.
146 void SetLayoutManager(LayoutManager* layout_manager); 146 void SetLayoutManager(LayoutManager* layout_manager);
147 LayoutManager* layout_manager() { return layout_manager_.get(); } 147 LayoutManager* layout_manager() { return layout_manager_.get(); }
148 148
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 // SetVisbile(false). 480 // SetVisbile(false).
481 // TODO(xiyuan): Remove this when http://crbug.com/134507 is resolved. 481 // TODO(xiyuan): Remove this when http://crbug.com/134507 is resolved.
482 bool in_set_visible_call_; 482 bool in_set_visible_call_;
483 483
484 DISALLOW_COPY_AND_ASSIGN(Window); 484 DISALLOW_COPY_AND_ASSIGN(Window);
485 }; 485 };
486 486
487 } // namespace aura 487 } // namespace aura
488 488
489 #endif // UI_AURA_WINDOW_H_ 489 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698