|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #ifndef mozilla_dom_apps_InterAppComm_h |
|
6 #define mozilla_dom_apps_InterAppComm_h |
|
7 |
|
8 #include "mozilla/dom/MozInterAppMessageEvent.h" |
|
9 |
|
10 // Forward declarations. |
|
11 struct JSContext; |
|
12 class JSObject; |
|
13 |
|
14 namespace mozilla { |
|
15 namespace dom { |
|
16 |
|
17 class InterAppComm |
|
18 { |
|
19 public: |
|
20 static bool EnabledForScope(JSContext* /* unused */, |
|
21 JS::Handle<JSObject*> /* unused */); |
|
22 }; |
|
23 |
|
24 } // namespace dom |
|
25 } // namespace mozilla |
|
26 |
|
27 #endif // mozilla_dom_apps_InterAppComm_h |