- 15 Dec, 2017 28 commits
-
-
Sergey Ulanov authored
CadenceBasedTest was running the same tests for 336 combinations of frame rate and display rate values. Replaced it with a TEST_P-based test, so it's executed as multiple small tests which don't timeout even in debug mode. Bug: 767166 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I7b9c2140cfa515c57360064fa1ebccc607bec0a8 Reviewed-on: https://chromium-review.googlesource.com/828050 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#524263}
-
Pavol Marko authored
Enable the X509Certificate printable_string_is_utf8 hack for: - ClientCertResolver: Parses client certificates to match Issuer/Subject patterns - enterprise.platformKeys.getCertificates API: Parses client certificates to get DER representation. BUG=788655 TEST=chromeos_unittests --gtest_filter=ClientCertResolverTest.* Change-Id: Iea02c525ed91017ccd1957da2ea0e28597c1bd9f Reviewed-on: https://chromium-review.googlesource.com/823974 Commit-Queue: Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Matt Mueller <mattm@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#524262}
-
Robert Liao authored
This reverts commit 231de835. Reason for revert: This change seems to break per-build bisects on Windows. Command run: python bisect_builds.py -o -a win64 -g 64.0.3282.24 -b 65.0.3294.0 -p S:\src\bisect\profile --use-local-cache Result: You are probably looking for a change made after 522661 (known good), but no later than 522662 (first known bad). CHANGELOG URL: The script might not always return single CL as suspect as some perf builds might get missing due to failure. https://chromium.googlesource.com/chromium/src/+log/bf8135d0bce64496b872062a07b427ddff825ec5..231de835ae50977881282c8c7fbbc2a93388d4b6 Original change's description: > gin: Set V8 context snapshot as a default snapshot > > Thanks to the change in V8 to make external reference table optional, > we can always use v8_context_snapshot.bin on platforms where it is > avaiable. > > This CL sets the file as the default snapshot blob, and removes > setting snapshot in Isolate::CreateParam. > > > Bug: 764576, 789964 > Change-Id: I16654eef810efcd0103e9a29659f4616c61f790b > Reviewed-on: https://chromium-review.googlesource.com/802654 > Commit-Queue: Hitoshi Yoshida <peria@chromium.org> > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> > Reviewed-by: Kentaro Hara <haraken@chromium.org> > Cr-Commit-Position: refs/heads/master@{#522662} TBR=peria@chromium.org,rmcilroy@chromium.org,haraken@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 764576, 789964 Change-Id: Ibe8ddd99b86fd00c2c2586645350401896c49084 Reviewed-on: https://chromium-review.googlesource.com/827705 Commit-Queue: Robert Liao <robliao@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Cr-Commit-Position: refs/heads/master@{#524261}
-
James Cook authored
Confusion about when to use Binding<> vs. BindingSet<> can cause an attempt to bind to an interface that is already bound. There is an existing DCHECK for this -- just add some docs to make that more clear. Bug: 794581 Change-Id: I14194770190e90e80403c027a65e7820949331f8 Reviewed-on: https://chromium-review.googlesource.com/827903 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#524260}
-
Dominik Laskowski authored
This CL enforces that the target surface for touch events is always the root surface for ClientControlledShellSurface. ARC currently disables input for all sub-surfaces such that the target surface is always the root surface. Newer clients will use a surface hierarchy consistent with upstream Wayland, so focus will move between different surfaces. This CL prevents touch events from being discarded when capture changes during dragging/resizing, as a stopgap until server-driven dragging/resizing is implemented. Bug: b:67384524 Test: Input still works in ARC. Change-Id: I3b419ec14cc04432b5b92618ed45df441da0d8eb Reviewed-on: https://chromium-review.googlesource.com/812980 Commit-Queue: Dominik Laskowski <domlaskowski@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Cr-Commit-Position: refs/heads/master@{#524259}
-
Reilly Grant authored
This patch changes //device/usb to use base::RefCountedBytes instead of net::IOBuffer and net::IOBufferWithSize. This has a couple advantages: 1) base::RefCountedBytes always has a size which means in a follow-up patch we can stop passing separate length parameters. 2) base::RefCountedBytes is convertable to and from an std::vector<uint8_t> which reduces the mismatch between the C++ and Mojo interfaces. 3) base::RefCountedBytes holds unsigned data which is more correct for managing buffers (operations on signed values lead to bugs). This patch makes as few changes as possible to effect this conversion. Follow-up patches will take more advantage of the above to further simplify the code. Change-Id: I18dd0a68973c0bf82a7e4c3d0a2b7c2af1d284d7 Reviewed-on: https://chromium-review.googlesource.com/786680Reviewed-by:
Lei Zhang <thestig@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#524258}
-
Andrey Lushnikov authored
BUG=638618 TBR=dgozman Change-Id: Icf84acbb89baa2a93f1687dd88256add80a892b1 Reviewed-on: https://chromium-review.googlesource.com/827539Reviewed-by:
Andrey Lushnikov <lushnikov@chromium.org> Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#524257}
-
Biao She authored
This CL adds the following: 1. Add support for fixed height single line text. This is useful when we want to replace SimpleTexture which resize veritically with Text and Rect. 2. Removed texture size parameter from ctor. The backing texture size is now calculated based on text size. 3. Use a const pixel per meter to make sure that text has consisent resolution. Bug: NONE Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I0714ec86dd87bb7fb1402830ba6ff8523ec85b6c Reviewed-on: https://chromium-review.googlesource.com/827033 Commit-Queue: Biao She <bshe@chromium.org> Reviewed-by:
Ian Vollick <vollick@chromium.org> Reviewed-by:
Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#524256}
-
file://<hostLukasz Anforowicz authored
The site URL is used in browser-side isolation enforcements and compared against the origin requested by the renderer (e.g. when a renderer tries to open localStorage for an origin, or [in the future - https://crrev.com/c/769647] when a renderer wants to commit a navigation with a specific origin). Before this CL, browser-side isolation enforcement code would calculate site URL for file: URLs as follows: 1. file:///home/lukasza/file.txt => site url = file: 2. file://localhost/home/lukasza/file.txt => site url = file://localhost/ Behavior before this CL was problematic, because the origin requested by the renderer is the same in both cases above - this means that the requested origin doesn't match the site URL in the 2nd case (and this leads to renderer kills, like the one observed in https://crbug.com/776160). This CL changes how site URL is calculated by the browser process. After the change, the same site URL (file:) is used for both the cases outlined above. Because of this change, the browser-side and renderer-side notion of the origin is kept in sync (and we avoid renderer kills). Bug: 776160 Change-Id: I99ce397fede346b2278f053e0fa01e8e314741e2 Reviewed-on: https://chromium-review.googlesource.com/827550 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#524255}
-
Lei Zhang authored
Also fix some nits and use ASSERT_EQ() where appropriate. Change-Id: I7c0686c77c3ad3937af19328adbdd7e21a76e6f0 Reviewed-on: https://chromium-review.googlesource.com/827904Reviewed-by:
Reilly Grant <reillyg@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#524254}
-
catapult-deps-roller@chromium.org authored
https://chromium.googlesource.com/catapult.git/+log/928fcfa65b78..941f6397f9e2 $ git log 928fcfa65..941f6397f --date=short --no-merges --format='%ad %ae %s' 2017-12-11 rnephew [Telemetry/TADA] Add support for wildcard disabling of benchmark using expectations parser. Created with: roll-dep src/third_party/catapult The AutoRoll server is located here: https://catapult-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=sullivan@chromium.org Change-Id: I5daa6ef78e21a354b54706eb4f83be4fad27d669 Reviewed-on: https://chromium-review.googlesource.com/828141 Reviewed-by: <catapult-deps-roller@chromium.org> Commit-Queue: <catapult-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#524253}
-
Dave Schuyler authored
This CL makes the cookie name part of the expand button so that clicking on it will expand/collapse the local data. Bug: 752821 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Id81f16c3ecd435c4e99e4ccd9a6cfacf0cf81ef8 Reviewed-on: https://chromium-review.googlesource.com/820651Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Dave Schuyler <dschuyler@chromium.org> Cr-Commit-Position: refs/heads/master@{#524252}
-
Kush Sinha authored
unit_tests --gtest_filter="SecondaryGoogleAccountSigninPolicyHandlerTest*" and components_unittests --gtest_filter="SigninHeaderHelperTest*". In addition to these, manual testing on Public Sessions, Guest Sessions and Multi-Sign in mode. Bug: 784760 Change-Id: I037cbcde5cd776b1b5a57b4788ea6fe3fd27ad74 Test: browser_tests --gtest_filter="PolicyPrefsTest.PolicyToPrefsMapping*", Reviewed-on: https://chromium-review.googlesource.com/797590Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Mihai Sardarescu <msarda@chromium.org> Reviewed-by:
Pavol Marko <pmarko@chromium.org> Commit-Queue: Kush Sinha <sinhak@chromium.org> Cr-Commit-Position: refs/heads/master@{#524251}
-
Joel Einbinder authored
Bug: 778043 Change-Id: If62821bbd2140fc66af9985c11e98569d3b62ecc Reviewed-on: https://chromium-review.googlesource.com/773780 Commit-Queue: Joel Einbinder <einbinder@chromium.org> Reviewed-by:
Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by:
Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#524250}
-
Rune Lillesveen authored
For certain "unusual" html elements, display:contents behaves as display:none [1]. Frame and frameset always create layout objects, also when inserted into a body with appendChild (the parser will discard them). This is also the case for Gecko. I decided not to touch those even though the CSS Display spec mentions them. Similarly, there is no test for the applet element which is no longer supported in Blink, so there is no test for it and it behaves like any other unknown element supporting display:contents. [1] https://drafts.csswg.org/css-display/#unbox-html Bug: 794498 Change-Id: I7ce6f70efff563b6ff770f7c536c9144210ad0be Reviewed-on: https://chromium-review.googlesource.com/827069Reviewed-by:
meade_UTC10 <meade@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#524249}
-
Jay Civelli authored
Changing from base::Bind to base::BindOnce/Repeating in the PdfToEmfConverter class. Bug: 766451 Change-Id: I8e319028f1610a1a0e40cc20af642afa711b25ee Reviewed-on: https://chromium-review.googlesource.com/826319Reviewed-by:
Lei Zhang <thestig@chromium.org> Commit-Queue: Jay Civelli <jcivelli@chromium.org> Cr-Commit-Position: refs/heads/master@{#524248}
-
Daniel Park authored
Creates new trial name for happiness survey Old field was TRIAL_NAME = "ChromeHome" New fields are CHROME_HOME_TRIAL_NAME = "ChromeHome" HAPPINESS_SURVEY_TRIAL_NAME = "ChromeHomeHappinessSurvey" Bug: 795094 Change-Id: Ie891ae29d256fb09d61d5377e8945cce39e9c1ed Reviewed-on: https://chromium-review.googlesource.com/827707Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Daniel Park <danielpark@chromium.org> Cr-Commit-Position: refs/heads/master@{#524247}
-
Lukasz Anforowicz authored
This helps avoid using |class WebView*| syntax to disambiguate between referring to the WebView class or to the WebViewHelper's accessor method. See also the "New Blink Style Guide" at https://goo.gl/s2FC7t which says "use bare words for getters", but then adds "Where a getter's name collides with a type name, prefix it with "Get". Bug: 718489 Change-Id: Ia3ace60b727d6de28e77c77690ddc561fa9b03d6 Tbr: pfeldman@chromium.org Reviewed-on: https://chromium-review.googlesource.com/773103 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#524246}
-
Devlin Cronin authored
Comment out Extension::ENABLED_COMPONENT_DEPRECATED to ensure it will not be used. Also add explicit numbers for the rest of the states to ensure they are not changed (since they are persisted on disk). Bug: 794205 Change-Id: I1abaae6190a4e828dfe4768481c611e3ad68ebcd Reviewed-on: https://chromium-review.googlesource.com/826686Reviewed-by:
Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#524245}
-
Andrey Lushnikov authored
The test was adding observer too late. TBR=dgozman BUG=700374 Change-Id: Ibbe66b9fa8234142aca0ddeef6dbd8c78fc358cb Reviewed-on: https://chromium-review.googlesource.com/828142Reviewed-by:
Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#524244}
-
Ted Choc authored
chrome/test/android/javatests/src/org/chromium/chrome/test/TestContentProvider.java:112: warning: [SynchronizeOnNonFinalField] Synchronizing on non-final fields is not safe: if the field is ever updated, different threads may end up locking on different objects. synchronized (mLock) { BUG= Change-Id: Ic11db41809d951fbebfbafd76757833a4f297ebe Reviewed-on: https://chromium-review.googlesource.com/827535Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#524243}
-
kylechar authored
Both the GPU and compositor threads can make Xlib calls and XInitThreads() must be called in this situation. Change GPU process to always call XInitThreads() during startup. GLSurfaceGLX will still call XInitThreads() on startup because some test paths need it. XInitThreads() will return immediately for subsequent calls so this should be safe. Bug: 730660 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I0f3b44d7ac1a0e6c9e711de6d457634435add101 Reviewed-on: https://chromium-review.googlesource.com/818054 Commit-Queue: kylechar <kylechar@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#524242}
-
depot-tools-roller@chromium.org authored
https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/6e5d5a6a7c91..760ef9c24a40 $ git log 6e5d5a6a7..760ef9c24 --date=short --no-merges --format='%ad %ae %s' 2017-12-14 jchinlee Rename trigger file. Created with: roll-dep src/third_party/depot_tools The AutoRoll server is located here: https://depot-tools-chromium-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. TBR=phajdan.jr@chromium.org Change-Id: I9c717271ed100d8863b7f0e4a879ab7d57e83c47 Reviewed-on: https://chromium-review.googlesource.com/828046Reviewed-by:
depot-tools-roller . <depot-tools-roller@chromium.org> Commit-Queue: depot-tools-roller . <depot-tools-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#524241}
-
skia-deps-roller@chromium.org authored
https://skia.googlesource.com/skia.git/+log/f53e6c912dd4..f6e6be2da12a $ git log f53e6c912..f6e6be2da --date=short --no-merges --format='%ad %ae %s' 2017-12-14 angle-deps-roller Roll skia/third_party/externals/angle2/ f15f9cec3..f414121d4 (2 commits) 2017-12-14 reed fix pdf_none 2017-12-14 reed Moving extra options/parameters into PDFMetadata 2017-12-14 mtklein Don't pass a stack address as a pipeline context pointer. 2017-12-14 brianosman Explicitly don't initialize matrix to fix deprecation warning 2017-12-14 benjaminwagner Add cert dimension for Mac Builders. Created with: roll-dep src/third_party/skia The AutoRoll server is located here: https://autoroll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel TBR=liyuqian@chromium.org Change-Id: I14bdc32a2ba9d956b7d9322204daa0c2f7154660 Reviewed-on: https://chromium-review.googlesource.com/828052Reviewed-by:
Skia Deps Roller <skia-deps-roller@chromium.org> Commit-Queue: Skia Deps Roller <skia-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#524240}
-
pdfium-deps-roller@chromium.org authored
https://pdfium.googlesource.com/pdfium.git/+log/df4f30eaaa46..d92073b75627 $ git log df4f30eaa..d92073b75 --date=short --no-merges --format='%ad %ae %s' 2017-12-14 hnakashima Add restrictions to alternate color spaces. 2017-12-14 dsinclair Fold CXFA_ParaData into CXFA_Para 2017-12-14 dsinclair Add type information to CJX_Object::GetProperty Created with: roll-dep src/third_party/pdfium The AutoRoll server is located here: https://pdfium-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. TBR=dsinclair@chromium.org Change-Id: I6487e39ffd488bfdeb264a9ef44d63df9e229045 Reviewed-on: https://chromium-review.googlesource.com/827983 Reviewed-by: <pdfium-deps-roller@chromium.org> Commit-Queue: <pdfium-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#524239}
-
Vadym Doroshenko authored
On https://chromium-review.googlesource.com/c/chromium/src/+/823238 sending formActivity and submit messages from same-origin iframes was implemented. Listeners might not support properly processing messages from iframes. This CL implements passing is_main_frame to listeners and disabling processing when listeners don't support iframe messages (namely for Autofill processing of both messages disabled, for PasswordManager submit message). Processing of submit message from iframes in Password Manager will be implemented in the following CL. Bug: 554927 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I0db855b21c4b3861b907b0fc71deb6d0d2b0a99c Reviewed-on: https://chromium-review.googlesource.com/826476 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:
Sebastien Seguin-Gagnon <sebsg@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#524238}
-
Gregory Chatzinoff authored
Remove NotificationPromo Pref migration code since it has been a year and a half since the pref structure changed. Bug: 623726 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ica658ed7f0ce23162c5a81fb2afbd0e8428d4977 Reviewed-on: https://chromium-review.googlesource.com/823612Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Commit-Queue: Gregory Chatzinoff <gchatz@chromium.org> Cr-Commit-Position: refs/heads/master@{#524237}
-
Ryan Hamilton authored
in QuicNetworkTransactionTest to add expectations of which service is broken and to remove some hardcoded hostnames. Change-Id: I639dff987f913d4f4fbe28d18899d844e10a97f9 Reviewed-on: https://chromium-review.googlesource.com/825643 Commit-Queue: Ryan Hamilton <rch@chromium.org> Reviewed-by:
Buck Krasic <ckrasic@chromium.org> Cr-Commit-Position: refs/heads/master@{#524236}
-
- 14 Dec, 2017 12 commits
-
-
Ahmed Fakhry authored
The MD Feedback app was killed and all related code was removed except those strings. BUG=none Change-Id: I321085aa99a5d2e9a9c48174231019eb18f069f9 Reviewed-on: https://chromium-review.googlesource.com/826470Reviewed-by:
apacible <apacible@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#524235}
-
Jared Saul authored
Make the following changes: * Remove AutofillUpstreamShowGoogleLogo and AutofillUpstreamShowNewUi. The code has been updated to make those default. * Add Mac to AutofillUpstreamRequestCvcIfMissing in preparation of the M64 launch. * Add config for AutofillUpstreamSendDetectedValues and AutofillUpstreamSendPanFirstSix, part of the Upstream Partial Data Project targeting M65. Bug: 736944, 789645, 793490 Change-Id: If6888d203dbceb3dcba8d38184244375c9cb110a Reviewed-on: https://chromium-review.googlesource.com/827631Reviewed-by:
Mark Pearson <mpearson@chromium.org> Commit-Queue: Jared Saul <jsaul@google.com> Cr-Commit-Position: refs/heads/master@{#524234}
-
Greg Kerr authored
This sandboxes utility processes with the V2 sandbox on macOS. Bug: 689306 Change-Id: Ie7cca11834f060a4c0f59862f68de95c79893288 Reviewed-on: https://chromium-review.googlesource.com/817515Reviewed-by:
Robert Sesek <rsesek@chromium.org> Reviewed-by:
Nasko Oskov <nasko@chromium.org> Commit-Queue: Greg Kerr <kerrnel@chromium.org> Cr-Commit-Position: refs/heads/master@{#524233}
-
Jian Li authored
Bug: 758690 Change-Id: I8bb4283fc40a87fa7a87df2c7e513e2e16903290 Reviewed-on: https://chromium-review.googlesource.com/828049Reviewed-by:
Filip Gorski <fgorski@chromium.org> Commit-Queue: Jian Li <jianli@chromium.org> Cr-Commit-Position: refs/heads/master@{#524232}
-
Doug Arnett authored
This is plumbing preparation for estimating data savings for the NoScript preview (determined when page load finished event occurs). Bug: 781885 Change-Id: I145b9d270327c757ea1fbfbc44aa5932822c592e Reviewed-on: https://chromium-review.googlesource.com/820891 Commit-Queue: Doug Arnett <dougarnett@chromium.org> Reviewed-by:
rajendrant <rajendrant@chromium.org> Cr-Commit-Position: refs/heads/master@{#524231}
-
Reilly Grant authored
This patch changes //services/device/hid to use base::RefCountedBytes instead of net::IOBuffer and net::IOBufferWithSize. This has a couple advantages: 1) base::RefCountedBytes always has a size which means in a follow-up patch we can stop passing separate length parameters. 2) base::RefCountedBytes is convertable to and from an std::vector<uint8_t> which reduces the mismatch between the C++ and Mojo interfaces. 3) base::RefCountedBytes holds unsigned data which is more correct for managing buffers (operations on signed values lead to bugs). This patch makes as few changes as possible to effect this conversion. Follow-up patches will take more advantage of the above to further simplify the code. Change-Id: I290b0415f74c0551f52bd59120a3c6012315681d Reviewed-on: https://chromium-review.googlesource.com/798018 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:
Jun Cai <juncai@chromium.org> Cr-Commit-Position: refs/heads/master@{#524230}
-
Shivani Sharma authored
There is a combination of simultaneous transactions for an entry, namely a READ transaction followed by a READ-WRITE transaction that was violating the mutual exclusiveness of Readers and Writers. This violation was happening even less frequently because the second transaction being READ-WRITE can only happen for a range request. This CL fixes the issue. HttpCache.RangeGET_DoNotCreateWritersWhenReaderExists TEST: net_unittests --gtest_filter= Bug: 792818 Change-Id: I3a98fb8de2cd521210077e4baf9460fe91232eec Reviewed-on: https://chromium-review.googlesource.com/825802Reviewed-by:
Randy Smith <rdsmith@chromium.org> Commit-Queue: Shivani Sharma <shivanisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#524229}
-
Peter Collingbourne authored
These targets no longer directly depend on OpenGL symbols. These days, the dependency on ANGLE (and SwiftShader) is achieved via a data dependency from //ui/gl:gl. This change is necessary in order to prevent the ANGLE libraries from being loaded into a process as a result of a hard link-time dependency, resulting in failures in the SwiftShader library. Normally, the lack of a direct dependency on any of the symbols defined by ANGLE prevents a link-time dependency from being created. But when ubsan is enabled, it causes additional runtime library symbols to be exported from each DLL. If one of those symbols is used in the main executable as a result of ubsan instrumentation, it can create a link-time dependency on an arbitrarily chosen (as a result of link order) DLL, which could happen to be one of the ANGLE libraries. This will cause the following to happen: - The program loads SwiftShader libEGL.dll using the code in ui/gl/init/gl_initializer_win.cc. - SwiftShader libEGL.dll tries to find SwiftShader libGLESv2.dll by calling GetModuleHandleEx [1], but it ends up finding ANGLE libGLESv2.dll because it was loaded first. - SwiftShader tries to find the symbol libGLESv2_swiftshader in that DLL [2], but fails because the symbol is not exported from ANGLE libGLESv2.dll. - All subsequent OpenGL calls fail. [1] https://cs.chromium.org/chromium/src/third_party/swiftshader/src/Common/SharedLibrary.hpp?l=74 [2] https://cs.chromium.org/chromium/src/third_party/swiftshader/src/OpenGL/libGLESv2/libGLESv2.hpp?l=313 Bug: 507755 Change-Id: I67b75bb6eba062e82744268a551e2744afb6cbb8 Reviewed-on: https://chromium-review.googlesource.com/826544Reviewed-by:
Antoine Labour <piman@chromium.org> Commit-Queue: Peter Collingbourne <pcc@chromium.org> Cr-Commit-Position: refs/heads/master@{#524228}
-
Tim Brown authored
Use of gconf has been removed, and we depend on gsettings (in libgio) instead of dconf directly. Bug: 768027 Change-Id: Iec222f01577d3ffe10ee4a31345030d765eaefb4 Reviewed-on: https://chromium-review.googlesource.com/827921Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Tim Brown <timbrown@chromium.org> Cr-Commit-Position: refs/heads/master@{#524227}
-
Yuly Novikov authored
When use_static_angle is set BUG=726002 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I4d716a48002f03af29a0280cd9207460e470143d Reviewed-on: https://chromium-review.googlesource.com/822952Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#524226}
-
Yuri Wiitala authored
In preparation for the newer capture impl, content::CursorRenderer and content::WindowActivityTracker have been merged into a single CursorRenderer class that monitors platform views for mouse activity. The client interface for CursorRenderer has been simplified, with added support for: a) Changing the view being monitored without having to re- instantiate a new CursorRenderer; b) Rendering the mouse cursor on the VideoFrame from any thread (to avoid unnecessary hops to the UI thread); and c) A callback to notify when the mouse cursor in the video needs to be updated. As a result of this refactoring, a few minor behavioral bugs were fixed. Now, for tab capture, the mouse cursor should hide after 2 seconds of no movement; as was intended. TBR=nick@chromium.org Bug: 754872 Change-Id: Iaab12fbd397d9034d9044e39c19a45f0cc88e9cf Reviewed-on: https://chromium-review.googlesource.com/818730 Commit-Queue: Yuri Wiitala <miu@chromium.org> Reviewed-by:
Xiangjun Zhang <xjz@chromium.org> Cr-Commit-Position: refs/heads/master@{#524225}
-
Christopher Cameron authored
The motivation for this change is a difference in behavior between macOS and other platforms. On non-macOS platforms, once the output surface has been created, calling SwapBuffers on the output surface will cause content to appear in the window created in the browser process. On macOS, SwapBuffers generates parameters that then must be sent back to the browser process (more generally, wherever the NSWindow lives), in order for the content to be displayed on-screen. These parameters are stored in the CALayerParams structure. They are consumed by the ui::CALayerFrameSink interface (which, given a gfx::AcceleratedWidget and CALayerParams, will show the described content in the specified gfx::AcceleratedWidget). Prior to this change, content::GpuOutputSurfaceMac would reach directly over to ui::CALayerFrameSink. This doesn't work in viz, because the viz equivalent (viz::GLOutputSurfaceMac) lives in the GPU process. This change plumbs these CALayerParams back to the browser process, via a new priviledged DisplayPrivateClient interface. Note that creating a new DisplayPrivateClient interface is chosen over repurposing the existing CompositorFrameSinkClient interface because CompositorFrameSinkClient is not specific to an output display. The feedback from the new DisplayPrivateClient will also be used in MacViews in the future to ensure that NSWindows are not placed on-screen until they have content available. A stub DisplayPrivateClient is used by ui::ws::VisHostProxy, which will need to be fleshed out for mus on macOS. The DisplayPrivateClient for DirectLayerTreeFrameSink is left as nullptr on Android (and other locations) for now. This interface should be made non-optional in the future. R=sadrul,tsepez,fsamuel TBR=avi (content/) Bug: 772576 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Id5e873cf18ef17e86dc26fd61e17705e94274015 Reviewed-on: https://chromium-review.googlesource.com/820630 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:
Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/master@{#524224}
-