0
Commit Graph

250838 Commits

Author SHA1 Message Date
217c53ca81 Revert of Revert of Isolate courgette_unittests (patchset id:1 of https://codereview.chromium.org/865133002/)
Reason for revert:
The revert might have been wrong: reverting the revert again.
BUG=450912

Original issue's description:
> Revert of Isolate courgette_unittests (patchset  id:1 of https://codereview.chromium.org/868433002/)
>
> Reason for revert:
> http://crbug.com/450912
>
> courget_unittests is failing on Win7(dbg) bots since build#34639.
> http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/34639
>
> Original issue's description:
> > Isolate courgette_unittests
> >
> > Adding link to http://www.chromium.org/developers/testing/isolated-testing/for-swes for my future self.
> >
> > R=maruel@chromium.org,jochen@chromium.org
> > TBR=jam@chromium.org
> > BUG=98637
> >
> > Committed: https://crrev.com/c9bd3b9a5667a36c05592ec9d16533be91b4567c
> > Cr-Commit-Position: refs/heads/master@{#312531}
>
> TBR=jam@chromium.org,jochen@chromium.org,maruel@chromium.org,scottmg@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=98637
>
> Committed: https://crrev.com/1bdeeeb5eae42e95f82806da9351d77a05403e67
> Cr-Commit-Position: refs/heads/master@{#312571}

TBR=jam@chromium.org,jochen@chromium.org,maruel@chromium.org,scottmg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=98637

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

Cr-Commit-Position: refs/heads/master@{#312577}
2015-01-22 07:21:00 +00:00
88c7b3339b Cleanup dead code in base/ as found by Scythe.
Some parts just needed to be ifdefed.

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

Cr-Commit-Position: refs/heads/master@{#312576}
2015-01-22 07:10:36 +00:00
eba5a5efbe Remove app name from File.app's window.
As a part of Files.app's re-design, app name should be gone.

BUG=402344
TEST=none

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

Cr-Commit-Position: refs/heads/master@{#312575}
2015-01-22 06:34:37 +00:00
c3fe464e1f Don't crash DRT if dumpFilenameBeingDragged() is called outside a drag.
BUG=450155

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

Cr-Commit-Position: refs/heads/master@{#312574}
2015-01-22 06:30:54 +00:00
9f93cb6d8f Roll src/third_party/WebKit b967dd3:50d8cb3 (svn 188786:188789)
Summary of changes available at:
b967dd3..50d8cb3

TBR=mvanouwerkerk@chromium.org,pkasting@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312573}
2015-01-22 06:16:06 +00:00
35f317c778 Split sweep into "Lazy sweep" and "Complete sweep" phases in
about:tracing.

This change is following http://crrev.com/758163004

BUG=None
TEST=./tools/perf/run_tests help OilpanGCTimesTest --browser=release

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

Cr-Commit-Position: refs/heads/master@{#312572}
2015-01-22 06:12:59 +00:00
1bdeeeb5ea Revert of Isolate courgette_unittests (patchset id:1 of https://codereview.chromium.org/868433002/)
Reason for revert:
http://crbug.com/450912

courget_unittests is failing on Win7(dbg) bots since build#34639.
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/34639

Original issue's description:
> Isolate courgette_unittests
>
> Adding link to http://www.chromium.org/developers/testing/isolated-testing/for-swes for my future self.
>
> R=maruel@chromium.org,jochen@chromium.org
> TBR=jam@chromium.org
> BUG=98637
>
> Committed: https://crrev.com/c9bd3b9a5667a36c05592ec9d16533be91b4567c
> Cr-Commit-Position: refs/heads/master@{#312531}

TBR=jam@chromium.org,jochen@chromium.org,maruel@chromium.org,scottmg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=98637

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

Cr-Commit-Position: refs/heads/master@{#312571}
2015-01-22 06:12:58 +00:00
08dd7e7587 Disable PPAPINaClGLibcTest.View under MSAN
NOTRY=true
TBR=raymes

BUG=450908

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

Cr-Commit-Position: refs/heads/master@{#312570}
2015-01-22 06:07:27 +00:00
430baee98c media: Make |web_encrypted_media_client_| a scoped_ptr.
In the current implementation |web_encrypted_media_client_| is leaked.

BUG=450777

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

Cr-Commit-Position: refs/heads/master@{#312569}
2015-01-22 05:48:04 +00:00
5a7ffe2f6f Adding "static_assert" in lieu of "COMPILE_ASSERT" in ipc module
All our toolchains support c++'s static_assert now- COMPILE_ASSERT can be removed now.

BUG=442514

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

Cr-Commit-Position: refs/heads/master@{#312568}
2015-01-22 05:41:28 +00:00
e01f4987bc Roll src/third_party/skia 55e88b2:4daa6f6
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/55e88b2..4daa6f6

CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
TBR=borenet@google.com

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

Cr-Commit-Position: refs/heads/master@{#312567}
2015-01-22 05:39:54 +00:00
5c598826de Autofill - don't respect autocomplete="off" for mac address book or
scan credit card suggestions.

BUG=450680

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

Cr-Commit-Position: refs/heads/master@{#312566}
2015-01-22 05:31:27 +00:00
e8577e72d0 cc: Remove unused method from TaskGraphRunnerPerfTest.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#312565}
2015-01-22 05:12:21 +00:00
0ffa3ac41e Roll src/third_party/WebKit b6bfc77:b967dd3 (svn 188785:188786)
Summary of changes available at:
b6bfc77..b967dd3

TBR=mvanouwerkerk@chromium.org,pkasting@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312564}
2015-01-22 05:09:23 +00:00
f51c0e9efe Use X11 headers only when using X11.
This was causing problems when building chromium on Linux platforms with no x11 and Ozone enabled. https://codereview.chromium.org/817023005/diff/40001/content/common/BUILD.gn
made changes so that we run the version in content_common with a va_stub_header.fragment always.

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

Cr-Commit-Position: refs/heads/master@{#312563}
2015-01-22 04:49:53 +00:00
6ad5832b96 device/bluetooth: Add BluetoothAudioSinkChromeOS.
This CL implements Bluetooth Audio Sink API for ChromeOS platform,
where user applications can register/unregister a BT audio sink
via BlueAdapter interface. This API acts as a middle layer hiding
the components of BlueZ/D-Bus.

BUG=441581

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

Cr-Commit-Position: refs/heads/master@{#312562}
2015-01-22 04:37:44 +00:00
kbr
fd59ae6c44 Document and test that image_util.WritePngFile requires path end in 'png'.
Fix the GPU tests' cloud_storage_test_base to follow this requirement.

BUG=450673

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

Cr-Commit-Position: refs/heads/master@{#312561}
2015-01-22 04:21:09 +00:00
e418076d38 Keep the app list start page isolated from the browser's default zoom.
BUG=447062

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

Cr-Commit-Position: refs/heads/master@{#312560}
2015-01-22 03:59:45 +00:00
d933ed6809 Roll src/third_party/skia ec7e12f:55e88b2
Summary of changes available at:
https://chromium.googlesource.com/skia/+log/ec7e12f..55e88b2

CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
TBR=borenet@google.com

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

Cr-Commit-Position: refs/heads/master@{#312559}
2015-01-22 03:55:26 +00:00
023242b570 Exposes cursor position to IME extension through chrome.inputMethodPrivate.onCompositionBoundsChanged.
BUG=450503
TEST=Verified on linux_chromeos.

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

Cr-Commit-Position: refs/heads/master@{#312558}
2015-01-22 03:53:56 +00:00
9267528ad6 Disable -Wl,-z,defs on mipsel to suppress ffmpeg error
The ffmpeg build on mips is broken which manifests in build errors when
z,defs is specified. The owners of this build would like the compile
time error to be suppressed for now while they work on a proper fix.

BUG=450771,371125

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

Cr-Commit-Position: refs/heads/master@{#312557}
2015-01-22 03:49:47 +00:00
326a29c43f Fixed 200% inactive back icon for the web app style ChromeOS frame.
This had been crushed too much. Recrushed the original asset with an
up to date version of pngcrush installed.

BUG=450134
R=oshima@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312556}
2015-01-22 03:35:14 +00:00
a1923338ed Roll src/third_party/WebKit 372d1bd:b6bfc77 (svn 188778:188785)
Summary of changes available at:
372d1bd..b6bfc77

TBR=mvanouwerkerk@chromium.org,pkasting@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312555}
2015-01-22 03:33:41 +00:00
723eb410f4 Typo fix: s/massage/message/
BUG=None
TBR=skuhne@chromium.org, oshima@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312554}
2015-01-22 03:32:12 +00:00
4bd5ab2bd1 Using "static_assert" in lieu of "COMPILE_ASSERT" in storage module
All our toolchains support c++'s static_assert now- COMPILE_ASSERT can be removed now.

BUG=442514

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

Cr-Commit-Position: refs/heads/master@{#312553}
2015-01-22 03:26:47 +00:00
e3a24e9786 Refactor test scripts for android to improve performance
-. Skip checking package existence
-. Skip stopping an Activity
-. Reduce waiting time for fifo

BUG=449354

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

Cr-Commit-Position: refs/heads/master@{#312552}
2015-01-22 03:24:43 +00:00
cpu
9f4414bd26 skeleton GYP for CAPS
CAPS is a regular win32 exe.

BUG=447073

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

Cr-Commit-Position: refs/heads/master@{#312551}
2015-01-22 03:17:34 +00:00
050bed365f Chromecast ATV: distinguish actual shutdown vs. lifecycle from sleep.
Activity lifecycle is different when coming out of sleep mode, since
the activity doesn't actually have focus. For whatever reason, this
results in an extra onPause/onStop/onStart/onResume sequence before
the app is "started".

Details: http://stackoverflow.com/questions/25369909/

R=lcwu@chromium.org,byungchul@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312550}
2015-01-22 03:15:57 +00:00
ef56d87713 Improve apps v2 upgrade UX
The current v1 web-app allows users to sign in as any user. Some users may
be signed in using a different account than their chrome profile.
When these users upgrade to the v2 app, their host list will be empty and
it is not straightforward why.
This CL shows a migration tip to inform the users to sign-in to their
previous account if necessary.

BUG=369835

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

Cr-Commit-Position: refs/heads/master@{#312549}
2015-01-22 03:14:30 +00:00
ed7cc0bd51 Fix wrong type for a temp.
Caught by MSVC type truncation warnings.

BUG=81439
TEST=none
TBR=jvoung

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

Cr-Commit-Position: refs/heads/master@{#312548}
2015-01-22 03:07:43 +00:00
06ceef0a7f enable V4L2 VDA in VDA unittest on x86 CrOS platform
BUG=450569
TEST=make sure USE_V4L2_CODEC pass to VDA unittest

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

Cr-Commit-Position: refs/heads/master@{#312547}
2015-01-22 03:06:07 +00:00
235014a6cd Chromecast: adds hook for internal code to set command-line flags.
R=lcwu@chromium.org
BUG=internal b/16490877

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

Cr-Commit-Position: refs/heads/master@{#312546}
2015-01-22 02:55:51 +00:00
3f44c4635f Use GuestView embedder when determing the print preview dialog dimensions.
The print preview dialog uses the initiator WebContents to determine its
size. For prints from embedded GuestViews, this can cause print preview
dialogs to be smaller than normal. This CL fixes this by changing
PrintPreviewDialogDelegate::GetDialogSize() to follow the chain of
GuestView embedders to find the outermost WebContents and use it to
determine the dialog size.

BUG=450564

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

Cr-Commit-Position: refs/heads/master@{#312545}
2015-01-22 02:52:05 +00:00
zmo
b5e2c68d25 Add Sync related APIs to GPU command buffer.
glFenceSync
glIsFence
glDeleteFence

Most of the work is to deal with the fact that GLsync is not like any other ID types (GLuint).

BUG=429053
TEST=gpu_unittests

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

Cr-Commit-Position: refs/heads/master@{#312544}
2015-01-22 02:52:04 +00:00
2eff74b542 (Temporarily) disable -Wl,-z,defs when using sanitizers
Compiling with -Wl,-z,defs and asan requires declaring a dependency on
//build/config/sanitizers:deps in every shared_library and executable,
however piles and piles of targets do not do this yet so this flag busts
the asan/etc builds in GN.  Disable for now so we can add the
dependencies bit by bit.

R=thakis@chromium.org
BUG=371125

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

Cr-Commit-Position: refs/heads/master@{#312543}
2015-01-22 02:50:10 +00:00
b1df9f57a4 Log signal strategy progress to server.
The previous design provided a callback so that an external function could log the progress,
but since it's not possible to log anything until the signal strategy has connected, that
doesn't make a lot of sense. The new design instead tracks progress internally and sends it
when the connection is established.

BUG=432171

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

Cr-Commit-Position: refs/heads/master@{#312542}
2015-01-22 02:47:15 +00:00
876b4210bb Immediately open MTP and other eligible removable devices with media directory on mount.
BUG=420680
TEST=browser_test: FileManagerJsTest.*

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

Cr-Commit-Position: refs/heads/master@{#312541}
2015-01-22 02:44:00 +00:00
9f45f6309a NaCl: Merge three global PP_Instance mappings into one
components/nacl/renderer/ had three mappings from PP_Instance IDs:
 * mapping to NexeLoadManager
 * mapping to JsonManifest
 * mapping to InstanceInfo

Merging these into one will make it easier to add more per-PP_Instance
state in the future.

This also makes the lifetime of the objects mapped from PP_Instances
clearer.  This should fix a leak of InstanceInfo if untrusted code
never calls the StartPpapiProxy IPC (though the IPC::ChannelHandle in
it will still leak since this isn't owned).

BUG=428030
TEST=NaCl tests in browser_tests

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

Cr-Commit-Position: refs/heads/master@{#312540}
2015-01-22 02:42:31 +00:00
aa86822199 Roll libvpx: 3fdc59:cc9c0c
Enable vp9 denoiser

https://codereview.chromium.org/838153006
https://codereview.chromium.org/864883002

R=marpan@chromium.org
R=tomfinegan@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312539}
2015-01-22 02:42:30 +00:00
45919813ba Add browser tests for USB device add/remove events.
These tests are essentially copies of the HID device add and remove
event tests. In order to reconcile issues with the MockUsbService
lifetime it is now tracked by a MessageLoop::DestructionObserver at the
generic UsbService level. This is similar to the pattern used by the
HidService until it was moved to the UI thread and could use a
LazyInstance.

BUG=411715

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

Cr-Commit-Position: refs/heads/master@{#312538}
2015-01-22 02:41:03 +00:00
8acd5be1ab Ensure speech synthesis and ChromeVox run outside of normal user sessions.
Due to crbug.com/445048, extensions without incognito: split within their manifest no longer run outside of a logged in user session. This caused some component extensions to stop working in specific contexts (e.g. ChromeVox in OOBE).

BUG=450705
TEST=manual.

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

Cr-Commit-Position: refs/heads/master@{#312537}
2015-01-22 02:37:47 +00:00
90608d11ac Fix host delete. Delete always returns a 204 (empty response), which will throw an "authentication failed" error with the current code. More generally, HTTP 2xx statuses are always success, and should be treated as such.
Also fix the error -> status terminology.

R=jamiewalch
BUG=

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

Cr-Commit-Position: refs/heads/master@{#312536}
2015-01-22 02:37:46 +00:00
3cec2aba36 Using "static_assert" in lieu of "COMPILE_ASSERT" in crypto module
All our toolchains support c++'s static_assert now- COMPILE_ASSERT can be removed now.

BUG=442514

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

Cr-Commit-Position: refs/heads/master@{#312535}
2015-01-22 02:36:15 +00:00
0052825251 Improve comments on WebContentsObserver RenderFrame* methods and rename.
This CL is the first step in a series of CLs to improve the WebContentsObserver interface and make it more consistent for RenderFrame(Host) notifications. It renames FrameDetached to FrameDeleted, to make it more generic and improved comments to reflect what objects the notification is about.

BUG=450799

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

Cr-Commit-Position: refs/heads/master@{#312534}
2015-01-22 02:30:46 +00:00
0a04eaa8dc Prepare SyncController to replace a downstream component.
SyncController handles the coordination of sync state
between the invalidation controller, the Android sync
settings, and the native sync code. Sync state can be
changed from four places:

- The Chrome UI, which will call SyncController directly.
- Native sync, which can disable it via a dashboard stop
  and clear.
- Android's Chrome sync setting.
- Android's master sync setting.

SyncController implements listeners for the last three
cases. When master sync is disabled, we are careful to not
change the Android Chrome sync setting so we know whether
to turn sync back on when it is re-enabled.

BUG=428882

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

Cr-Commit-Position: refs/heads/master@{#312533}
2015-01-22 02:27:19 +00:00
29e4114142 Minor changes to still-unfinal chrome://settings/autofill wallet UI
1. add checkbox
2. add new pref
3. move checkbox to top of dialog (near mac contact book checkbox)

BUG=446698

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

Cr-Commit-Position: refs/heads/master@{#312532}
2015-01-22 02:25:49 +00:00
c9bd3b9a56 Isolate courgette_unittests
Adding link to http://www.chromium.org/developers/testing/isolated-testing/for-swes for my future self.

R=maruel@chromium.org,jochen@chromium.org
TBR=jam@chromium.org
BUG=98637

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

Cr-Commit-Position: refs/heads/master@{#312531}
2015-01-22 02:24:18 +00:00
72decb6a93 Update third_party/tlslite to 0.4.8.
This pulls in TLS 1.2 support from upstream.

Local patches:
- tls_intolerant.patch: rebased
- channel_id.patch: rebased
- signed_certificate_timestamps.patch: rebased
- fallback_scsv.patch: rebased
- status_request.patch: rebased
- pycrypto.patch: dropped; fixed upstream.
- client_cipher_preferences.patch: dropped; upstream came up with saner
  orderings.
- ssl3_padding.patch: rebased
- srp_cert.patch: dropped; no longer needed.
- fix_test_file.patch: rebased
- dhe_rsa.patch: rebased and heavily reworked to account for TLS 1.2 and
  server cipher order.
- req_cert_types.patch: rebased and tweaked to fix upstream TLS 1.2 bugs.
- ignore_write_failure.patch: rebased
- intolerance_options.patch: rebased
- save_client_hello.patch: rebased
- certificate_request.patch: newly added; fix more upstream TLS 1.2 bugs.

Other changes:
- Upstream disabled SSLv3 by default. It is re-enabled in test_server.py for
  testing purposes.

BUG=450730

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

Cr-Commit-Position: refs/heads/master@{#312530}
2015-01-22 02:22:28 +00:00
cbcd8ee263 Remove support for custom overscroll background
Mac was the only platform to do this, and more recent versions
of the OS do not support it anymore. Callers to these functions
have been removed from the Blink side.

BUG=248742

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

Cr-Commit-Position: refs/heads/master@{#312529}
2015-01-22 02:21:02 +00:00
17363ead10 Pass keyschange event to blink
Take the set of KeyInformation and pass it on to blink.
Layout tests will be updated to verify this event in a subsequent CL.

BUG=432671
TEST=existing EME tests pass

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

Cr-Commit-Position: refs/heads/master@{#312528}
2015-01-22 02:17:29 +00:00