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

Unified Diff: webkit/glue/plugins/pepper_fullscreen_container.h

Issue 4365001: Use optimized scrolling for pepper plugins. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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: webkit/glue/plugins/pepper_fullscreen_container.h
===================================================================
--- webkit/glue/plugins/pepper_fullscreen_container.h (revision 64839)
+++ webkit/glue/plugins/pepper_fullscreen_container.h (working copy)
@@ -23,6 +23,9 @@
// Invalidates a partial region of the plugin.
virtual void InvalidateRect(const WebKit::WebRect&) = 0;
+ // Scrolls a partial region of the plugin in the given direction.
+ virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0;
+
// Destroys the fullscreen window. This also destroys the FullscreenContainer
// instance.
virtual void Destroy() = 0;

Powered by Google App Engine
This is Rietveld 408576698