Cast: Refactor the way timers are first scheduled.

Change the way we schedule the first timers to avoid weak ptrs beeing
accessed by multiple threads.

Inside the CastSender and CastReceiver objects objects where passed
using weak ptrs; the issue was that these objects might have been
created and used by another thread; weak ptr require all usage to be
from the same thread. This cl make sure that all access to the
objects are from the same thread.

BUG=319399

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235569 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Proper spacing of button strip

Move buttons and detail/suggestion sections slightly further apart,
according to mocks.

BUG=315212

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235570 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Fix profilers when no explicit --browser is given.

I suspect this broke in a browser options / finder options refactor.

The assert should be our test.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235571 0039d316-1c4b-4281-b951-d872f2087c98
cc: Push TextureLayerImpl::blend_background_color property.

This property was not being pushed to the active tree.

BUG=318628

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235572 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Add ability to do dummynet network simulation via --netsim.

For example:
$ tools/perf/run_benchmark page_cycler.typical_25 --netsim=3g

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235573 0039d316-1c4b-4281-b951-d872f2087c98
Re-add sandbox warmup to ExynosVideoDecodeAccelerator.

Fixes sandboxing failure on GPU process on Chrome startup.

BUG=167417
BUG=319952
TEST=local build, run on CrOS daisy, daisy-spring

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235574 0039d316-1c4b-4281-b951-d872f2087c98
Hard-code MaxTouchPoints for ozone to be 11

BUG=312926
TEST=None.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235575 0039d316-1c4b-4281-b951-d872f2087c98
Fixed the graphdeps.py docs.

BUG=292397

Updated the graphdeps.py docs.

BUG=292397
TBR=joi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235576 0039d316-1c4b-4281-b951-d872f2087c98
Fixed broken minimize/maximize buttons for Chrome Apps on Linux Aura.

The hit test function was considering the area over these buttons to be
part of the caption, so the click wasn't registering.

BUG=318084

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235577 0039d316-1c4b-4281-b951-d872f2087c98
Disable kerberos by default for embedded builds

BUG=318413

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235578 0039d316-1c4b-4281-b951-d872f2087c98
Remove a stray semicolon in worker_messages.h

TBR=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235579 0039d316-1c4b-4281-b951-d872f2087c98
Rename MinimalShell to WMTestHelper.

As requested by Ben in https://codereview.chromium.org/74183002/

* Rename minimal_shell.* to wm_test_helper.*

BUG=308710
TEST=None
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235580 0039d316-1c4b-4281-b951-d872f2087c98
Add SetOffset to PPB_Graphics2D_Dev

Add a SetOffset function to PPB_Graphics2D_Dev which allows the graphics context to be offset into the plugin element. This allows having a graphics context which is smaller than the plugin element and painting into only a portion of the plugin elements. This makes it possible to do viewporting for very large plugins.

R=piman@chromium.org, tsepez@chromium.org, yzshen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235581 0039d316-1c4b-4281-b951-d872f2087c98
[Retry][SyncFS] Delete local file on rename and reorganize.

* Handle remote rename and reorganize by local file deletion.
* Delete tracker on rename and reorganize completion.

BUG=240165
TBR=nhiroki, kinuko
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235582 0039d316-1c4b-4281-b951-d872f2087c98
ozone: Skip font tests with use_pango==0

Without pango, we have no font rendering. Skip font-related tests for
embedded builds that have no native font support.

BUG=320050, 318413

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235583 0039d316-1c4b-4281-b951-d872f2087c98
Remove un-necessary include in DisplayChangeObserverTest.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235584 0039d316-1c4b-4281-b951-d872f2087c98
cc: Plumbing for impl thread micro benchmarks

This patch adds plumbing for running micro benchmarks on the impl
thread. The concept is as follows:

- Create a main thread benchmark via gpu benchmarking extension
- On commit complete, if the benchmark provides an impl thread
  benchmark, it is created and scheduled to be run on the impl thread
- Impl thread benchmarks are run after an appropriate callback
- Impl thread benchmarks post a done callback (with results) that is
  run on the main thread
- The main thread benchmark gets the callback and posts its own done
  callback (with aggregated results)
- This gets back to the gpu benchmarking extension which sends the
  response back to the caller

R=enne@chromium.org, nduca@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235585 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Use NSTextAttachement for icon

Second part of switching to a single NSTextView for suggestion text.
This gets rid of a separately displayed icon and instead handles it
as an NSTextAttachment inside the NSTextView.

R=rsesek
BUG=277125

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235586 0039d316-1c4b-4281-b951-d872f2087c98
Taskbar runtime profile badge should not use Incognito icon.

This CL changes the taskbar profile badge to use the profile's avatar
icon when the browser window is OTR.

This is necessary because the profile badge needs to match the shortcut
that is pinned to the taskbar, which won't use the incognito icon.

Previously, the taskbar badge would be dependent on the
OTR status of the last browser window to be opened.

BUG=318652

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235587 0039d316-1c4b-4281-b951-d872f2087c98
rAc: remove obsolete prefs

BUG=293917

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

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