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

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: Tidy up button name Created 6 years, 4 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
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) { return true; } 263 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) { return true; }
264 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; } 264 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; }
265 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; } 265 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; }
266 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; } 266 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; }
267 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) { return true; } 267 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) { return true; }
268 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) { return true; } 268 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) { return true; }
269 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&) { return true; } 269 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&) { return true; }
270 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; } 270 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; }
271 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; } 271 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; }
272 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const Paint Info&, const IntRect&) { return true; } 272 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const Paint Info&, const IntRect&) { return true; }
273 virtual bool paintMediaCastButton(RenderObject*, const PaintInfo&, const Int Rect&) { return true; };
274 virtual bool paintMediaOverlayCastButton(RenderObject*, const PaintInfo&, co nst IntRect&) { return true; };
273 virtual bool paintMediaControlsBackground(RenderObject*, const PaintInfo&, c onst IntRect&) { return true; } 275 virtual bool paintMediaControlsBackground(RenderObject*, const PaintInfo&, c onst IntRect&) { return true; }
274 virtual bool paintMediaCurrentTime(RenderObject*, const PaintInfo&, const In tRect&) { return true; } 276 virtual bool paintMediaCurrentTime(RenderObject*, const PaintInfo&, const In tRect&) { return true; }
275 virtual bool paintMediaTimeRemaining(RenderObject*, const PaintInfo&, const IntRect&) { return true; } 277 virtual bool paintMediaTimeRemaining(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
276 virtual bool paintMediaFullScreenVolumeSliderTrack(RenderObject*, const Pain tInfo&, const IntRect&) { return true; } 278 virtual bool paintMediaFullScreenVolumeSliderTrack(RenderObject*, const Pain tInfo&, const IntRect&) { return true; }
277 virtual bool paintMediaFullScreenVolumeSliderThumb(RenderObject*, const Pain tInfo&, const IntRect&) { return true; } 279 virtual bool paintMediaFullScreenVolumeSliderThumb(RenderObject*, const Pain tInfo&, const IntRect&) { return true; }
278 280
279 virtual bool shouldUseFallbackTheme(RenderStyle*) const; 281 virtual bool shouldUseFallbackTheme(RenderStyle*) const;
280 void adjustStyleUsingFallbackTheme(RenderStyle*, Element*); 282 void adjustStyleUsingFallbackTheme(RenderStyle*, Element*);
281 bool paintUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect& ); 283 bool paintUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect& );
282 void adjustCheckboxStyleUsingFallbackTheme(RenderStyle*, Element*) const; 284 void adjustCheckboxStyleUsingFallbackTheme(RenderStyle*, Element*) const;
(...skipping 26 matching lines...) Expand all
309 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 311 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
310 312
311 #if USE(NEW_THEME) 313 #if USE(NEW_THEME)
312 Theme* m_platformTheme; // The platform-specific theme. 314 Theme* m_platformTheme; // The platform-specific theme.
313 #endif 315 #endif
314 }; 316 };
315 317
316 } // namespace blink 318 } // namespace blink
317 319
318 #endif // RenderTheme_h 320 #endif // RenderTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698