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

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

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Added Tests and Modified DEPS Created 4 years, 4 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 c767a19fda759d4a045c83406720157f8b0161a8..f277fbb5005fb3894045345c1a757f21f770704b 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -40,6 +40,7 @@
#include "ui/display/display_observer.h"
namespace content {
+class RenderWidgetHost;
class RenderWidgetHostImpl;
class RenderWidgetHostViewMac;
class RenderWidgetHostViewMacEditCommandHelper;
@@ -474,6 +475,12 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
// |TextInputState.type| which is not ui::TEXT_INPUT_TYPE_NONE.
RenderWidgetHostImpl* GetActiveWidget();
+ // Returns the RenderWidgetHost returned form hit testing at the given point
Charlie Reis 2016/08/31 22:50:03 s/form/from/?
EhsanK 2016/09/01 21:58:36 Done.
+ // of the |root_view|. This is used for TextInputClientMac communication with
+ // the right RenderWidgetHost.
+ RenderWidgetHost* GetRenderWidgetHostAtPoint(const gfx::Point& point,
+ gfx::Point* transformed_point);
+
private:
friend class RenderWidgetHostViewMacTest;

Powered by Google App Engine
This is Rietveld 408576698