- 29 Mar, 2017 40 commits
-
-
anthonyvd authored
BUG=697921 Review-Url: https://codereview.chromium.org/2782303002 Cr-Commit-Position: refs/heads/master@{#460579}
-
robertogden authored
BUG= Review-Url: https://codereview.chromium.org/2779973005 Cr-Commit-Position: refs/heads/master@{#460578}
-
danakj authored
Currently CompositorResizeLock doesn't work unless deferred since the base class tries to use a virtual method from its constructor which doesn't know about the subclass yet. This fixes that and makes the following changes in the process: I noticed that there are no longer any unit tests that depend on ResizeLock being an interface. So I made CompositorResizeLock the concrete type. I noticed that CompositorResizeLock was in located in files named compositor_resize_lock_aura.{h,cc} but is not named for aura anymore, and is in fact used in non-aura cases for mac. So I renamed the files, and moved the aura pieces out to DelegatedFrameHostClientAura. In order for DelegatedFrameHostClientAura to know when to release events however, it needs to know when the resize lock ends. So I introduced CompositorResizeLockClient, which tells when the lock is over. Importantly, the above is not the same as the CompositorLock ending. That can be done by calling CompositorResizeLock::UnlockCompositor, which does not end the resize lock, but does release the CompositorLock inside it. So this doesn't inform the client at that time until the resize lock actually ends. I've tried to make this more clear with function names and comments. In order to unit test everything I've pulled CompositorLock out of compositor.h and removed the friend relationships between Compositor and CompositorLock. To do so CompositorLock now has 2 interfaces: - CompositorLockClient which it informs about timeouts. This is so that CompositorResizeLock knows when its internal CompositorLock is released by timeout. - CompositorLockDelegate which performs actual unlocking. This is the ui::Compositor outside of tests. Lastly, CompositorResizeLock has a timeout, and CompositorLock has a timeout. These happen to be the same number tho CompositorResizeLock allows you to override it. I've combined these into a single timeout (with the help of CompositorLockClient). And will allow GetCompositorLock to request a specific timeout. With that, Compositor no longer needs SetLocksWillTimeOut which has some action-at-distance properties. This maintains the property that the first to grab a lock chooses the timeout for all other locks grabbed during that time, however Mac code which wants no timeouts now doesn't cause other parts of the system to also get no timeout unless the mac lock is currently active without a timeout. R=piman@chromium.org BUG=704928 NOTRY=true Review-Url: https://codereview.chromium.org/2773433003 Cr-Commit-Position: refs/heads/master@{#460577} -
servolk authored
This new API is similar to IsSupportedVideoConfig and is strictly-typed unlike the old MediaCodecSupportShlib::IsSupported, which is going to be deprecated. Review-Url: https://codereview.chromium.org/2677143003 Cr-Commit-Position: refs/heads/master@{#460576}
-
rtoy authored
Manually converted these tests to use new Audit from old Audit. BUG=704967 TEST=Analyser/realtimeanalyser-byte-data.html Analyser/realtimeanalyser-downmix.html Analyser/realtimeanalyser-fftsize-reset.html Analyser/realtimeanalyser-float-data.html Analyser/realtimeanalyser-freq-data.html Analyser/realtimeanalyser-freq-data-smoothing.html Analyser/realtimeanalyser-multiple-calls.html Analyser/realtimeanalyser-zero.html Review-Url: https://codereview.chromium.org/2777983002 Cr-Commit-Position: refs/heads/master@{#460575}
-
rouslan authored
Before this change, selecting "Close all incognito windows" while Chrome was showing "You're leaving incognito mode" warning dialog will cause a crash. After this change, the crash is avoided. BUG=705844 Review-Url: https://codereview.chromium.org/2778193003 Cr-Commit-Position: refs/heads/master@{#460574}
-
jinsukkim authored
https://crbug.com/2697213002 (not guessing UTF8 encoding) doesn't have to be applied to local file resources. This CL makes such cases an exception to the policy. BUG=704800 Review-Url: https://codereview.chromium.org/2784483003 Cr-Commit-Position: refs/heads/master@{#460573}
-
esprehn authored
The id path inside SelectorQuery::findTraverseRootsAndExecute is not actually reachable for the right most selector since we handle that separately inside the top level ::execute() call. We also only ever take the fast path when rootNode.isConnected() (as checked by canUseFastPath) so we can use that too. By using these two truths inside this code we can simplify what it was doing and delete a bunch of the code. BUG=703900 Review-Url: https://codereview.chromium.org/2786763002 Cr-Commit-Position: refs/heads/master@{#460572}
-
xiyuan authored
This is caused by racing between mojo and non-mojo code path. The avater image is updated via SessionController mojo interface but UserObserver interface is still a direct call and could reach ash before the mojo message. The CL fixes the issue by replacing UserObserver interface with SessionController observer. BUG=704862 Review-Url: https://codereview.chromium.org/2780963002 Cr-Commit-Position: refs/heads/master@{#460571}
-
skia-deps-roller@chromium.org authored
https://skia.googlesource.com/skia.git/+log/4a24e10a0b80..291932e8e42e $ git log 4a24e10a0..291932e8e --date=short --no-merges --format='%ad %ae %s' 2017-03-29 jvanverth Fix is_convex() check for inset polys. 2017-03-29 bsalomon Make analysis optional to GrPipeline::init(). 2017-03-28 egdaniel Remove blacklist of Vulkan GPUMemoryTest 2017-03-29 robertphillips More GrSurfaceProxy-clean up 2017-03-29 bungeman Use FontWeight symbols when available on Mac. 2017-03-29 robertphillips Miscellaneous GrSurfaceProxy-related cleanup 2017-03-29 bsalomon Remove GrPipelineOptimizations computation from GrPipeline::init and nest in GrMeshDrawOp. 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=stephana@chromium.org Change-Id: I31fc6a3812796d42b876424a56f6bc60ff95d892 Reviewed-on: https://chromium-review.googlesource.com/462516Reviewed-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@{#460570}
-
stevenjb authored
This CL makes Settings specific changes to the 'Network' (was 'Internet conneciton') section. See issue for specs and screenshots. BUG=701945 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2752223003 Cr-Commit-Position: refs/heads/master@{#460569}
-
smut authored
BUG=705510 R=baxley@chromium.org Review-Url: https://codereview.chromium.org/2782023002 . Cr-Commit-Position: refs/heads/master@{#460568}
-
smut authored
This reverts commit 54548ddb. Reason for revert: Likely to have caused a significant regression in net_unittests cycle time, which is producing a long pending queue on ios-simulator, which in turn is blocking the entire commit queue. BUG=706609 TBR=baxley Review-Url: https://codereview.chromium.org/2779213004 . Cr-Commit-Position: refs/heads/master@{#460567}
-
ccameron authored
Create a separate sequence number for GLImages created from CVPixelBufferRefs (previously they had no sequence number, so they would alias each other). Make VTVideoDecodeAccelerator be a dump provider. This dumps through the GLImage interface, and so it will correctly link the CVPixelBufferRefs that with the command buffer textures. Fix TextureManager's dump code to not assume that GLImage presence and texture state BOUND are related (a texture can have a GLImage but not be BOUND because it can't be textured out of directly). BUG=704792 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/2771923006 Cr-Commit-Position: refs/heads/master@{#460566}
-
chaopeng authored
In this patch, remove right stroke for vertical scrollbar, remove bottom stroke for horizontal scrollbar and flip the scrollbar canvas to remove left stroke for left vertical scrollbar. BUG=669673 Review-Url: https://codereview.chromium.org/2763373002 Cr-Commit-Position: refs/heads/master@{#460565}
-
noel authored
The extensions/common/extension_utility_messages.h message file was deleted in http://crrev.com/460280 Its corresponding IPC START entry ExtensionUtilityMsgStart is not needed either, so we can remove it. BUG=691410 Review-Url: https://codereview.chromium.org/2785463003 Cr-Commit-Position: refs/heads/master@{#460564}
-
sandersd authored
This code was broken in M52, but nobody has complained, so remove it. Pause-To-Buffer is a consistent source of surprise, and mistakes leading to accidental bandwidth consumption. The new download button is a much better interface (at least in cases where it appears). Review-Url: https://codereview.chromium.org/2689323002 Cr-Commit-Position: refs/heads/master@{#460563}
-
fgorski authored
Removing TODOs, which are obsolete or which make no sense to act upon at this point in time. BUG=685523 R=chili@chromium.org Review-Url: https://codereview.chromium.org/2782673002 Cr-Commit-Position: refs/heads/master@{#460562}
-
aelias authored
I had to do a bit of research today to remember the difference between subtle events like GestureTapDown/GestureShowPress, and GestureLongPress/GestureLongTap. Add some comments to clarify the distinctions for the future. BUG= Review-Url: https://codereview.chromium.org/2778853005 Cr-Commit-Position: refs/heads/master@{#460561}
-
csharrison authored
TBR=melandory@chromium.org BUG=706543 Review-Url: https://codereview.chromium.org/2781083004 Cr-Commit-Position: refs/heads/master@{#460560}
-
eugenebut authored
If pending item exists and pending index == -1, then last committed item is always the last one and forward navigation is not possible anyway. BUG=661858 Review-Url: https://codereview.chromium.org/2775893003 Cr-Commit-Position: refs/heads/master@{#460559}
-
mthiesse authored
Since focus changes are reported late in the Android lifecycle, we can end up in a situation where we send vrdisplayactivate, but no webVR frames are considered focused yet. This change makes it so that even if no webVR frame is currently focused, we still send displayactivate to the most recently focused frame (which has the added benefit of ensuring only one frame can call requestPresent in response). This is safe because we only fire displayactivate at all if we are sure some frame was listening for displayactivate before the Android VR DON flow paused chrome and unfocused the frame. In the future we should track focus fully browser-side to more securely solve this issue. This CL also prevents a possible reconnect loop if the page mistakenly thinks it has focus when it doesn't by detecting repeated connection failures. BUG=706472 Review-Url: https://codereview.chromium.org/2783993002 Cr-Commit-Position: refs/heads/master@{#460558}
-
nacl-deps-roller authored
https://chromium.googlesource.com/native_client/src/native_client.git/+log/c84029060e2a..b1766362259d $ git log c84029060..b17663622 --date=short --no-merges --format='%ad %ae %s' 2017-03-28 sbc Add newlines to NaClLog messages Created with: roll-dep src/native_client 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.chromium.linux:linux_chromium_dbg_32_ng,linux_nacl_sdk_build TBR=mseaborn@chromium.org Review-Url: https://codereview.chromium.org/2785623002 Cr-Commit-Position: refs/heads/master@{#460557}
-
qiangchen authored
Revert of Bug Fix: Data Race For WebMediaPlayerMS' Frame Count Variable (patchset #3 id:60001 of https://codereview.chromium.org/2751353003/ ) Reason for revert: Lock contention, increase chrome_public_test_apk run time a lot. We might need a finer lock. Original issue's description: > Bug Fix: Data Race For WebMediaPlayerMS' Frame Count Variable > > On thread sanitizer, we found a data race issue for WebMediaPlayerMS' frame > count variables |total_frame_count_| and |dropped_frame_count_|. In this CL > We make those two variables atomic. > > BUG=701712 > > Review-Url: https://codereview.chromium.org/2751353003 > Cr-Commit-Position: refs/heads/master@{#457786} > Committed: https://chromium.googlesource.com/chromium/src/+/4cb6dcab2e3d9b4f14ff3bd5dc8f3fd3a57e19e5 TBR=dalecurtis@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=701712 Review-Url: https://codereview.chromium.org/2777183009 Cr-Commit-Position: refs/heads/master@{#460556}
-
tsunghung authored
We moved mojo_media_host to browser process when CMA backend is enabled. The gn dependency //media/mojo/services is missing from //media/gpu. 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 Review-Url: https://codereview.chromium.org/2786473003 Cr-Commit-Position: refs/heads/master@{#460555}
-
kraush authored
BottomSheetTests have a hard dependency on RecyclerView, which is a class that was added in SDK level 22 (Lollipop MR 1). This change disables BottomSheetTests on all API levels which do not have RecyclerView. BUG=None Review-Url: https://codereview.chromium.org/2781093004 Cr-Commit-Position: refs/heads/master@{#460554}
-
dmazzoni authored
The style now roughly matches the new MD settings page, but without all of the fancy MD effects. BUG=none TEST=Tried setting all ChromeVox options, navigating via Tab and via ChromeVox forward. Also tested in Classic mode (Compat). CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2776293002 Cr-Commit-Position: refs/heads/master@{#460553}
-
schenney authored
The test is always failing and it's a ref test, so move it to a common block to make triage easier. TBR=junov@chromium.org BUG=627844 Review-Url: https://codereview.chromium.org/2787643002 Cr-Commit-Position: refs/heads/master@{#460552}
-
kenrb authored
TouchAccessibilityBrowserTest.TouchExplorationInCrossSiteIframe sends a touch event to a cross-origin iframe. When OOPIFs are enabled, this relies on the browser hit testing path for the event to reach the correct RenderWidgetHostView. There is currently flakiness because sometimes the browser process has not received enough compositor frames for that hit testing to work. This patch uses SurfaceHitTestReadyNotifier to delay the event until hit testing will succeed. BUG=706163 Review-Url: https://codereview.chromium.org/2785793002 Cr-Commit-Position: refs/heads/master@{#460551}
-
stevenjb authored
This adds a testing::Test wrapper to simplify adding tests that rely on NetworkStateHandler. It converts AutoConnecthandlerTest and NetworkConnectionHandlerTest to use the helper. BUG=none Review-Url: https://codereview.chromium.org/2787613002 Cr-Commit-Position: refs/heads/master@{#460550}
-
ericrk authored
We are about to start Canary testing of this feature on CrOS and Svelte Android, so turning this on for the bots. BUG=684094,704716 Review-Url: https://codereview.chromium.org/2786733002 Cr-Commit-Position: refs/heads/master@{#460549}
-
mgersh authored
The cache can now have entries that are expired because they're from a different network, but are still stored in the cache. This change updates net-internals to expose that information, and also exposes the TTL for easier debugging. BUG=703821 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2773023003 Cr-Commit-Position: refs/heads/master@{#460548}
-
dcastagna authored
VideoLayerImpl is appending StreamVideoDrawQuads on CrOS. StreamVideoDrawQuads should be used on Android since almost all its features are supported by TextureDrawQuad. The only difference is that StreamVideoDrawQuad calls glUniformMatrix4fvStreamTextureMatrixCHROMIUM before drawing, that just sets a uniform matrix on CrOS. This CL makes sure VideoLayerImpl produces StreamVideoDrawQuads only on Android. BUG=702750 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2763223003 Cr-Commit-Position: refs/heads/master@{#460547}
-
asvitkine authored
Makes tools/metrics/actions follow the convention used in tools/metrics/histograms and tools/metrics/rappor of having a pretty_print.py file that formats the XML file. This is what git cl format expects. BUG=706501 Review-Url: https://codereview.chromium.org/2786433003 Cr-Commit-Position: refs/heads/master@{#460546}
-
sadrul authored
BUG=none Review-Url: https://codereview.chromium.org/2779293002 Cr-Commit-Position: refs/heads/master@{#460545}
-
esprehn authored
ElementTraversal::firstWithin is the same as doing ::next(rootNode, &rootNode) we can just do that here. We can also use isOpenOrV0() to remove some verbose checks, and finally we don't need to check isShadowHost (which contains a bunch of duplciate checks) and can just null check ::shadow() which is equivalent. BUG=703900 Review-Url: https://codereview.chromium.org/2782483004 Cr-Commit-Position: refs/heads/master@{#460544}
-
jbauman authored
Promote DC layers to DirectComposition SwapChains. Currently only videos are supported, so an ID3D11VideoProcessor is used to copy the video data from the DXGI image's texture into the YUY2 swapchain backbuffer. BUG=678800 NOTRY=true 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/2749023011 Cr-Commit-Position: refs/heads/master@{#460543}
-
ssid authored
Reland of Add EnabledStateObserver to BackgroundTracingManager (patchset #1 id:1 of https://codereview.chromium.org/2785663002/ ) Reason for revert: |config_| can be null. So, do not dereference it. Original issue's description: > Revert of Add EnabledStateObserver to BackgroundTracingManager (patchset #3 id:130001 of https://codereview.chromium.org/2769963005/ ) > > Reason for revert: > This CL causes tests failures (browser_side_navigation_content_browsertests, content_browsertests, site_per_process_content_browsertests). > > https://findit-for-me.appspot.com/waterfall/build-failure?url=https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/24171 > > Original issue's description: > > Add EnabledStateObserver to BackgroundTracingManager > > > > This CL removes the memory-infra related code into memory-tracing > > observer. Also the tests implement the observer instead of setting > > callbacks. > > > > BUG=700245 > > > > Review-Url: https://codereview.chromium.org/2769963005 > > Cr-Commit-Position: refs/heads/master@{#460293} > > Committed: https://chromium.googlesource.com/chromium/src/+/f64ac5cb273e3abab3564f1a5997b3da164ab9ff > > TBR=oysteine@chromium.org,alexmos@chromium.org,ssid@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=700245 > > Review-Url: https://codereview.chromium.org/2785663002 > Cr-Commit-Position: refs/heads/master@{#460343} > Committed: https://chromium.googlesource.com/chromium/src/+/88d07c763d35621da2c62b9f18822109bbd7a261 TBR=alexmos@chromium.org,kolos@chromium.org BUG=700245 Review-Url: https://codereview.chromium.org/2782933002 Cr-Commit-Position: refs/heads/master@{#460542}
-
dalecurtis authored
Does not compile for flat_map<base::StringPiece, base::TimeDelta> without this fix. BUG=none TEST=none Review-Url: https://codereview.chromium.org/2783823002 Cr-Commit-Position: refs/heads/master@{#460541}
-
alexmos authored
BUG=608780 NOTRY=true Review-Url: https://codereview.chromium.org/2779113007 Cr-Commit-Position: refs/heads/master@{#460540}
-