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

Unified Diff: chrome/browser/ui/views/native_widget_win_interactive_uitest.cc

Issue 108063004: Give up focus if the focused view becomes unfocusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extracted to common code into FocusManager class Created 7 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
Index: chrome/browser/ui/views/native_widget_win_interactive_uitest.cc
diff --git a/chrome/browser/ui/views/native_widget_win_interactive_uitest.cc b/chrome/browser/ui/views/native_widget_win_interactive_uitest.cc
index 6dd66d3b39e11b51f36429bdbbca9b09571b4a13..05cbbbe7ac749c0a1f89ea5d218f086d44923f28 100644
--- a/chrome/browser/ui/views/native_widget_win_interactive_uitest.cc
+++ b/chrome/browser/ui/views/native_widget_win_interactive_uitest.cc
@@ -85,7 +85,7 @@ class NativeWidgetWinTest1 : public NativeWidgetWinTest {
child_->Init(child_params);
native_view_host_ = new views::NativeViewHost;
- native_view_host_->set_focusable(true);
+ native_view_host_->SetFocusable(true);
contents_view_->AddChildView(native_view_host_);
native_view_host_->SetBoundsRect(gfx::Rect(0, 0, 200, 200));
native_view_host_->Attach(child_->GetNativeView());

Powered by Google App Engine
This is Rietveld 408576698