- 02 May, 2017 40 commits
-
-
tsergeant authored
This completes one TODO (adding an error message to StoreClient), and removes another obsolete TODO. BUG=697706 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2858483002 Cr-Commit-Position: refs/heads/master@{#468574}
-
suzyh authored
Recently imported test external/wpt/media-source/mediasource-avtracks.html is occasionally failing instead of crashing on WebKit Mac 10.9, so expanding the test expectation to accommodate. BUG=626703 TBR=jochen@chromium.org Review-Url: https://codereview.chromium.org/2856823002 Cr-Commit-Position: refs/heads/master@{#468573}
-
nhiroki authored
This is split from https://codereview.chromium.org/2840523002/ Before this CL, PaintWorklet is tightly coupled with PaintWorkletGlobalScope, and that is an obstacle to unifying MainThreadWorklet and ThreadedWorklet. This CL introduces PaintWorkletGlobalScopeProxy to separate PaintWorkletGlobalScope from PaintWorklet and makes it easier to abstract communication between Worklet and WorkletGlobalScope in future CLs. BUG=627945 Review-Url: https://codereview.chromium.org/2853743002 Cr-Commit-Position: refs/heads/master@{#468572}
-
tikuta authored
BUG= Review-Url: https://codereview.chromium.org/2855773003 Cr-Commit-Position: refs/heads/master@{#468571}
-
yhanada authored
This hack was introduced in crrev.com/2767253005 because accessibility actions generated by automation API were not propagated to the targeted View before crrev.com/2767143007. After crrev.com/2767143007, any accessibility actions are propagated to the targeted View via |HandleAccessibileAction|. BUG=None TEST=No change in behavior Review-Url: https://codereview.chromium.org/2800373002 Cr-Commit-Position: refs/heads/master@{#468570}
-
renjieliu authored
When attempting second translation keeping the WiFi/Data OFF, Chrome shows "Translated to <desired language>" message though web page remains untranslated. Current fix is to check whether user is online before showing up the translate UI in OnPageTranslated callback. BUG=653499 Review-Url: https://codereview.chromium.org/2822383002 Cr-Commit-Position: refs/heads/master@{#468569}
-
patricialor authored
Support RTL for permission decision strings, wrapping strings that may be too long to fit. See https://drive.google.com/file/d/0BzEa5HU1aAqBUEl4THZuSkd5Tms/view?usp=sharing for before / after screenshots. BUG=714859 Review-Url: https://codereview.chromium.org/2841013002 Cr-Commit-Position: refs/heads/master@{#468568}
-
dfalcantara authored
Revert of Fix omnibox suggestions being overdrawn with the nav bar. (patchset #1 id:1 of https://codereview.chromium.org/2849283002/ ) Reason for revert: Caused https://bugs.chromium.org/p/chromium/issues/detail?id=717395 Got the go ahead to revert over email. Will continue investigating what's going on in the bug as a follow up. Original issue's description: > Fix omnibox suggestions being overdrawn with the nav bar. > > getLocationInWindow adjusts for the Android nav bar, while the > positioning of the parent is exclusive of the nav bar. This causes > the suggestions be too bar left aligned and cut off. > > Only visible if you have the nav bar aligned with the start of > the text (i.e. on the left with LTR text). > > BUG=669150 > > Review-Url: https://codereview.chromium.org/2849283002 > Cr-Commit-Position: refs/heads/master@{#468466} > Committed: https://chromium.googlesource.com/chromium/src/+/c0fd363129a9a01abe8954eb9b23beadaf6ea984 TBR=mdjones@chromium.org,tedchoc@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=669150 Review-Url: https://codereview.chromium.org/2853993002 Cr-Commit-Position: refs/heads/master@{#468567}
-
bashi authored
Revert of Use trace wrapper in PopStateEvent (patchset #1 id:1 of https://codereview.chromium.org/2850133002/ ) Reason for revert: Broke builds Original issue's description: > Don't store ScriptValue in PopStateEvent > > Use TraceWrapperV8Reference instead. This CL doesn't remove > custom getter of PopStateEvent.state as more work will be > needed to remove custom bindings. > > BUG=501866 > > Review-Url: https://codereview.chromium.org/2850133002 > Cr-Commit-Position: refs/heads/master@{#468565} > Committed: https://chromium.googlesource.com/chromium/src/+/77301cfe98de369b7d72659d4a95014f1d4dc4b6 TBR=haraken@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=501866 Review-Url: https://codereview.chromium.org/2856683003 Cr-Commit-Position: refs/heads/master@{#468566}
-
bashi authored
Use TraceWrapperV8Reference instead. This CL doesn't remove custom getter of PopStateEvent.state as more work will be needed to remove custom bindings. BUG=501866 Review-Url: https://codereview.chromium.org/2850133002 Cr-Commit-Position: refs/heads/master@{#468565}
-
xhwang authored
Previously CdmHostFiles::InitVerification() was called within the sandbox which doesn't work well on Windows. Move the call up so it's called out of the sandbox on Windows. On other platforms this is still called within the sandbox. Also rename VerifyFiles() to InitVerification() to better reflect what the call does. See http://shortn/_lAkREmcQYG and http://shortn/_o4p8OPylLu on how init verification is implemented in the CDM. BUG=709614 TEST=Manually tested on Windows; Existing browser_tests still works. Review-Url: https://codereview.chromium.org/2849163003 Cr-Commit-Position: refs/heads/master@{#468564}
-
ricea authored
components::RemoteDatabaseManager keeps a set of ResourceTypes which it is applied to. The members of the set are integers and there can be at most 18 members, so it is more efficient to use a base::flat_set here. BUG= Review-Url: https://codereview.chromium.org/2838163002 Cr-Commit-Position: refs/heads/master@{#468563}
-
wychen authored
This fixes disallowed inclusion of content/common/content_export.h in WebKit/public:mojo_bindings. Missing headers in some typemap files are amended. This is the prerequisite of whitelisting //third_party/WebKit/public for header checking in GN. BUG=716359 Review-Url: https://codereview.chromium.org/2858453002 Cr-Commit-Position: refs/heads/master@{#468562}
-
hubbe authored
I'm guessing this shouldn't happen, but apparently it did anyways. Let's have a max number of retries... BUG=715707 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 Review-Url: https://codereview.chromium.org/2846343002 Cr-Commit-Position: refs/heads/master@{#468561}
-
wychen authored
This fixes disallowed inclusion of testing/gmock/include/gmock/gmock.h in WebKit/public:blink_headers. This is a prerequisite of whitelisting //third_party/WebKit/public for header checking in GN. BUG=716359 Review-Url: https://codereview.chromium.org/2853173002 Cr-Commit-Position: refs/heads/master@{#468560}
-
kojii authored
This patch fixes not to include metrics before alignment when 'vertical-align' is one of values to be computed by ancestors; i.e., top, bottom, text-top, or text-bottom. Also undoes a temporary fix introduced in CL[1]. [1] https://codereview.chromium.org/2840883002#msg14 BUG=636993 Review-Url: https://codereview.chromium.org/2852883003 Cr-Commit-Position: refs/heads/master@{#468559}
-
mcasas authored
This CL wires the EncodingInfo() response param |smooth| to the result of a new method in VideoTrackRecorder, namely IsEncodingLikelyAccelerated() that simply surfaces the previously somewhat internal information. A couple of extra lines come from refactoring similar code in either of the classes. Testing it with https://codepen.io/miguelao/full/bWNwej. BUG=709181 Review-Url: https://codereview.chromium.org/2832273002 Cr-Commit-Position: refs/heads/master@{#468558}
-
shend authored
Revert of Generate StyleBackgroundData in ComputedStyleBase. (patchset #2 id:20001 of https://codereview.chromium.org/2841433002/ ) Reason for revert: testing Original issue's description: > Generate StyleBackgroundData in ComputedStyleBase. > > This patch generates the following fields as part of a group: > - background ('storage_only' of type FillLayer) > - background_color ('storage_only' of type Color) > > Since both fields correspond to shorthands, we specify them in > ComputedStyleExtraFields.json5. > > Diff of generated files: > https://gist.github.com/darrnshn/48a62d4ef7efe9f7a8c2b707eb57644f/revisions > > BUG=628043 > > Review-Url: https://codereview.chromium.org/2841433002 > Cr-Commit-Position: refs/heads/master@{#467561} > Committed: https://chromium.googlesource.com/chromium/src/+/9cd2845fb2b733d9d3852839d47f4dc93bdec090 TBR=nainar@chromium.org,rune@opera.com # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=628043 Review-Url: https://codereview.chromium.org/2849123002 Cr-Commit-Position: refs/heads/master@{#468557}
-
imcheng authored
Update the TestDeviceExpires test case with a slightly more complicated scenario. Also, to make the tests more robust, we will use a testing clock to generate the base::Time for various objects. DialRegistry::Now() is replaced with a clock that can be swapped out in tests. BUG=661457 Review-Url: https://codereview.chromium.org/2843653002 Cr-Commit-Position: refs/heads/master@{#468556}
-
kouhei authored
Before this CL, ScriptModuleResolverImpl::Resolve wrongly assumed that resolved module script's instantiation state is always "instantiated". However, this isn't always the case when instantiating module graph w/ cycles. This CL removes the CHECK. Corresponding spec PR: https://github.com/whatwg/html/pull/2603 BUG=594639, https://github.com/whatwg/html/issues/2596 TEST=external/wpt/html/semantics/scripting-1/the-script-element/module/imports.html shouldn't crash Review-Url: https://codereview.chromium.org/2848213002 Cr-Commit-Position: refs/heads/master@{#468555}
-
kouhei authored
Before this CL, we assumed "urls" in ModuleTreeLinker::FetchDescendants() to be non-empty if record.[[RequestedModules]] is not empty. However, this isn't always the case, as the resolved url may be in the ancestor list. This CL removes the DCHECK based on this assumption, and complete the algorithm in that case. TEST=ModuleTreeLinkerTest.FetchDependencyOfCyclicGraph BUG=594639 Review-Url: https://codereview.chromium.org/2852963002 Cr-Commit-Position: refs/heads/master@{#468554}
-
ben authored
ServiceInfo used to carry manifest capability data. We don't need to pass this to clients now that enforcement is done in the service manager, so I'd like to remove it before anyone discovers they can use it for something odd. . Service.mojom:OnStart now takes an identity, since we don't need any additional metadata during startup. . Service.mojom:OnBindInterface now takes a new struct BindSourceInfo. This is the remote identity + an array of capability names. This array is populated with the names of all the capabilities that the remote requires of the target. The target can use this to modify behavior based on the presence of one of these bits. No one uses this yet except for the service manager itself (e.g. all_users, client_process, etc.) R=tsepez@chromium.org,rockot@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2850743004 Cr-Commit-Position: refs/heads/master@{#468553}
-
carlosk authored
This change reverts the previous additions of this unusual check calls. BUG=672313 Review-Url: https://codereview.chromium.org/2858443002 Cr-Commit-Position: refs/heads/master@{#468552}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/447fde34..14e9286b Please follow these instructions for assigning/CC'ing issues: https://github.com/v8/v8/wiki/Triaging%20issues Please close rolling in case of a roll revert: https://v8-roll.appspot.com/ This only works with a Google account. 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;master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=hablich@chromium.org,machenbach@chromium.org,kozyatinskiy@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2857463002 Cr-Commit-Position: refs/heads/master@{#468551}
-
michaeln authored
BUG=114548 Review-Url: https://codereview.chromium.org/2837873007 Cr-Commit-Position: refs/heads/master@{#468550}
-
skia-deps-roller@chromium.org authored
https://skia.googlesource.com/skia.git/+log/1fa986c95a93..d271ba268876 $ git log 1fa986c95..d271ba268 --date=short --no-merges --format='%ad %ae %s' 2017-05-02 benjaminwagner Revert "Remove copyTo() legacy API flag from bzl" Created with: roll-dep src/third_party/skia Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls 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;master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=scroggo@chromium.org Change-Id: I233da80c94bb14567dacf5b79c48724d341d2e64 Reviewed-on: https://chromium-review.googlesource.com/492686Reviewed-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@{#468549}
-
enne authored
Change the backing of PaintRecord to be a data structure implemented in cc/paint instead of using SkPicture directly. This new class cribs heavily from SkLiteDL. PaintRecord used to be a typedef to an SkPicture but now is a typedef to a PaintOpBuffer. (This leaves some flexibility to change this in the future to an interface without having to modify all of Chromium again.) PaintOpBuffer stores a contiguous array of ops, with the ops stored in place. As an optimization, the first op is stored locally in the PaintOpBuffer itself to avoid extra allocations for small pictures. This patch moves slow path counting from a gpu analysis canvas into PaintOpBuffer directly. As ops are recorded, slow paths are counted, and a PaintRecord now knows how many ops it has. This is about a 1.5% savings for record time (gpu analysis was 2% and 0.5% overhead to record later). This patch also implements the SkRecordNoopSaveLayerDrawRestores optimization from Skia at raster time. This takes save layer (just opacity) / draw / restore commands and turns them into draws with opacity. It moves that optimization from Blink at record time inside of CompositingRecorder and moves it to both DisplayItemList::RasterItem and PaintOpBuffer::playback (since a save could be either a DisplayItem or a PaintOp). It's not as robust as Skia's solution and so misses a few cases that Skia catches, but the rasterize and record on 10k page agreed that performance was good enough. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2768143002 Cr-Commit-Position: refs/heads/master@{#468548}
-
ikilpatrick authored
In preparation for making NGInlineNode, NGBlockNode POD-like. BUG=636993 Review-Url: https://codereview.chromium.org/2836293004 Cr-Commit-Position: refs/heads/master@{#468547}
-
dmazzoni authored
BUG=717263 Review-Url: https://codereview.chromium.org/2853913002 Cr-Commit-Position: refs/heads/master@{#468546}
-
zpeng authored
This CL updates DEPS to enable updated Android Lint that would work for Java 8. Also, it adds inline suppression for newly discovered Lint errors. Additionally, it suppresses Lint deprecation warning for "android:singleLine". Moreover, it suppresses Lint warnings "AuthLeak", "VisibleForTests", etc. for tests, and Lint error "ByteOrderMark" in generated android_chrome_strings.xml (crbug.com/715196). BUG=635567,669999 Review-Url: https://codereview.chromium.org/2830843004 Cr-Commit-Position: refs/heads/master@{#468545}
-
xiaofeng.zhang authored
This CL converts install event IPCs into mojo interface: ServiceWorkerMsg_InstallEvent ServiceWorkerHostMsg_InstallEventFinished Also add an associated interface for the ForeignFetchRegistration, so that this event be sent on the same message pipe as the service worker event dispatcher interface, so that we can guarantee the delivery order of foreign fetch register calls and event dispatcher interface callbacks. Also add the test cases for the associated interface. BUG=629701 TEST=content_unittests Review-Url: https://codereview.chromium.org/2746783002 Cr-Commit-Position: refs/heads/master@{#468544}
-
alph authored
BUG=705054 Review-Url: https://codereview.chromium.org/2850793004 Cr-Commit-Position: refs/heads/master@{#468543}
-
sclittle authored
Previously, PlaceholderImage was using PaintRecordBuilder incorrectly to construct an SkImage of its appearance, which triggered a DCHECK in debug builds. This CL changes PlaceholderImage to use a PaintRecorder to construct the SkImage instead. BUG=717058 Review-Url: https://codereview.chromium.org/2849303002 Cr-Commit-Position: refs/heads/master@{#468542}
-
chrome-release-bot authored
Cr-Commit-Position: refs/heads/master@{#468541}
-
chrishtr authored
Add a NextFragment method on FragmentData in anticipation of support for multiple fragments. Use this to make InvalidatePaintLayerOptimizationsIfNeeded multicol fragment-aware. BUG=648274 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2854493002 Cr-Commit-Position: refs/heads/master@{#468540}
-
elawrence authored
In Chrome 55, we removed the easy path from Page Info to the Certificate Viewer dialog. This change puts it back in a new Certificate view just above the Cookie view. BUG=663971 Review-Url: https://codereview.chromium.org/2846913002 Cr-Commit-Position: refs/heads/master@{#468539}
-
suzyh authored
LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html is failing on Mac. TBR=drott@chromium.org BUG=693065 Review-Url: https://codereview.chromium.org/2855803002 Cr-Commit-Position: refs/heads/master@{#468538}
-
dfalcantara authored
Yank out the custom logic used by the signin page for the signin page on First Run so that it can be reused for the upcoming search engine page. BUG=712836,712833 Review-Url: https://codereview.chromium.org/2848173002 Cr-Commit-Position: refs/heads/master@{#468537}
-
falken authored
BUG=679905 Review-Url: https://codereview.chromium.org/2853113003 Cr-Commit-Position: refs/heads/master@{#468536}
-
avi authored
The interface taking a raw pointer is deprecated and being removed. BUG=690937 Review-Url: https://codereview.chromium.org/2847173004 Cr-Commit-Position: refs/heads/master@{#468535}
-