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

Unified Diff: chrome/browser/resources/shared/js/load_time_data.js

Issue 10383240: This adds a webui overlay on the extensions page for showing what Extension keybindings are active.… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/resources/shared/js/load_time_data.js
===================================================================
--- chrome/browser/resources/shared/js/load_time_data.js (revision 137495)
+++ chrome/browser/resources/shared/js/load_time_data.js (working copy)
@@ -42,6 +42,9 @@
*/
getValue: function(id) {
expect(this.data_, 'No data. Did you remember to include strings.js?');
+ // If your value is not found here, inspect the contents of this.data_.
+ // If you find none of your values there, then make sure that
+ // GetLocalizedValues() in your handler class (in C++) is called.
Evan Stade 2012/05/18 21:08:26 this comment is inaccurate, GetLocalizedValues() d
Finnur 2012/05/18 22:02:04 Having gone through the exercise of trying to figu
Evan Stade 2012/05/18 22:14:23 not obvious where to go in the C++ code? You added
Finnur 2012/05/18 22:27:01 I added GetLocalizedValues() but overlooked the fa
var value = this.data_[id];
expect(typeof value != 'undefined', 'Could not find value for ' + id);
return value;

Powered by Google App Engine
This is Rietveld 408576698