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

Unified Diff: cc/blink/scrollbar_impl.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/blink/context_provider_web_context.h ('k') | cc/blink/scrollbar_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/scrollbar_impl.h
diff --git a/cc/blink/scrollbar_impl.h b/cc/blink/scrollbar_impl.h
deleted file mode 100644
index fa5f0428973c8973308f385660fa8cb6bbb8ff34..0000000000000000000000000000000000000000
--- a/cc/blink/scrollbar_impl.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2014 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 CC_BLINK_SCROLLBAR_IMPL_H_
-#define CC_BLINK_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 cc_blink {
-
-class ScrollbarImpl : public cc::Scrollbar {
- public:
- ScrollbarImpl(scoped_ptr<blink::WebScrollbar> scrollbar,
- blink::WebScrollbarThemePainter painter,
- scoped_ptr<blink::WebScrollbarThemeGeometry> geometry);
- ~ScrollbarImpl() override;
-
- // cc::Scrollbar implementation.
- cc::ScrollbarOrientation Orientation() const override;
- bool IsLeftSideVerticalScrollbar() const override;
- bool HasThumb() const override;
- bool IsOverlay() const override;
- gfx::Point Location() const override;
- int ThumbThickness() const override;
- int ThumbLength() const override;
- gfx::Rect TrackRect() const override;
- void PaintPart(SkCanvas* canvas,
- cc::ScrollbarPart part,
- const 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 cc_blink
-
-#endif // CC_BLINK_SCROLLBAR_IMPL_H_
« no previous file with comments | « cc/blink/context_provider_web_context.h ('k') | cc/blink/scrollbar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698