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

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

Issue 219283004: Remove what remains of MediaControllerInterface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: earliest possible position FIXME Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2011, 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 22 matching lines...) Expand all
33 namespace WebCore { 33 namespace WebCore {
34 34
35 class Document; 35 class Document;
36 class Event; 36 class Event;
37 37
38 class MediaControls FINAL : public HTMLDivElement { 38 class MediaControls FINAL : public HTMLDivElement {
39 public: 39 public:
40 static PassRefPtr<MediaControls> create(HTMLMediaElement&); 40 static PassRefPtr<MediaControls> create(HTMLMediaElement&);
41 41
42 HTMLMediaElement& mediaElement() const { return m_mediaElement; } 42 HTMLMediaElement& mediaElement() const { return m_mediaElement; }
43 MediaControllerInterface& mediaControllerInterface() const;
44 43
45 void reset(); 44 void reset();
46 45
47 void show(); 46 void show();
48 void hide(); 47 void hide();
49 48
50 void playbackStarted(); 49 void playbackStarted();
51 void playbackProgressed(); 50 void playbackProgressed();
52 void playbackStopped(); 51 void playbackStopped();
53 52
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 bool m_isFullscreen : 1; 119 bool m_isFullscreen : 1;
121 bool m_isMouseOverControls : 1; 120 bool m_isMouseOverControls : 1;
122 bool m_isPausedForScrubbing : 1; 121 bool m_isPausedForScrubbing : 1;
123 }; 122 };
124 123
125 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 124 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
126 125
127 } 126 }
128 127
129 #endif 128 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698