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

Unified Diff: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.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/screencast/ScreencastApp.js
diff --git a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
index b3f22741a304f6780e368ea925153f540cfd5e26..8eb98047f4e9f022972d50ef7f6ee409600fe297 100644
--- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
+++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
@@ -90,12 +90,6 @@ WebInspector.ScreencastApp.prototype = {
this._rootSplitWidget.showBoth();
else
this._rootSplitWidget.hideMain();
- },
-
- _requestAppBanner: function()
- {
- if (this._target && this._target.pageAgent())
- this._target.pageAgent().requestAppBanner();
}
};
@@ -132,33 +126,6 @@ WebInspector.ScreencastApp.ToolbarButtonProvider.prototype = {
}
}
-
-/**
- * @constructor
- * @implements {WebInspector.ActionDelegate}
- */
-WebInspector.ScreencastApp.ActionDelegate = function()
-{
-};
-
-WebInspector.ScreencastApp.ActionDelegate.prototype = {
- /**
- * @override
- * @param {!WebInspector.Context} context
- * @param {string} actionId
- * @return {boolean}
- */
- handleAction: function(context, actionId)
- {
- if (actionId === "screencast.request-app-banner") {
- WebInspector.ScreencastApp._instance()._requestAppBanner()
- return true;
- }
- return false;
- }
-};
-
-
/**
* @constructor
* @implements {WebInspector.AppProvider}

Powered by Google App Engine
This is Rietveld 408576698