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

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

Issue 2817673003: Making Mac Dictionary better for OOPIFs and <webview> (Closed)
Patch Set: Addressing lazyboy@'s comments Created 3 years, 8 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 5437503df3e73bfc6b8183e992c292b36e279e51..b3a3de1366cd411aefff1d789528a80634cc72a7 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -484,6 +484,9 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
// platform view for a guest).
const TextInputManager::TextSelection* GetTextSelection();
+ // Get the focused view that should be used for retrieving the text selection.
+ RenderWidgetHostViewBase* GetFocusedViewForTextSelection();
+
private:
friend class RenderWidgetHostViewMacTest;
@@ -503,9 +506,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
// Dispatches a TTS session.
void SpeakText(const std::string& text);
- // Get the focused view that should be used for retrieving the text selection.
- RenderWidgetHostViewBase* GetFocusedViewForTextSelection();
-
// Adds/Removes frame observer based on state.
void UpdateNeedsBeginFramesInternal();

Powered by Google App Engine
This is Rietveld 408576698