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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm

Issue 730983002: Remove dead script_badge code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mm Created 6 years 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: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
index 3004f2ded899c1183eeee37f44bab18c4bc4ef37..5ff6f188bb677cceb2e904aab74dbef38a3f8199 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
@@ -285,9 +285,6 @@ class DevtoolsNotificationBridge : public content::NotificationObserver {
// Make Mac behavior the same with Windows and others.
if (gPopup) {
std::string extension_id = url.host();
- if (url.SchemeIs(content::kChromeUIScheme) &&
- url.host() == chrome::kChromeUIExtensionInfoHost)
- extension_id = url.path().substr(1);
extensions::ExtensionViewHost* host = [gPopup extensionViewHost];
if (extension_id == host->extension_id()) {
[gPopup close];
« no previous file with comments | « chrome/browser/resources/extensions/extension_info.js ('k') | chrome/common/extensions/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698