OLD | NEW |
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 #ifndef CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_ | 5 #ifndef CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_ |
6 #define CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_ | 6 #define CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGe
ometry.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGe
ometry.h" |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 virtual WebRect backButtonEndRect(WebScrollbar* scrollbar); | 36 virtual WebRect backButtonEndRect(WebScrollbar* scrollbar); |
37 virtual WebRect forwardButtonStartRect(WebScrollbar* scrollbar); | 37 virtual WebRect forwardButtonStartRect(WebScrollbar* scrollbar); |
38 virtual WebRect forwardButtonEndRect(WebScrollbar* scrollbar); | 38 virtual WebRect forwardButtonEndRect(WebScrollbar* scrollbar); |
39 | 39 |
40 virtual WebRect constrainTrackRectToTrackPieces(WebScrollbar* scrollbar, | 40 virtual WebRect constrainTrackRectToTrackPieces(WebScrollbar* scrollbar, |
41 const WebRect& trackRect); | 41 const WebRect& trackRect); |
42 | 42 |
43 virtual void splitTrack( | 43 virtual void splitTrack( |
44 WebScrollbar* scrollbar, const WebRect& track, WebRect& start_track, | 44 WebScrollbar* scrollbar, const WebRect& track, WebRect& start_track, |
45 WebRect& thumb, WebRect& end_track); | 45 WebRect& thumb, WebRect& end_track); |
46 | |
47 }; | 46 }; |
48 | 47 |
49 } // namespace WebKit | 48 } // namespace WebKit |
50 #endif // CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_ | 49 #endif // CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_ |
OLD | NEW |