Commit a278944d authored by estade@chromium.org's avatar estade@chromium.org

[extensions] tool tip for trash icon

BUG=112496
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/9325045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120677 0039d316-1c4b-4281-b951-d872f2087c98
parent 2e82713e
...@@ -177,6 +177,7 @@ cr.define('options', function() { ...@@ -177,6 +177,7 @@ cr.define('options', function() {
// 'Remove' button. // 'Remove' button.
var trashTemplate = $('template-collection').querySelector('.trash'); var trashTemplate = $('template-collection').querySelector('.trash');
var trash = trashTemplate.cloneNode(true); var trash = trashTemplate.cloneNode(true);
trash.title = templateData.extensionUninstall;
trash.addEventListener('click', function(e) { trash.addEventListener('click', function(e) {
chrome.send('extensionSettingsUninstall', [extension.id]); chrome.send('extensionSettingsUninstall', [extension.id]);
}); });
......
...@@ -571,6 +571,11 @@ void ExtensionSettingsHandler::GetLocalizedValues( ...@@ -571,6 +571,11 @@ void ExtensionSettingsHandler::GetLocalizedValues(
l10n_util::GetStringUTF16(IDS_EXTENSIONS_SHOW_DETAILS)); l10n_util::GetStringUTF16(IDS_EXTENSIONS_SHOW_DETAILS));
localized_strings->SetString("extensionSettingsHideDetails", localized_strings->SetString("extensionSettingsHideDetails",
l10n_util::GetStringUTF16(IDS_EXTENSIONS_HIDE_DETAILS)); l10n_util::GetStringUTF16(IDS_EXTENSIONS_HIDE_DETAILS));
// TODO(estade): comb through the above strings to find ones no longer used in
// uber extensions.
localized_strings->SetString("extensionUninstall",
l10n_util::GetStringUTF16(IDS_EXTENSIONS_UNINSTALL));
} }
void ExtensionSettingsHandler::Initialize() { void ExtensionSettingsHandler::Initialize() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment