- Improve redraw and scrolling performance (issue #360).

- Don't show magenta background when redrawing in release build (issue #300).


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@299 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-10-03 15:48:32 +00:00
parent 29386a3abc
commit 9fa941f1d7
6 changed files with 131 additions and 83 deletions

View File

@@ -72,7 +72,6 @@ class WebWidgetHost {
void SetCursor(HCURSOR cursor);
#endif
void DiscardBackingStore();
// Allow clients to update the paint rect. For example, if we get a gdk
// expose or WM_PAINT event, we need to update the paint rect.
void UpdatePaintRect(const gfx::Rect& rect);
@@ -192,6 +191,8 @@ class WebWidgetHost {
WebKit::WebWidget* webwidget_;
scoped_ptr<skia::PlatformCanvas> canvas_;
int canvas_w_;
int canvas_h_;
// True if this widget is a popup widget.
bool popup_;