| 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 AppBannerController_h | 5 #ifndef AppBannerController_h |
| 6 #define AppBannerController_h | 6 #define AppBannerController_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 enum class WebAppBannerPromptReply; | 10 enum class WebAppBannerPromptReply; |
| 11 class LocalFrame; | 11 class LocalFrame; |
| 12 class WebString; | 12 class WebString; |
| 13 template <typename T> class WebVector; |
| 13 | 14 |
| 14 // FIXME: unless userChoice ends up implemented, this class should not exist and | 15 // FIXME: unless userChoice ends up implemented, this class should not exist and |
| 15 // a regular static method could be used instead. | 16 // a regular static method could be used instead. |
| 16 class AppBannerController final { | 17 class AppBannerController final { |
| 17 public: | 18 public: |
| 18 static void willShowInstallBannerPrompt(LocalFrame*, const WebString& platfo
rm, WebAppBannerPromptReply*); | 19 static void willShowInstallBannerPrompt(LocalFrame*, const WebVector<WebStri
ng>& platforms, WebAppBannerPromptReply*); |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 AppBannerController() = delete; | 22 AppBannerController() = delete; |
| 22 ~AppBannerController() = delete; | 23 ~AppBannerController() = delete; |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace blink | 26 } // namespace blink |
| 26 | 27 |
| 27 #endif // AppBannerController_h | 28 #endif // AppBannerController_h |
| OLD | NEW |