summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-13 22:30:46 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-13 22:30:46 +0000
commitf98d7e3cdcf671e035f6e0b8e5738be01243c8de (patch)
tree272e9fdef304f8cdcd358b2dfbe41809f0f27150 /chrome/renderer/render_widget.h
parentc1ae2105f9b941535dbc534226e3b33310c3ea44 (diff)
downloadchromium_src-f98d7e3cdcf671e035f6e0b8e5738be01243c8de.zip
chromium_src-f98d7e3cdcf671e035f6e0b8e5738be01243c8de.tar.gz
chromium_src-f98d7e3cdcf671e035f6e0b8e5738be01243c8de.tar.bz2
Accelerated Compositing: screen garbage when scrolling
Re-work the way the compositor handles invalidations, scrolling and repaint requests. Previously, compositor piggy-backed on the software rendering path for handling of these events. This CL, paired with webkit bug 45092 allows the compositor to track and manage invalidations, scrolling and repainting independently, allowing us to fix a number of accelerated rendering bugs stemming from interaction with the software renderer. Patch by Nat Duca (nduca@chromium.org) R=darin BUG=52519 TEST=none Originally reviewed at http://codereview.chromium.org/3350006 Review URL: http://codereview.chromium.org/3368016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r--chrome/renderer/render_widget.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index 2fa2308..7f9e247 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -97,6 +97,7 @@ class RenderWidget : public IPC::Channel::Listener,
// WebKit::WebWidgetClient
virtual void didInvalidateRect(const WebKit::WebRect&);
virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect);
+ virtual void scheduleComposite();
virtual void didFocus();
virtual void didBlur();
virtual void didChangeCursor(const WebKit::WebCursorInfo&);
@@ -118,9 +119,6 @@ class RenderWidget : public IPC::Channel::Listener,
// pending moves don't try to reference it.
void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window);
- // Invalidates entire widget rect to generate a full repaint.
- void GenerateFullRepaint();
-
// Close the underlying WebWidget.
virtual void Close();