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

Unified Diff: chrome/browser/resources/options/cookies_view.js

Issue 293063017: Updated to read remove all shown when the user searches for a cookie (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated changes Created 6 years, 7 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/options/cookies_view_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/cookies_view.js
diff --git a/chrome/browser/resources/options/cookies_view.js b/chrome/browser/resources/options/cookies_view.js
index 4d496684c428f87e17841876cdf7252ac3be9fa6..073ef871331058ff2b3e008b3842638e61193d94 100644
--- a/chrome/browser/resources/options/cookies_view.js
+++ b/chrome/browser/resources/options/cookies_view.js
@@ -88,6 +88,10 @@ cr.define('options', function() {
* @private
*/
handleSearchQueryChange_: function(e) {
+ var stringId = document.querySelector('.cookies-search-box').value ?
+ 'remove_all_shown_cookie' : 'remove_all_cookie';
Dan Beam 2014/05/27 22:19:11 add 2 more spaces for line 92 and line 94 (we use
+ document.querySelector('.remove-all-cookies-button').innerHTML =
+ loadTimeData.getString(stringId);
if (this.queryDelayTimerId_)
window.clearTimeout(this.queryDelayTimerId_);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/options/cookies_view_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698