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

Side by Side Diff: third_party/WebKit/Source/core/html/media/MediaControls.h

Issue 2820633003: Media Controls: move simple buttons to modules/. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControlElements.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MediaControls_h 5 #ifndef MediaControls_h
6 #define MediaControls_h 6 #define MediaControls_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "platform/heap/Visitor.h" 10 #include "platform/heap/Visitor.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual LayoutObject* ContainerLayoutObject() = 0; 70 virtual LayoutObject* ContainerLayoutObject() = 0;
71 71
72 // TODO: the following are required by other parts of the media controls 72 // TODO: the following are required by other parts of the media controls
73 // implementation and could be removed when the full implementation has moved 73 // implementation and could be removed when the full implementation has moved
74 // to modules. 74 // to modules.
75 virtual HTMLDivElement* PanelElement() = 0; 75 virtual HTMLDivElement* PanelElement() = 0;
76 virtual Document& OwnerDocument() = 0; 76 virtual Document& OwnerDocument() = 0;
77 virtual void BeginScrubbing() = 0; 77 virtual void BeginScrubbing() = 0;
78 virtual void EndScrubbing() = 0; 78 virtual void EndScrubbing() = 0;
79 virtual void UpdateCurrentTimeDisplay() = 0; 79 virtual void UpdateCurrentTimeDisplay() = 0;
80 virtual void ToggleTextTrackList() = 0;
81 virtual void ShowTextTrackAtIndex(unsigned) = 0;
82 virtual void DisableShowingTextTracks() = 0;
83 virtual void EnterFullscreen() = 0;
84 virtual void ExitFullscreen() = 0;
85 virtual void ToggleOverflowMenu() = 0;
86 virtual bool OverflowMenuVisible() = 0; 80 virtual bool OverflowMenuVisible() = 0;
87 virtual void OnMediaControlsEnabledChange() = 0; 81 virtual void OnMediaControlsEnabledChange() = 0;
88 82
89 DECLARE_VIRTUAL_TRACE(); 83 DECLARE_VIRTUAL_TRACE();
90 84
91 private: 85 private:
92 Member<HTMLMediaElement> media_element_; 86 Member<HTMLMediaElement> media_element_;
93 }; 87 };
94 88
95 } // namespace blink 89 } // namespace blink
96 90
97 #endif // MediaControls_h 91 #endif // MediaControls_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControlElements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698