summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authorcira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-23 17:32:48 +0000
committercira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-23 17:32:48 +0000
commit2d3958e39351802e65e1ded5a010d19607034b1b (patch)
treeedad9ee140919cacd931afe322802b141c589601 /breakpad
parente867cd3e3fbde763ad744110b44a3ed534fc7d2f (diff)
downloadchromium_src-2d3958e39351802e65e1ded5a010d19607034b1b.zip
chromium_src-2d3958e39351802e65e1ded5a010d19607034b1b.tar.gz
chromium_src-2d3958e39351802e65e1ded5a010d19607034b1b.tar.bz2
Trying to re-land. It's the same as http://codereview.chromium.org/546040. Moved IsValidName to public (where it was before the change),
and made test cases for it cleaner by explicitly using std::string() around var name. Add reserved messages to ExtensionMessageBundle dictionary. They are of the form @@somename, i.e. @@ui_locale. It makes easier for developers to detect current UI locale (also available though window.navigator.language), or text direction. I'll use them for static message replacement later on too. Before this change developers would have to manualy add locale and text_dir messages and translate for all supported locales. Added 5 reserved messages: @@ui_locale @@bidi_dir @@bidi_reversed_dir @@bidi_start_edge @@bidi_end_edge See http://code.google.com/apis/gadgets/docs/i18n.html#BIDI on why are they usefull. Extended allowed charset for variable names with @. Added unittest for variable names. TBR=jshin@chromium.org Review URL: http://codereview.chromium.org/551120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
0 files changed, 0 insertions, 0 deletions