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

Unified Diff: Source/modules/mediastream/DOMWindowMediaStream.h

Issue 265393003: Move modules-related attributes out from Window.idl. (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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/mediastream/DOMWindowMediaStream.h
diff --git a/Source/modules/mediastream/DOMWindowMediaStream.h b/Source/modules/mediastream/DOMWindowMediaStream.h
new file mode 100644
index 0000000000000000000000000000000000000000..94bca8d36f71a764251e575da756fecfd4ce4ef4
--- /dev/null
+++ b/Source/modules/mediastream/DOMWindowMediaStream.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DOMWindowMediaStream_h
+#define DOMWindowMediaStream_h
+
+#include "core/frame/DOMWindowProperty.h"
+#include "platform/Supplementable.h"
+
+namespace WebCore {
+
+class DOMWindow;
+
+class DOMWindowMediaStream FINAL : public NoBaseWillBeGarbageCollectedFinalized<DOMWindowMediaStream>, public WillBeHeapSupplement<DOMWindow>, public DOMWindowProperty {
Inactive 2014/05/05 22:19:58 This is a class corresponding to a partial interfa
Inactive 2014/05/06 14:42:43 I missed that your partial interface only contains
c.shu 2014/05/06 15:01:12 Done.
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowMediaStream);
+public:
Inactive 2014/05/05 22:19:58 Where are the static functions corresponding to th
c.shu 2014/05/06 15:01:12 Done.
+ virtual ~DOMWindowMediaStream();
+private:
+ explicit DOMWindowMediaStream(DOMWindow&);
+ DOMWindow& m_window;
Inactive 2014/05/05 22:19:58 Should not be needed.
c.shu 2014/05/06 15:01:12 Done.
+};
+
+} // namespace WebCore
+
+#endif // DOMWindowMediaStream_h
+
« no previous file with comments | « Source/modules/indexeddb/WindowIndexedDatabase.idl ('k') | Source/modules/mediastream/DOMWindowMediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698