diff options
author | jcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 23:35:49 +0000 |
---|---|---|
committer | jcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 23:35:49 +0000 |
commit | 9190b7b454dfda0980bc7652e9cb62ace614f6cf (patch) | |
tree | 749977b7f429ec1e6010804914c4b88c2deaf4cb /chrome/browser/views/dialog_stubs_gtk.cc | |
parent | e35c67993153e338121eedd6413e40d39b7cb8f9 (diff) | |
download | chromium_src-9190b7b454dfda0980bc7652e9cb62ace614f6cf.zip chromium_src-9190b7b454dfda0980bc7652e9cb62ace614f6cf.tar.gz chromium_src-9190b7b454dfda0980bc7652e9cb62ace614f6cf.tar.bz2 |
Don't autotranslate in incognito mode (so we don't send information
to the translation server without the user consent).
Also added unit-tests for prefs.
BUG=38107
TEST=Visit a page that triggers the translate infobar. Translate the
page. Select "Always translate <lang1> to <lang2>".
Open a page in lang1. The page should automatically be translated
to lang2.
Open an incognito window. Navigate to a page in lang1, the page
should not automcatically be translated, an infobar should ask
if the user wants to translate the page.
Review URL: http://codereview.chromium.org/1184001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/dialog_stubs_gtk.cc')
0 files changed, 0 insertions, 0 deletions