| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the theme implementation for form controls in WebCore. | 2 * This file is part of the theme implementation for form controls in WebCore. |
| 3 * | 3 * |
| 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. | 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // These methods return the theme's extra style sheets rules, to let each pl
atform | 88 // These methods return the theme's extra style sheets rules, to let each pl
atform |
| 89 // adjust the default CSS rules in html.css, quirks.css, or mediaControls.cs
s | 89 // adjust the default CSS rules in html.css, quirks.css, or mediaControls.cs
s |
| 90 virtual String extraDefaultStyleSheet() { return String(); } | 90 virtual String extraDefaultStyleSheet() { return String(); } |
| 91 virtual String extraQuirksStyleSheet() { return String(); } | 91 virtual String extraQuirksStyleSheet() { return String(); } |
| 92 #if ENABLE(VIDEO) | 92 #if ENABLE(VIDEO) |
| 93 virtual String extraMediaControlsStyleSheet() { return String(); }; | 93 virtual String extraMediaControlsStyleSheet() { return String(); }; |
| 94 #endif | 94 #endif |
| 95 #if ENABLE(FULLSCREEN_API) | 95 #if ENABLE(FULLSCREEN_API) |
| 96 virtual String extraFullScreenStyleSheet() { return String(); }; | 96 virtual String extraFullScreenStyleSheet() { return String(); }; |
| 97 #endif | 97 #endif |
| 98 #if ENABLE(CALENDAR_PICKER) | |
| 99 virtual CString extraCalendarPickerStyleSheet(); | |
| 100 #endif | |
| 101 | 98 |
| 102 // A method to obtain the baseline position for a "leaf" control. This will
only be used if a baseline | 99 // A method to obtain the baseline position for a "leaf" control. This will
only be used if a baseline |
| 103 // position cannot be determined by examining child content. Checkboxes and
radio buttons are examples of | 100 // position cannot be determined by examining child content. Checkboxes and
radio buttons are examples of |
| 104 // controls that need to do this. | 101 // controls that need to do this. |
| 105 virtual int baselinePosition(const RenderObject*) const; | 102 virtual int baselinePosition(const RenderObject*) const; |
| 106 | 103 |
| 107 // A method for asking if a control is a container or not. Leaf controls ha
ve to have some special behavior (like | 104 // A method for asking if a control is a container or not. Leaf controls ha
ve to have some special behavior (like |
| 108 // the baseline position API above). | 105 // the baseline position API above). |
| 109 bool isControlContainer(ControlPart) const; | 106 bool isControlContainer(ControlPart) const; |
| 110 | 107 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 #endif | 377 #endif |
| 381 | 378 |
| 382 #if USE(NEW_THEME) | 379 #if USE(NEW_THEME) |
| 383 Theme* m_theme; // The platform-specific theme. | 380 Theme* m_theme; // The platform-specific theme. |
| 384 #endif | 381 #endif |
| 385 }; | 382 }; |
| 386 | 383 |
| 387 } // namespace WebCore | 384 } // namespace WebCore |
| 388 | 385 |
| 389 #endif // RenderTheme_h | 386 #endif // RenderTheme_h |
| OLD | NEW |