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

Unified Diff: ui/views/controls/native/native_view_host_gtk.cc

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/native_view_host_aura.cc ('k') | ui/views/controls/native/native_view_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/native/native_view_host_gtk.cc
diff --git a/ui/views/controls/native/native_view_host_gtk.cc b/ui/views/controls/native/native_view_host_gtk.cc
index b6a50422db31b84bb787e23365a078847fa9231a..baeed237e66558b8bcefb898a0218c78a1fe274e 100644
--- a/ui/views/controls/native/native_view_host_gtk.cc
+++ b/ui/views/controls/native/native_view_host_gtk.cc
@@ -173,7 +173,7 @@ void NativeViewHostGtk::AddedToWidget() {
AttachHostWidget();
- if (host_->IsVisibleInRootView()) {
+ if (host_->IsDrawn()) {
gtk_widget_show(host_->native_view());
gtk_widget_show(fixed_);
} else {
« no previous file with comments | « ui/views/controls/native/native_view_host_aura.cc ('k') | ui/views/controls/native/native_view_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698