- 28 Apr, 2017 40 commits
-
-
robertogden authored
BUG=714827 Review-Url: https://codereview.chromium.org/2843463004 Cr-Commit-Position: refs/heads/master@{#468025}
-
chfremer authored
PatchSet #1 is the state as previously reviewed and reverted. PatchSet #2 fixes the reason for the revert. Description of Fix: The test "AccessIsRevokedOnSecondAccess" was flaky because had an incorrect expectation on the order in which events from the service arrive. This is fixed by removing this expectation. Original CL description: This CL is part of the Mojo Video Capture work. For the bigger picture, see [1] CL22b. Note: The video capture service implementation is currently in an incomplete and outdated state and its tests are disabled. With the refactoring of the legacy video capture stack now being complete, the next goal is to update the service implementation and fit it into the refactored stack. Changes in this CL: * Update Mojo interfaces to more closely resemble their native counterparts. - video_capture.mojom.Device offers functionality similar to VideoCaptureDeviceLauncher + LaunchedVideoCaptureDevice. - video_capture.mojom.DeviceFactory offers functionality similar to media::VideoCaptureProvider. - video_capture.mojom.Receiver offers functionality similar to media::VideoFrameReceiver. * In the service implementation, use a VideoCaptureSystem instead of a VideoCaptureDeviceFactory directly. * Add new adapter classes for plumbing between Mojo service and its usage in the native code. * Re-enable existing video_capture_unittests and add a few more. BUG=584797 TEST= service_unittests --gtest_filter="*Video*" content_unittests --gtest_filter="*Video*" content_browsertests --gtest_filter="VideoCaptureBrowserTest.*" TBR=emircan@chromium.org,ochang@chromium.org [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing Review-Url: https://codereview.chromium.org/2843333006 Cr-Commit-Position: refs/heads/master@{#468024}
-
justincohen authored
Basic dispatcher to help with ios/clean migration. Handlers UrlLoader, OmniboxFocuser and the WebToolbarDelegate, all used by the GoogleLandingController. BUG=694750 Review-Url: https://codereview.chromium.org/2829003002 Cr-Commit-Position: refs/heads/master@{#468023}
-
corona10 authored
It's no longer part of the spec (https://github.com/whatwg/fetch/commit/42464c) intent-to-deprecate-and-remove https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/x3YXciXQWM0 BUG=645492 Review-Url: https://codereview.chromium.org/2591723003 Cr-Commit-Position: refs/heads/master@{#468022}
-
junov authored
The throttling fix landed in https://codereview.chromium.org/2817603004/ has severely impacted rendering throughput due to the delay in compositor round trips. To avoid blocking the renderer script's animation loop, we need to allow the rendering proceed when there is still a pending frame. BUG=716138 Review-Url: https://codereview.chromium.org/2848553003 Cr-Commit-Position: refs/heads/master@{#468021}
-
hcarmona authored
Followup for http://crrev.com/2844553003 R=dbeam@chromium.org BUG=706310 Review-Url: https://codereview.chromium.org/2850663002 Cr-Commit-Position: refs/heads/master@{#468020}
-
drcrash authored
Returns a specific error saying the keys are not available in the signin profile. BUG=715121 TEST=unit tests Review-Url: https://codereview.chromium.org/2838423003 Cr-Commit-Position: refs/heads/master@{#468019}
-
fdoray authored
ScopedTaskEnvironment allows usage of ThreadTaskRunnerHandle and base/task_scheduler/post_task.h within its scope. It should be instantiated in everytest that uses either of these APIs (i.e. no test should instantiate a MessageLoop directly). Motivation for ScopedTaskEnvironment can be found in: https://docs.google.com/document/d/1QabRo8c7D9LsYY3cEcaPQbOCLo8Tu-6VLykYXyl3Pkk/edit BUG=708584 R=gab@chromium.org TBR=garykac@chromium.org Review-Url: https://codereview.chromium.org/2846943002 Cr-Commit-Position: refs/heads/master@{#468018}
-
nasko authored
Since bug 630103 was fixed, these crash keys are no longer necessary. BUG=630103 Review-Url: https://codereview.chromium.org/2841203003 Cr-Commit-Position: refs/heads/master@{#468017}
-
bsazonov authored
This CL fixes confusing field name. Field has AccountManagerDelegate type and should be named accordinly. BUG=698258 Review-Url: https://codereview.chromium.org/2850813002 Cr-Commit-Position: refs/heads/master@{#468016}
-
jamescook authored
It looks like this function got cargo-culted around during refactors. * Remove unused copies for NaCl, utility process and PPAPI * Inline the one used copy from RenderProcessHostImpl into BrowserMainLoop No behavior changes. BUG=none TEST=bots Review-Url: https://codereview.chromium.org/2848603003 Cr-Commit-Position: refs/heads/master@{#468015}
-
avi authored
The interface taking a raw pointer is deprecated and being removed. BUG=690937 Review-Url: https://codereview.chromium.org/2845253002 Cr-Commit-Position: refs/heads/master@{#468014}
-
sky authored
Chrome also detects when the connection to mus is lost and further chrome needs to control when the shell it shutdown, so adds the option to set a callback that controls what should happen when connection to mus is lost. I think there is more that needs to happen, but this is a good start. BUG=709593 TEST=covered by tests R=jonross@chromium.org Review-Url: https://codereview.chromium.org/2846893004 Cr-Commit-Position: refs/heads/master@{#468013}
-
junov authored
BUG=716091 Review-Url: https://codereview.chromium.org/2851573002 Cr-Commit-Position: refs/heads/master@{#468012}
-
Stephen Lanham authored
Recently, fake-bidi was introduced into the list of supported locales: https://codereview.chromium.org/2773453003 This introduced a bug where fake-bidi appeared on our list of supported locales, yet could not be selected as a locale. Since we are missing dedeicated resources for fake-bidi, and not of our tests explicitly support it, remove support everywhere for consistency. Also unify the locale list into a single place that can be referenced from anywhere in GN. BUG= internal b/37215118 Test: All .pak files generate properly, setup test works. Change-Id: I8bc7e7335716d14288654d9912479d31f6438555 Reviewed-on: https://chromium-review.googlesource.com/488166Reviewed-by:
Luke Halliwell <halliwell@chromium.org> Commit-Queue: Stephen Lanham <slan@chromium.org> Cr-Commit-Position: refs/heads/master@{#468011}
-
csharrison authored
BUG=637415 Review-Url: https://codereview.chromium.org/2843153002 Cr-Commit-Position: refs/heads/master@{#468010}
-
luoe authored
ConsolePrompt's moveCaretToEndOfPrompt() works by setting the CodeMirror editor's selection to the end. After a recent CodeMirror roll, doing so now scrolls the editor into view. This change in behavior led to an error where expanding an object in console would jump the viewport to bottom. This CL only focuses the prompt without moving the cursor, in some cases. BUG=706128 Review-Url: https://codereview.chromium.org/2840663002 Cr-Commit-Position: refs/heads/master@{#468009}
-
avi authored
The interface taking a raw pointer is deprecated and being removed. BUG=690937 Review-Url: https://codereview.chromium.org/2853443002 Cr-Commit-Position: refs/heads/master@{#468008}
-
galinap authored
Screenshots at https://drive.google.com/drive/folders/0B7eRCSITD4qmelN0aEFMQXNwNTA?usp=sharing BUG=716022 Review-Url: https://codereview.chromium.org/2849523004 Cr-Commit-Position: refs/heads/master@{#468007}
-
avi authored
The interface taking a raw pointer is deprecated and being removed. BUG=690937 Review-Url: https://codereview.chromium.org/2847013003 Cr-Commit-Position: refs/heads/master@{#468006}
-
avi authored
The interface taking a raw pointer is deprecated and being removed. BUG=690937 Review-Url: https://codereview.chromium.org/2844413004 Cr-Commit-Position: refs/heads/master@{#468005}
-
avi authored
The interface taking a raw pointer is deprecated and being removed. BUG=690937 Review-Url: https://codereview.chromium.org/2847763003 Cr-Commit-Position: refs/heads/master@{#468004}
-
lukasza authored
This CL fixes presubmit_scheme_histograms.py and presubmit_bad_message_reasons.py which after r462591 would always report presubmit errors (because it started returning a tuple from HistogramNeedsUpdate which always coerces to True in the broken presubmit scripts). After r462591 HistogramNeedsUpdate effectively checks all histogram-enum-related presubmits (both for updating histograms.xml and for detecting duplicate values). Therefore the current CL renames this function to CheckPresubmitErrors and makes it return a presubmit error (rather than a tuple of (needs_updating, duplicates)). This refactoring has a nice side benefit - after this CL, all presubmits going through CheckPresubmitErrors will check for duplicate values (r462591 only added this check for UseCounter histograms). This CL also tweaks content/browser/PRESUBMIT.py so that it applies *both* to upload-time and commit-time checks (without this change |git cl presubmit| would not hit the checks related to content/browser/bad_message.h - they would only be hit when running |git cl presubmit --upload|). Manual testing done: - Make changes in content/browser/bad_message.h, chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc, third_party/WebKit/Source/code/frame - Run git cl presubmit and verify that the presubmit checks detect 1) duplicates and 2) the need to update histograms.xml BUG=577772 TEST=See "Manual testing done" above. TBR=sky@chromium.org, jochen@chromium.org, rdevlin.cronin@chromium.org Review-Url: https://codereview.chromium.org/2841823007 Cr-Commit-Position: refs/heads/master@{#468003}
-
oysteine authored
This adds the basic internals of the GRC; CoordinationUnits which can form a DAG, receive events, and send back updated resource usage policies. A full prototype of GRC usage can be seen here: https://codereview.chromium.org/2710823003 Service architecture doc: https://docs.google.com/document/d/1qec4DNDM2pLLIFfCBtnNQTxlNXQzjml69yC8SGU9bzI/edit# GRC parent doc (internal only): https://docs.google.com/document/d/1dx4KDbDFvP-GWwwrSPg8Gxx4kboIoPi8kDKTSXoTbC4/edit#heading=h.td4yhfm12fe3 R=primiano@chromium.org,skyostil@chromium.org,fmeawad@chromium.org,rockot@chromium.org BUG=691886 Review-Url: https://codereview.chromium.org/2798713002 Cr-Commit-Position: refs/heads/master@{#468002}
-
nhiroki authored
When forcible termination is requested, WorkerThread::WillProcessTask() calls PrepareForShutdownOnWorkerThread() that disposes of the global scope scheduler, which in turn disposes of the task to be run. This results in crashes. This CL moves PrepareForShutdownOnWorkerThread() call from WillProcessTask() to DidProcessTask() to fix the crashes. This could still cause a crash if the termination request is issued between DidProcessTask() and WillProcessTask() because in the case a task runs and may access an empty handle returned by V8 API. However, such a case would be rare because generally forcible termination is scheduled as a delayed task(*) and DidProcessTask() can have a chance to check IsForciblyTerminated() before it's fired. (*) Forcible termination could synchronously be called in some path, but it'll be removed (see issue 641846). BUG=713914 Review-Url: https://codereview.chromium.org/2849583004 Cr-Commit-Position: refs/heads/master@{#468001}
-
igorcov authored
If it happens that user policy is retrieved before session is started, then there's no policy to apply to the user which could be used as policy enforcement escape. This is a case when some flow went wrong, and we abandon the user sign in. BUG=689206 Review-Url: https://codereview.chromium.org/2801993002 Cr-Commit-Position: refs/heads/master@{#468000}
-
nhiroki authored
Spec: https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule BUG=627945 Review-Url: https://codereview.chromium.org/2851693002 Cr-Commit-Position: refs/heads/master@{#467999}
-
slan authored
This feature was reverted due to the new browsertest being flaky on internal Cast infrastructure: crrev.com/2838813003 === Original Commit Message === In Chromium, Finch-enabled features are controlled through base::FeatureList, a class which abstracts the experiment framework and developer overrides from client code. Though Chromecast's experiment framework is fundamentally different (in that it is server-driven) Cast builds can still make use of this class. Introduce some utilities to help. At boot-up, the pref store will be queried for experiment configs, which were cached to disk on the most recent config fetch from the last boot cycle. If a developer overrides these features from the command line, that value takes precedence. These features will be used to initialize base::FeatureList, which can then be statically queried from any client code that depends on //base. This patch does not actually introduce or convert any existing features to use this framework. BUG=714291 BUG= internal b/35424335 Review-Url: https://codereview.chromium.org/2836263003 Cr-Commit-Position: refs/heads/master@{#467998}
-
lanwei authored
When a pen enters and leaves a tablet's proximity and enters again, the PointerEvents' isPrimary should always be true. Testing page: https://patrickhlauke.github.io/touch/tracker/multi-touch-tracker-pointer-hud.html Webplatform test pointerevent_pointerleave_pen-manual.html does not work right now because of no support of PointerLeave events when pen leaves the range of the tablet in PointerActionSequence API. I will add it soon. BUG=713745 Review-Url: https://codereview.chromium.org/2831933002 Cr-Commit-Position: refs/heads/master@{#467997}
-
skia-deps-roller@chromium.org authored
https://skia.googlesource.com/skia.git/+log/56de05fec3fa..0122af08f6af $ git log 56de05fec..0122af08f --date=short --no-merges --format='%ad %ae %s' 2017-04-27 msarett Revert "Delete copyTo(Allocator), hide copyTo() behind flag" 2017-04-27 herb Add instrumentation into SkArenaAlloc. 2017-04-27 mtklein jumper, remove C(int) 2017-04-27 egdaniel Revert "Plumb the use of GrBackendRenderTarget throughout Skia" 2017-04-26 brianosman Fold SkImageCacherator into SkImage_Lazy 2017-04-27 mtklein jumper, replace _i with normal constants 2017-04-26 egdaniel Plumb the use of GrBackendRenderTarget throughout Skia 2017-04-27 egdaniel Add additional checks when creating vulkan context 2017-04-27 kjlubick Don't reboot Pixel C or Nexus Player before task 2017-04-27 msarett Delete copyTo(Allocator), hide copyTo() behind flag 2017-04-27 mtklein In ok thread mode, use wait_util instead of wait_for. 2017-04-27 mtklein clear out C(), _i, and _f constants from SkJumper_vectors.h 2017-04-24 reed remove legacy code 2017-04-26 egdaniel Change vulkan image memory allocation back to using sub allocation 2017-04-25 brianosman Finish removing GrContext param from onRefEncodedData 2017-04-26 brianosman Fix color space handling in SkImage_Gpu::getROPixels 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=benjaminwagner@chromium.org Change-Id: I29643b478fde4d32304518327ea933b4e9176491 Reviewed-on: https://chromium-review.googlesource.com/489483Reviewed-by:
Skia Deps Roller <skia-deps-roller@chromium.org> Commit-Queue: Ravi Mistry <rmistry@chromium.org> Cr-Commit-Position: refs/heads/master@{#467996}
-
szager authored
Every LayoutBox with a PaintLayer will do some layer updating at the end of its layout; this consists of: - updating the layer's transform - updating the layer's scrollable area, if necessary - in the near future, updating the layer's size This change consolidates all of those into LayoutBox::UpdateAfterLayout. BUG=701575 R=skobes@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2839183002 Cr-Commit-Position: refs/heads/master@{#467995}
-
Sunny Sachanandani authored
Changes the confusing ACTION_funnel_ names in scheduler state machine to did_ACTION_. Replaces prepare_tiles_funnel_ (the only real "funnel") with a bool that does the same job. Changes the state machine to use default member initialization. One SchedulerTest which explicitly tested that we reset the funnel after visibility change had to be modified. Since we don't reset the prepare tiles state on begin frame any more that old test doesn't work as is. Following along the discussion in crbug.com/497473#c14 the test's exact behavior isn't needed as we never end up in a situation with an ever increasing prepare tiles funnel after this change. R=danakj BUG=NONE CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1541b358d05ad1b824955ae63e3bcb173c3ffda3 Reviewed-on: https://chromium-review.googlesource.com/487322 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:
danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#467994}
-
danakj authored
This will run the unit test suites for the try bots and on the main chromium waterfall. Once this is done, we can remove them from the separate webkit waterfall. R=dpranke@chromium.org BUG=713180, 703894 Review-Url: https://codereview.chromium.org/2849673002 Cr-Commit-Position: refs/heads/master@{#467993}
-
schenney authored
We were drawing the text area resizer using an image scaled to either 100% or 200% depending on the device scale factor. This leads to a resizer that is too small at 190% DPI, for example, and seems to sometimes draw too small on standard 2x DPI devices. This patch refactors the code to paint the resizer using lines, rather than an image. This results in correct behavior for any scale. R=fmalita@chromium.org, peter@chromium.org BUG=599225 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2835203005 Cr-Commit-Position: refs/heads/master@{#467992}
-
drcrash authored
This allows calling chrome.enterprise.platformKeys.challengeMachineKey() from a profile that does not have a user associated with it. BUG=715121 TEST=unit tests Review-Url: https://codereview.chromium.org/2841553002 Cr-Commit-Position: refs/heads/master@{#467991}
-
fdoray authored
This method has been replaced by Create() and Start(). R=gab@chromium.org TBR=gab@chromium.org BUG=690706 Review-Url: https://codereview.chromium.org/2845913004 Cr-Commit-Position: refs/heads/master@{#467990}
-
fhorschig authored
This CL corrects the load time metrics for Logos on the NTP. The old behavior: ----------------- If the doodle cache is empty, the LogoShownTime will be recorded when the next DoodleService#Refresh triggers the observer who requested a Refresh. If the requested refresh is skipped, the observer records the time when the next notification happens due to a refresh triggered by a different caller. This can be timely but is much more likely to be 15 min or more in the future. This delay blurs the metric. The wanted/new behavior: ------------------------ This CL introduces a way to know that the refresh was skipped. The observer that records LogoShownTime uses it to prevent recording any metrics for this case. BUG=713166 Review-Url: https://codereview.chromium.org/2833473002 Cr-Commit-Position: refs/heads/master@{#467989}
-
fdoray authored
ScopedTaskEnvironment allows usage of ThreadTaskRunnerHandle and base/task_scheduler/post_task.h within its scope. It should be instantiated in everytest that uses either of these APIs (i.e. no test should instantiate a MessageLoop directly). Motivation for ScopedTaskEnvironment can be found in: https://docs.google.com/document/d/1QabRo8c7D9LsYY3cEcaPQbOCLo8Tu-6VLykYXyl3Pkk/edit BUG=708584 R=gab@chromium.org TBR=sadrul@chromium.org Review-Url: https://codereview.chromium.org/2849603003 Cr-Commit-Position: refs/heads/master@{#467988}
-
fdoray authored
ScopedTaskEnvironment allows usage of ThreadTaskRunnerHandle and base/task_scheduler/post_task.h within its scope. It should be instantiated in everytest that uses either of these APIs (i.e. no test should instantiate a MessageLoop directly). Motivation for ScopedTaskEnvironment can be found in: https://docs.google.com/document/d/1QabRo8c7D9LsYY3cEcaPQbOCLo8Tu-6VLykYXyl3Pkk/edit BUG=708584 R=gab@chromium.org TBR=sky@chromium.org Review-Url: https://codereview.chromium.org/2846723004 Cr-Commit-Position: refs/heads/master@{#467987}
-
mnissler authored
The device_settings_cache_unittest.cc file was accidentally dropped from the build a long time ago. BUG=chromium:139126,chromium:661774 TEST=DeviceSettingsCacheTest* passes. Review-Url: https://codereview.chromium.org/2849533005 Cr-Commit-Position: refs/heads/master@{#467986}
-