OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BeforeInstallPromptEvent_h | 5 #ifndef BeforeInstallPromptEvent_h |
6 #define BeforeInstallPromptEvent_h | 6 #define BeforeInstallPromptEvent_h |
7 | 7 |
| 8 #include <utility> |
8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptPromiseProperty.h" | 10 #include "bindings/core/v8/ScriptPromiseProperty.h" |
10 #include "core/frame/LocalFrame.h" | 11 #include "core/frame/LocalFrame.h" |
11 #include "modules/EventModules.h" | 12 #include "modules/EventModules.h" |
12 #include "modules/app_banner/AppBannerPromptResult.h" | 13 #include "modules/app_banner/AppBannerPromptResult.h" |
13 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
14 #include "public/platform/modules/app_banner/app_banner.mojom-blink.h" | 15 #include "public/platform/modules/app_banner/app_banner.mojom-blink.h" |
15 #include <utility> | |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class BeforeInstallPromptEvent; | 19 class BeforeInstallPromptEvent; |
20 class BeforeInstallPromptEventInit; | 20 class BeforeInstallPromptEventInit; |
21 | 21 |
22 using UserChoiceProperty = | 22 using UserChoiceProperty = |
23 ScriptPromiseProperty<Member<BeforeInstallPromptEvent>, | 23 ScriptPromiseProperty<Member<BeforeInstallPromptEvent>, |
24 Member<AppBannerPromptResult>, | 24 Member<AppBannerPromptResult>, |
25 ToV8UndefinedGenerator>; | 25 ToV8UndefinedGenerator>; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 Event, | 83 Event, |
84 event, | 84 event, |
85 event->interfaceName() == | 85 event->interfaceName() == |
86 EventNames::BeforeInstallPromptEvent, | 86 EventNames::BeforeInstallPromptEvent, |
87 event.interfaceName() == | 87 event.interfaceName() == |
88 EventNames::BeforeInstallPromptEvent); | 88 EventNames::BeforeInstallPromptEvent); |
89 | 89 |
90 } // namespace blink | 90 } // namespace blink |
91 | 91 |
92 #endif // BeforeInstallPromptEvent_h | 92 #endif // BeforeInstallPromptEvent_h |
OLD | NEW |