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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cbdab005b475c58a4845373b195243dfbb1c0f4b..b351591d379a6119ee0c06acb5f69f429b9a1b08 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;
}
@@ -153,9 +154,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;
@@ -219,6 +221,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);
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698