- 29 Mar, 2017 40 commits
-
-
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}
-
scottchen authored
As requested in 2766093002 after that CL landed. BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2777343005 Cr-Commit-Position: refs/heads/master@{#460539}
-
jbauman authored
Having these enabled can use excessive power sometimes (depending on the layout of content above and the damage rect), so disable them for now. BUG=678800 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2780073002 Cr-Commit-Position: refs/heads/master@{#460538}
-
braveyao authored
It's a valid case that screen capture continues when Chrome is put to background on Android(while camera capture should be paused.). Here a query interface is added in MediaStreamDispatch to return all the non-screen capture devices on the current Tab. Then RenderViewImpl can suspend/resume every non-screen capture device only when OnPageWasHidden/Shown() is called. And the SuspendDevices() is removed from VideoCaptureManagerImpl to simplify the logic. Also because each MediaStreamDispatch corresponds one single Tab, this means now RenderViewImpl can pause/resume the devices related to the current Tab only. Which is also a fix to crbug/593192. BUG=487935, 593192 Review-Url: https://codereview.chromium.org/2763743002 Cr-Commit-Position: refs/heads/master@{#460537}
-
einbinder authored
GoToLineDialog and QuickOpen are spun off from OpenResourceDialog. QuickOpen switches between GoToLineDialog and OpenResourceDialog depending on whether the query starts with ':'. QuickOpen loads delegates through the runtime system. BUG=662081 Review-Url: https://codereview.chromium.org/2679483002 Cr-Commit-Position: refs/heads/master@{#460536}
-
mattm authored
BUG=671420 Review-Url: https://codereview.chromium.org/2758803003 Cr-Commit-Position: refs/heads/master@{#460535}
-
karlo authored
ComputedStyle::getRoundedInnerBorderFor() could generate negative content boxes for boxes with no content and sub pixel borders that round up (eg. 1.5px-1.99px). Negative content boxes are illegal per spec, and causes BoxBorderPainter::paintBorderFastPath() to bail, and performance to be substantially degraded. This issue would be evident on the paint-offset-changes perftest when device pixel ratio was set to eg. 1.5. The issue was introduced in 934becac BUG=692955 Review-Url: https://codereview.chromium.org/2782153002 Cr-Commit-Position: refs/heads/master@{#460534}
-
tmartino authored
BUG=704977 Review-Url: https://codereview.chromium.org/2775773003 Cr-Commit-Position: refs/heads/master@{#460533}
-
Quinten Yearsley authored
Bug: 706118 Change-Id: I7c61b567ade902a2a2c68ce783096d1c9e77a681 Reviewed-on: https://chromium-review.googlesource.com/461353Reviewed-by:
Jeff Carpenter <jeffcarp@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Cr-Commit-Position: refs/heads/master@{#460532}
-
chfremer authored
1. As part of program shutdown, VideoCaptureManager::StopCaptureForClient() is called. This posts a task to destroy the capture device to the "device thread", which eventually leads to this destructor being called (on the "device thread"). 2. While things on the "device thread" are running asynchronously, BrowserMainLoop is being destroyed. It's destructor waits for the "device thread" (audio thread) to complete. 3. |io_task_runner_| does not accept the posted task anymore. 4. |event.Wait()| will wait indefinitely causing the shutdown to hang. This deadlock occurred on build bot linux_android_rel_ng in CL https://codereview.chromium.org/2772963002/. It reproduces locally on a Nexus 5 device running KitKat. In production, class GpuJpegDecodeAcceleratorHost is currenlty only used on Chrome OS, but it might happen there as well, since the situation does not appear to be platform-dependent. BUG=706186 TEST= content_browsertests --gtest_filter="VideoCaptureBrowserTest.*" content_unittests --gtest_filter="*Video*" 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/2786503002 Cr-Commit-Position: refs/heads/master@{#460531}
-
brettw authored
Marking move constructors "noexcept" allows std::vector to use the move constructors in container resizes. Otherwise it will copy which is not expected by most callers. http://en.cppreference.com/w/cpp/language/move_constructor This also replaces some technically invalid characters with HTML entities. Discussion: https://groups.google.com/a/chromium.org/d/msg/cxx/ze4WJFg7RvU/Qhbb6DTrBQAJ Review-Url: https://codereview.chromium.org/2782973002 Cr-Commit-Position: refs/heads/master@{#460530}
-
gmanikpure authored
And disable it for all desktop & android chrome until the issue is fixed. This is a reland of crrev.com/459971. BUG=chromedriver:833 Review-Url: https://codereview.chromium.org/1882603003 Cr-Commit-Position: refs/heads/master@{#459971} Committed: https://chromium.googlesource.com/chromium/src/+/1512539632abf713b55f5a16fe7b709fb1f4a57d patch from issue 1882603003 at patchset 40001 (http://crrev.com/1882603003#ps40001) Review-Url: https://codereview.chromium.org/2779243003 Cr-Commit-Position: refs/heads/master@{#460529}
-
alph authored
Currently is was shown right on the window border and thus invisible. Review-Url: https://codereview.chromium.org/2784843003 Cr-Commit-Position: refs/heads/master@{#460528}
-
estade authored
Remove SpecialPopupRow. BUG=686220 Review-Url: https://codereview.chromium.org/2780743002 Cr-Commit-Position: refs/heads/master@{#460527}
-
dmurph authored
We accidentally didn't handle the case where the iterator was evicted and invalid. This is now much more explicit and tested. R=pwnall,cmumford BUG=705837 Review-Url: https://codereview.chromium.org/2786463002 Cr-Commit-Position: refs/heads/master@{#460526}
-
khushalsagar authored
EventFilters are currently built by the LayoutManager and all gestures are routed through it to the active layout. This indirection is unnecessary since only the StackLayout requires gesture handling. This also ends up exposing public APIs on the Layouts making it difficult to follow the path for events from different sources (CompositorView vs the Toolbar). This change pushes EventFilters deeper into the Layout implementations, so the Layouts directly consume touch events and generate gestures if necessary. Layout still has an API for swipe gestures coming from the toolbar. BUG= Review-Url: https://codereview.chromium.org/2774443002 Cr-Original-Commit-Position: refs/heads/master@{#459980} Committed: https://chromium.googlesource.com/chromium/src/+/ef25f0df9d626028752de7d945d89abe15d39dfb Review-Url: https://codereview.chromium.org/2774443002 Cr-Commit-Position: refs/heads/master@{#460525}
-
wkorman authored
BUG=689479 Review-Url: https://codereview.chromium.org/2784673004 Cr-Commit-Position: refs/heads/master@{#460524}
-
rch authored
Review-Url: https://codereview.chromium.org/2778943002 Cr-Commit-Position: refs/heads/master@{#460523}
-
lanwei authored
BUG=367113 Review-Url: https://codereview.chromium.org/2648683003 Cr-Commit-Position: refs/heads/master@{#460522}
-
wangxianzhu authored
Revert of Disable SPInvalidation by default (patchset #2 id:20001 of https://codereview.chromium.org/2772833003/ ) Reason for revert: Enable SPInvalidation on M59. Original issue's description: > Disable SPInvalidation by default > > We decided to delay launch until M59. > > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 > > Review-Url: https://codereview.chromium.org/2752673002 > Cr-Commit-Position: refs/heads/master@{#456857} > TBR=nasko@chromium.org (content_features.cc changes SlimmingPaintInvalidation disabled by default) > > Review-Url: https://codereview.chromium.org/2772833003 > Cr-Commit-Position: refs/heads/master@{#459201} > Committed: https://chromium.googlesource.com/chromium/src/+/a038d334a0e1baae632e583dbc023f3383e8bf6f TBR=chrishtr@chromium.org,pdr@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. Review-Url: https://codereview.chromium.org/2782943003 Cr-Commit-Position: refs/heads/master@{#460521}
-
dtseng authored
Previously, if an extension requesting automation has more than one page it opens in its extension process (e.g. background.html and panel.html, in ChromeVox), we instantiated two AutomationInternalCustomBindings (one for each page). This fix makes it so we only ever make "active" the instance that is associated with the extension's background page. Note that as a result, any calls to chrome.automation from non-background page contexts will result in an no-op (e.g. getDesktop will not trigger the callback). In the case that the extension has no background page, we revert to the previous behavior of having one instance per page. TEST=open the ChromeVox Panel, and close it again. Press caps lock. Verify we only process one event and only output one alert. BUG=691165 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2782753002 Cr-Commit-Position: refs/heads/master@{#460520}
-
rnephew authored
Revert of [scheduler] Split suspendable tq from unthrottled tq. (patchset #4 id:60001 of https://codereview.chromium.org/2754673002/ ) Reason for revert: Causing failures in perf tests. Reverting to confirm it is the culprit. crbug.com/706108 crbug.com/706104 Original issue's description: > [scheduler] Add suspendable task queue. > > Add suspendable task queue to avoid running (and cancelling) callbacks > when execution context is suspended. > > R=skyostil@chromium.org,alexclarke@chromium.org,haraken@chromium.org > CC=nhiroki@chromium.org,tzik@chromium.org > BUG=700792 > > Review-Url: https://codereview.chromium.org/2754673002 > Cr-Commit-Position: refs/heads/master@{#459787} > Committed: https://chromium.googlesource.com/chromium/src/+/12e16766adec5bb1e5cdd73d3cd8f5016b59ce18 TBR=alexclarke@chromium.org,haraken@chromium.org,skyostil@chromium.org,altimin@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=700792 Review-Url: https://codereview.chromium.org/2780233002 Cr-Commit-Position: refs/heads/master@{#460519}
-
mgersh authored
Review-Url: https://codereview.chromium.org/2770083004 Cr-Commit-Position: refs/heads/master@{#460518}
-
dtapuska authored
Ensure the floor calculation is taken into account when running the layout test. The calculation matches what is happening when e.timeStamp is being returned. BUG=706494 Review-Url: https://codereview.chromium.org/2784913002 Cr-Commit-Position: refs/heads/master@{#460517}
-