- 04 Jul, 2018 40 commits
-
-
Sharon Yang authored
Replace an enum with an enum class, as preferred. Change-Id: I657373e7a4f0d245a930341db7feff27a2f8fda5 Reviewed-on: https://chromium-review.googlesource.com/1118552Reviewed-by:
Yoshiki Iguchi <yoshiki@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Commit-Queue: Sharon Yang <yangsharon@google.com> Cr-Commit-Position: refs/heads/master@{#572573}
-
Majid Valipour authored
Previously we would allow worklet to access and act on all of worklet inputs. This is bad since it can leak information between different animation worklet global scopes. Summary of the fix: - Introduce WorkletAnimationId which can uniquely identify both the worklet and animation. - Give each worklet animation its own Id generated using its underlying worklet's scope. - Plumb this new Id to cc. - AnimationHost produces input state which is bucketed per scope. - CompositorMutatorImpl only passes to each compositor animator the input. bucket that matches that compositor animator's scope Id. - For additional safety added DCHECK to verify that each scope is receiving only its own input. TEST: compositor_mutator_impl_test.cc Bug: 857479 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ib4b8f610ef661bdbf09c4c0252a2b9c4ba04db16 Reviewed-on: https://chromium-review.googlesource.com/1120436Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Commit-Queue: Majid Valipour <majidvp@chromium.org> Cr-Commit-Position: refs/heads/master@{#572572}
-
Olivier Li authored
Bug: 830892 Change-Id: Ib5d41a5b1a70f4f26752d97096437f489d2fe239 Reviewed-on: https://chromium-review.googlesource.com/1126168Reviewed-by:
Joe Mason <joenotcharles@chromium.org> Commit-Queue: Oliver Li <olivierli@chromium.org> Cr-Commit-Position: refs/heads/master@{#572571}
-
Mikel Astiz authored
This reverts commit e6aa52bf. Reason for revert: recent patches fix a related problem, in 23919ce6. We haven't been able to confirm the fix being effective for the flakes observed in bots because they no longer repro locally, but it is definitely related so let's reenable the tests and monitor flakes. Original change's description: > Reland "[iOS] Disabling flaky sync tests" > > This reverts commit 661767b9. > > Reason for revert: tests still flaky. > > Original change's description: > > Revert "[iOS] Disabling flaky sync tests" > > > > This reverts commit fb745f66. > > > > Reason for revert: underlying issue no longer reproduces on > > other platforms after recent improvements, so optimistically > > assuming it was also fixed for iOS. > > > > Original change's description: > > > [iOS] Disabling flaky sync tests > > > > > > Disabling EarlGrey tests from SigninInteractionControllerTestCase: > > > + testSignInSwitchAccountsAndKeepDataSeparate > > > + testSignInSwitchAccountsAndImportData > > > + testSignInSwitchManagedAccount > > > > > > Those tests seem to trigger an issue in the sync code when doing enable > > > disable enable too fast. > > > > > > Bug: 854446 > > > Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet > > > Change-Id: I76d10d272297e91650dbe91ef7acee500eac6c75 > > > Reviewed-on: https://chromium-review.googlesource.com/1107881 > > > Reviewed-by: Justin Cohen <justincohen@chromium.org> > > > Commit-Queue: Jérôme Lebel <jlebel@chromium.org> > > > Cr-Commit-Position: refs/heads/master@{#568843} > > > > TBR=justincohen@chromium.org,jlebel@chromium.org > > > > # Not skipping CQ checks because original CL landed > 1 day ago. > > > > Bug: 854446 > > Change-Id: Ic809289ce4662d099250668d6f23100e52de9587 > > Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet > > Reviewed-on: https://chromium-review.googlesource.com/1114719 > > Reviewed-by: Mikel Astiz <mastiz@chromium.org> > > Commit-Queue: Mikel Astiz <mastiz@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#570374} > > TBR=justincohen@chromium.org,jlebel@chromium.org,mastiz@chromium.org > > # Not skipping CQ checks because original CL landed > 1 day ago. > > Bug: 854446 > Change-Id: I2a0a2e9d60988783fca93ef8313594d57b7ab906 > Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet > Reviewed-on: https://chromium-review.googlesource.com/1117578 > Reviewed-by: Mikel Astiz <mastiz@chromium.org> > Commit-Queue: Mikel Astiz <mastiz@chromium.org> > Cr-Commit-Position: refs/heads/master@{#570888} TBR=justincohen@chromium.org,jlebel@chromium.org,mastiz@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 854446 Change-Id: I5874890bed60c173c35e49fe86933a06bd214120 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Reviewed-on: https://chromium-review.googlesource.com/1126260Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#572570}
-
Marcin Wiacek authored
Change-Id: Ife219da64894fd0d0ff0d299261a498b6f5eba76 Reviewed-on: https://chromium-review.googlesource.com/1125068 Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#572569}
-
Marcin Wiacek authored
Change-Id: Ic86d4993e9557bbdee628fe37c9631185acde28b Reviewed-on: https://chromium-review.googlesource.com/1125065 Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#572568}
-
Greg Kraynov authored
Removal of unnecessary includes and narrowing down DEPS come next. Bug: 783309 Change-Id: If413b3d2d64e5a9ad71d613c18fc94fa9fb4988e Reviewed-on: https://chromium-review.googlesource.com/1125852Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Commit-Queue: Greg Kraynov <kraynov@chromium.org> Cr-Commit-Position: refs/heads/master@{#572567}
-
sangwoo.ko authored
When removing tabs with mouse button, we'd like to know the next active tab so that we can tailor available_width_for_tabs_. But as PrepareForCloseAt() is called before the next tab is decided, we don't know that. So move this logic to RemoveTabAt() where we know it. And move other logic in PrepareCloseTabAt() is moved to CloseTab(), which triggered PrepareForCloseAt() via TabStripController::CloseTab(). As TabStripController::CloseTab() was invoked only by TabStrip::CloseTab(), it's okay to move them to TabStrip::CloseTab(). Bug: 856289 Change-Id: I5eb7036da4214e92a218f20e8c09891ab9a11955 Reviewed-on: https://chromium-review.googlesource.com/1119616 Commit-Queue: Sang Woo Ko <sangwoo108@chromium.org> Reviewed-by:
Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#572566}
-
Rayan Kanso authored
Done using the "Edit in Gerrit" option in codesearch Change-Id: I3a04b97abfcd67fb5d4a3eaa93f289341cb22f23 Reviewed-on: https://chromium-review.googlesource.com/1126142 Commit-Queue: Rayan Kanso <rayankans@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#572565}
-
Mihai Sardarescu authored
This CL adds the consent API that allows the various browser services to check whether the user has consented for personalized URL-keyed data collection (data collection that is keyed by URL and by Google account id). As defined in the PRD, this decision is based on the sync state: * If the Unified consent feature is disabled, then we consider that the user has granted consent for personalized URL-keyed data collection iff sync history is enabled. * If the Unified consent feature is enabled, then we consider that the user has granted consent for personalized URL-keyed data collection iff sync user events is enabled (aka event logger is enabled). BUG: 823809 Change-Id: Idf619b96010064020f36efbd90d54b720b45deec Reviewed-on: https://chromium-review.googlesource.com/1123827 Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Reviewed-by:
Thomas Tangl <tangltom@chromium.org> Cr-Commit-Position: refs/heads/master@{#572564}
-
Chromium WPT Sync authored
Using wpt-import in Chromium db30d751. Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/20769 Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md TBR=markdittmer No-Export: true Change-Id: I5fbf971594c4bdf3e0c3801c84b156adf5508ea0 Reviewed-on: https://chromium-review.googlesource.com/1126019 Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> Reviewed-by:
Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> Cr-Commit-Position: refs/heads/master@{#572563}
-
Marcin Wiacek authored
Change-Id: I9a3a58b3ee2207816ac0f2f96fa21e464d1da866 Reviewed-on: https://chromium-review.googlesource.com/1125066 Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#572562}
-
Reza.Zakerinasab authored
fast/canvas/color-space/canvas-colorManaged-convertToBlob-roundtrip.html virtual/gpu/fast/canvas/color-space/canvas-colorManaged-convertToBlob-roundtrip.html They flakily time out. TBR=fserb NOTRY=true Bug: 851746 Change-Id: Ib32001de56c74350a016e124fb5fa7e8906b5b04 Reviewed-on: https://chromium-review.googlesource.com/1126202Reviewed-by:
Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Cr-Commit-Position: refs/heads/master@{#572561}
-
Fredrik Söderquist authored
Avoids run-tripping TimeDelta -> double -> TimeDelta. Bug: 856082 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: If4a6a0626be6341770ef01d368fc8a1ddf00de31 Reviewed-on: https://chromium-review.googlesource.com/1126115Reviewed-by:
Daniel Bratell <bratell@opera.com> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#572560}
-
Roger Tawa authored
Bug: 859978 Change-Id: Ida88834a11f6b6aec2558e419d23abeabff529b6 Reviewed-on: https://chromium-review.googlesource.com/1125034Reviewed-by:
Julian Pastarmov <pastarmovj@chromium.org> Commit-Queue: Roger Tawa <rogerta@chromium.org> Cr-Commit-Position: refs/heads/master@{#572559}
-
Matthew Cary authored
This allows, for example, benchmarks in tools/perf/contrib to use subsets of the system health stories. Change-Id: I102722c6c4414e3d3921b288debd2db6a265c04d Reviewed-on: https://chromium-review.googlesource.com/1125843Reviewed-by:
Juan Antonio Navarro Pérez <perezju@chromium.org> Commit-Queue: Matthew Cary <mattcary@chromium.org> Cr-Commit-Position: refs/heads/master@{#572558}
-
vitaliii authored
Change-Id: I1a8ef527472d65b5f24b7357fe9ac6b153879d03 Reviewed-on: https://chromium-review.googlesource.com/1124848 Commit-Queue: vitaliii <vitaliii@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#572557}
-
Olivier Robin authored
Tbr: xunjieli@chromium.org Change-Id: I8376950bc4120bc8ed3397743fa343d7c849562e Reviewed-on: https://chromium-review.googlesource.com/1125924 Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Reviewed-by:
Eric Noyau <noyau@chromium.org> Cr-Commit-Position: refs/heads/master@{#572556}
-
Mikel Astiz authored
The process of stopping a datatype is asynchronous by nature, most prominently in USS where we want to take special care about sync metadata being cleared. Prior to this patch, ModelTypeController could silently drop stop events, which could lead to the DataTypeManager (effectively the UI) think a datatype is stopped, while in reality it could remain running. This is problematic in multiple ways, most importantly due to the risk of leaking sync metadata or even data. Instead, what we want is that calls to OnSyncStarting() always have a corresponding StopSync(), and guarantee that OnSyncStarting() is not called twice without a StopSync() call in between. In order to do that, ModelTypeController now enters state STOPPING if the Stop() cannot be immediately executed, because it's currently STARTING. Once the start is finalized, stop is immediately issued and the corresponding callback informed, which allows ModelAssociationManager to continue its job. Bug: 855375 Change-Id: I6e22940fcb56816c43181c34e04c4a6e53c70a21 Reviewed-on: https://chromium-review.googlesource.com/1122863 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#572555}
-
Bruno Kim Medeiros Cesar authored
We plan to remove this code in the next release, but for now we'll keep it behind a "live switch" so that we may re-enable in the server if necessary. Bug: 859097 Change-Id: I6c86e92de4b79c1a622a559b30840b9442f76716 Reviewed-on: https://chromium-review.googlesource.com/1122636 Commit-Queue: Bruno Kim Medeiros Cesar <brunokim@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#572554}
-
Moe Ahmadi authored
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Ib286e9a2bb2e3f4d06e0bc1ddb7ee3c5854f333f Reviewed-on: https://chromium-review.googlesource.com/1125290Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#572553}
-
Jan Krcal authored
This CL completes full functionality for the sync bridge for autofill_profile model type. The CL only converts applicable unit-tests from AutofillProfileSyncableServiceTest. Tests corresponding to ProfileSyncServiceAutofillTest will come in a later CL. Bug: 836718 Change-Id: I5cf596e117d74c85d2ac40a356b0beaab98e1a1f Reviewed-on: https://chromium-review.googlesource.com/1100762Reviewed-by:
Sebastien Seguin-Gagnon <sebsg@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Commit-Queue: Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#572552}
-
Tiger Oakes authored
Allows users to navigate the tree view using the keyboard. The navigation pattern follows the aria guide: https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html - Pressing enter/space will expand the tree node. - Pressing down navigates to the below tree node, up navigates to the above one. - Pressing right will open the tree node, or go to its first child. - Pressing left will close the tree node, or go to its parent. - Pressing home goes to the root node, end goes to the last node on screen. - Pressing a printable character (A-z, $, etc) will go to the node that starts with that character. https://notwoods.github.io/chrome-supersize-reports/monochrome-2018-06-28/ Bug: 847599 Change-Id: I421909090ffff8f99f7ea1e851c4417cb8b26b57 Reviewed-on: https://chromium-review.googlesource.com/1119119Reviewed-by:
Eric Stevenson <estevenson@chromium.org> Reviewed-by:
agrieve <agrieve@chromium.org> Commit-Queue: Tiger Oakes <tigero@google.com> Cr-Commit-Position: refs/heads/master@{#572551}
-
Stuart Langley authored
To enable useful formatting of the delta updates for the users default corpus and each team drive we move the data into a table. This table will have a row for the default corpus and then a row for each team drive. Bug: 849813 Cq-Include-Trybots: luci.chromium.try:closure_compilation Change-Id: I966917d845cd2fb239a53afe0b209a2832c6f582 Reviewed-on: https://chromium-review.googlesource.com/1124128Reviewed-by:
Sasha Morrissey <sashab@chromium.org> Commit-Queue: Stuart Langley <slangley@chromium.org> Cr-Commit-Position: refs/heads/master@{#572550}
-
Keishi Hattori authored
Schedules an kIncrementalV8FollowupGC instead of an PreciseGC when the HeapIncrementalMarking runtime flag is enabled. Bug: 757440 Change-Id: I1d05afcc69508592d1e5f411dea1a3afa950baca Reviewed-on: https://chromium-review.googlesource.com/1095200 Commit-Queue: Keishi Hattori <keishi@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#572549}
-
Pavol Marko authored
TBR=treib@chromium.org Bug: 860200 Change-Id: Id0a9b33a4dc185ab7834fbf0dbf478ae3d6e8d26 Reviewed-on: https://chromium-review.googlesource.com/1126101Reviewed-by:
Pavol Marko <pmarko@chromium.org> Commit-Queue: Pavol Marko <pmarko@chromium.org> Cr-Commit-Position: refs/heads/master@{#572548}
-
stkhapugin@chromium.org authored
Exits the preedit state upon appending a suggestion. Bug: 859011 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I65809145b1f846157b24e1cc0b74035f235f834f Reviewed-on: https://chromium-review.googlesource.com/1120025 Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/master@{#572547}
-
Marc-Antoine Ruel authored
This reverts commit 4e4521b8. Reason for revert: This broke the code search builder. Reverting since everyone in the US is OOO, so this wouldn't be fixed for at least two days. Bug: 860239 Original change's description: > Reland "Add luci-go tool to be fetched via CIPD" > > This is a reland of 3bcc71d8 > > Original change's description: > > Add luci-go tool to be fetched via CIPD > > > > Do not remove the adhoc mechanism on GCS that predates CIPD yet, as the recipes > > need to be updated. > > > > Change analyze to not ignore changes to isolate. > > > > R=tandrii@chromium.org > > > > Bug: 851596 > > Change-Id: Ic068db83dea4c3a0f17b55181de523b16c9838a5 > > Reviewed-on: https://chromium-review.googlesource.com/1097623 > > Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> > > Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> > > Reviewed-by: John Budorick <jbudorick@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#569688} > > Bug: 851596 > Change-Id: I27382d97370376dcca8110c9225c16dada182256 > Reviewed-on: https://chromium-review.googlesource.com/1125000 > Reviewed-by: John Budorick <jbudorick@chromium.org> > Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org> > Cr-Commit-Position: refs/heads/master@{#572435} TBR=maruel@chromium.org,tandrii@chromium.org,ehmaldonado@chromium.org,jbudorick@chromium.org Change-Id: Ia95f851c24fab175827fc2a7d5d1472713b909af No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 851596 Reviewed-on: https://chromium-review.googlesource.com/1125900Reviewed-by:
Marc-Antoine Ruel <maruel@chromium.org> Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org> Cr-Commit-Position: refs/heads/master@{#572546}
-
Ned Nguyen authored
After https://chromium.googlesource.com/catapult.git/+/484f9f764dc58973a0466e4bdf1bfd50c75165e2 fix to set the correct value of traffic settings (and makes each of them 1024X slower), many 3g tests are timed out after 166s. For now disabling all those tests. Future fix would probably replace these with better traffic settings like REGULAR_4G or Wifi. NOTRY=true TBR=kouhei@chromium.org, ksakamoto@chromium.org Bug: 859597 Change-Id: I311d598c5e7e83475a5558c5f53d4a9953559a9d Reviewed-on: https://chromium-review.googlesource.com/1126079Reviewed-by:
Ned Nguyen <nednguyen@google.com> Commit-Queue: Ned Nguyen <nednguyen@google.com> Cr-Commit-Position: refs/heads/master@{#572545}
-
Matt Falkenhagen authored
Most service workers will need CacheStoragePtr in a performance sensitive way. We discovered there is slowness using InterfaceProvider to get the ptr on first use after worker startup. Bug: 854905 Change-Id: Iefcd8910d1b8b6ba1cfcc4df79c213abde0f9e3a Reviewed-on: https://chromium-review.googlesource.com/1124130 Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Makoto Shimazu <shimazu@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#572544}
-
Javier Fernandez authored
Bug 751952 has been fixed a while ago, so I think we can remove the failure expectation for the forwardDelete.html test. Additionally, there are some comments in bug 698135 that indicate the crash is not reproducible anymore, which was the reason why there was a failure entry for the delete.html test. This CL removes the related entries in the TestExpectations file and provides a new expected file for the delete.html test. It keeps, though, a Failure entry for Mac only in the case of the delete.html, since there are clear interoperability issues with Mac for these use cases. BUG=698135 Change-Id: I973b84eb1ea19fa72ba4011001aa750b73e87b0c Reviewed-on: https://chromium-review.googlesource.com/1124461 Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Reviewed-by:
Manuel Rego Casasnovas <rego@igalia.com> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#572543}
-
vitaliii authored
Previously "Sync Everything" settings switch disabled user consents datatype. In this CL, the datatype is always enabled (like device info). Bug: 859825 Change-Id: I345465be97d8b2d95c503130bb2e1274a96f48e1 Reviewed-on: https://chromium-review.googlesource.com/1124330 Commit-Queue: vitaliii <vitaliii@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#572542}
-
Greg Kraynov authored
Move all the implementation except the test code (to be moved next). Bug: 783309 Change-Id: Ib79a1bf7e5cc5a5231dcba81b55d78285d5ececf Reviewed-on: https://chromium-review.googlesource.com/1122126 Commit-Queue: Greg Kraynov <kraynov@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Reviewed-by:
Alex Clarke <alexclarke@chromium.org> Cr-Commit-Position: refs/heads/master@{#572541}
-
Dominik Röttsches authored
Instead of Chromium IPC macro-defined messages or Mojo, Chrome on Linux uses hand-pickled IPC messages through a special purpose file descriptor to send messages from the renderer to the browser host in order to access FontConfig for font matching and font fallback. This system is described in docs/linux_sandbox_ipc.md. For the "Font Matching by Full Font Name / PS Name" effort, see issue 828317, additional out of process font methods are needed. Instead of adding them to this legacy hand-written IPC, we modernize the Linux Sandbox IPC mechanism and upgrade it to using Mojo interface definitions and a service architecture, in which a font service running in an unsandboxed utility process answers FontConfig requests from the renderer. Previous CLs [1], [2] prepared the Font Service to have testing and additional font fallback and render-style-for-strike methods. Now we can move Blink over to using this Mojo interface and remove the traditional sandbox IPC handlers since we do not use the file descriptor based IPC anymore for FontConfig acces. For more details, please refer to the design doc in issue 839344. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1091754 [2] https://chromium-review.googlesource.com/c/chromium/src/+/1087951 Bug: 855021 Change-Id: I0f30a726621026566f50402afed00c92940b702c Reviewed-on: https://chromium-review.googlesource.com/1109964 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Michael Giuffrida <michaelpg@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Reviewed-by:
Luke Halliwell <halliwell@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#572540}
-
Colin Blundell authored
Followup to https://chromium-review.googlesource.com/c/chromium/src/+/1124320. TBR=bsazonov@chromium.org Change-Id: I903bdb3ab076d2e5aec2c5748fd0f1d0c7fdec16 Reviewed-on: https://chromium-review.googlesource.com/1125853Reviewed-by:
Colin Blundell <blundell@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#572539}
-
Kent Tamura authored
script_state.h is used in 4,500+ compilation units, and this CL reduces its estimated pre-processed size from 2.13MB to 0.79MB. * Move |kV8ContextPerContextDataIndex| from v8_per_context_data.h to script_state.h. Also, it should not be an enum item. * Generated binding code doesn't include v8_per_context_data.h by default. So we need to include it if necessary. Bug: 242216 Change-Id: Icb219357585ccb55a8932131473fe0a9b3bc1484 Reviewed-on: https://chromium-review.googlesource.com/1125592Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#572538}
-
Henrik Boström authored
Normally they are created on the signaling thread and initialized in a PostTask to the main thread, so they are implicitly initialized if you don't do anything. This is still true. This CL introduced InitializeOnMainThread() which can be called explicitly, meaning you don't have to wait for the posted task to run. This is only relevant if the main thread is doing a blocking call to the webrtc signaling thread and obtains the adapter earlier than is possible with a PostTask. This needs to be doable when we have transceivers and remote tracks are created when you synchronously add tracks (addTrack, addStream, addTransceiver). Bug: 777617 Change-Id: I22400466acb925221dff1a6f4db4eeb333936b66 Reviewed-on: https://chromium-review.googlesource.com/1113756 Commit-Queue: Henrik Boström <hbos@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#572537}
-
Stefan Zager authored
BUG=832569 R=mstenshoe@chromium.org,eae@chromium.org Change-Id: I3405923d394b4d14a509ac28d84358ca6a58e846 Reviewed-on: https://chromium-review.googlesource.com/1125335 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#572536}
-
Olivier Robin authored
Bug: 860189 Tbr: eroman@chromium.org Change-Id: I3e5010f851cf1f502cdca42d1065b24b7ad61523 Reviewed-on: https://chromium-review.googlesource.com/1125803Reviewed-by:
Olivier Robin <olivierrobin@chromium.org> Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#572535}
-
Matt Falkenhagen authored
This is only called by ServiceWorkerVersion::StartInternal, which already assumes the context is alive (since it passes it to ServiceWorkerProviderHost which uses it). The motivation is removing the callback passed to Start. This is currently invoked in only two places: * When context_ was null (removed in this CL) * When a OnScriptEvaluated IPC is received from the renderer. The callback isn't invoked when startup failed before script evaluation, and in success cases it is invoked before startup finishes (OnStarted()). It can even be invoked with failure when startup succeeds, when an uncaught runtime error occurred during script evaluation. I aim to improve the code by first eliminating the callback then adding back one when the implementation is capable of calling it in a more sensible manner. Bug: 859912 Change-Id: I74643f1a64ef6a637ccd9db6bf1f9e889c814b3a Reviewed-on: https://chromium-review.googlesource.com/1124722 Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#572534}
-