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

Unified Diff: webkit/compositor/test/FakeWebScrollbarThemeGeometry.h

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings Created 8 years, 4 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
Index: webkit/compositor/test/FakeWebScrollbarThemeGeometry.h
diff --git a/webkit/compositor/test/FakeWebScrollbarThemeGeometry.h b/webkit/compositor/test/FakeWebScrollbarThemeGeometry.h
deleted file mode 100644
index 640da26b123ac8101f5a31d50443bee9c1d286f2..0000000000000000000000000000000000000000
--- a/webkit/compositor/test/FakeWebScrollbarThemeGeometry.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef FakeWebScrollbarThemeGeometry_h
-#define FakeWebScrollbarThemeGeometry_h
-
-#include <public/WebScrollbarThemeGeometry.h>
-#include <wtf/PassOwnPtr.h>
-
-namespace WebKit {
-
-class FakeWebScrollbarThemeGeometry : public WebKit::WebScrollbarThemeGeometry {
-public:
- static PassOwnPtr<WebKit::WebScrollbarThemeGeometry> create() { return adoptPtr(new WebKit::FakeWebScrollbarThemeGeometry()); }
-
- virtual WebKit::WebScrollbarThemeGeometry* clone() const OVERRIDE
- {
- return new FakeWebScrollbarThemeGeometry();
- }
-
- virtual int thumbPosition(WebScrollbar*) OVERRIDE { return 0; }
- virtual int thumbLength(WebScrollbar*) OVERRIDE { return 0; }
- virtual int trackPosition(WebScrollbar*) OVERRIDE { return 0; }
- virtual int trackLength(WebScrollbar*) OVERRIDE { return 0; }
- virtual bool hasButtons(WebScrollbar*) OVERRIDE { return false; }
- virtual bool hasThumb(WebScrollbar*) OVERRIDE { return false; }
- virtual WebRect trackRect(WebScrollbar*) OVERRIDE { return WebRect(); }
- virtual WebRect thumbRect(WebScrollbar*) OVERRIDE { return WebRect(); }
- virtual int minimumThumbLength(WebScrollbar*) OVERRIDE { return 0; }
- virtual int scrollbarThickness(WebScrollbar*) OVERRIDE { return 0; }
- virtual WebRect backButtonStartRect(WebScrollbar*) OVERRIDE { return WebRect(); }
- virtual WebRect backButtonEndRect(WebScrollbar*) OVERRIDE { return WebRect(); }
- virtual WebRect forwardButtonStartRect(WebScrollbar*) OVERRIDE { return WebRect(); }
- virtual WebRect forwardButtonEndRect(WebScrollbar*) OVERRIDE { return WebRect(); }
- virtual WebRect constrainTrackRectToTrackPieces(WebScrollbar*, const WebRect&) OVERRIDE { return WebRect(); }
-
- virtual void splitTrack(WebScrollbar*, const WebRect& track, WebRect& startTrack, WebRect& thumb, WebRect& endTrack) OVERRIDE
- {
- startTrack = WebRect();
- thumb = WebRect();
- endTrack = WebRect();
- }
-};
-
-} // namespace WebKit
-
-#endif // FakeWebScrollbarThemeGeometry_h
« no previous file with comments | « webkit/compositor/stubs/public/WebTransformationMatrix.h ('k') | webkit/compositor/test/WebLayerTreeViewTestCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698