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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2817673003: Making Mac Dictionary better for OOPIFs and <webview> (Closed)
Patch Set: Remove ScopedBrowserClient 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/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index d32665cddf5c8df7a1a9988019ccf1cffe8314c8..263113a44902c9f2db46367887720c80c1fba973 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -560,6 +560,10 @@ void RenderWidgetHostViewChildFrame::SetActive(bool active) {
}
void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() {
+ if (frame_connector_) {
+ frame_connector_->GetRootRenderWidgetHostView()
+ ->ShowDefinitionForSelection();
+ }
}
bool RenderWidgetHostViewChildFrame::SupportsSpeech() const {

Powered by Google App Engine
This is Rietveld 408576698