summaryrefslogtreecommitdiffstats
path: root/chromium/webkit/renderer/compositor_bindings/scrollbar_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/webkit/renderer/compositor_bindings/scrollbar_impl.h')
-rw-r--r--chromium/webkit/renderer/compositor_bindings/scrollbar_impl.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/chromium/webkit/renderer/compositor_bindings/scrollbar_impl.h b/chromium/webkit/renderer/compositor_bindings/scrollbar_impl.h
deleted file mode 100644
index c77ad79c760..00000000000
--- a/chromium/webkit/renderer/compositor_bindings/scrollbar_impl.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2013 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 WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/input/scrollbar.h"
-#include "third_party/WebKit/public/platform/WebScrollbarThemePainter.h"
-
-namespace blink {
-class WebScrollbar;
-class WebScrollbarThemeGeometry;
-}
-
-namespace webkit {
-
-class ScrollbarImpl : public cc::Scrollbar {
- public:
- ScrollbarImpl(scoped_ptr<blink::WebScrollbar> scrollbar,
- blink::WebScrollbarThemePainter painter,
- scoped_ptr<blink::WebScrollbarThemeGeometry> geometry);
- virtual ~ScrollbarImpl();
-
- // cc::Scrollbar implementation.
- virtual cc::ScrollbarOrientation Orientation() const OVERRIDE;
- virtual bool IsLeftSideVerticalScrollbar() const OVERRIDE;
- virtual bool HasThumb() const OVERRIDE;
- virtual bool IsOverlay() const OVERRIDE;
- virtual gfx::Point Location() const OVERRIDE;
- virtual int ThumbThickness() const OVERRIDE;
- virtual int ThumbLength() const OVERRIDE;
- virtual gfx::Rect TrackRect() const OVERRIDE;
- virtual void PaintPart(SkCanvas* canvas,
- cc::ScrollbarPart part,
- gfx::Rect content_rect) OVERRIDE;
-
- private:
- scoped_ptr<blink::WebScrollbar> scrollbar_;
- blink::WebScrollbarThemePainter painter_;
- scoped_ptr<blink::WebScrollbarThemeGeometry> geometry_;
-
- DISALLOW_COPY_AND_ASSIGN(ScrollbarImpl);
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_