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

Side by Side Diff: Source/core/html/shadow/MediaControlElementTypes.h

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 MediaControlsPanel, 56 MediaControlsPanel,
57 MediaVolumeSliderContainer, 57 MediaVolumeSliderContainer,
58 MediaVolumeSlider, 58 MediaVolumeSlider,
59 MediaVolumeSliderThumb, 59 MediaVolumeSliderThumb,
60 MediaFullScreenVolumeSlider, 60 MediaFullScreenVolumeSlider,
61 MediaFullScreenVolumeSliderThumb, 61 MediaFullScreenVolumeSliderThumb,
62 MediaTextTrackDisplayContainer, 62 MediaTextTrackDisplayContainer,
63 MediaTextTrackDisplay, 63 MediaTextTrackDisplay,
64 MediaExitFullscreenButton, 64 MediaExitFullscreenButton,
65 MediaOverlayPlayButton, 65 MediaOverlayPlayButton,
66 MediaCastOffButton,
67 MediaCastOnButton
66 }; 68 };
67 69
68 HTMLMediaElement* toParentMediaElement(Node*); 70 HTMLMediaElement* toParentMediaElement(Node*);
69 inline HTMLMediaElement* toParentMediaElement(RenderObject* renderer) { return t oParentMediaElement(renderer->node()); } 71 inline HTMLMediaElement* toParentMediaElement(RenderObject* renderer) { return t oParentMediaElement(renderer->node()); }
70 72
71 MediaControlElementType mediaControlElementType(Node*); 73 MediaControlElementType mediaControlElementType(Node*);
72 74
73 // ---------------------------- 75 // ----------------------------
74 76
75 class MediaControlElement { 77 class MediaControlElement {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 protected: 125 protected:
124 MediaControlTimeDisplayElement(MediaControls&, MediaControlElementType); 126 MediaControlTimeDisplayElement(MediaControls&, MediaControlElementType);
125 127
126 private: 128 private:
127 double m_currentValue; 129 double m_currentValue;
128 }; 130 };
129 131
130 } // namespace WebCore 132 } // namespace WebCore
131 133
132 #endif // MediaControlElementTypes_h 134 #endif // MediaControlElementTypes_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698