Upgrade a DLOG(INFO) and remove an fprintf in objc_zombie.mm

These cause unrelated changes to the file to fail presubmit checks.

The INFO becomes a WARNING. It immediately precedes a DLOG(FATAL), so
isn't really spamming.

The fprintf becomes ::write(..). It precedes a
base::debug::StackTrace(..).Print(), which is async-signal safe, so use
use an async-signal safe function beforehand. This is probably overly
paranoid but I'm surrounded by zombies and they scare me.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288888 0039d316-1c4b-4281-b951-d872f2087c98
Fix SetShape (SetAlphaShape) to allow Null regions (+ tests).

SetAlphaShape uses a filter to enforce min/max transparency on the window shape specified by the user. This transparency clamping is required by security to ship the SetShape feature.

We added the call to SetAlphaShape earlier, but we needed to temporarily remove it because of bugs with HiDPI devices and NULL shapes.

The issue with HiDPI devices has been fixed in crrev.com/394193003.
This cl fixes Null shape and re-adds the call to SetAlphaShape so that we can enable this feature on Stable.

BUG=324071

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288889 0039d316-1c4b-4281-b951-d872f2087c98
Mojom generator: move Is.*Kind() functions into module.py and use them from all mojom_.*_generator.py.

This CL also makes the generators handle nullable types correctly. (But validation logic for non-nullable types will be in a separate CL.)

BUG=324170
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288893 0039d316-1c4b-4281-b951-d872f2087c98
Fix crashes in ui::Compositor on Mac.

Ensure that all ui::CompositorObserver instances are unhooked from
their ui::Compositor when the DelegatedFrameHost is destroyed.

This was not being done in instances where
RenderWidgetHostViewMac::Destroy was not being called before the
destructor RenderWidgetHostViewMac::~RenderWidgetHostViewMac.

BUG=401630

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288895 0039d316-1c4b-4281-b951-d872f2087c98
Switch startTracing to use record-as-much-as-possible option.

BUG=396081

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288896 0039d316-1c4b-4281-b951-d872f2087c98
Roll FFmpeg to include updated OWNERS and mipsel configs

R=dalecurtis@chromium.org
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288898 0039d316-1c4b-4281-b951-d872f2087c98
[Profiles] Unbreak using the Gaia avatar in the old avatar button.

I think I originally broke this in https://codereview.chromium.org/286933008
though I am surprised it took this long to surface up. In any case, if
there is a Gaia avatar being used, it should correctly appear in the
old avatar button spot.

BUG=401043
TEST=Start Chrome with --google-profile-info. Create two profiles, and sign
one of them in. If you choose the profile avatar to be the Gaia account picture,
this should show up nicely in the avatar button.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288899 0039d316-1c4b-4281-b951-d872f2087c98
metrics: Document ownership of Power.* histograms.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288900 0039d316-1c4b-4281-b951-d872f2087c98
Get rid of delayed runnable and change visibility instead for ContentViewRenderView

A better fix to not missing any callbacks during Java initialization is setting
the SurfaceView visibility to VISIBLE only after libraries has loaded. This
change removes the delayedRunnable setup and adds an assert to make sure we dont
have a valid surface before native load.

BUG=401581

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288901 0039d316-1c4b-4281-b951-d872f2087c98
Mac: silently fall back to normal separator drawing
for UPPER and LOWER varieties.

No behavior change, just less console spew.

BUG=402311

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288902 0039d316-1c4b-4281-b951-d872f2087c98
Restrict max outstanding frames to 60

In theory, 127 outstanding frames should be ok, but due to a bug in our code,
we can run into problem if we see a jump in frames larger than 64. This
CL will work around that problem by restricting the max outstanding frames to
60. In a later CL, we'll change this to a larger number once the actual bug
has been found and fixed.

