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

Unified Diff: webkit/tools/test_shell/webwidget_host.h

Issue 100046: More linux ifdef tweaks. This reverts my earlier change (13503).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 months 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
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698