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

Unified Diff: ui/aura/window.h

Issue 8136005: Makes visbility inherited. That is, in order for a window to be (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 3065fb5485b1964ef1563f73b1b92eb188014632..0916c2a14c7054841a5badd1a1f4814428e36423 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -62,7 +62,8 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
// Changes the visibility of the window.
void Show();
void Hide();
- bool visible() const { return visible_; }
+ // Returns true if this window and all its ancestors are visible.
+ bool IsVisible() const;
// Assigns a LayoutManager to size and place child windows.
// The Window takes ownership of the LayoutManager.
@@ -179,8 +180,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
WindowDelegate* delegate_;
- bool visible_;
-
scoped_ptr<ui::Layer> layer_;
// The Window's parent.
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698