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

Unified Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 2592243002: Perform direct routing of mouse events when the pointer is locked. (Closed)
Patch Set: transform event, add tests Created 3 years, 10 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: content/browser/web_contents/web_contents_view_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index 2e7beabcc430566b546db43be8b34d9969a97866..1dcf13c606ab6a87c78b8fa43f18967cfaa194ae 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -60,6 +60,13 @@ class CONTENT_EXPORT WebContentsViewAura
init_rwhv_with_null_parent_for_testing_ = set;
}
+ using RenderWidgetHostViewCreateFunction =
+ RenderWidgetHostViewAura* (*)(RenderWidgetHost*, bool);
+
+ // Used to override the creation of RenderWidgetHostViews in tests.
+ static void InstallCreateHookForTests(
+ RenderWidgetHostViewCreateFunction create_render_widget_host_view);
+
private:
class WindowObserver;

Powered by Google App Engine
This is Rietveld 408576698