Roll Skia DEPS to r8932

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197608 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Remove wrong sorting.

In sidebar code, there were 2 sort code, but one is necessary and wrong, causing the sort bug. This patch removes the wrong one.

BUG=235829
TEST=List in directory tree is sorted.
NOTRY=True
# NOTRYing for chromeos_linux already passed (this changes is only for ChromeOS)

Review URL: https://chromiumcodereview.appspot.com/14657009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197609 0039d316-1c4b-4281-b951-d872f2087c98
ash: SystemGestureEventFilter should not process gestures while a drag drop is
in progress.

BUG=236493

Review URL: https://chromiumcodereview.appspot.com/14184010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197612 0039d316-1c4b-4281-b951-d872f2087c98
Android: query trace tag state from os.Trace instead of os.SystemProperties

Look up the "view" trace tag state by calling
android.os.Trace.isTagEnabled() instead of reading the enabled tag bits
from SystemProperties. This is needed because the system property key
name for enabled tag bits is no longer exposed in android.os.Trace.

Review URL: https://chromiumcodereview.appspot.com/14664007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197613 0039d316-1c4b-4281-b951-d872f2087c98
Feeding negative numbers to the HexStringToUInt64 should fail, with output 0 (the closest value in the datatype's range).

Review URL: https://chromiumcodereview.appspot.com/14109020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197614 0039d316-1c4b-4281-b951-d872f2087c98
<webview>: Fix redirect from about:blank

Some sites replace default link behavior with the following snippet:

function open(href) {
  var w = window.open('', '_blank');
  w.opener = null;
  w.document.write('<META HTTP-EQUIV="refresh" content="0; url=' +
                  href + '">');
  w.document.close();
}

The subsequent navigation fails because it's delegated to the browser
process, and the New Window API is not expecting browser-side navigation
prior to attachment.

This patch delays all pre-attachment navigations until attachment.

BUG=233475, 222618
Test=WebViewInteractiveTest.NewWindow

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

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

Review URL: https://chromiumcodereview.appspot.com/13837005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197616 0039d316-1c4b-4281-b951-d872f2087c98
cc: Remove unused is_live flag from TilePriority

After danakj's relanding of whunt's change to PictureLayerTiling, any
tile that would have been marked is_live=false is now just not created
at all.  The upside is also that the live_or_allocated_tiles_ temporary
vector goes away.  Because we need to be able to sort all_tiles so that
it can be ordered, all_tiles is changed from a set to a vector.

R=reveman@chromium.org
BUG=none

Review URL: https://chromiumcodereview.appspot.com/14261010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197617 0039d316-1c4b-4281-b951-d872f2087c98
Disable Aero "peek" window preview for Windows app list.

"peek" is a mode that Windows enters when (a) Aero is enabled, (b) mouse
hovers over taskbar icon, (c) miniature windows pop up for all windows
in that application, (d) mouse hovers over a miniature window. With peek
enabled, windows (in all applications) other than the hovered-over
window will go transparent. Since the app list window is always on top
(and there is only one window) it is distracting. Note we can't disable
the miniature windows, which would be a nicer fix.

BUG=166979
R=benwells@chromium.org
TEST=Open app launcher, hover over taskbar icon, hover over popup --
other windows should not fate out.

Review URL: https://chromiumcodereview.appspot.com/14281008

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

DebugDataCollector is an interface to retrieve debug information for Drive file
system. By using it, we don't need to directly touch drive's internal data
structure such as cache or metadata from outside of chromeos/drive directory.

BUG=232450
TEST=Ran unit_tests and tried on chrome://drive-internals with another small patch to use this new class.

Review URL: https://chromiumcodereview.appspot.com/14750002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197619 0039d316-1c4b-4281-b951-d872f2087c98
Add url.gyp:* to All target.

Previously we have googleurl_unittests in googleurl.gyp, but that isn't more
the case when it was moved into url.gyp and made just a copy of url_unittests.

To actually get back the googlurl_unittests target we need to also add
url.gyp to All target.

This should fix the following error on ios build:
common.chromium_utils.PathNotFound: Unable to find /b/build/slave/ios_dbg_simulator/build/src/xcodebuild/Debug-iphonesimulator/googleurl_unittests.app

BUG=229660
R=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197620 0039d316-1c4b-4281-b951-d872f2087c98
Win: Display a native bubble (instead of the JS one) after the web signin flow.

Part of a 3 CL Voltron, along with:
[GTK] https://codereview.chromium.org/14258007
[Mac] https://codereview.chromium.org/13845022/

BUG=119728
TEST=Open Chrome. Delete all your profiles, so that you have a fresh one. Open a new tab, and press the "sign in" link in the top right corner. Sign in. Upon completion, this should show a native popup bubble, anchored off the wrench menu. If you try to log in with the same email in another profile, the bubble should display a sad error message. Check out the issue description for screenshots.

Review URL: https://chromiumcodereview.appspot.com/13979003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197622 0039d316-1c4b-4281-b951-d872f2087c98
Adds back focus restoration hack that Mike recently nuked. The hack
is needed for exactly the case that is documented there. I've added a
test case for it to make sure we don't regress it again. Since test is
focus based I'm putting the test code in chrome, even though it only
needs views types.

To get Mikes tests to work I also made it so that changing the focused view also sets the stored focus view. This way if the window is hidden at the time the focus request we'll restore the focused view correctly when the window is shown.

Lastly I disabled a couple of tests that rely on focus and aren't in interactive_ui_tests.

BUG=125976, 131660, 224591
TEST=covered by tests, in chrome can verify by way of selecting text
on page, minimizing chrome, restoring chrome (click on taskbar) and
make sure page is still focused. Windows specific.
R=ben@chomium.org, msw@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14520013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197623 0039d316-1c4b-4281-b951-d872f2087c98
Look at modifiedDate field instead of modifiedDateByMe on Drive API v2.

The last modified date should be "modifiedDate" field, rather than
"modifiedDateByMe".
Also, increment the kDBVersion to force refreshing the cached metadata.

BUG=236773
TEST=Ran unit_tests and tested on Files.app manually.

Review URL: https://chromiumcodereview.appspot.com/14772002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197624 0039d316-1c4b-4281-b951-d872f2087c98
Extend touch hit target for autohidden shelf to allow dragging
    
This moves the edge gesture functionality from the BorderGestureHandler
to the ShelfLayoutManager, so that touches on the edge of the screen
when there is a touch enabled web page will be handled correctly.
Specifically when autohidden the shelf will steal a small portion of
the touch screen so that users may perform a drag operation to make it
visible.
    
This CL also changes the method SetHitTestBoundsOverrideOuter to take an
inset for both mouse and touch instead of having a mouse inset and touch
scale. This change is propagated to all the instances that this method is
used and updates the unit tests.
    
BUG=chromium:223666
TEST=Built and confirmed that dragging in/out works with shelf on
left/bottom/right of screen with page open that handles touch events.
Built and ran modified unit tests.

Review URL: https://chromiumcodereview.appspot.com/14439006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197625 0039d316-1c4b-4281-b951-d872f2087c98
Rename MediaPlayerBridgeManager to MediaPlayerManager

To support MediaSource, i am planning to introduce MediaSourceBridge on android.
Both MediaSourceBridge and MediaPlayerBridge will inherit from a common class: MediaPlayerAndroid.
As a result of this plan, MediaPlayerBridgeManager is no longer a good name for this common class.
This CL includes the following changes:
1. rename MediaPlayerBridgeManager to MediaPlayerManager, and MediaPlayerManagerAndroid to MediaPlayerManagerImpl.
2. remove MediaPlayerBridgeManagerImpl as it is no longer being used.
3. MediaResouceGetter is now owned by MediaPlayerManagerImpl.
   so we no longer need to create a separate MediaResourceGetter for each player.

BUG=233420
R=jam@chromium.org, scherkus@chromium.org, yfriedman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197626 0039d316-1c4b-4281-b951-d872f2087c98
cc: Reduce special casing of transparent tiles.

This moves the transparent tile optimization down to the renderer and removes
isTransparent() from AnalysisCanvas. Transparent becomes a special case of solid color.

BUG=236590

Review URL: https://chromiumcodereview.appspot.com/14002021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197627 0039d316-1c4b-4281-b951-d872f2087c98
Add support for the legacy chrome://favicon/size/16 format.
Refactored FaviconSource to add unittests

BUG=225235
TEST=FaviconSourceTest.*

Review URL: https://chromiumcodereview.appspot.com/14348040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197628 0039d316-1c4b-4281-b951-d872f2087c98
dbus: Use base::MessageLoop.

BUG=236029
R=keybuk@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14386016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197629 0039d316-1c4b-4281-b951-d872f2087c98
testing: Use base::MessageLoop.

TBR=stoyan@chromium.org
BUG=236029

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

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