summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/delayedmenu_button.h
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-30 16:59:03 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-30 16:59:03 +0000
commit7838c2502799cbfe33ba16575b0e7d0b03740dd1 (patch)
tree17e926b6917b11264605ca01c7c9c1bfb3125d55 /chrome/browser/cocoa/delayedmenu_button.h
parent5179b0eb8c7f0399157d747f8bce1838cdeb89d7 (diff)
downloadchromium_src-7838c2502799cbfe33ba16575b0e7d0b03740dd1.zip
chromium_src-7838c2502799cbfe33ba16575b0e7d0b03740dd1.tar.gz
chromium_src-7838c2502799cbfe33ba16575b0e7d0b03740dd1.tar.bz2
Revert 51263 (breaks the Linux views build)
Adds support for language detection on the server side. The CLD can sometimes fail to detect the language of a page, in which case the translate server might be able to. This CL ensures the browser deals with the server side language detection properly. Also added a new factory method to create error translate infobar delegates that does not assert when the language code is incorrect. Also changed the enums in TranslateInfoBarDelegate2 to use the constant name style, as it is the preferred naming for enums according to the style guide. Original review: http://codereview.chromium.org/2859013/show BUG=40857 TEST=Visit http://www.saanconf.org/saanday.htm, use the context menu to translate the page. You should get an error mentioning the page is already in English. Review URL: http://codereview.chromium.org/2860037 TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/2873035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/delayedmenu_button.h')
0 files changed, 0 insertions, 0 deletions