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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_win.cc

Issue 3033004: Revert 52600 - renderer_host: Remove CanBlur method.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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
Index: chrome/browser/renderer_host/render_widget_host_view_win.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_win.cc (revision 52600)
+++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -523,7 +523,7 @@
views::FocusManager* focus_manager =
views::FocusManager::GetFocusManagerForNativeView(m_hWnd);
// We don't have a FocusManager if we are hidden.
- if (focus_manager)
+ if (focus_manager && render_widget_host_->CanBlur())
focus_manager->ClearFocus();
}
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698