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

Side by Side Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void clearMediaElement(); 89 void clearMediaElement();
90 90
91 WebContentDecryptionModule* contentDecryptionModule(); 91 WebContentDecryptionModule* contentDecryptionModule();
92 92
93 DECLARE_VIRTUAL_TRACE(); 93 DECLARE_VIRTUAL_TRACE();
94 94
95 // ActiveDOMObject implementation. 95 // ActiveDOMObject implementation.
96 // FIXME: This class could derive from ContextLifecycleObserver 96 // FIXME: This class could derive from ContextLifecycleObserver
97 // again (http://crbug.com/483722). 97 // again (http://crbug.com/483722).
98 void contextDestroyed() override; 98 void contextDestroyed() override;
99 void stop() override;
100 99
101 // ScriptWrappable implementation. 100 // ScriptWrappable implementation.
102 bool hasPendingActivity() const final; 101 bool hasPendingActivity() const final;
103 102
104 private: 103 private:
105 MediaKeys( 104 MediaKeys(
106 ExecutionContext*, 105 ExecutionContext*,
107 const WebVector<WebEncryptedMediaSessionType>& supportedSessionTypes, 106 const WebVector<WebEncryptedMediaSessionType>& supportedSessionTypes,
108 std::unique_ptr<WebContentDecryptionModule>); 107 std::unique_ptr<WebContentDecryptionModule>);
109 class PendingAction; 108 class PendingAction;
(...skipping 18 matching lines...) Expand all
128 // object will be prevented until the setMediaKeys() completes. 127 // object will be prevented until the setMediaKeys() completes.
129 bool m_reservedForMediaElement; 128 bool m_reservedForMediaElement;
130 129
131 HeapDeque<Member<PendingAction>> m_pendingActions; 130 HeapDeque<Member<PendingAction>> m_pendingActions;
132 Timer<MediaKeys> m_timer; 131 Timer<MediaKeys> m_timer;
133 }; 132 };
134 133
135 } // namespace blink 134 } // namespace blink
136 135
137 #endif // MediaKeys_h 136 #endif // MediaKeys_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698