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

Side by Side Diff: cc/pinch_zoom_scrollbar.cc

Issue 12603013: Part 10 of cc/ directory shuffles: layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/picture_layer_impl_unittest.cc ('k') | cc/pinch_zoom_scrollbar_painter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/pinch_zoom_scrollbar.h" 5 #include "cc/pinch_zoom_scrollbar.h"
6 6
7 #include "cc/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/pinch_zoom_scrollbar_geometry.h" 8 #include "cc/pinch_zoom_scrollbar_geometry.h"
9 #include "cc/trees/layer_tree_host.h" 9 #include "cc/trees/layer_tree_host.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 const float PinchZoomScrollbar::kDefaultOpacity = 0.5f; 13 const float PinchZoomScrollbar::kDefaultOpacity = 0.5f;
14 const float PinchZoomScrollbar::kFadeDurationInSeconds = 0.5f; 14 const float PinchZoomScrollbar::kFadeDurationInSeconds = 0.5f;
15 15
16 PinchZoomScrollbar::PinchZoomScrollbar( 16 PinchZoomScrollbar::PinchZoomScrollbar(
17 WebKit::WebScrollbar::Orientation orientation, LayerTreeHost* owner) 17 WebKit::WebScrollbar::Orientation orientation, LayerTreeHost* owner)
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 bool PinchZoomScrollbar::isCustomScrollbar() const { 109 bool PinchZoomScrollbar::isCustomScrollbar() const {
110 return false; 110 return false;
111 } 111 }
112 112
113 WebKit::WebScrollbar::Orientation PinchZoomScrollbar::orientation() const { 113 WebKit::WebScrollbar::Orientation PinchZoomScrollbar::orientation() const {
114 return orientation_; 114 return orientation_;
115 } 115 }
116 116
117 } // namespace cc 117 } // namespace cc
OLDNEW
« no previous file with comments | « cc/picture_layer_impl_unittest.cc ('k') | cc/pinch_zoom_scrollbar_painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698