summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/webwidget_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host.h')
-rw-r--r--webkit/tools/test_shell/webwidget_host.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
index 96235a9..e74638e 100644
--- a/webkit/tools/test_shell/webwidget_host.h
+++ b/webkit/tools/test_shell/webwidget_host.h
@@ -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 @@ class WebWidgetHost {
#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 @@ class WebWidgetHost {
#endif
}
-#if defined(LINUX2)
- void ScheduleRepaint(const gfx::Rect& bounds);
-
- gfx::Size size_;
-#endif
-
gfx::NativeView view_;
WebWidget* webwidget_;
scoped_ptr<skia::PlatformCanvas> canvas_;