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

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

Issue 517143003: Hide NativeViewHostAura correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test Created 6 years, 4 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 | « no previous file | ui/views/controls/native/native_view_host_aura_unittest.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_aura.cc
diff --git a/ui/views/controls/native/native_view_host_aura.cc b/ui/views/controls/native/native_view_host_aura.cc
index 769b16d3ffe8a14c5363490efe213b79e95c2cc2..3b36b987e78b29f1ff6a4092e09f454209fde20d 100644
--- a/ui/views/controls/native/native_view_host_aura.cc
+++ b/ui/views/controls/native/native_view_host_aura.cc
@@ -165,6 +165,7 @@ void NativeViewHostAura::ShowWidget(int x, int y, int w, int h) {
void NativeViewHostAura::HideWidget() {
host_->native_view()->Hide();
sky 2014/09/02 15:19:37 We may not need the Hide/Show on native_view() any
calamity 2014/09/03 00:44:22 Acknowledged.
+ clipping_window_.Hide();
}
void NativeViewHostAura::SetFocus() {
« no previous file with comments | « no previous file | ui/views/controls/native/native_view_host_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698