BUG=402693
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288904 0039d316-1c4b-4281-b951-d872f2087c98
Revert of base: Introduce an explicit call for reducing emulated discardable memory usage. (https://codereview.chromium.org/448173002/)

Reason for revert:
tree-closer content_browsertests failing on Linux Chromium OS ASan LSan Tests (1)
test RenderThreadImplBrowserTest.EmulatedDiscardableMemoryDiscardedWhenWidgetsHidden
failing since
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/2501

Error: LeakSanitizer: detected memory leaks (Various Indirect leaks).
..
SUMMARY: AddressSanitizer: 19178 byte(s) leaked in 34 allocation(s).

Original issue's description:
> base: Introduce an explicit call for reducing emulated discardable memory usage.
>     
> This removes the use of memory pressure signals from discardable memory
> system and instead introduces an explicit call for reducing emulated
> discardable memory that the renderer can call when all widgets are hidden
> until we have a better mechanism in place.
>     
> BUG=398087
> TEST=base_unittests,content_browsertests
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288793

TBR=jochen@chromium.org,mark@chromium.org,reveman@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=398087

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288913 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Added multi-finger gestures to touch_exploration_controller (https://codereview.chromium.org/429633002/)

Reason for revert:
tree-closer ui_unittests failing on Linux Chromium OS ASan LSan Tests (3)
test TouchExplorationTest.AllFingerPermutations
failing since
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%283%29/builds/2708

I don't think the failing test itself is generating output, but
there are some LOG(INFO)s that have been snuck through
with the VLOG(0) trick which might help diagnose.

Original issue's description:
> Added multi-finger gestures to touch_exploration_controller
> 
> Two fingers: up is go to top, down is read from here, left is browser back, right is browser forward.
> Three fingers: up and down map to page up/down.
> Four fingers: up is home page, down is refresh.
> 
> Three/four finger left/right mappings to be added to the CL soon!
> 
> NOTRY=true (failing android dbg tests - this is not related to Android)
> BUG=387304
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288857

TBR=dmazzoni@chromium.org,aboxhall@chromium.org,mfomitchev@chromium.org,lisayin@chromium.org,evy@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=387304

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288914 0039d316-1c4b-4281-b951-d872f2087c98
VAVEA: Turn VAAPI encoder flag into a kill switch.
    
Flip the flag to enable VAVEA by default.

Also update the CastStreamingApiTest to not require VP8, as we may be using
H264 as well, but just assert on non-empty string for the codec. Do the
same for the audio codec while we are here.


TEST=encoding scenarios
BUG=378962,398322

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288920 0039d316-1c4b-4281-b951-d872f2087c98
The old implementation didn't distinguish 'ConstraintNotSatisfiedError' in content side.
    It uses TrackStartError to summarize all the track error. This is inconsistent
    with the spec. In this Cl, I add the name of the constraint which cause the ConstraintNotSatisfiedError

R=tommi@chromium.org, yzshen@chromium.org, creis@chromium.org, miu@chromium.org
BUG=397057

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288921 0039d316-1c4b-4281-b951-d872f2087c98
ServiceWorker: Prevent worker script with incorrect MIME type to be registered.

Fix for spec update: https://github.com/slightlyoff/ServiceWorker/issues/380.
A valid worker script MIME type should be one of below:
application/x-javascript
text/javascript
application/javascript

BUG=400604
TEST=https://codereview.chromium.org/448063002/

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288922 0039d316-1c4b-4281-b951-d872f2087c98
Update .exe and .dmg file error messages.

Modify error message because previous message is less information.

BUG=399333

TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288923 0039d316-1c4b-4281-b951-d872f2087c98
Revert of ServiceWorker: Prevent worker script with incorrect MIME type to be registered. (https://codereview.chromium.org/446323002/)

Reason for revert:
Suspected for breakage on Mac waterfall bots (10.6/10.7)

test ServiceWorkerBrowserTest.ImportsBustMemcache failing since

http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests%20%281%29/builds/54624
http://build.chromium.org/p/chromium.mac/builders/Mac10.7%20Tests%20%281%29/builds/25141

Times out. errors like

[ RUN      ] ServiceWorkerBrowserTest.ImportsBustMemcache
[16435:263:0812/001516:2160051331590:INFO:CONSOLE(13)] "initial unregistration done", source: http://127.0.0.1:58683/service_worker/imports_bust_memcache.html (13)
BrowserTestBase signal handler received SIGTERM. Backtrace:
0   content_browsertests                0x6249bcaa base::debug::StackTrace::StackTrace() + 26
..
11  AppKit                              0x96eeddd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
12  AppKit                              0x96eb01f3 -[NSApplication run] + 821
..
19  content_browsertests                0x6228bf46 content::TitleWatcher::WaitAndGetTitle() + 118
20  content_browsertests                0x61ed5252 content::ServiceWorkerBrowserTest_ImportsBustMemcache_Test::RunTestOnMainThread() + 530
[649/649] ServiceWorkerBrowserTest.ImportsBustMemcache (TIMED OUT)

Original issue's description:
> ServiceWorker: Prevent worker script with incorrect MIME type to be registered.
> 
> Fix for spec update: https://github.com/slightlyoff/ServiceWorker/issues/380.
> A valid worker script MIME type should be one of below:
> application/x-javascript
> text/javascript
> application/javascript
> 
> BUG=400604
> TEST=https://codereview.chromium.org/448063002/
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288922

TBR=falken@chromium.org,michaeln@chromium.org,thestig@chromium.org,xiang.long@intel.com
NOTREECHECKS=true
NOTRY=true
BUG=400604

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288927 0039d316-1c4b-4281-b951-d872f2087c98
Whitespace change to kick off bots.

BUG=none

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

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