Make ThumbnailGenerator support high DPI.

- Store 2x thumbnail when the primary monitor has ui::SCALE_FACTOR_200P.
- Copy the constant size of pixels from RWHV regardless of the view's device scale factor.

BUG=125043


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152450 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Deflakify DownloadExtensionTest by not depending on the icon loader
BUG=138211

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Restore panel behavior on Ash/ChromeOS

When we abandoned support for Ash Panels for v1 apps (--aura-panels flag), I inadvertently disabled the check that enables panels for Quasar.
The special panel behavior includes:
* Panels are treated like popup windows but are always-on-top
* Panel icons in the launcher use a large favicon by itself (instead of the default favicon framed in a rounded rectangle)

BUG=141763


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152460 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
(GTK only) On the website Settings UI: Color the identity status text green if the site identity was verified.


BUG=140450


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add bluetooth.getName API.

This allows Chrome Apps to get the name of the Bluetooth adapter.

BUG=none
TEST=browser_tests --gtest_filter=BluetoothApiTest.*


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152470 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
(GTK only) Small refactoring that removes a privat method of the |WebsiteSettingsPopupGtk| class. The implementation of this method is renamed and moved to the anonymous namespace of the website_settings_popup_gtk.cc file.


BUG=140550


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Handle keyboard events in Mac shell windows

Keyboard events weren't working in platform apps.

Browser windows handle keyboard events by deriving from ChromeEventProcessingWindow. Fix was to make the shell window derive from the same class.

BUG=134907
TEST=Verified that window shortcuts such as Command-W and Command-M worked correctly. Verified that text shortcuts such as Command-V, Command-C worked correctly.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152473 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Cleanup: separate WAPI and Drive API code in gdata_documents_service.

BUG=142809
TEST=pass all existing tests, manually check if file browser doesn't break.
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152476 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove network icon disconnected badge


BUG=143491
For login:
TBR=nkostylev@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152491 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Disable flaky OffscreenTabsApiTest.OffscreenTabKeyEvents for Win and Linux

BUG=142993
TBR=jstritar


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152493 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
SystemMonitor: Pull device type into the device id

Add a utility class to create an split device ids as well as to get some information about devices.

BUG=NONE


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152496 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix download destination user visible paths on cros according to spec.

BUG=142367
TEST=manual

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152500 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fixed a couple places that may crash browser.

BUG=143455

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152507 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Rename DocumentsServiceInterface to DriveServiceInterface.
This Change applies on top of
https://chromiumcodereview.appspot.com/10829375/
(not yet committed).

BUG=143661
TEST=pass all existing tests, manually run filebrowser.
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152512 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix cpplint errors in chromeos/gdata

Most of them are adding missing headers and whitespace warnings.
Added 'virtual' for destructor of GDataUploaderInterface.
Added explicit for UrlFetchOperationBase constructor.

BUG=none
TEST=compile without error/warnings.

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

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

BUG=128986
TBR=cbentzel@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152521 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
about:net-internals: Enabling logging of all bytes now
disables hiding cookies, as opposed to just unchecking
the privacy check box.

Also, "security stripping" is now "privacy stripping" to
be more consistent and accurate.

R=eroman@chromium.org
BUG=143459

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Draggable region support for frameless app window on GTK.

BUG=134169
TEST=manually


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove old file from gdrive when downloading a new file

BUG=133863
TEST=Find a text file on the web.  Save it to Google Drive.  Check that the file has been saved both in the File Manager and at drive.google.com.  Save a new file to the same name.  Check that the file has been replaced both in the File Manager and at drive.google.com.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@152527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Split net::UploadData into two: for resource request IPC and for upload handling

Introducing webkit_glue::ResourceRequestBody as a content-level abstraction corresponding to WebHTTPBody and as an alternative of net::UploadData in ResourceRequest.

This interface can contain content-level objects like Blob (or FileSystem URL in later patches) while net::UploadData should NOT.

This patch also removes Blob support in net::UploadData.

BUG=110119
TEST=existing tests

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

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