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

Unified Diff: Source/modules/webaudio/DOMWindowWebAudio.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/webaudio/DOMWindowWebAudio.h
diff --git a/Source/modules/webaudio/DOMWindowWebAudio.h b/Source/modules/webaudio/DOMWindowWebAudio.h
new file mode 100644
index 0000000000000000000000000000000000000000..7b49e112c76a128493279d9a0f3afcb496fb5f86
--- /dev/null
+++ b/Source/modules/webaudio/DOMWindowWebAudio.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 DOMWindowWebAudio_h
+#define DOMWindowWebAudio_h
+
+#include "core/frame/DOMWindowProperty.h"
+#include "platform/Supplementable.h"
+
+namespace WebCore {
+
+class DOMWindow;
+
+class DOMWindowWebAudio FINAL : public NoBaseWillBeGarbageCollectedFinalized<DOMWindowWebAudio>, public WillBeHeapSupplement<DOMWindow>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowWebAudio);
+public:
+ virtual ~DOMWindowWebAudio();
+private:
+ explicit DOMWindowWebAudio(DOMWindow&);
+ DOMWindow& m_window;
+};
+
+} // namespace WebCore
+
+#endif // DOMWindowWebAudio_h
+

Powered by Google App Engine
This is Rietveld 408576698