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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.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: content/shell/renderer/layout_test/blink_test_runner.h
diff --git a/content/shell/renderer/layout_test/blink_test_runner.h b/content/shell/renderer/layout_test/blink_test_runner.h
index ef20e509a589e89897aefe22cbc7ee01d00bbb02..8b3d6af0fed99d32913a4b8ef2ed04f7352f5d90 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.h
+++ b/content/shell/renderer/layout_test/blink_test_runner.h
@@ -36,6 +36,7 @@ struct WebRect;
}
namespace test_runner {
+class AppBannerService;
class WebViewTestProxyBase;
}
@@ -149,6 +150,9 @@ class BlinkTestRunner : public RenderViewObserver,
int request_id,
const std::vector<std::string>& event_platforms,
const base::Callback<void(bool)>& callback) override;
+ void ResolveBeforeInstallPromptPromise(
+ int request_id,
+ const std::string& platform) override;
blink::WebPlugin* CreatePluginPlaceholder(
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) override;
@@ -212,6 +216,8 @@ class BlinkTestRunner : public RenderViewObserver,
bool focus_on_next_commit_;
+ std::unique_ptr<test_runner::AppBannerService> app_banner_service_;
+
std::unique_ptr<LeakDetector> leak_detector_;
DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);

Powered by Google App Engine
This is Rietveld 408576698