Magnifier: Ignore Off-The-Record profile.

BUG=167156
TEST=issue is not happened.

Review URL: https://chromiumcodereview.appspot.com/16157003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203358 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Disable ActivityLogExtensionTest.ExtensionEndToEnd

Flakily times out on Windows at least.

BUG=chromium:245594
TBR=felt@chromium.org

Review URL: https://codereview.chromium.org/15959015

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203359 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Shows Omnibox autocompletion when IME on. 

**** NOTE: This CL was cloned from codereview.chromium.org/13952009

Shows the inline autocompletion in Omnibox even when IME is turned on. 
This CL adds a new textfield to show the inline autocompletion so it will not affect (or be affected by) a IME, leaving the Omnibox textfield under the control of IME. 

The way to hide the Omnibox popup window when IME popup is open is changed. The old way is just to stop requesting autocompletion. The new way is to close the Omnibox popup but continue requesting autocompletion. 

This CL supports only ChromeOS and Windows.  I'll support other platforms later. 

How to see the improvement with this CL: 
1. Visit gmail.com several times by typing it so Chrome suggests gmail.com when you type [gm]. 
2. Enable Japanese IME. 
3. Type [g] or [gm]. Preedit is [g] or [gm], or its full-width versions. 

Old behavior: No inline autocompletion is shown. 

New behavior: [g]mail.com or [gm]ail.com is suggested as the inline autocompletion, with the normal text color (black by default) and focused selection background color (blue by default). 

4. Hit enter key. Preedit is committed. 

Old and new behavior (no change here): [g]mail.com or [gm]ail.com is suggested as the inline autocompletion, with the normal text color (black by default) and focused selection background color (blue by default). 

5. Hit enter key. You visit gmail.com. 

BUG=159105

Review URL: https://chromiumcodereview.appspot.com/14219006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add enable-app-shims to chrome://flags.

Adds a flag --enable-app-shims. This is passed through to the new tab page
and enables the "Create shortcut" context menu option on Mac. This flag will
be used in future to gate creation of app shim bundles and starting them
when the app launches.

BUG=168080
TEST=Go to the new tab page.
Right click a packaged app. There should be no option to create shortcut.
Go to chrome:flags and enable "Enable packaged app shortcuts".
Now the create shortcut option should be available.

Review URL: https://chromiumcodereview.appspot.com/16191003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203363 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Untie dependency from drive::fs::CopyOperation to drive::FileSystem.

This makes easier to write tests for CopyOperation.

BUG=223853

Review URL: https://chromiumcodereview.appspot.com/16207003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203364 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Enable syncing kAcceptLanguage on Mac OS X

This preference was not synced because of crbug/44714, but now we can sync it because the language setting exsits on Mac OS X!

BUG=244789

Review URL: https://chromiumcodereview.appspot.com/16194004

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add a confirmation step after creating a new limited (managed) user.

If a limited user is created successfully, show an overlay describing it and
offering the option either to continue or to proceed to a window opened for
the new limited user.

BUG=234991
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/15862007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove opening with 1-click on the file name in Files.app.

This patch removes opening with a single click on the file name. Instead, double click is necessary.

TEST=Open Files.app, verify if single click doesn't work and also double click works. Both grid and list.
BUG=239296

Review URL: https://chromiumcodereview.appspot.com/16048006

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Files.app: Keep the total width of table when resizing a column by mouse drag.

This CL added a layout method setWidthAndKeepTotal to FileColumnModel and
extends TableSplitter class so that it calles the FileColumnModel's layout
method.

In this layout method, the width of specified column is changed and the width of
columns at the next of the resized column are adjusted so that it is keeping the
total width of table.

BUG=238867
TEST=manually

Review URL: https://chromiumcodereview.appspot.com/16114014

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203374 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add tracing to PrerenderManagerFactory for analyzing startup performance

BUG=222350

Review URL: https://chromiumcodereview.appspot.com/16229005

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203375 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Store manager's name in Local state

BUG=243337
R=nkostylev@chromium.org
TBR=derat@chromium.org 
for update in chrome/browser/chromeos/system/ash_system_tray_delegate.cc

Review URL: https://chromiumcodereview.appspot.com/15963015

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add timeout to LMU creation flow

BUG=244477
R=nkostylev@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15901011

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add "Don't translate" preference to chrome://settings/languages

This preference allows us to configure whether or not a language should be translated. Currently, this configuration is available only at chrome://translate-internals.

This CL is provisional.

The known problems are below:
  1. New resource files are needed for a new string.
  2. For now, this preference doesn't have any effect because the languages listed in the left column are not translated. I'll fix this logic along with the design doc.

UX Proposal: https://docs.google.com/a/google.com/presentation/d/1se75vXwUSttlR6AMrJO2vJIWzT8Rp8eUAh_Xav3gDl0
Design Doc: https://docs.google.com/a/google.com/document/d/1mxM00l1h2e59HKPVZR_1DY07jeCg4RwHWu7JDvmWx3w

BUG=243235
TEST=Manual

Review URL: https://chromiumcodereview.appspot.com/16141002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203380 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Enable Finch experiment on ChromeOS

BUG=229420
R=nkostylev@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15930007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move application restart and relaunch code out of ExtensionService.

This apps specific code now lives in AppLoadService in the apps/
component.

BUG=159366, 159265, 175381

Review URL: https://chromiumcodereview.appspot.com/15947007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203382 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Files.app: Fixed a bug of folder copying between drive and local.

When folder is copying from Drive to local volume, the directories in the path
ancestry are created individually. Thus, the parent directory must be created
ealier. This CL fixed the sort of entries. (one entry touches one directory in
the path ancestry)

BUG=244486
TEST=manually

Review URL: https://chromiumcodereview.appspot.com/15711008

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203383 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
drive: Rewrite RemoveOperation to access cache/metadata on the blocking pool.

Rewrite RemoveOperation.
Make ResourceMetadata::ReadDirectory public.
Remove ResourceMetadata::RemoveEntryOnUIThread.

BUG=231221,231222
TEST=unit_tests

Review URL: https://chromiumcodereview.appspot.com/16252005

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add unit tests for drive::file_system::CopyOperation.

BUG=223853

Review URL: https://chromiumcodereview.appspot.com/15982007

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Invoke LoadFinished after StartLoading is invoked at the ExternalPrefLoader.

The ExtensionService waits until all ExternalLoaders are ready, after telling
each one to StartLoading. Every implementation must eventually call LoadFinished
to signal to the ExtensionService that its loading is done; however the
ExternalPrefLoader skips this if its base_path doesn't exist, resulting in no
extensions being loaded at startup.

BUG=243744

Review URL: https://chromiumcodereview.appspot.com/16155005

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Save managed user access requests

Save managed user access requests using the ManagedModePolicyProvider but without setting actual policies for that.

BUG=228862
R=bauerb@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15971004

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@203392 4ff67af0-8c30-449e-8e8b-ad334ec8d88c