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