Refactor: Makes menus use gfx::FontList instead of gfx::Font.

As part of effort to support multiple fonts, this CL changes methods which are now taking gfx::Font so they will take gfx::FontList instead.

See https://docs.google.com/a/chromium.org/document/d/1D_25fp9B8b9aZJORfAjDIFq61NWvUquZ5xmKH-VcC4k/view

BUG=265485
TEST=Run unit_tests, ui_unittests, views_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244684 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244684
[sync] Allow to pick no sync data types

This CL allows the user to pick no data types to be synced. In this setting,
the sync engine keeps running to sync notifications.

BUG=229860

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244685 0039d316-1c4b-4281-b951-d872f2087c98
[PPAPI] Add media stream video track example

BUG=330851

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244686 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244686
Eliminate video capture thread in renderer

The main motivation of this change is to remove the video capture thread
in the renderer. All users of a video capture device already handles the
video frame on their thread. There is no need to call the clients with
an additional thread.

Summary of this change:
* Video capture thread eliminated
  VideoCaptureImpl now runs on the IO thread. Clients are called on the
  IO thread.
* Simplified VideoCaptureImplManager
  We still need to keep this object for the purpose of sharing a
  VideoCaptureImpl object with multiple clients. It should own these
  objects and maintain the usage count. A couple clean up items are done
  on this class:
  * It doesn't own the video capture thread now.
  * It is now a render thread only object.
  * It maintains refcount of a VideoCaptureImpl explicitly.
  * It is no longer refcounted.
  * Clients access it through RenderThreadImpl. Which ensures usage is
    on the render thread.
* New VideoCaptureHandle class
  Object of this class is returned by VideoCaptureImplManager to give
  access to a media::VideoCapture object. It is purely a wrapper and
  helps to do refcounting on the render thread.

Testing:
Added unit tests for VideoCaptureImplManager to test refcounting.
Also updated unit test for VideoCaptureImpl due to the threading
changes.

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244687 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244687
[rAc] - default to the sandbox for unofficial builds

Also default to sandbox when --reduce-security-for-testing is passed

BUG=332156

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244688 0039d316-1c4b-4281-b951-d872f2087c98
Do not try to install default extensions in public sessions

This CL ensures that Chrome OS does not try to install the default set of
apps/extensions when a public session starts. Previously, Chrome OS would
attempt installation, the install would fail (because only explicitly
whitelisted apps/extensions are allowed), Chrome OS would delete and then
re-download the crx files, thinking they got corrupted.

BUG=332512
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244689 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244689
ChromeOS: Fix crash if login profile triggers client auth.

The login profile (which is identified with an empty username_hash) does not have an entry in the chromeos_user_map_, which would cause a crash (or DCHECK) when GetPrivateSlotForChromeOSUser was called. GetPrivateSlotForChromeOSUser is changed to return a NULL slot handle for this case.

Updates NSSProfileFilterChromeOS to allow NULL slot handles, which it will now receive due to the above change. 

BUG=331945,302125

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244690 0039d316-1c4b-4281-b951-d872f2087c98
Fixes regression in notification focus behavior.

Normally toasts should not cause focus to change when they pop up.
A recent change caused them to start stealing focus.  This patch
causes toasts to use the correct widget method "ShowInactive"
instead of "Show" which has changed to activate the widget.

BUG=333016

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244691 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244691
Remove unused IDR_AURA_CURSOR_{BIG_}FLEUR

BUG=None
R=thestig@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244692 0039d316-1c4b-4281-b951-d872f2087c98
Fix omnibox height when less than 64 pixels tall.

Ensure there's always a HandleClientSizeChanged call that happens when the bounds change (even if that doesn't cause the actual bounds of the HWND to change), as otherwise the view size will be stale.

BUG=330123

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244693 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244692
Candidate window should use active root instead of target root.

As is described in ash/shell.h, TargetRootWindow() may be different
from the root where the active window resides. If different, the
candidate appears on a different display and moves immediately,
which looks like flickering.

BUG=None
R=oshima@chromium.org
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244694 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244694
Disable mse_media perf tests on Windows

BUG=330910
NOTRY=true

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

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