Attempt to do a bona-fide end-to-end Chrome QUIC test.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225901 0039d316-1c4b-4281-b951-d872f2087c98
[Activity Log] Replace extension ID in the browser tests with a constant

Replace repeated occurrences of the extension activity log test
extension (in the browser tests) with a string constant, to make it
easier to update the extension ID if we ever need to do that.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225902 0039d316-1c4b-4281-b951-d872f2087c98
Correctly resets long press timer when entering chording mode.
BUG=297586

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225903 0039d316-1c4b-4281-b951-d872f2087c98
Request new data after receiving an aborted access unit

Currently when decoder job has no data, it will call requestData().
When requestData() returns the new data, we immediately started decoding it by calling DecodeNextAccessUnit().
However, if the status of the access unit is kAborted, we treat it as an EOS.
This is wrong. Instead, we should ignore this access unit and pause the MediaSourcePlayer.

BUG=300078

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225904 0039d316-1c4b-4281-b951-d872f2087c98
[Android WebView] Hook up MemoryPressureListener

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225905 0039d316-1c4b-4281-b951-d872f2087c98
Ensure event pages are unloaded when onSuspend calls an API function

Extensions and apps which call API functions with callbacks such as
chrome.storage.local.set() and chrome.storage.local.get() in the
onSuspend event handler prevents the event page from ever being
unloaded.

The API function finishes between ExtensionProcessManager::OnSuspendAck()
and ExtensionProcessManager::CloseLazyBackgroundPageNow(). The destructor
of UIThreadExtensionFunction results in DecrementLazyKeepaliveCount()
being called in between these two functions, which increments
close_sequence_id. This causes CloseLazyBackgroundPageNow() to drop the
delayed close.

API functions which finish before OnSuspendAck() will not cause this
problem.

Fix:
DecrementLazyKeepAliveCount() should check the is_closing flag before
incrementing close_sequence_id.

BUG=296834
TEST=browser_tests (AppEventPageTest*:LazyBackgroundPageApiTest*)
See bug for how to reproduce and verify issue.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225906 0039d316-1c4b-4281-b951-d872f2087c98
ash: Add OEM wallpaper flags.

Paths to OEM wallpaper images were previously passed via the
--ash-default-wallpaper-* flags. This adds new
--ash-oem-wallpaper-* flags that take precedence over the
default wallpaper flags, so that Chrome can tell whether OEM
wallpaper is present or not.

BUG=298389

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225907 0039d316-1c4b-4281-b951-d872f2087c98
Disable ClosingLastTabFinishesUnload and WindowCloseFinishesUnload which fail on Mac 64

BUG=301173
TEST=Mac 64 tester bot greens

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225908 0039d316-1c4b-4281-b951-d872f2087c98
gfx: Create a separate gfx component out of ui.

Landed previously in r225857, which was reverted in r225859 because it broke android tests.

BUG=103304
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225909 0039d316-1c4b-4281-b951-d872f2087c98
Remove workaround for enabling tab-focusing in Chrome OS file dialog.

BUG=127222

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225910 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Prevent the maximize and the close buttons from stealng focus.

This is achieved by calling prevnet default for mouse down events.

BUG=298844
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225911 0039d316-1c4b-4281-b951-d872f2087c98
Fix uninitialized var in QuicEndToEndTest

TBR=rtenneti@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225912 0039d316-1c4b-4281-b951-d872f2087c98
Remove the DBus dependency on CommitText.


BUG=288388

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225913 0039d316-1c4b-4281-b951-d872f2087c98
Create InputMethodEngine::(Set|Get)CandidateWindowProperty and delete
redundant functions.

SetCandidateWindowProperty implemented in api/input_ime/input_ime_api.cc called several InputMethodEngine's functions.  This is redundant, so those functions are merged into a single function by this patch.


BUG=293117

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225914 0039d316-1c4b-4281-b951-d872f2087c98
Switch Copy implementation from JS to HTML5 based C++ private API.

This CL switches the copy operation for Files.app from JS's one to C++'s.
Note that this just does switching. Unused code clean up will be done in
following CLs.

BUG=261492
TEST=Ran browser_tests --gtest_filter="*FileSystemExtensionApiTest*:*FileManagerBrowserTest*:*FileBrowserPrivateApiTest*" and tested manually.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225915 0039d316-1c4b-4281-b951-d872f2087c98
Move minimized windows to the back of the most recently used window list.

BUG=299817
TEST=MruWindowTrackerTest.MinimizedWindowsAreLru
TEST=Open windows in order A, B, C. Minimize C, then alt-tab and expect to get to A rather than back to C.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225916 0039d316-1c4b-4281-b951-d872f2087c98
Media Galleries: Run API tests in a temp directory with an injected common.js file. Avoid the need for nested tests to share common JS code.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225917 0039d316-1c4b-4281-b951-d872f2087c98
Move constants from volume_manager.js to util.js.

VolumeManager will be moved to background page. So, to share the constants,
it is necessary to move the values to util.js.

BUG=268817
TEST=Ran browser_tests --gtest_filter="*FileSystemExtensionApiTest*:*FileManagerBrowserTest*:*FileBrowserPrivateApiTest*" and tested manually.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225918 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1656.0 to 1657.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225920 0039d316-1c4b-4281-b951-d872f2087c98
Change profile shortcut icon to badge profile icon where runtime badging does.

This CL moves the profile shortcut icon generation to match the runtime badging
position and size. This fixes an issue where the shortcut avatar was offset
from the runtime avatar icon.

This CL bumps kProfileIconVersion to 2.

BUG=297356

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

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