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

Unified Diff: components/test_runner/web_test_delegate.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: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index e01b95ff55009db202a8bfd14762b5c675f3dc7f..ff69f79b484c6b16d05d2cbcc763dec0ffdfb851 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -267,6 +267,12 @@ class WebTestDelegate {
const std::vector<std::string>& event_platforms,
const base::Callback<void(bool)>& callback) = 0;
+ // Resolves the beforeinstallprompt event userChoice promise with a request id
+ // of |request_id| and platform of |platform|.
+ virtual void ResolveBeforeInstallPromptPromise(
+ int request_id,
+ const std::string& platform) = 0;
+
virtual blink::WebPlugin* CreatePluginPlaceholder(
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) = 0;

Powered by Google App Engine
This is Rietveld 408576698