Optimize png files in content/

./tools/resources/optimize-png-files.sh -o2 -r10000 content/renderer/resources/ content/shell/resources/ content/public/android/
content/shell/resources/textAreaResizeCorner.png : 195 => 92 (103 bytes : 52 %)
Processed 16 files (out of 16 files) in 00:10:59s
Result : 57362 => 41571 bytes (15791 bytes : 27 %)

BUG=313729
TBR=bulach@chromium.org, jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232871 0039d316-1c4b-4281-b951-d872f2087c98
Optimize png files in ui/webui win8

$./tools/resources/optimize-png-files.sh -o2 -r10000 ui/webui/ win8
Processed 62 files (out of 69 files) in 00:24:44s
Result : 85472 => 68772 bytes (16700 bytes : 19 %)

BUG=313729
TBR=xiyuan@chromium.org,cpu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232872 0039d316-1c4b-4281-b951-d872f2087c98
Disable flaky test: ProfileManagerBrowserTest.EphemeralProfile

This is a re-commit of https://codereview.chromium.org/58183006 with a syntax
error fixed.

BUG=314905
R=pastarmovj@chromium.org
TBR=pastarmovj@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232873 0039d316-1c4b-4281-b951-d872f2087c98
Added pref for snapshot document collapsed state

* Added boolean preference to persist other devices snapshot document
  collapsed/expanded state.
* Added JNI bridge to set/expand state.

NOTRY=true
BUG=294401

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232874 0039d316-1c4b-4281-b951-d872f2087c98
Add UMA metrics for ffmpeg color ranges.

BUG=310272

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232875 0039d316-1c4b-4281-b951-d872f2087c98
Consolidate test contexts and remove unused ones

This folds several simple TestWebGraphicsContext3D subclasses into the
base class and removes several unused TestWebGraphicsContext3D subclasses.
The goal is to remove dead code and make it easier to convert over to
a GLES2Interface-based test base.

R=danakj

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232876 0039d316-1c4b-4281-b951-d872f2087c98
Switch the WebstoreDataFetcherDelegate::OnWebstoreResponseParseSuccess interface to scoped_ptr.

Fixes memory leaks.

BUG=313695
R=benwells@chromium.org
TBR=satorux@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232877 0039d316-1c4b-4281-b951-d872f2087c98
Revert 232877 "Switch the WebstoreDataFetcherDelegate::OnWebstor..."

http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Builder/builds/58330

> Switch the WebstoreDataFetcherDelegate::OnWebstoreResponseParseSuccess interface to scoped_ptr.
> 
> Fixes memory leaks.
> 
> BUG=313695
> R=benwells@chromium.org
> TBR=satorux@chromium.org
> 
> Review URL: https://codereview.chromium.org/51113014

TBR=earthdok@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232880 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix hit-testing in zero-opacity layers.

If a layer that accepts touch or wheel events, but the layer (or one of its
ancestor layers) has zero opacity, then make sure the layer hit-tests correctly.

BUG=295295
R=enne@chromium.org, rbyers@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232881 0039d316-1c4b-4281-b951-d872f2087c98
Fix tests that were setting safebrowsing factories without unsetting them.

BUG=313141
R=shess@chromium.org, tburkard@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232882 0039d316-1c4b-4281-b951-d872f2087c98
Unminimize the minimized state, instead of showing

BUG=286508
TEST=see bug for repro step.
R=skuhne@chromium.org

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

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

This roll includes the change that disable a texture to be read/write at the same time: https://code.google.com/p/angleproject/issues/detail?id=496

BUG=
TEST=tree
R=kbr@chromium.org
TBR=kbr@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232885 0039d316-1c4b-4281-b951-d872f2087c98
Adjust ChromeVox (spoken feedback) strings and make it possible for announcemen
ts to occur directly in the extension.

BUG=261451
TEST=On Aura, rapidly turn ChromeVox on and off (on login/locked screen, user s
creens). Verify behaviors in above bug are true. Depends on a ChromeVox change.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232886 0039d316-1c4b-4281-b951-d872f2087c98
Implement native bindings for cast extensions API

This is the native code implementation of the cast extensions API that
glues the JS API to Cast objects.

Also fixes the named/refactored types and functions to be consistent between
JS and C++ code.

BUG=301920

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232887 0039d316-1c4b-4281-b951-d872f2087c98
Export "Enter URL..." string to Android Java side.

Android Chrome will support homepage, so we need to import
some strings.

NOTRY=true
BUG=285041

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232888 0039d316-1c4b-4281-b951-d872f2087c98
Allow the computation of inflated bounds for non matrix transform operations.

This CL expands the list of transform operations for which we may compute inflated
bounds for animation.

R=hartmanng@chromium.org,ajuma@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232889 0039d316-1c4b-4281-b951-d872f2087c98
android bb: Stop passing --build-dir and --build-output-dir.

These flags are ignored as of r232840 (extract_build.py),
r232782 (zip_build.py), r232641ish (archive_layout_test_results.py).

BUG=314253
R=ilevy@google.com
TBR=ilevy@chromium.org
(who lgtm'd as ilevy@google.com)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232890 0039d316-1c4b-4281-b951-d872f2087c98
Add support for rect-based event targeting in views

Views currently only supports point-based event targeting,
meaning that the center point is the only location used
when determining the target of a touch region. This can
lead to a poor experience for touchscreen users because
a touch can overlap many more possible targets than a
mouse cursor and it is difficult to ensure that the center
of the touch region is over the intended target (especially
if that target is small, such as the tab close button).

The goal of this patch is to add support for rect-based
event targeting ("touch fuzzing") by using a heuristic
to determine the most probable target of a rectangular
region.

This heuristic is implemented in
View::GetEventHandlerForRect() by recursively looking for
targets among the descendants of |this| which the
touch region overlaps by at least 60% (and then returning
the one that is closest to the location of the touch). If
no such targets exist, instead return the target that would
have been returned if point-based event targeting were
used with the center point of the touch. The idea behind
this approach is that small targets are more difficult to
touch reliably than large targets, so small targets
should get priority when determining the most probable
target of a touch.

In this patch, all of the overrides of
View::GetEventHandlerForRect() (formerly
View::GetEventHandlerForPoint()) simply call
View::GetEventHandlerForPoint() directly if rect-based
event targeting is to be used. The two exceptions are
NotificationView and AutofillDialogViews::SectionContainer,
for which I have preserved the existing point-based
behavior for the time being (and have added TODOs to
implement rect-based targeting in a follow up patch).

BUG=129794,131208
TEST=ViewTest.GetEventHandlerForRect
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232891 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Add an unittest of NavigationListModel

This patch adds an unittest framework for JavaScript components. In addition, this also adds an unit test of NavigationListModel using the framework.

BUG=309946
TEST=browser_test passes
R=hashimoto@chromium.org, mtomasz@chromium.org

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

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