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

Side by Side Diff: Source/core/layout/LayoutTheme.h

Issue 1082533002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 virtual bool paintMediaSliderTrack(LayoutObject*, const PaintInfo&, const In tRect&) { return true; } 265 virtual bool paintMediaSliderTrack(LayoutObject*, const PaintInfo&, const In tRect&) { return true; }
266 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In tRect&) { return true; } 266 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In tRect&) { return true; }
267 virtual bool paintMediaVolumeSliderContainer(LayoutObject*, const PaintInfo& , const IntRect&) { return true; } 267 virtual bool paintMediaVolumeSliderContainer(LayoutObject*, const PaintInfo& , const IntRect&) { return true; }
268 virtual bool paintMediaVolumeSliderTrack(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; } 268 virtual bool paintMediaVolumeSliderTrack(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; }
269 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; } 269 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; }
270 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint Info&, const IntRect&) { return true; } 270 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint Info&, const IntRect&) { return true; }
271 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int Rect&) { return true; }; 271 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int Rect&) { return true; };
272 virtual bool paintMediaControlsBackground(LayoutObject*, const PaintInfo&, c onst IntRect&) { return true; } 272 virtual bool paintMediaControlsBackground(LayoutObject*, const PaintInfo&, c onst IntRect&) { return true; }
273 virtual bool paintMediaCurrentTime(LayoutObject*, const PaintInfo&, const In tRect&) { return true; } 273 virtual bool paintMediaCurrentTime(LayoutObject*, const PaintInfo&, const In tRect&) { return true; }
274 virtual bool paintMediaTimeRemaining(LayoutObject*, const PaintInfo&, const IntRect&) { return true; } 274 virtual bool paintMediaTimeRemaining(LayoutObject*, const PaintInfo&, const IntRect&) { return true; }
275 virtual bool paintMediaTrackSelectionCheckmark(LayoutObject*, const PaintInf o&, const IntRect&) { return true; }
275 virtual bool paintMediaFullScreenVolumeSliderTrack(LayoutObject*, const Pain tInfo&, const IntRect&) { return true; } 276 virtual bool paintMediaFullScreenVolumeSliderTrack(LayoutObject*, const Pain tInfo&, const IntRect&) { return true; }
276 virtual bool paintMediaFullScreenVolumeSliderThumb(LayoutObject*, const Pain tInfo&, const IntRect&) { return true; } 277 virtual bool paintMediaFullScreenVolumeSliderThumb(LayoutObject*, const Pain tInfo&, const IntRect&) { return true; }
277 278
278 virtual bool shouldUseFallbackTheme(const ComputedStyle&) const; 279 virtual bool shouldUseFallbackTheme(const ComputedStyle&) const;
279 void adjustStyleUsingFallbackTheme(ComputedStyle&, Element*); 280 void adjustStyleUsingFallbackTheme(ComputedStyle&, Element*);
280 bool paintUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect& ); 281 bool paintUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect& );
281 void adjustCheckboxStyleUsingFallbackTheme(ComputedStyle&, Element*) const; 282 void adjustCheckboxStyleUsingFallbackTheme(ComputedStyle&, Element*) const;
282 bool paintCheckboxUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect&); 283 bool paintCheckboxUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect&);
283 void adjustRadioStyleUsingFallbackTheme(ComputedStyle&, Element*) const; 284 void adjustRadioStyleUsingFallbackTheme(ComputedStyle&, Element*) const;
284 bool paintRadioUsingFallbackTheme(LayoutObject*, const PaintInfo&, const Int Rect&); 285 bool paintRadioUsingFallbackTheme(LayoutObject*, const PaintInfo&, const Int Rect&);
(...skipping 23 matching lines...) Expand all
308 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 309 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
309 310
310 #if USE(NEW_THEME) 311 #if USE(NEW_THEME)
311 Theme* m_platformTheme; // The platform-specific theme. 312 Theme* m_platformTheme; // The platform-specific theme.
312 #endif 313 #endif
313 }; 314 };
314 315
315 } // namespace blink 316 } // namespace blink
316 317
317 #endif // LayoutTheme_h 318 #endif // LayoutTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698