diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-29 05:48:25 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-29 05:48:25 +0000 |
commit | a28dbefaf20295812f0ea3f450c4184f43411d05 (patch) | |
tree | e45805460a6b45c7b284dee2d18596b35d2dd8ab /chrome/browser/browser_uitest.cc | |
parent | 04f73791f40840ed69d8eaae193bb43b16fd7392 (diff) | |
download | chromium_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