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

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

Issue 2878153002: Fixed some edit commands for OOPIF-<webivew> (Mac) (Closed)
Patch Set: Created 3 years, 7 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/renderer_host/render_widget_host_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 3c7f8501fe8a8747dec418be451a49c9f74f64fd..c046bb4d4a822dc60fa49f2e4139a898afdc3c17 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -487,6 +487,11 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
// Get the focused view that should be used for retrieving the text selection.
RenderWidgetHostViewBase* GetFocusedViewForTextSelection();
+ // Returns the RenderWidgetHostDelegate corresponding to the currently focused
+ // RenderWidgetHost. It is different from |render_widget_host_->delegate()|
+ // when there are focused inner WebContentses on the page.
Charlie Reis 2017/05/15 21:36:57 Might mention it's null if there are no focused wi
EhsanK 2017/05/16 04:34:32 Yes. Done (fallback idea). Thanks! But still, even
+ RenderWidgetHostDelegate* GetFocusedRenderWidgetHostDelegate();
+
private:
friend class RenderWidgetHostViewMacTest;

Powered by Google App Engine
This is Rietveld 408576698