Fix enable_webrtc=0 build

R=dmichael@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234944 0039d316-1c4b-4281-b951-d872f2087c98
Revert 234877 "Update V8 to version 3.23.3.1."

Breaks SunSpider benchmark.

INFO:root:Running file://sunspider-1.0/driver.html

Traceback (most recent call last):
  <module> at tools/perf/run_benchmark:23
    sys.exit(test_runner.Main())
  Main at tools/telemetry/telemetry/test_runner.py:303
    return command.Run(options, args)
  Run at tools/telemetry/telemetry/test_runner.py:211
    return min(255, self._test().Run(copy.copy(options)))
  Run at tools/telemetry/telemetry/test.py:53
    results = page_runner.Run(test, ps, expectations, options)
  Run at tools/telemetry/telemetry/page/page_runner.py:330
    possible_browser, results, state)
  _PrepareAndRunPage at tools/telemetry/telemetry/page/page_runner.py:224
    results_for_current_run, finder_options)
  _RunPage at tools/telemetry/telemetry/page/page_runner.py:440
    test.Run(finder_options, page, page_state.tab, results)
  Run at tools/telemetry/telemetry/page/page_test.py:218
    self._test_method(page, tab, results)
  _RunTest at tools/telemetry/telemetry/page/page_measurement.py:54
    self.MeasurePage(page, tab, results)
  MeasurePage at tools/perf/benchmarks/sunspider.py:31
    total += value

