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

Unified Diff: cc/layers/solid_color_scrollbar_layer_impl.cc

Issue 146713002: Revert of Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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_scrollbar_layer_impl.h ('k') | cc/test/fake_painted_scrollbar_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/solid_color_scrollbar_layer_impl.cc
diff --git a/cc/layers/solid_color_scrollbar_layer_impl.cc b/cc/layers/solid_color_scrollbar_layer_impl.cc
index 34351cebc0893d76190057babdcff3074cfcec53..5c63203c1b0973884ad5b9977ef0385a61c30765 100644
--- a/cc/layers/solid_color_scrollbar_layer_impl.cc
+++ b/cc/layers/solid_color_scrollbar_layer_impl.cc
@@ -15,24 +15,19 @@
int id,
ScrollbarOrientation orientation,
int thumb_thickness,
- bool is_left_side_vertical_scrollbar,
- bool is_overlay) {
+ bool is_left_side_vertical_scrollbar) {
return make_scoped_ptr(new SolidColorScrollbarLayerImpl(
tree_impl, id, orientation, thumb_thickness,
- is_left_side_vertical_scrollbar, is_overlay));
+ is_left_side_vertical_scrollbar));
}
SolidColorScrollbarLayerImpl::~SolidColorScrollbarLayerImpl() {}
scoped_ptr<LayerImpl> SolidColorScrollbarLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return SolidColorScrollbarLayerImpl::Create(tree_impl,
- id(),
- orientation(),
- thumb_thickness_,
- is_left_side_vertical_scrollbar(),
- is_overlay_scrollbar())
- .PassAs<LayerImpl>();
+ return SolidColorScrollbarLayerImpl::Create(
+ tree_impl, id(), orientation(), thumb_thickness_,
+ is_left_side_vertical_scrollbar()).PassAs<LayerImpl>();
}
SolidColorScrollbarLayerImpl::SolidColorScrollbarLayerImpl(
@@ -40,10 +35,9 @@
int id,
ScrollbarOrientation orientation,
int thumb_thickness,
- bool is_left_side_vertical_scrollbar,
- bool is_overlay)
+ bool is_left_side_vertical_scrollbar)
: ScrollbarLayerImplBase(tree_impl, id, orientation,
- is_left_side_vertical_scrollbar, is_overlay),
+ is_left_side_vertical_scrollbar),
thumb_thickness_(thumb_thickness),
color_(tree_impl->settings().solid_color_scrollbar_color) {}
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer_impl.h ('k') | cc/test/fake_painted_scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698