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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 1734403003: Add helper class for tests using browser process hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gcc compile warnings Created 4 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/frame_host/cross_process_frame_connector.h
diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
index 9958c9e7720c6a551b88cf86681ca1bb458aa7e2..f42466ff956fb69678738cc8555c67e1ae916268 100644
--- a/content/browser/frame_host/cross_process_frame_connector.h
+++ b/content/browser/frame_host/cross_process_frame_connector.h
@@ -100,6 +100,11 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
// page) has focus.
bool HasFocus();
+ // Exposed for tests.
+ RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() {
+ return GetRootRenderWidgetHostView();
+ }
+
private:
// Handlers for messages received from the parent frame.
void OnForwardInputEvent(const blink::WebInputEvent* event);
« no previous file with comments | « content/browser/compositor/surface_utils.h ('k') | content/browser/frame_host/render_widget_host_view_child_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698