Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: third_party/WebKit/Source/modules/app_banner/AppBannerController.h

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Fix Win clang compile Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/app_banner/AppBannerController.h
diff --git a/third_party/WebKit/Source/modules/app_banner/AppBannerController.h b/third_party/WebKit/Source/modules/app_banner/AppBannerController.h
index cef446cd5dd592df7557a85279f1b02e07cbed92..d5120fe986a99280357b297796226d4cbe3e0b41 100644
--- a/third_party/WebKit/Source/modules/app_banner/AppBannerController.h
+++ b/third_party/WebKit/Source/modules/app_banner/AppBannerController.h
@@ -7,13 +7,14 @@
#include "modules/ModulesExport.h"
#include "wtf/Allocator.h"
-#include "wtf/Noncopyable.h"
namespace blink {
-enum class WebAppBannerPromptReply;
+namespace mojom {
+enum class AppBannerPromptReply;
+}
+
class LocalFrame;
-class WebAppBannerClient;
class WebString;
template <typename T>
class WebVector;
@@ -24,11 +25,10 @@ class MODULES_EXPORT AppBannerController final {
STATIC_ONLY(AppBannerController);
public:
- static void willShowInstallBannerPrompt(int requestId,
- WebAppBannerClient*,
- LocalFrame*,
+ static void willShowInstallBannerPrompt(LocalFrame*,
+ int requestId,
const WebVector<WebString>& platforms,
- WebAppBannerPromptReply*);
+ mojom::AppBannerPromptReply*);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698