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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.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/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 553d916965df0d038f37410c4fe84fb34e9a112a..965ec2cb132e9c9853bffcb3371e11b5532cd5f7 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -13,6 +13,10 @@
namespace blink {
+namespace mojom {
+enum class AppBannerPromptReply;
+}
+
class WebAutofillClient;
class WebContentSettingsClient;
class WebDevToolsAgent;
@@ -23,7 +27,6 @@ class WebFrameWidget;
class WebRange;
class WebScriptExecutionCallback;
class WebSuspendableTask;
-enum class WebAppBannerPromptReply;
enum class WebCachePolicy;
enum class WebSandboxFlags;
enum class WebTreeScopeType;
@@ -298,11 +301,11 @@ class WebLocalFrame : public WebFrame {
// Request to show an application install banner for the given |platforms|.
// The implementation can request the embedder to cancel the call by setting
- // |cancel| to true.
+ // |reply| to mojom::AppBannerPromptReply::CANCEL.
virtual void willShowInstallBannerPrompt(
int requestId,
const WebVector<WebString>& platforms,
- WebAppBannerPromptReply*) = 0;
+ mojom::AppBannerPromptReply*) = 0;
// Image reload -----------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698