summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_uitest.cc
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-29 05:48:25 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-29 05:48:25 +0000
commita28dbefaf20295812f0ea3f450c4184f43411d05 (patch)
treee45805460a6b45c7b284dee2d18596b35d2dd8ab /chrome/browser/browser_uitest.cc
parent04f73791f40840ed69d8eaae193bb43b16fd7392 (diff)
downloadchromium_src-a28dbefaf20295812f0ea3f450c4184f43411d05.zip
chromium_src-a28dbefaf20295812f0ea3f450c4184f43411d05.tar.gz
chromium_src-a28dbefaf20295812f0ea3f450c4184f43411d05.tar.bz2
Fixing the translate menu behavior.
The correct behavior is to always have the menu showing, it is disabled when the page is translated or a Chrome page (new tab page, history...). Selecting the translate menu triggers a translation of the page to the Chrome UI language. BUG=35480 TEST=Open the page context menu on the new tab page. There should be a translate menu and it should be disabled. Navigate to a page in a foreign language. Opne the context menu. The translate menu should be enabled. Select it. The page should be translated. Open the context menu again on the translated page. The translate menu should be disabled. Review URL: http://codereview.chromium.org/1402003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_uitest.cc')
0 files changed, 0 insertions, 0 deletions