Add histogram for image errors.
This CL adds a histogram for errors loading images.  It will be 
used to measure how changes impact image request responses.
 
BUG=169182

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197474 0039d316-1c4b-4281-b951-d872f2087c98
Add DefaultNetworkChanged signal for ConnectivityStateHelper observers

NetworkLibrary's OnNetworkManagerChanged signal is generated even for
changes on the default network (without a corresponding change on
the NetworkManager). Many consumers (e.g. NetworkScreen) rely on this
behavior to not miss connectivity state updates.

Add an explicit DefaultNetworkChanged signal for ConnectivityStateHelper
observers to get signaled for such events when using the NetworkStateHandler
based implementation (which is the default now).

BUG=236417
TEST=1) Start in OOBE state (no Shill default profile, no Chrome local state).
     2) Observer "Continue" button is grayed out.
     3) Choose a wireless network (say "GoogleGuest")
     4) "Continue" button should be come enabled now.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197475 0039d316-1c4b-4281-b951-d872f2087c98
cc: Make tile-creation lazy

This is a reland of https://chromiumcodereview.appspot.com/12865017/ after
rebasing, fixing tests, and fixing the crash in crbug.com/231360.

The TilesExist unit tests needed to check for the Tile* being NULL in
addition to checking if the tile's priority in the active tree being live.

When we create tiles in the live rect, if a tile is outside the recorded
region, it will not be created. So it is not safe to assume that always
all tiles inside the live rect do exist. This was the crash.

The original CL deferred tile creation from cloning time (during commit) to instead be during UpdateTilePriorities.  Tiles that were previously marked with is_live=false will now just not be created at all.  The fallout of this is that the tiling needs to know about invalidation via the client so that it can sync on a per-tile basis, rather than cloning an entire tiling at a time.  Additionally, some cleanup was done to make it so that a tiling has a fixed layer bounds at creation time, since this can only happen during commit.

R=enne
BUG=190816,231360

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197476 0039d316-1c4b-4281-b951-d872f2087c98
Enable spoken feedback for low battery notification.

Enable spoken feedback for low battery notification.
According to our discussion with mlchan@ and dominic@, we need to 
invoke the spoken feedback when there is low battery and critical 
battery notification, only once for each such timing, not each time 
we show notification bubble, ie. where there is 15 and 5 minutes 
battery left. 

This is the same as https://codereview.chromium.org/14608002/ with nits addressed.

BUG=178570
TBR=jennyz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197477 0039d316-1c4b-4281-b951-d872f2087c98
Build issues with NaCl SDK tests

nacl_io_test does not force the build of gtest_ppapi, which will
cause it to fail on link when built using build_projects.py
We are currently avoiding this in build_sdk since the order is
forced there.

This CL will also force the order in build_projects.

NOTRY=true
R=binji@chromium.org
BUG=236226

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197478 0039d316-1c4b-4281-b951-d872f2087c98
Requery the autofill server when forms and input fields are dynamically added.


BUG=224802

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197479 0039d316-1c4b-4281-b951-d872f2087c98
[chromedriver] Fix bug in switchToFrame.

It is only allowed to switch to the main frame or subframes of the current selected frame.

BUG=chromedriver:323

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197480 0039d316-1c4b-4281-b951-d872f2087c98
CC: Call Shutdown outside of destructor.

As of https://codereview.chromium.org/12223113, WorkerPool
can not be accessed during it's destructor, because it's
destructor is invoked by scoped_ptr::reset(), and that
scoped_ptr is now NULL during reset().

BUG=233636
NOTRY=true

No try, since try failures are unrelated.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197481 0039d316-1c4b-4281-b951-d872f2087c98
Update the known root cert list with the latest updates from Apple and MS

Update the list of hashes for known roots based on the latest data from
Apple and Microsoft. This does not change any trust settings in Chromium.

BUG=none
TEST=none
R=agl

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197482 0039d316-1c4b-4281-b951-d872f2087c98
clang: Build in C++11 mode on linux too.

But: Not yet on Android, not yet on cros, not yet with gcc.
Only with clang, and only for linux (in addition to mac,
which has had this for a while).

(The cros main waterfall bot isn't on precise yet. Android's
stdlib cannot handle C++11.)

BUG=233330,233464

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195090

R=ajwong@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197483 0039d316-1c4b-4281-b951-d872f2087c98
Add voice input to virtual keyboard


BUG=235932

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197484 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 149431:149456

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=149432:149456&mode=html
TBR=dstockwell@chromium.org
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197486 0039d316-1c4b-4281-b951-d872f2087c98
[Media Galleries] Use id references in dialogs. Add sorting for entries.

This change sorts the entries in the media galleries dialog box by
allowed status followed by path.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197487 0039d316-1c4b-4281-b951-d872f2087c98
Do not select first input method by default.

It turned out that selecting first input method is not always  a good solution.
We need further investigation for better input method recommendation but at this moment, it is good for users to choose manually instead.

BUG=180082
TEST=Manually checked on chrome://settings/languages and OOBE.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197488 0039d316-1c4b-4281-b951-d872f2087c98
[chromedriver] Return an error if the given path references a parent dir.
BUG=chromedriver:261

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197489 0039d316-1c4b-4281-b951-d872f2087c98
Fix InspectorMemoryTest.testGetDOMStats to have consistent
behaviour on CrOS and desktop versions of Chrome. Starting the
browser in CrOS requires navigating through an initial setup
that does not leave us with a tab at "chrome://newtab". This workaround
runs the test in a new tab on all platforms for consistency.

BUG=235634
TEST=InspectorMemoryTest.testGetDOMStats passes on cros and system
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197490 0039d316-1c4b-4281-b951-d872f2087c98
Update the path to iossim in the script run by Xcode to launch tests on simulator.

BUG=228157

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197491 0039d316-1c4b-4281-b951-d872f2087c98
Make the instant checkbox not a dialog-pref so that changes to it get committed to Chrome.

Fixes a regression introduced in http://crrev.com/195625 whereby changes to the instant checkbox were not actually committed to the prefs store.

BUG=236737
TEST=Open chrome://settings, check the instant checkbox, refresh the page, observe that the box is still checked.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197492 0039d316-1c4b-4281-b951-d872f2087c98
Clean up software compositing switches. 

After this patch just --disable-gpu should be enough to put Chrome in software compositing mode for Aura builds.

NOTRY=true

BUG=229712, 230120

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

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