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

Unified Diff: cc/layers/solid_color_scrollbar_layer.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/layers/solid_color_layer_impl_unittest.cc ('k') | cc/layers/solid_color_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/solid_color_scrollbar_layer.h
diff --git a/cc/layers/solid_color_scrollbar_layer.h b/cc/layers/solid_color_scrollbar_layer.h
deleted file mode 100644
index fc6306e47b38e5e433096639773105e3070585ed..0000000000000000000000000000000000000000
--- a/cc/layers/solid_color_scrollbar_layer.h
+++ /dev/null
@@ -1,63 +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_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_
-#define CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/layers/layer.h"
-#include "cc/layers/scrollbar_layer_interface.h"
-
-namespace cc {
-
-class CC_EXPORT SolidColorScrollbarLayer : public ScrollbarLayerInterface,
- public Layer {
- public:
- scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
-
- static scoped_refptr<SolidColorScrollbarLayer> Create(
- ScrollbarOrientation orientation,
- int thumb_thickness,
- int track_start,
- bool is_left_side_vertical_scrollbar,
- int scroll_layer_id);
-
- // Layer overrides.
- bool OpacityCanAnimateOnImplThread() const override;
- ScrollbarLayerInterface* ToScrollbarLayer() override;
-
- void PushPropertiesTo(LayerImpl* layer) override;
- void PushScrollClipPropertiesTo(LayerImpl* layer) override;
-
- void SetNeedsDisplayRect(const gfx::Rect& rect) override;
-
- // ScrollbarLayerInterface
- int ScrollLayerId() const override;
- void SetScrollLayer(int layer_id) override;
- void SetClipLayer(int layer_id) override;
-
- ScrollbarOrientation orientation() const override;
-
- protected:
- SolidColorScrollbarLayer(ScrollbarOrientation orientation,
- int thumb_thickness,
- int track_start,
- bool is_left_side_vertical_scrollbar,
- int scroll_layer_id);
- ~SolidColorScrollbarLayer() override;
-
- private:
- int scroll_layer_id_;
- int clip_layer_id_;
- ScrollbarOrientation orientation_;
- int thumb_thickness_;
- int track_start_;
- bool is_left_side_vertical_scrollbar_;
-
- DISALLOW_COPY_AND_ASSIGN(SolidColorScrollbarLayer);
-};
-
-} // namespace cc
-
-#endif // CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_
« no previous file with comments | « cc/layers/solid_color_layer_impl_unittest.cc ('k') | cc/layers/solid_color_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698