| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 enum Part { | 45 enum Part { |
| 46 // ScrollbarTheme parts | 46 // ScrollbarTheme parts |
| 47 PartScrollbarDownArrow, | 47 PartScrollbarDownArrow, |
| 48 PartScrollbarLeftArrow, | 48 PartScrollbarLeftArrow, |
| 49 PartScrollbarRightArrow, | 49 PartScrollbarRightArrow, |
| 50 PartScrollbarUpArrow, | 50 PartScrollbarUpArrow, |
| 51 PartScrollbarHorizontalThumb, | 51 PartScrollbarHorizontalThumb, |
| 52 PartScrollbarVerticalThumb, | 52 PartScrollbarVerticalThumb, |
| 53 PartScrollbarHorizontalTrack, | 53 PartScrollbarHorizontalTrack, |
| 54 PartScrollbarVerticalTrack, | 54 PartScrollbarVerticalTrack, |
| 55 PartScrollbarCorner, | |
| 56 | 55 |
| 57 // RenderTheme parts | 56 // RenderTheme parts |
| 58 PartCheckbox, | 57 PartCheckbox, |
| 59 PartRadio, | 58 PartRadio, |
| 60 PartButton, | 59 PartButton, |
| 61 PartMenuList, | 60 PartMenuList, |
| 62 PartSliderTrack, | 61 PartSliderTrack, |
| 63 PartSliderThumb, | 62 PartSliderThumb, |
| 64 PartInnerSpinButton, | 63 PartInnerSpinButton, |
| 65 PartProgressBar | 64 PartProgressBar |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // like vertical scrollbar thumbs, the width will be the required width of | 134 // like vertical scrollbar thumbs, the width will be the required width of |
| 136 // the track while the height will be the minimum height. | 135 // the track while the height will be the minimum height. |
| 137 virtual WebSize getSize(Part) { return WebSize(); } | 136 virtual WebSize getSize(Part) { return WebSize(); } |
| 138 // Paint the given the given theme part. | 137 // Paint the given the given theme part. |
| 139 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam
s*) { } | 138 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam
s*) { } |
| 140 }; | 139 }; |
| 141 | 140 |
| 142 } // namespace blink | 141 } // namespace blink |
| 143 | 142 |
| 144 #endif | 143 #endif |
| OLD | NEW |