OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool determinate; | 133 bool determinate; |
134 int valueRectX; | 134 int valueRectX; |
135 int valueRectY; | 135 int valueRectY; |
136 int valueRectWidth; | 136 int valueRectWidth; |
137 int valueRectHeight; | 137 int valueRectHeight; |
138 }; | 138 }; |
139 | 139 |
140 // Extra parameters for scrollbar thumb. Used only for overlay scrollbars. | 140 // Extra parameters for scrollbar thumb. Used only for overlay scrollbars. |
141 struct ScrollbarThumbExtraParams { | 141 struct ScrollbarThumbExtraParams { |
142 WebScrollbarOverlayColorTheme scrollbarTheme; | 142 WebScrollbarOverlayColorTheme scrollbarTheme; |
| 143 bool isVerticalScrollbar; |
| 144 bool isLeftVerticalScrollbar; |
| 145 bool hitStart; |
| 146 bool hitEnd; |
143 }; | 147 }; |
144 | 148 |
145 union ExtraParams { | 149 union ExtraParams { |
146 ScrollbarTrackExtraParams scrollbarTrack; | 150 ScrollbarTrackExtraParams scrollbarTrack; |
147 ButtonExtraParams button; | 151 ButtonExtraParams button; |
148 TextFieldExtraParams textField; | 152 TextFieldExtraParams textField; |
149 MenuListExtraParams menuList; | 153 MenuListExtraParams menuList; |
150 SliderExtraParams slider; | 154 SliderExtraParams slider; |
151 InnerSpinButtonExtraParams innerSpin; | 155 InnerSpinButtonExtraParams innerSpin; |
152 ProgressBarExtraParams progressBar; | 156 ProgressBarExtraParams progressBar; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 virtual void paint(WebCanvas*, | 190 virtual void paint(WebCanvas*, |
187 Part, | 191 Part, |
188 State, | 192 State, |
189 const WebRect&, | 193 const WebRect&, |
190 const ExtraParams*) {} | 194 const ExtraParams*) {} |
191 }; | 195 }; |
192 | 196 |
193 } // namespace blink | 197 } // namespace blink |
194 | 198 |
195 #endif | 199 #endif |
OLD | NEW |