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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 642143004: [Cocoa] Make TabContentsContainerView more testable for interactive_ui_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 | « chrome/test/base/interactive_test_utils_mac.mm ('k') | ui/base/test/ui_controls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index c51c4bf7d0228114dcb7a29493b452017224ebb4..324599f7c9ba0a9f728bf1faa5819889275ef0a6 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1658,6 +1658,10 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged(
renderWidgetHostView_.reset(r);
canBeKeyView_ = YES;
+ // TODO(miu): |takesFocusOnlyOnMouseDown_| is not used anymore and should be
+ // removed along with the exposed RWHV interface methods.
+ // http://crbug.com/424766
+ takesFocusOnlyOnMouseDown_ = NO;
focusedPluginIdentifier_ = -1;
// OpenGL support:
« no previous file with comments | « chrome/test/base/interactive_test_utils_mac.mm ('k') | ui/base/test/ui_controls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698