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

Unified Diff: content/browser/devtools/protocol/page_handler.cc

Issue 1569893003: Add "Request app banner" context menu in DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on https://codereview.chromium.org/1571633002/ Created 4 years, 11 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/browser/devtools/protocol/page_handler.cc
diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
index 7e79a7200cf851c936c9d6f9b077337cb5b6faf3..075059e4c1d5740d1b08c6e44ec12f724ca498e7 100644
--- a/content/browser/devtools/protocol/page_handler.cc
+++ b/content/browser/devtools/protocol/page_handler.cc
@@ -357,6 +357,15 @@ Response PageHandler::SetColorPickerEnabled(bool enabled) {
return Response::OK();
}
+Response PageHandler::CanOpenAppBanner(bool* result) {
+ *result = false;
+ return Response::OK();
+}
+
+Response PageHandler::OpenAppBanner(bool* result) {
+ return Response::InternalError("OpenAppBanner is not supported");
+}
+
WebContentsImpl* PageHandler::GetWebContents() {
return host_ ?
static_cast<WebContentsImpl*>(WebContents::FromRenderFrameHost(host_)) :

Powered by Google App Engine
This is Rietveld 408576698