Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: Source/core/rendering/RenderTheme.h

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reenable previously crashing tests - now fixed Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/rendering/RenderMediaControls.cpp ('k') | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) { return true; } 257 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) { return true; }
258 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; } 258 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; }
259 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; } 259 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; }
260 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; } 260 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; }
261 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) { return true; } 261 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) { return true; }
262 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) { return true; } 262 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) { return true; }
263 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&) { return true; } 263 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&) { return true; }
264 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; } 264 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; }
265 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; } 265 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; }
266 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const Paint Info&, const IntRect&) { return true; } 266 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const Paint Info&, const IntRect&) { return true; }
267 virtual bool paintMediaCastButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; };
267 virtual bool paintMediaControlsBackground(RenderObject*, const PaintInfo&, c onst IntRect&) { return true; } 268 virtual bool paintMediaControlsBackground(RenderObject*, const PaintInfo&, c onst IntRect&) { return true; }
268 virtual bool paintMediaCurrentTime(RenderObject*, const PaintInfo&, const In tRect&) { return true; } 269 virtual bool paintMediaCurrentTime(RenderObject*, const PaintInfo&, const In tRect&) { return true; }
269 virtual bool paintMediaTimeRemaining(RenderObject*, const PaintInfo&, const IntRect&) { return true; } 270 virtual bool paintMediaTimeRemaining(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
270 virtual bool paintMediaFullScreenVolumeSliderTrack(RenderObject*, const Pain tInfo&, const IntRect&) { return true; } 271 virtual bool paintMediaFullScreenVolumeSliderTrack(RenderObject*, const Pain tInfo&, const IntRect&) { return true; }
271 virtual bool paintMediaFullScreenVolumeSliderThumb(RenderObject*, const Pain tInfo&, const IntRect&) { return true; } 272 virtual bool paintMediaFullScreenVolumeSliderThumb(RenderObject*, const Pain tInfo&, const IntRect&) { return true; }
272 273
273 virtual bool shouldUseFallbackTheme(RenderStyle*) const; 274 virtual bool shouldUseFallbackTheme(RenderStyle*) const;
274 void adjustStyleUsingFallbackTheme(RenderStyle*, Element*); 275 void adjustStyleUsingFallbackTheme(RenderStyle*, Element*);
275 bool paintUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect& ); 276 bool paintUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect& );
276 void adjustCheckboxStyleUsingFallbackTheme(RenderStyle*, Element*) const; 277 void adjustCheckboxStyleUsingFallbackTheme(RenderStyle*, Element*) const;
(...skipping 26 matching lines...) Expand all
303 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 304 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
304 305
305 #if USE(NEW_THEME) 306 #if USE(NEW_THEME)
306 Theme* m_platformTheme; // The platform-specific theme. 307 Theme* m_platformTheme; // The platform-specific theme.
307 #endif 308 #endif
308 }; 309 };
309 310
310 } // namespace blink 311 } // namespace blink
311 312
312 #endif // RenderTheme_h 313 #endif // RenderTheme_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMediaControls.cpp ('k') | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698