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 #include "config.h" | |
6 #include "modules/app_banner/BeforeInstallPromptEvent.h" | 5 #include "modules/app_banner/BeforeInstallPromptEvent.h" |
7 | 6 |
8 #include "bindings/core/v8/ScriptPromise.h" | 7 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "core/dom/DOMException.h" | 8 #include "core/dom/DOMException.h" |
10 #include "core/dom/ExceptionCode.h" | 9 #include "core/dom/ExceptionCode.h" |
11 #include "modules/app_banner/AppBannerCallbacks.h" | 10 #include "modules/app_banner/AppBannerCallbacks.h" |
12 #include "modules/app_banner/BeforeInstallPromptEventInit.h" | 11 #include "modules/app_banner/BeforeInstallPromptEventInit.h" |
13 #include "public/platform/modules/app_banner/WebAppBannerClient.h" | 12 #include "public/platform/modules/app_banner/WebAppBannerClient.h" |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 return ScriptPromise::cast(scriptState, v8::Undefined(scriptState->isolate()
)); | 76 return ScriptPromise::cast(scriptState, v8::Undefined(scriptState->isolate()
)); |
78 } | 77 } |
79 | 78 |
80 DEFINE_TRACE(BeforeInstallPromptEvent) | 79 DEFINE_TRACE(BeforeInstallPromptEvent) |
81 { | 80 { |
82 visitor->trace(m_userChoice); | 81 visitor->trace(m_userChoice); |
83 Event::trace(visitor); | 82 Event::trace(visitor); |
84 } | 83 } |
85 | 84 |
86 } // namespace blink | 85 } // namespace blink |
OLD | NEW |