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 AppBannerPromptResult_h | 5 #ifndef AppBannerPromptResult_h |
6 #define AppBannerPromptResult_h | 6 #define AppBannerPromptResult_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h" | 9 #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h" |
10 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
11 #include "wtf/PassOwnPtr.h" | |
12 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
13 | 12 |
14 namespace blink { | 13 namespace blink { |
15 | 14 |
16 class ScriptPromiseResolver; | 15 class ScriptPromiseResolver; |
17 | 16 |
18 class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr
omptResult>, public ScriptWrappable { | 17 class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr
omptResult>, public ScriptWrappable { |
19 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
20 WTF_MAKE_NONCOPYABLE(AppBannerPromptResult); | 19 WTF_MAKE_NONCOPYABLE(AppBannerPromptResult); |
21 public: | 20 public: |
(...skipping 12 matching lines...) Expand all Loading... |
34 private: | 33 private: |
35 AppBannerPromptResult(const AtomicString& platform, WebAppBannerPromptResult
::Outcome); | 34 AppBannerPromptResult(const AtomicString& platform, WebAppBannerPromptResult
::Outcome); |
36 | 35 |
37 String m_platform; | 36 String m_platform; |
38 WebAppBannerPromptResult::Outcome m_outcome; | 37 WebAppBannerPromptResult::Outcome m_outcome; |
39 }; | 38 }; |
40 | 39 |
41 } // namespace blink | 40 } // namespace blink |
42 | 41 |
43 #endif // AppBannerPromptResult_h | 42 #endif // AppBannerPromptResult_h |
OLD | NEW |