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

Unified Diff: third_party/WebKit/public/web/WebPluginContainer.h

Issue 1763103002: WebPluginContainer: expose and implement localToScreenRect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebPluginContainer.h
diff --git a/third_party/WebKit/public/web/WebPluginContainer.h b/third_party/WebKit/public/web/WebPluginContainer.h
index 569d190d7f16d89b876eda3f6fe22b6f68017ebf..af69db64b2374138886fc0e53d0fd6ed5934395e 100644
--- a/third_party/WebKit/public/web/WebPluginContainer.h
+++ b/third_party/WebKit/public/web/WebPluginContainer.h
@@ -127,6 +127,9 @@ public:
// Converts plugin's local coordinate to root frame's coordinates.
virtual WebPoint localToRootFramePoint(const WebPoint&) = 0;
+ // Converts plugin's local coordinate to screen's coordinates.
+ virtual WebRect localToScreenRect(const WebRect&) = 0;
+
// Returns the plugin this container owns. This plugin will be
// automatically destroyed when the container is destroyed.
virtual WebPlugin* plugin() = 0;
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698