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

Unified Diff: ui/views/view.h

Issue 8915007: views: Rename IsVisibleInRootView() to IsDrawn(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/views/controls/native_control_win.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 7af754aff17847ccb9e2a5094188eeff408a737b..09cbdf51cc576f4d32e2b59de76e47b4e6b6a54e 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -248,9 +248,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Return whether a view is visible
bool visible() const { return visible_; }
- // Return whether a view and its ancestors are visible. Returns true if the
+ // Return whether this view and its ancestors are visible. Returns true if the
// path from this view to the root view is visible.
- virtual bool IsVisibleInRootView() const;
+ virtual bool IsDrawn() const;
// Set whether this view is enabled. A disabled view does not receive keyboard
// or mouse inputs. If |enabled| differs from the current value, SchedulePaint
« no previous file with comments | « ui/views/controls/native_control_win.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698