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

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

Powered by Google App Engine
This is Rietveld 408576698