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

Unified Diff: cc/CCScrollbarGeometryFixedThumb.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « cc/CCScrollbarAnimationControllerLinearFade.cpp ('k') | cc/CCScrollbarGeometryFixedThumb.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCScrollbarGeometryFixedThumb.h
diff --git a/cc/CCScrollbarGeometryFixedThumb.h b/cc/CCScrollbarGeometryFixedThumb.h
index fe0db12f263604fcffa097ec35e724771f7b9008..e19a6794dbf820b52e2ab1b5d401afde7d086763 100644
--- a/cc/CCScrollbarGeometryFixedThumb.h
+++ b/cc/CCScrollbarGeometryFixedThumb.h
@@ -2,38 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CCScrollbarGeometryFixedThumb_h
-#define CCScrollbarGeometryFixedThumb_h
-
-#include "CCScrollbarGeometryStub.h"
-#include "IntSize.h"
-
-namespace cc {
-
-// This scrollbar geometry class behaves exactly like a normal geometry except
-// it always returns a fixed thumb length. This allows a page to zoom (changing
-// the total size of the scrollable area, changing the thumb length) while not
-// requiring the thumb resource to be repainted.
-class CCScrollbarGeometryFixedThumb : public CCScrollbarGeometryStub {
-public:
- static PassOwnPtr<CCScrollbarGeometryFixedThumb> create(PassOwnPtr<WebKit::WebScrollbarThemeGeometry>);
- virtual ~CCScrollbarGeometryFixedThumb();
-
- // Update thumb length from scrollbar
- void update(WebKit::WebScrollbar*);
-
- // WebScrollbarThemeGeometry interface
- virtual WebKit::WebScrollbarThemeGeometry* clone() const OVERRIDE;
- virtual int thumbLength(WebKit::WebScrollbar*) OVERRIDE;
- virtual int thumbPosition(WebKit::WebScrollbar*) OVERRIDE;
- virtual void splitTrack(WebKit::WebScrollbar*, const WebKit::WebRect& track, WebKit::WebRect& startTrack, WebKit::WebRect& thumb, WebKit::WebRect& endTrack) OVERRIDE;
-
-private:
- explicit CCScrollbarGeometryFixedThumb(PassOwnPtr<WebKit::WebScrollbarThemeGeometry>);
-
- IntSize m_thumbSize;
-};
-
-}
-
-#endif
+// Temporary forwarding header
+#include "cc/scrollbar_geometry_fixed_thumb.h"
« no previous file with comments | « cc/CCScrollbarAnimationControllerLinearFade.cpp ('k') | cc/CCScrollbarGeometryFixedThumb.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698