| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com | 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
| 6 * Copyright (C) 2007 Holger Hans Peter Freyther | 6 * Copyright (C) 2007 Holger Hans Peter Freyther |
| 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 8 * Copyright (C) 2008, 2009 Google, Inc. | 8 * Copyright (C) 2008, 2009 Google, Inc. |
| 9 * All rights reserved. | 9 * All rights reserved. |
| 10 * Copyright (C) 2009 Kenneth Rohde Christiansen | 10 * Copyright (C) 2009 Kenneth Rohde Christiansen |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In
tRect&) override; | 124 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In
tRect&) override; |
| 125 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint
Info&, const IntRect&) override; | 125 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint
Info&, const IntRect&) override; |
| 126 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; | 126 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 127 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; | 127 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; |
| 128 virtual bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; | 128 virtual bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 129 virtual bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; | 129 virtual bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; |
| 130 virtual bool paintMediaMuteButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; | 130 virtual bool paintMediaMuteButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 131 virtual String formatMediaControlsTime(float time) const override; | 131 virtual String formatMediaControlsTime(float time) const override; |
| 132 virtual String formatMediaControlsCurrentTime(float currentTime, float durat
ion) const override; | 132 virtual String formatMediaControlsCurrentTime(float currentTime, float durat
ion) const override; |
| 133 virtual bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, con
st IntRect&) override; | 133 virtual bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, con
st IntRect&) override; |
| 134 virtual bool paintMediaTrackSelectionCheckmark(LayoutObject*, const PaintInf
o&, const IntRect&) override; |
| 134 | 135 |
| 135 // MenuList refers to an unstyled menulist (meaning a menulist without | 136 // MenuList refers to an unstyled menulist (meaning a menulist without |
| 136 // background-color or border set) and MenuListButton refers to a styled | 137 // background-color or border set) and MenuListButton refers to a styled |
| 137 // menulist (a menulist with background-color or border set). They have | 138 // menulist (a menulist with background-color or border set). They have |
| 138 // this distinction to support showing aqua style themes whenever they | 139 // this distinction to support showing aqua style themes whenever they |
| 139 // possibly can, which is something we don't want to replicate. | 140 // possibly can, which is something we don't want to replicate. |
| 140 // | 141 // |
| 141 // In short, we either go down the MenuList code path or the MenuListButton | 142 // In short, we either go down the MenuList code path or the MenuListButton |
| 142 // codepath. We never go down both. And in both cases, they render the | 143 // codepath. We never go down both. And in both cases, they render the |
| 143 // entire menulist. | 144 // entire menulist. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 195 |
| 195 static unsigned m_activeSelectionBackgroundColor; | 196 static unsigned m_activeSelectionBackgroundColor; |
| 196 static unsigned m_activeSelectionForegroundColor; | 197 static unsigned m_activeSelectionForegroundColor; |
| 197 static unsigned m_inactiveSelectionBackgroundColor; | 198 static unsigned m_inactiveSelectionBackgroundColor; |
| 198 static unsigned m_inactiveSelectionForegroundColor; | 199 static unsigned m_inactiveSelectionForegroundColor; |
| 199 }; | 200 }; |
| 200 | 201 |
| 201 } // namespace blink | 202 } // namespace blink |
| 202 | 203 |
| 203 #endif // LayoutThemeDefault_h | 204 #endif // LayoutThemeDefault_h |
| OLD | NEW |