Match the sensor event firing frequency and the fetch frequency in the browser.

Since the default hardware sensor fetch frequency is currently
max 20Hz, this patch makes the renderer-side sensor event pump
poll frequency match the hardware fetch frequency to avoid
confusion in Blink. That way the reported interval property of
the Device Motion events will match the actual interval at which
the events are fired into Blink.

BUG=261165
TEST=http://jsbin.com/device-inertial-sensor-diagnostics/latest (manual)
TBR=mvanouwerkerk@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230879 0039d316-1c4b-4281-b951-d872f2087c98
Move extensions::ImageLoader and IconImage to BrowserContext

BUG=309909
TEST=unit_tests
TBR=rohitrao@chromium.org for trivial include change in c/b/ui/cocoa/infobars

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

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

This is a second side of Blink's r160382. It adds capability
to switch between normal resizing and the synchronous (the unfortunate) one.

BUG=309760
R=jam, jochen

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230881 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230880
Clearly print repro steps in the bisect results so that the perf dashboard includes it in any bugs it comments on.

BUG=310400
TEST=Run a bisect, example results:

Tested commits:
         Depot                         Commit SHA                     Mean       Std. Error       State    

        chromium        f1c0c49bdc506aff047bd64d343bfd30d0e3f327      0.00         +-0.00      Suspected CL

        chromium        15d0233ec7c7f5407c5612dcda1a09466316f213      0.00         +-0.00          Good    

Average build time: 0:00:00
Average test time: 0:00:00
Approximate size of regression: -100.00%, +-0.00% std. err
Confidence in Bisection Results: 0%

Experimental - If confidence is less than 100%, there are could be some other strong candidates for this regression. You can try increasing the repeat_count, or looking for a sub-metric that shows the regression more clearly.

Results: Regression may have occurred in range:
  -> First Bad Revision: [f1c0c49bdc506aff047bd64d343bfd30d0e3f327] [chromium]
  -> Last Good Revision: [15d0233ec7c7f5407c5612dcda1a09466316f213] [chromium]

Commit  : f1c0c49bdc506aff047bd64d343bfd30d0e3f327
Author  : viettrungluu@chromium.org
Email   : viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98
Date    : Mon, 21 Oct 2013 19:44:48 +0000
Subject : Mojo: Add debug-only checks to Waiter that check that Init() has been called.


To reproduce locally:
xvfb-run -a tools/perf/run_measurement -v --browser=release blink_perf third_party/WebKit/PerformanceTests/Layout/floats_50_100.html

Also consider passing --profiler=list to see available profilers.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230882 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230881
SVN changes up to revision 230882