Locals:
  _              : <telemetry.page.page.Page object at 0x101b306d0>
  js_get_results : 'JSON.stringify(output);'
  js_results     : [{u'math-spectral-norm': 2, u'bitops-3bit-bits-in-byte': 2, u ... u'bitops-bits-in-byte': 3, u'math-cordic': 3, u'3d-cube': 10}] (truncated)
  key            : u'3d-morph'
  r              : defaultdict(<type 'list'>, {u'math-spectral-norm': [2], u'3d- ...  u'bitops-3bit-bits-in-byte': [2], u'date-format-xparb': [7]}) (truncated)
  result         : {u'math-spectral-norm': 2, u'bitops-3bit-bits-in-byte': 2, u' ...  u'bitops-bits-in-byte': 3, u'math-cordic': 3, u'3d-cube': 10} (truncated)
  results        : <telemetry.page.buildbot_page_measurement_results.BuildbotPageMeasurementResults run=1 errors=0 failures=0>
  tab            : <telemetry.core.tab.Tab object at 0x101b4fc50>
  total          : 11
  totals         : []
  value          : u'NaN'

TypeError: unsupported operand type(s) for +=: 'int' and 'unicode'

> Update V8 to version 3.23.3.1.
> 
> TBR=jkummerow@chromium.org
> BUG=
> 
> Review URL: https://codereview.chromium.org/71483002

TBR=machenbach@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234946 0039d316-1c4b-4281-b951-d872f2087c98
Add jank metric for PrerenderManager::PeriodicCleanup.

Measure how long the call takes so we can correllate long stalls by platform
and see how frequent they are.

BUG=305419
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234948 0039d316-1c4b-4281-b951-d872f2087c98
Allows views of role "menu" to receive focus events.

This fix is not meant to redo the API, but simply to make it so ChromeVox can verbalize this important control. We should note the issues with this API in terms of indicating the caller's intent and some underlying assumptions made about what events can be fired on what roles.

BUG=318463
TEST=Ensure that the "apps" wrench menu gets announced by ChromeVox.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234949 0039d316-1c4b-4281-b951-d872f2087c98
InstantExtended: update tests for Instant Extended (part 5).

Turning on InstantExtended by default exposes some flakiness in the url rewrite
browser test. Change the test to a unit test to remove flakiness. Also update
OWNERS file to allow anyone to change the unit test (since anyone can already
change the .cc/.h files + the browser tests).

(Note that this is split off from http://crrev.com/24733003.)

BUG=297915
R=jered@chromium.org, sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234956 0039d316-1c4b-4281-b951-d872f2087c98
Remove windows-only restriction on index.lock cleanup. Previously, the bisect script would try to remove any index.locks that linger around from previous runs, but only on windows.

BUG=317626
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234958 0039d316-1c4b-4281-b951-d872f2087c98
[SPDY] Reenable SPDY/2 for M32

This will be merged to the M32 branch and then reverted on trunk.

BUG=318651
R=jam@chromium.org, rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234959 0039d316-1c4b-4281-b951-d872f2087c98
Remove 1 static initializer with gcc.

gcc apparently always creates static initializers for non-POD globals.

BUG=94925
R=erg@chromium.org, willchan@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234960 0039d316-1c4b-4281-b951-d872f2087c98
Disable top_10 mobile benchmark. It is failing on all android devices.

Traceback (most recent call last):
  <module> at tools/perf/run_benchmark:23
    sys.exit(test_runner.Main())
  Main at tools/telemetry/telemetry/test_runner.py:303
    return command.Run(options, args)
  Run at tools/telemetry/telemetry/test_runner.py:211
    return min(255, self._test().Run(copy.copy(options)))
  Run at tools/telemetry/telemetry/test.py:53
    results = page_runner.Run(test, ps, expectations, options)
  Run at tools/telemetry/telemetry/page/page_runner.py:330
    possible_browser, results, state)
  _PrepareAndRunPage at tools/telemetry/telemetry/page/page_runner.py:224
    results_for_current_run, finder_options)
  _RunPage at tools/telemetry/telemetry/page/page_runner.py:440
    test.Run(finder_options, page, page_state.tab, results)
  Run at tools/telemetry/telemetry/page/page_test.py:218
    self._test_method(page, tab, results)
  _RunTest at tools/telemetry/telemetry/page/page_measurement.py:54
    self.MeasurePage(page, tab, results)
  MeasurePage at tools/perf/measurements/page_cycler.py:148
    tab.WaitForJavaScriptExpression('__pc_load_time', 60)
  WaitForJavaScriptExpression at tools/telemetry/telemetry/core/web_contents.py:53
    util.WaitFor(IsTrue, timeout)
  WaitFor at tools/telemetry/telemetry/core/util.py:53
    res = condition()
  IsTrue at tools/telemetry/telemetry/core/web_contents.py:47
    return bool(self.EvaluateJavaScript(expr))
  EvaluateJavaScript at tools/telemetry/telemetry/core/web_contents.py:74
    return self._inspector_backend.EvaluateJavaScript(expr, timeout)
  EvaluateJavaScript at tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py:181
    return self._runtime.Evaluate(expr, timeout)
  Evaluate at tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py:53
    raise exceptions.EvaluateException(res['result']['result']['description'])

Locals:
  expr    : '__pc_load_time'
  request : {'params': {'returnByValue': True, 'expression': '__pc_load_time'}, 'method': 'Runtime.evaluate', 'id': 10}
  res     : {u'result': {u'wasThrown': True, u'result': {u'className': u' ... ', u'objectId': u'{"injectedScriptId":2,"id":1}'}}, u'id': 10} (truncated)
  timeout : 90

EvaluateException: ReferenceError: __pc_load_time is not defined

BUG=
TBR=pdr@chromium.org
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234961 0039d316-1c4b-4281-b951-d872f2087c98
Revert 234641 "cc: Combine analysis and raster"

This breaks rasterization.  Reverting to investigate.

> cc: Combine analysis and raster
>
> This changes the analysis of PicturePiles from optimistic (hoping to
> save raster work by checking if a rastered bitmap would be a solid
> color) to pessimistic (assuming most bitmaps are not solid colors and
> just checking afterwards). It does this by rastering to both an
> AnalysisCanvas and a normal SkCanvas via SkNWayCanvas and then
> checking the results afterwards.
>
> R=reveman@chromium.org, senorblanco@chromium.org
> BUG=310796
>
> Review URL: https://codereview.chromium.org/63443003

TBR=enne@chromium.org, senorblanco@chromium.org
BUG=318782

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234962 0039d316-1c4b-4281-b951-d872f2087c98
Adding all user panels to the sytem tray menu by default

BUG=312324
TEST=visual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234963 0039d316-1c4b-4281-b951-d872f2087c98
[Net] Assert that URLRequests with LOAD_IGNORE_LIMITS have MAXIMUM_PRIORITY

Also remove the priority juggling in ClientSocketPoolBaseHelper, and instead
assert that any requests with ignore_limits = true also has priority =
MAXIMUM_PRIORITY.

BUG=166689
R=asanka@chromium.org, gene@chromium.org, jamesr@chromium.org, joaodasilva@chromium.org, mmenke@chromium.org, simonjam@chromium.org
TBR=benm@chromium.org, jamesr@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234964 0039d316-1c4b-4281-b951-d872f2087c98
Continue renaming TabModel::CreateTabForTesting -> CreateNewTabForDevTools

Switch to using the new method now available in Chrome for Android.

BUG=265806
TBR=bulach@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234965 0039d316-1c4b-4281-b951-d872f2087c98
Add svn:ignore for src/third_party/libaddressinput/src.

This patch adds an svn:ignore for src/ directory on the
src/third_party/libaddressinput/ directory. This change is not reviewable
according to:

http://www.chromium.org/developers/adding-3rd-party-libraries#TOC-Setting-up-ignore 


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234967 0039d316-1c4b-4281-b951-d872f2087c98
Fix z-order problem and cleanup a few nits.

Original patch: https://codereview.chromium.org/59043012/

The issue this patch addresses is that if a user has 
multiple chrome windows open (e.g. press Ctrl+N a few 
times), and then change the chrome theme or windows desktop 
theme, after the theme is changed the windows will be 
non-deterministically re-arranged in the z-order.

BUG=312535, 311405

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234968 0039d316-1c4b-4281-b951-d872f2087c98
linux_aura: Don't crash when opening a file dialog on KDE

BUG=318872

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234969 0039d316-1c4b-4281-b951-d872f2087c98
Base support for verifying extension installs

This code is the start of providing a mechanism for verifying that
extensions are installed from the webstore or via enterprise policy,
and not force-installed by malicious third-parties.

BUG=318479

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234970 0039d316-1c4b-4281-b951-d872f2087c98
On Android, always initial berakpad on official builds

The actual setting is only verified before we upload the crash dump
(compare the code in chrome_browser_main_android.cc).

BUG=311877
R=rsesek@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234971 0039d316-1c4b-4281-b951-d872f2087c98
Don't swallow "aapt crunch" build errors.

aapt crunch always has a return code of 0, even when it finds an invalid
9-patch and can't process it. Since we can't trust the return code, we
fail when aapt outputs anything to stderr.

BUG=314885
R=cjhopman@chromium.org

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

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