Index: webkit/tools/test_shell/webwidget_host.h |
=================================================================== |
--- webkit/tools/test_shell/webwidget_host.h (revision 14606) |
+++ webkit/tools/test_shell/webwidget_host.h (working copy) |
@@ -8,13 +8,16 @@ |
#include "base/basictypes.h" |
#include "base/gfx/native_widget_types.h" |
#include "base/gfx/rect.h" |
-#include "base/gfx/size.h" |
#include "base/scoped_ptr.h" |
#include "skia/ext/platform_canvas.h" |
class WebWidget; |
class WebWidgetDelegate; |
+namespace gfx { |
+class Size; |
+} |
+ |
namespace WebKit { |
struct WebScreenInfo; |
} |
@@ -48,9 +51,6 @@ |
#if defined(OS_WIN) |
void SetCursor(HCURSOR cursor); |
#endif |
-#if defined(LINUX2) |
- const gfx::Size& size() const { return size_; } |
-#endif |
void DiscardBackingStore(); |
// Allow clients to update the paint rect. For example, if we get a gdk |
@@ -114,12 +114,6 @@ |
#endif |
} |
-#if defined(LINUX2) |
- void ScheduleRepaint(const gfx::Rect& bounds); |
- |
- gfx::Size size_; |
-#endif |
- |
gfx::NativeView view_; |
WebWidget* webwidget_; |
scoped_ptr<skia::PlatformCanvas> canvas_; |