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

Unified Diff: cc/input/scrollbar.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/input/scroll_elasticity_helper.cc ('k') | cc/input/selection_bound_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scrollbar.h
diff --git a/cc/input/scrollbar.h b/cc/input/scrollbar.h
deleted file mode 100644
index 19ac92a0db9d630a48c3ff3eaca903094376b23e..0000000000000000000000000000000000000000
--- a/cc/input/scrollbar.h
+++ /dev/null
@@ -1,41 +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 CC_INPUT_SCROLLBAR_H_
-#define CC_INPUT_SCROLLBAR_H_
-
-#include "cc/base/cc_export.h"
-#include "ui/gfx/geometry/point.h"
-#include "ui/gfx/geometry/rect.h"
-
-class SkCanvas;
-
-namespace cc {
-
-enum ScrollbarOrientation { HORIZONTAL, VERTICAL };
-enum ScrollDirection { SCROLL_BACKWARD, SCROLL_FORWARD };
-// For now, TRACK includes everything but the thumb including background and
-// buttons.
-enum ScrollbarPart { THUMB, TRACK };
-
-class Scrollbar {
- public:
- virtual ~Scrollbar() {}
-
- virtual ScrollbarOrientation Orientation() const = 0;
- virtual bool IsLeftSideVerticalScrollbar() const = 0;
- virtual gfx::Point Location() const = 0;
- virtual bool IsOverlay() const = 0;
- virtual bool HasThumb() const = 0;
- virtual int ThumbThickness() const = 0;
- virtual int ThumbLength() const = 0;
- virtual gfx::Rect TrackRect() const = 0;
- virtual void PaintPart(SkCanvas* canvas,
- ScrollbarPart part,
- const gfx::Rect& content_rect) = 0;
-};
-
-} // namespace cc
-
-#endif // CC_INPUT_SCROLLBAR_H_
« no previous file with comments | « cc/input/scroll_elasticity_helper.cc ('k') | cc/input/selection_bound_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698