Automated Commit: Committing new LKGM version 3660.0.0 for chromeos.

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

This adds a struct for ViewHostMsg_SelectionBoundsChanged params and
updates all users.

Also, WebWidget::selectionBounds() returns the anchor and focus of the
selected range, not the start/end. While changing all these uses I've
updated the names to reflect what the values actually are.

BUG=162468


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180636 0039d316-1c4b-4281-b951-d872f2087c98
Hide the add/edit/delete profile buttons from the settings app.


BUG=171626


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180637 0039d316-1c4b-4281-b951-d872f2087c98
Reduced memory usage in Files.app's photo editor for big files.

Previously, the Files.app's photo viewer/editor used to consume lots of memory causing out of memory crash. This was common when browsing large images from a digital camera (eg. 10 megapixels+). This patch reduces memory usage (peek as well as average) to 50% comparing to trunk.

TEST=Browse huge pictures (10 megapixels+) and observe memory usage.
BUG=168180


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180638 0039d316-1c4b-4281-b951-d872f2087c98
Remove env settings for NACL_STREAMING_TRANSLATION.

That turned on NACL_STREAMING_TRANSLATION when it was off by
default before.  Now it is on by default, so the env var
doesn't do anything.

BUG=none


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180639 0039d316-1c4b-4281-b951-d872f2087c98
Media Galleries: Fix a crash when there are no available galleries for an
extension.

BUG=169561
TEST=see bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180640 0039d316-1c4b-4281-b951-d872f2087c98
base: Convert MessageLoop::RunUntilIdle() cases to base::RunLoop variant.

The former method is deprecated and actually it is just using RunLoop internally.
The later is the cannonical method and should be used instead.

BUG=131220
TEST=base_unittests
R=darin@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180641 0039d316-1c4b-4281-b951-d872f2087c98
Magnifier: Use Ctrl+BRIGHTNESS_DOWN/UP as debugging shortcut keys instead of Ctrl+F6/F7

Now, even on chromeos_chrome on linux workstation, we get VKEY_BRIGHTNESS_DOWN/UP (not VKEY_F6/F7) key codes when pressing F6/F7 keys.

BUG=none
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180642 0039d316-1c4b-4281-b951-d872f2087c98
Fix maxTimeSeekable() so it returns 0 when the pipeline doesn't have a duration yet.


BUG=173486
TEST=media/video-error-does-not-exist.html LayoutTest


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180643 0039d316-1c4b-4281-b951-d872f2087c98
Fix a valgrind failure.

The failure started showin up in the linux-valgrind bots after
crrev 180271.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180644 0039d316-1c4b-4281-b951-d872f2087c98
Add BrowserDistribution support for Win64 build

This was disabled for win64 nNaCl, but NaCl doesn't compile this file.

BUG=173911

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180645 0039d316-1c4b-4281-b951-d872f2087c98
Android: Expose content size changes to the ContentViewClient.


BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180646 0039d316-1c4b-4281-b951-d872f2087c98
Nukes TreeViewWin. TreeViewViews has been the default for a couple of
weeks and I'm not aware of any major issues.

BUG=none
TEST=none
R=ben@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180647 0039d316-1c4b-4281-b951-d872f2087c98
add upstream nspr maintainers to the owners list

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180648 0039d316-1c4b-4281-b951-d872f2087c98
Removed broken "token expired" dialog.
With current design, tokens can't expire, but handler can be executed because of bad connection.

BUG=154155

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180651 0039d316-1c4b-4281-b951-d872f2087c98
Fix DialAPITest.DeviceEvents flakyness. It's not safe to not post a task in DoGetNetworkList because we're on the FILE thread, and the callback might have the last ref of the DialService. Instead, we need to always PostTask to get back on IO thread.

BUG=167787


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180652 0039d316-1c4b-4281-b951-d872f2087c98
Deregister pref observer on shutdown.

BUG=173813
TEST=no log in tests


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180653 0039d316-1c4b-4281-b951-d872f2087c98
fix build with enable_web_intents=0 on chromeos

enable_web_intents is still set to 1, so this has no observable effect.

BUG=173194


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180654 0039d316-1c4b-4281-b951-d872f2087c98
Switch to the production crash server for ASan builds.
Use a separate product name for Chrome_Linux_ASan to distinguish from Chrome_Linux.

BUG=152150
Review URL: https://codereview.chromium.org/12090090

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180655 0039d316-1c4b-4281-b951-d872f2087c98
Add a tcmalloc dependency to cc_unittests and webkit_compositor_bindings_unittests

BUG=153554
Review URL: https://codereview.chromium.org/12089092

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