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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/components/RequestAppBannerActionDelegate.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js b/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
index 3714ba6f7e96ad3733c6004fca80cfe48d1db286..1221e09de1c440243e9199f344aba57607191ea7 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
- * @implements {WebInspector.ActionDelegate}
+ * @implements {UI.ActionDelegate}
* @unrestricted
*/
-WebInspector.RequestAppBannerActionDelegate = class {
+Components.RequestAppBannerActionDelegate = class {
/**
* @override
- * @param {!WebInspector.Context} context
+ * @param {!UI.Context} context
* @param {string} actionId
* @return {boolean}
*/
handleAction(context, actionId) {
- var target = WebInspector.targetManager.mainTarget();
+ var target = SDK.targetManager.mainTarget();
if (target && target.hasBrowserCapability()) {
target.pageAgent().requestAppBanner();
- WebInspector.console.show();
+ Common.console.show();
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698