| 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 Apple Computer, Inc. | 4 * Copyright (C) 2005 Apple Computer, Inc. |
| 5 * Copyright (C) 2008, 2009 Google, Inc. | 5 * Copyright (C) 2008, 2009 Google, Inc. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 int minimumProgressBarHeight(RenderStyle*) const; | 174 int minimumProgressBarHeight(RenderStyle*) const; |
| 175 const IntSize* progressBarSizes() const; | 175 const IntSize* progressBarSizes() const; |
| 176 const int* progressBarMargins(NSControlSize) const; | 176 const int* progressBarMargins(NSControlSize) const; |
| 177 | 177 |
| 178 protected: | 178 protected: |
| 179 virtual void adjustMediaSliderThumbSize(RenderStyle*) const; | 179 virtual void adjustMediaSliderThumbSize(RenderStyle*) const; |
| 180 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int
Rect&); | 180 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int
Rect&); |
| 181 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int
Rect&); | 181 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int
Rect&); |
| 182 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In
tRect&); | 182 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In
tRect&); |
| 183 virtual String extraMediaControlsStyleSheet(); | |
| 184 virtual String extraFullScreenStyleSheet(); | 183 virtual String extraFullScreenStyleSheet(); |
| 185 | 184 |
| 186 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In
tRect&); | 185 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In
tRect&); |
| 187 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo&
, const IntRect&); | 186 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo&
, const IntRect&); |
| 188 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co
nst IntRect&); | 187 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co
nst IntRect&); |
| 189 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co
nst IntRect&); | 188 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co
nst IntRect&); |
| 190 virtual bool usesMediaControlStatusDisplay() { return false; } | 189 virtual bool usesMediaControlStatusDisplay() { return false; } |
| 191 virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const { return true
; } | 190 virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const { return true
; } |
| 192 virtual bool usesVerticalVolumeSlider() const { return false; } | 191 virtual bool usesVerticalVolumeSlider() const { return false; } |
| 193 virtual String formatMediaControlsTime(float time) const; | 192 virtual String formatMediaControlsTime(float time) const; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 214 mutable RetainPtr<NSTextFieldCell> m_textField; | 213 mutable RetainPtr<NSTextFieldCell> m_textField; |
| 215 | 214 |
| 216 mutable HashMap<int, RGBA32> m_systemColorCache; | 215 mutable HashMap<int, RGBA32> m_systemColorCache; |
| 217 | 216 |
| 218 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 217 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
| 219 }; | 218 }; |
| 220 | 219 |
| 221 } // namespace WebCore | 220 } // namespace WebCore |
| 222 | 221 |
| 223 #endif // RenderThemeChromiumMac_h | 222 #endif // RenderThemeChromiumMac_h |
| OLD | NEW |