OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ | 5 #ifndef CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ |
6 #define CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ | 6 #define CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/layers/scrollbar_geometry_stub.h" | 9 #include "cc/layers/scrollbar_geometry_stub.h" |
10 #include "ui/gfx/size.h" | 10 #include "ui/gfx/size.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 const WebKit::WebRect& track, | 31 const WebKit::WebRect& track, |
32 WebKit::WebRect& start_track, | 32 WebKit::WebRect& start_track, |
33 WebKit::WebRect& thumb, | 33 WebKit::WebRect& thumb, |
34 WebKit::WebRect& end_track) OVERRIDE; | 34 WebKit::WebRect& end_track) OVERRIDE; |
35 | 35 |
36 private: | 36 private: |
37 explicit ScrollbarGeometryFixedThumb( | 37 explicit ScrollbarGeometryFixedThumb( |
38 scoped_ptr<WebKit::WebScrollbarThemeGeometry> geometry); | 38 scoped_ptr<WebKit::WebScrollbarThemeGeometry> geometry); |
39 | 39 |
40 gfx::Size thumb_size_; | 40 gfx::Size thumb_size_; |
| 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(ScrollbarGeometryFixedThumb); |
41 }; | 43 }; |
42 | 44 |
43 } // namespace cc | 45 } // namespace cc |
44 | 46 |
45 #endif // CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ | 47 #endif // CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ |
OLD | NEW |