App Shortcuts on Linux now have icons at full size, not 32x32.

The create application shortcuts dialog no longer loads the icon at 32x32 for
display in the dialog and saving to the shortcut. Instead, it loads the icon at
full size, and scales it to 32x32 just for display. It saves at the largest
possible size (up to 1024, since icon loading requires an upper limit).

Also enforce a minimum width for the description label in that dialog. (This
doesn't affect current behaviour, but makes the dialog robust against larger
icon sizes in the display.)

BUG=173950


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180665 0039d316-1c4b-4281-b951-d872f2087c98
Updating expectations for perf-AV tests.

Recent changes on Linux relating to renderer side mixing and AudioRendererImpl
require a rebaseline. Also, there's been an improvement in memory usage on Windows,
following r178755, "Instant should have a dedicated render process"

BUG=172030,174210,174213
NOTRY=true
TBR=dalecurtis


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180666 0039d316-1c4b-4281-b951-d872f2087c98
Fix new WebStore APi function.

The function was not added to the extension function registry.

BUG=173607


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180667 0039d316-1c4b-4281-b951-d872f2087c98
Fix possible crash in RecursiveOperationDelegate and throttle # of parallel tasks

- RecursiveOperationDelegate::ProcessFile() could fail /w calling its
  callback in an synchronous way, so it must be always called
  asynchronously or at the end of a synchronous block.
- LocalFilesystemOperation::SetUp() has to be also called before calling into
  RecursiveOperationDelegate.
- This also introduces a constant kMaxInflightOperations to cap the max # of
  inflight operations at the same time.

BUG=146215
TEST=tested with locally patched test, http://crbug.com/172424 will add one
TEST=LocalFileSystemOperationTest.TestRemoveSuccessRecursive for throttle

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180668 0039d316-1c4b-4281-b951-d872f2087c98
GTTF: Add missing virtual destructors.

R=jar
TBR=darin,satorux,fischman,jamesr,sky

BUG=45135

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180669 0039d316-1c4b-4281-b951-d872f2087c98
Selection print preview improvements.

Don't resize frame if it was not changed yet.
Wait when WebView is loaded before closing.
Validate page rage in PrintPreviewContext::CreatePreviewDocument

BUG=173419

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180670 0039d316-1c4b-4281-b951-d872f2087c98
Make slideshow start always in a full screen mode.

Previously, the full screen mode was not triggered if the Files.app window was maximized. This faulty if statement has just been removed, what solves the problem.

TEST=Open a photo in a window, and start slideshow. Full screen mode should be triggered.
BUG=172657


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180671 0039d316-1c4b-4281-b951-d872f2087c98
Due to current permission check process (IO -> UI -> IO) some calls to UDPSocketPrivate interface can be intermixed (like SendTo and Close). So, some NOTREACHED() statements actually can be reached and must be removed.


BUG=170829
TEST=browser_tests:*{UDP|TCP}SocketPrivate*


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180672 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1404.0 to 1405.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180674 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: change the private API to deliver drive connection status to JS world.

This CL changes the name and its implementation of the private APIs (GetNetworkConnectionStateFunction and onNetworkConnectionChanged) to deliver not only network status but also drive connection status (eg. authentication error) to JS world.

Major changes:
- Renamed GetNetworkConnectionStateFunction to GetDriveConnectionStateFunction
- Renamed onNetworkConnectionChanged to onNDriveConnectionChanged
- Secialized GetDriveConnectionStateFunction to deliver Drive connection status (eg. authentication failure)

BUG=160486
TEST=manual

R=kinaba@chromium.org
TBR=satorux@chromium.org, mkearney@chromium.org
# TBRing for just name and argument changes of the API.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180675 0039d316-1c4b-4281-b951-d872f2087c98
Rolled WebKit 141735:141873

TBR=gavinp
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180677 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180679 0039d316-1c4b-4281-b951-d872f2087c98
Handle HTTP_PRECONDITION response code on DeleteResource in DriveFileSyncService.


BUG=156037
TEST=Run ./unit_tests --gtest_filter='DriveFileSyncServiceTest.*'


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180680 0039d316-1c4b-4281-b951-d872f2087c98
Telemtry: fixes version detection for mobile and supports_tracing.

BUG=170284
TEST=tools/telemetry/run_tests --browser=android-content-shell testGotTrace -vv


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180681 0039d316-1c4b-4281-b951-d872f2087c98
Disable sync if the user is signed out.

This allows sync to shut down if the user is signed out by other means
(such as policy).

BUG=166148


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180682 0039d316-1c4b-4281-b951-d872f2087c98
Convert chrome://policy to new WebUI style

This CL converts the chrome://policy page to the new WebUI style. The page
reuses as much CSS/JS from the überpage as possible to ensure consistency.

The CL also improves the page in many ways:
* Proper separation of policy value aggregation (C++) and
  presentation (WebUI)
* Better handling of policy values that overflow the available space
  (an extra table row can be toggled that shows the whole value)
* New PolicyUIHandler backend that will be shared with the imminent more
  user-friendly chrome://policy page (see bug 134849).
* Removal of dependency on JS templating engine with its copious use of
  eval().
* New browser test that verifies policy definitions and values are sent
  from the C++ backend to the WebUI and processed there correctly.

TEST=browser_tests and manual
BUG=chromium-os:26628

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180684 0039d316-1c4b-4281-b951-d872f2087c98
Update V8 to version 3.16.13.

TBR=jkummerow@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180685 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180686 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Block system suspend while uploading files to Drive

In crbug.com/152207, we blocked system suspend for data uploads from web sites.
This change is to do the same thing for data uploads from Files.app to Drive.

BUG=171949

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180687 0039d316-1c4b-4281-b951-d872f2087c98
Add Utility functions to Normalize and check for Absolute Virtual Paths.

BUG=173627
TEST=
content_unittests FileSystemUtilTest.GetNormalizedFilePath
content_unittests FileSystemUtilTest.IsAbsolutePath


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180688 0039d316-1c4b-4281-b951-d872f2087c98