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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js

Issue 1836943002: DevTools: request app banner from DevTools without #enable-add-to-shelf flag while emulating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js
index 51515ccc47608c6ba246cff22dcf1c3e8940fbc7..2fca7229288837bfeeef2ccd7dfc9b9b339a1708 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js
@@ -80,12 +80,6 @@ WebInspector.DeviceModeWrapper.ActionDelegate.prototype = {
WebInspector.DeviceModeView._wrapperInstance._toggleDeviceMode();
return true;
}
- if (actionId === "emulation.request-app-banner") {
- var target = WebInspector.targetManager.mainTarget();
- if (target && target.isPage())
- target.pageAgent().requestAppBanner();
- return true;
- }
}
return false;
}

Powered by Google App Engine
This is Rietveld 408576698