diff options
author | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 20:43:01 +0000 |
---|---|---|
committer | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 20:43:01 +0000 |
commit | 5bf3935ad9cc7c8c402c7c513fd7b32e749806f8 (patch) | |
tree | 2948a02595ab8f3013a58a295a998abbf0047e9e /chrome/browser/extensions/extension_tabs_module_constants.cc | |
parent | 3e4d3e73750b959d949d8d040ec71c7634cc11a8 (diff) | |
download | chromium_src-5bf3935ad9cc7c8c402c7c513fd7b32e749806f8.zip chromium_src-5bf3935ad9cc7c8c402c7c513fd7b32e749806f8.tar.gz chromium_src-5bf3935ad9cc7c8c402c7c513fd7b32e749806f8.tar.bz2 |
Change getLanguage to detectLanguage, and incorporate corresponding changes, in tab extensions. Also, use ISO language (e.g. "fr" instead of "French") as return language.
BUG=none
TEST=Enable extensions, add the given toolstrip as extension. For a page, the language of the page should be returned as ISO language (e.g., "french" as "fr")
Review URL: http://codereview.chromium.org/149627
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module_constants.cc')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module_constants.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module_constants.cc b/chrome/browser/extensions/extension_tabs_module_constants.cc index 69676e7..d4d1cf8 100644 --- a/chrome/browser/extensions/extension_tabs_module_constants.cc +++ b/chrome/browser/extensions/extension_tabs_module_constants.cc @@ -56,6 +56,6 @@ const char kCreateTabFunction[] = "CreateTab"; const char kUpdateTabFunction[] = "UpdateTab"; const char kMoveTabFunction[] = "MoveTab"; const char kRemoveTabFunction[] = "RemoveTab"; -const char kGetTabLanguageFunction[] = "GetTabLanguage"; +const char kDetectTabLanguageFunction[] = "DetectTabLanguage"; } // namespace extension_tabs_module_constants |