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

Side by Side Diff: third_party/WebKit/Source/core/paint/MediaControlsPainter.h

Issue 1079323002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and addressed fs' comments Created 4 years, 9 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 * Copyright (C) 2009 Apple Inc. 2 * Copyright (C) 2009 Apple Inc.
3 * Copyright (C) 2009 Google Inc. 3 * Copyright (C) 2009 Google Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 static bool paintMediaMuteButton(const LayoutObject&, const PaintInfo&, cons t IntRect&); 44 static bool paintMediaMuteButton(const LayoutObject&, const PaintInfo&, cons t IntRect&);
45 static bool paintMediaPlayButton(const LayoutObject&, const PaintInfo&, cons t IntRect&); 45 static bool paintMediaPlayButton(const LayoutObject&, const PaintInfo&, cons t IntRect&);
46 static bool paintMediaToggleClosedCaptionsButton(const LayoutObject&, const PaintInfo&, const IntRect&); 46 static bool paintMediaToggleClosedCaptionsButton(const LayoutObject&, const PaintInfo&, const IntRect&);
47 static bool paintMediaSlider(const LayoutObject&, const PaintInfo&, const In tRect&); 47 static bool paintMediaSlider(const LayoutObject&, const PaintInfo&, const In tRect&);
48 static bool paintMediaSliderThumb(const LayoutObject&, const PaintInfo&, con st IntRect&); 48 static bool paintMediaSliderThumb(const LayoutObject&, const PaintInfo&, con st IntRect&);
49 static bool paintMediaVolumeSlider(const LayoutObject&, const PaintInfo&, co nst IntRect&); 49 static bool paintMediaVolumeSlider(const LayoutObject&, const PaintInfo&, co nst IntRect&);
50 static bool paintMediaVolumeSliderThumb(const LayoutObject&, const PaintInfo &, const IntRect&); 50 static bool paintMediaVolumeSliderThumb(const LayoutObject&, const PaintInfo &, const IntRect&);
51 static bool paintMediaFullscreenButton(const LayoutObject&, const PaintInfo& , const IntRect&); 51 static bool paintMediaFullscreenButton(const LayoutObject&, const PaintInfo& , const IntRect&);
52 static bool paintMediaOverlayPlayButton(const LayoutObject&, const PaintInfo &, const IntRect&); 52 static bool paintMediaOverlayPlayButton(const LayoutObject&, const PaintInfo &, const IntRect&);
53 static bool paintMediaCastButton(const LayoutObject&, const PaintInfo&, cons t IntRect&); 53 static bool paintMediaCastButton(const LayoutObject&, const PaintInfo&, cons t IntRect&);
54 static bool paintMediaTrackSelectionCheckmark(const LayoutObject&, const Pai ntInfo&, const IntRect&);
55 static bool paintMediaClosedCaptionsIcon(const LayoutObject&, const PaintInf o&, const IntRect&);
56 static bool paintMediaSubtitlesIcon(const LayoutObject&, const PaintInfo&, c onst IntRect&);
54 static void adjustMediaSliderThumbSize(ComputedStyle&); 57 static void adjustMediaSliderThumbSize(ComputedStyle&);
55 58
56 private: 59 private:
57 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt yle&, IntRect& rectOut); 60 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt yle&, IntRect& rectOut);
58 static void paintMediaSliderInternal(const LayoutObject&, const PaintInfo&, const IntRect&); 61 static void paintMediaSliderInternal(const LayoutObject&, const PaintInfo&, const IntRect&);
59 }; 62 };
60 63
61 } // namespace blink 64 } // namespace blink
62 65
63 #endif // MediaControlsPainter_h 66 #endif // MediaControlsPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698