diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-26 00:12:24 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-26 00:12:24 +0000 |
commit | 42030611f1382f14631bdd8a9b1cfc6a219892af (patch) | |
tree | 56f66f03dfad1291612f670ae349867b431e2e8f /webkit/tools/test_shell/webwidget_host.h | |
parent | b9f49354b4c5ea4495236957478edc56580c9b4e (diff) | |
download | chromium_src-42030611f1382f14631bdd8a9b1cfc6a219892af.zip chromium_src-42030611f1382f14631bdd8a9b1cfc6a219892af.tar.gz chromium_src-42030611f1382f14631bdd8a9b1cfc6a219892af.tar.bz2 |
linux+mac: drop unused code
The TrackMouseFoo functions were added to match Windows, but
we're obviously passing all these layout tests without 'em
and the body of the function is empty.
BUG=9523
Review URL: http://codereview.chromium.org/235031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27301 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host.h')
-rw-r--r-- | webkit/tools/test_shell/webwidget_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h index cb9dee7..9f4a13c 100644 --- a/webkit/tools/test_shell/webwidget_host.h +++ b/webkit/tools/test_shell/webwidget_host.h @@ -109,7 +109,10 @@ class WebWidgetHost { void Resize(const gfx::Size& size); #endif +#if defined(OS_WIN) void TrackMouseLeave(bool enable); +#endif + void ResetScrollRect(); void PaintRect(const gfx::Rect& rect); @@ -131,7 +134,10 @@ class WebWidgetHost { int scroll_dx_; int scroll_dy_; +#if defined(OS_WIN) bool track_mouse_leave_; +#endif + #if defined(OS_LINUX) // Since GtkWindow resize is asynchronous, we have to stash the dimensions, // so that the backing store doesn't have to wait for sizing to take place. |