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 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "CCScrollbarGeometryStub.h" | 7 #include "CCScrollbarGeometryStub.h" |
8 | 8 |
9 using WebKit::WebRect; | 9 using WebKit::WebRect; |
10 using WebKit::WebScrollbar; | 10 using WebKit::WebScrollbar; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 { | 100 { |
101 return m_geometry->constrainTrackRectToTrackPieces(scrollbar, rect); | 101 return m_geometry->constrainTrackRectToTrackPieces(scrollbar, rect); |
102 } | 102 } |
103 | 103 |
104 void CCScrollbarGeometryStub::splitTrack(WebScrollbar* scrollbar, const WebRect&
unconstrainedTrackRect, WebRect& beforeThumbRect, WebRect& thumbRect, WebRect&
afterThumbRect) | 104 void CCScrollbarGeometryStub::splitTrack(WebScrollbar* scrollbar, const WebRect&
unconstrainedTrackRect, WebRect& beforeThumbRect, WebRect& thumbRect, WebRect&
afterThumbRect) |
105 { | 105 { |
106 m_geometry->splitTrack(scrollbar, unconstrainedTrackRect, beforeThumbRect, t
humbRect, afterThumbRect); | 106 m_geometry->splitTrack(scrollbar, unconstrainedTrackRect, beforeThumbRect, t
humbRect, afterThumbRect); |
107 } | 107 } |
108 | 108 |
109 } | 109 } |
OLD | NEW |