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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Rebase 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..aaebe0bc32933c11ccb88c6dc94efde0c35577bb 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;
}
@@ -146,9 +147,10 @@ class BlinkTestRunner : public RenderViewObserver,
blink::WebMediaStream* stream) override;
cc::SharedBitmapManager* GetSharedBitmapManager() override;
void DispatchBeforeInstallPromptEvent(
- int request_id,
const std::vector<std::string>& event_platforms,
const base::Callback<void(bool)>& callback) override;
+ void ResolveBeforeInstallPromptPromise(
+ const std::string& platform) override;
blink::WebPlugin* CreatePluginPlaceholder(
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) override;
@@ -212,6 +214,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