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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 InnerSpinButtonExtraParams innerSpin; | 179 InnerSpinButtonExtraParams innerSpin; |
180 ProgressBarExtraParams progressBar; | 180 ProgressBarExtraParams progressBar; |
181 }; | 181 }; |
182 | 182 |
183 // Gets the size of the given theme part. For variable sized items | 183 // Gets the size of the given theme part. For variable sized items |
184 // like vertical scrollbar thumbs, the width will be the required width of | 184 // like vertical scrollbar thumbs, the width will be the required width of |
185 // the track while the height will be the minimum height. | 185 // the track while the height will be the minimum height. |
186 virtual WebSize getSize(Part) { return WebSize(); } | 186 virtual WebSize getSize(Part) { return WebSize(); } |
187 // Paint the given the given theme part. | 187 // Paint the given the given theme part. |
188 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam
s*) { } | 188 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam
s*) { } |
| 189 virtual void paintStateTransition(WebCanvas*, Part, State, State, double, co
nst WebRect&) { } |
189 }; | 190 }; |
190 | 191 |
191 } // namespace blink | 192 } // namespace blink |
192 | 193 |
193 #endif | 194 #endif |
OLD | NEW |