Updating trunk VERSION from 1976.0 to 1977.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268381 0039d316-1c4b-4281-b951-d872f2087c98
Re-land: content: Add missing IPC traits for sync_query.

R=cdn@chromium.org, piman@chromium.org
BUG=269808, 368355

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268382 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 173328:173339

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=173328:173339&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268383 0039d316-1c4b-4281-b951-d872f2087c98
Abstract and overhaul V4L2 HW encode classes.

The main goal of this CL is to abstract ExynosVideoEncodeAccelerator class into
a generic V4L2VideoEncodeAccelerator and extract the Exynos-specific image
processor (GSC) from it to a separate V4L2ImageProcessor class, and use it only
if the platform requires it.

Some remaining format hardcoding has to be addressed after adding proper device
capability enumeration.

- Add V4L2ImageProcessor class for interacting with hardware blocks that allow
  image format conversion and/or scaling via the V4L2 API.
- Extract image conversion from ExynosVideoEncodeAccelerator.
- Turn ExynosVideoEncodeAccelerator into a generic V4L2VideoEncodeAccelerator
  that can optionally use a V4L2ImageProcessor for color conversion if the
  requested input format is not supported by the HW codec directly.
- Extend V4L2Device to understand different types of devices and add
  format utility functions.
- Don't require EGLContext to create a V4L2Device.
- Make V4L2VideoEncodeAccelerator use V4L2Device.
- Add NV12 format to VideoFrame (but don't allow AllocateYUV() for it for now).
- Add an ability to wrap dmabufs in VideoFrame.
- Update veatest to use V4L2Device and vdatest for new changes.

BUG=345179
TEST=veatest, webrtc loopback

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268385 0039d316-1c4b-4281-b951-d872f2087c98
[AiS] Add switch for answers in suggest.

BUG=370192

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268386 0039d316-1c4b-4281-b951-d872f2087c98
Fix initial focus not working in sign-in page. This was a regression from r268072.

BUG=369921
R=avi@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268388 0039d316-1c4b-4281-b951-d872f2087c98
Remove content/port directory and move the 3 remaining interfaces to content/public.

BUG=368812
R=avi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268389 0039d316-1c4b-4281-b951-d872f2087c98
ServiceWorker script cache reading

The ContextRequestHandler figures out whether to read, write, or do nothing with
the version's script cache. The ReadFromCacheJob does just that when the handler
makes the decision to read. The ServiceWorkerVersion maintains a collection of
<urls, responseids> that are in its script cache (to be stored with the
registration data).

The rest of the cl is groundwork to reuse the DiskCache componentry of the
appcache library in this context. The DiskCache instance is an in memory only
instance for now.

Note that since nothing is ever written to this cache yet the read code paths are not reachable yet, so there should be no behavior change.

BUG=364321

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268390 0039d316-1c4b-4281-b951-d872f2087c98
Towards moving guest management to chrome: Introduce GuestViewManager

This CL moves a lot of functionality from BrowserPluginGuestManager to GuestViewManager including instance ID allocation. 

Currently GuestViewManager is a BrowserPluginGuestManagerDelegate. 

In the future, GuestViewManager will completely replace BrowserPluginGuestManager. 

BUG=364141, 330264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268391 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix animation end value for animations that alternate direction

This fixes the logic used in Animation::TrimTimeToCurrentIteration for
times that are >= the total duration of the animation and animations
that alternate direction. The previous logic reversed the result from
the correct value, causing flicker at the end of such animations.

BUG=348071

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268392 0039d316-1c4b-4281-b951-d872f2087c98
Map X11 Mod4Mask to ui::EF_COMMAND_DOWN.

BUG=369752
R=sadrul@chromium.org
TEST=link

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268393 0039d316-1c4b-4281-b951-d872f2087c98
[OriginChip] Show the full URL in the tooltip.

BUG=370034

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268394 0039d316-1c4b-4281-b951-d872f2087c98
Observe cros-disks FormatCompleted signal instead of FormattingFinished.

The FormattingFinished signal has been long deprecated (back in 2011)
and replaced by the FormatCompleted signal, which allows cros-disks to
properly notify Chrome the completion of a format operation with an
appropriate error code. This CL modifies CrosDisksClient and
DiskMountManager to use the FormatCompleted signal.

BUG=369877
TEST=Tested the following:
1. Run chromeos_unittests.
2. Insert a USB drive and format the mounted partition via Files.app.
   Verify that Files.app notifies the successful completion of the
   format operation.
3. Insert a write-protected SD card and format the mounted partition via
   Files.app. Verify that Files.app reports an error.

R=stevenjb@chromium.org, tbarzic@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268398 0039d316-1c4b-4281-b951-d872f2087c98
Added UMA histograms for tracking desktop vs. mobile site page loads.

Added two histograms. One records the type and details of a viewport
specification on the page. The second is recorded in the case of a
fixed-width viewport meta tag. It records the percentage zoom that
is required to fully see the page on the device's screen.

Associated Blink patch: https://codereview.chromium.org/216183004/

BUG=329697

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268399 0039d316-1c4b-4281-b951-d872f2087c98
[GCM] Removing dependency between GServicesSettings and GCMStore

* Removing GCMStore from GServicesSettings
* Moving the settings writing to the store to the GCMClientImpl
* Adding capability to get settings in a string->string map
* Adding tests for the write case, and pulling the settings in a map

R=zea@chromium.org,jianli@chromium.org
BUG=359256

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268400 0039d316-1c4b-4281-b951-d872f2087c98
Fix AudioBuffer verification tests.

The previous tests were not properly accounting for the removed
segments in the AudioBus.  The offset specified was not taken
into consideration when determing the iteration end point.

BUG=none
TEST=manual inspection of tests.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268401 0039d316-1c4b-4281-b951-d872f2087c98
The set_enforce_errors_from_incoming_receiver() method is needed for testing
only. It allows fuzzing tests to continue to execute after the first error is
encountered on a connector.

R=darin@chromium.org
BUG=366797

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268402 0039d316-1c4b-4281-b951-d872f2087c98
Make sure that ScratchBuffer::Allocate() always return 8-byte aligned addresses.

BUG=None
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268405 0039d316-1c4b-4281-b951-d872f2087c98
Support subpixel values in DOMUtils.java getNodeBounds

Change the getNodeBounds method in DOMUtils.java to support subpixel
values (by rounding to full pixels for now) in preparation for moving
blink to return values with subpixel precision for offsetWidth and
friends.

The C++ testing code was similarly updated in r267693.

R=nyquist@chromium.org
BUG=360889

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

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