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

Unified Diff: content/renderer/render_widget.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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index b3ed29f84d08a5098252a45351329f3da0a7d998..d6e2a76e21a8b5290442b44b4ea096e3a3eee948 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -380,6 +380,10 @@ class CONTENT_EXPORT RenderWidget
focused_pepper_plugin_ = plugin;
}
+ PepperPluginInstanceImpl* focused_pepper_plugin() const {
Charlie Reis 2016/08/31 22:50:03 lfg@: Can you review this part? I know you had so
lfg 2016/09/01 15:42:27 I really don't like this. We shouldn't be exposing
EhsanK 2016/09/01 21:58:37 For now I have removed this line of code and pass
lfg 2016/09/02 16:39:00 Can you file a bug and add a TODO to fix the focus
+ return focused_pepper_plugin_;
+ }
+
// When emulated, this returns original device scale factor.
float GetOriginalDeviceScaleFactor() const;

Powered by Google App Engine
This is Rietveld 408576698