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 22 matching lines...) Expand all Loading... |
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 }; | 41 }; |
42 | 42 |
43 } | 43 } // namespace cc |
44 | 44 |
45 #endif // CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ | 45 #endif // CC_LAYERS_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_ |
OLD | NEW |