Fix the order of the event dispatch.

UpdateTextInputType should be called before SyncSelectionIfRequired.
UpdateTextInputType may send TextInputTypeChanged to notify the focus
was changed, and SyncSelectionIfRequired may send SelectionChanged
to notify the selection was changed.  Focus change should be notified
before selection change.

BUG=310562

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233449 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233449
Implement thread-specific CPU time on Mac OS X

This is different from https://code.google.com/p/chromium/codesearch#chromium/src/base/process/process_metrics_mac.cc&l=216 as it gets the per-thread CPU time while process metrics gets all-thread CPU usage.

BUG=280744

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233450 0039d316-1c4b-4281-b951-d872f2087c98
Initial support for /privet/printer/createjob

Support /privet/printer/createjob. Currently does not correctly fall back for
all error conditions. Also, simplify PrivetLocalPrinterOperation by removing the
callback for current request (since it was used only by the retry system, which
was moved to PrivetURLFetcher).

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233451 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233450
Do not show most startup infobars in browser tests.

Prevent startup infobars (e.g. when running with --no-sandbox) from interfering with tests which assume no pre-existing infobars.

BUG=315059
R=pkasting@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233452 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233452
[Android WebView] Null check syncOnNewPictureStateToNative

Make sure we don't call into native after the native pointer has been
destroyed.

Internal bug b/11555111

BUG=
NOTRY=true
R=kristianm@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233453 0039d316-1c4b-4281-b951-d872f2087c98
Temporary fix for CWS client redirect issue to undo a regression.

This re-introduces a smaller bug fixed by r231370 until the underlying
problem in WebDataSource::replacesCurrentHistoryItem is resolved.

BUG=313572, 311271
TEST=Try to add an app in CWS when not signed in.  Go back from signin page.
R=nasko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233454 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233454