diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 20:52:22 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 20:52:22 +0000 |
commit | 40362258cc6355f117648ad34ea9374f787609ff (patch) | |
tree | da851e5cad8ff3776ac1f766ece29d00adff6fda /chrome/browser/resources/extensions_ui.html | |
parent | 34f73fbb389c0e4555b2ab0f03748f95ea1c02fe (diff) | |
download | chromium_src-40362258cc6355f117648ad34ea9374f787609ff.zip chromium_src-40362258cc6355f117648ad34ea9374f787609ff.tar.gz chromium_src-40362258cc6355f117648ad34ea9374f787609ff.tar.bz2 |
Add instructions to chrome://extensions page for inspecting popups.
Under "Inspect Active Views", any extension that has a browser or page action will show grayed text directing the developer to right click on the icon and select 'Inspect Popup'
BUG=24477
TEST=Install an extension with a page or browser action. Go to chrome://extensions, turn on developer mode. Verify that under "inspect active views", the new instructions appear.
Review URL: http://codereview.chromium.org/1198002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/extensions_ui.html')
-rw-r--r-- | chrome/browser/resources/extensions_ui.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chrome/browser/resources/extensions_ui.html b/chrome/browser/resources/extensions_ui.html index 6f8576d..5db5733 100644 --- a/chrome/browser/resources/extensions_ui.html +++ b/chrome/browser/resources/extensions_ui.html @@ -320,6 +320,9 @@ html[dir=rtl] #dialogContentFooter { margin-left: 0px; } +.inspectPopupNote { + color: grey; +} </style> <script> /** @@ -397,7 +400,8 @@ var extensionDataFormat = { 'renderViewId': 3, 'renderProcessId': 1 } - ] + ], + "hasPopupAction": false } ] }; @@ -792,7 +796,7 @@ document.addEventListener('DOMContentLoaded', requestExtensionsData); <span jscontent="id"></span> </div> <div class="extension-details"> - <span jsdisplay="views.length > 0" i18n-content="inspectViews"> + <span jsdisplay="views.length > 0 || hasPopupAction" i18n-content="inspectViews"> INSPECT ACTIVE VIEWS: </span> <ul class="extension-views"> @@ -802,6 +806,10 @@ document.addEventListener('DOMContentLoaded', requestExtensionsData); <span jscontent="path"></span> </a> </li> + <li i18n-content="inspectPopupsInstructions" + class="inspectPopupNote" jsdisplay="hasPopupAction"> + INSPECT POPUP INSRUCTIONS + </li> </ul> </div> </div> |