- 11 Jan, 2017 40 commits
-
-
boliu authored
Move getSmallestDIPWidth to ChromeContextUtil in chrome. This removes the last usage of DeviceDisplayInfo, so finally remove it. BUG=625089 Review-Url: https://codereview.chromium.org/2623653002 Cr-Commit-Position: refs/heads/master@{#442981}
-
fs authored
The former should "win" over the latter. Fixed by https://codereview.chromium.org/2478233002. TBR=pdr@chromium.org BUG=415950 Review-Url: https://codereview.chromium.org/2621153005 Cr-Commit-Position: refs/heads/master@{#442980}
-
dcastagna authored
KMS now advertises per plane buffer modifiers. This patch uses that information to make an educated choice on which modifiers to use when allocating scanout buffers for a specific crtcs. patch from issue 2576263002 at patchset 60001 (http://crrev.com/2576263002#ps60001) BUG=chrome-os-partner:56407 Review-Url: https://codereview.chromium.org/2623963002 Cr-Commit-Position: refs/heads/master@{#442979}
-
maxbogue authored
Still lost as to why it would be null, but this should stop crashes. BUG=679657,673883 Review-Url: https://codereview.chromium.org/2622223003 Cr-Commit-Position: refs/heads/master@{#442978}
-
bzanotti authored
The first one should always be the default one. Updated switch case: http://screen/PTLfmU9H7h0.png BUG=660418 Review-Url: https://codereview.chromium.org/2614973002 Cr-Commit-Position: refs/heads/master@{#442977}
-
dimu authored
Cr-Commit-Position: refs/heads/master@{#442976}
-
pdr authored
Slimming paint invalidation (--enable-slimming-paint-invalidation) moves paint invalidation to a new "pre-paint" document lifecycle stage. This patch moves prePaint under the "Update Layer Tree" timeline category, and adds a comment to move this under "Paint" for slimming paint v2 (see discussion in https://codereview.chromium.org/2623613008). BUG=679403 Review-Url: https://codereview.chromium.org/2622983002 Cr-Commit-Position: refs/heads/master@{#442975}
-
siggi authored
This implements a fallback crash handler launcher. The launcher will be instantiated in the Crashpad handler process, where it pre-computes a command line to be launched on crash. This will be triggered off the UEF, under some form of single-instance locking. BUG=678959 Review-Url: https://codereview.chromium.org/2596463002 Cr-Original-Original-Commit-Position: refs/heads/master@{#442596} Committed: https://chromium.googlesource.com/chromium/src/+/d4e43bb5146c7a59123ff5f3b6e853d8e8c29130 Review-Url: https://codereview.chromium.org/2596463002 Cr-Original-Commit-Position: refs/heads/master@{#442698} Committed: https://chromium.googlesource.com/chromium/src/+/f87fdaa12b09ff286d873e7a3ea459507d7adb83 Review-Url: https://codereview.chromium.org/2596463002 Cr-Commit-Position: refs/heads/master@{#442974}
-
zakerinasab authored
Implement color management for ImageData as described in this proposal: github.com/junov/CanvasColorSpace/blob/master/CanvasColorSpaceProposal.md Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/qu73qpdGunE BUG=670712 CQ_INCLUDE_TRYBOTS=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/2555213002 Cr-Commit-Position: refs/heads/master@{#442973}
-
yzshen authored
It is convenient for debugging. Although console.log() is supported by chrome directly, mojo bindings currently are loaded using gin. Therefore, console.log() is not always available and needs to be defined as a module. After we move away from gin/AMD, we should be able to get rid of this. BUG=579646 TBR=jochen@chromium.org (deferring to eugenebut) Review-Url: https://codereview.chromium.org/2618693004 Cr-Commit-Position: refs/heads/master@{#442972}
-
fdoray authored
The following traits are used: Priority: Inherited (default) The priority is inherited from the calling context (i.e. TaskTraits are initialized with the priority of the current task). Shutdown behavior: CONTINUE_ON_SHUTDOWN Tasks posted with this mode which have not started executing before shutdown is initiated will never run. Tasks with this mode running at shutdown will be ignored (the worker will not be joined). Note: Tasks that were previously posted to base::WorkerPool should use this shutdown behavior because this is how base::WorkerPool handles all its tasks. May Block: Tasks posted with MayBlock() may block. This includes but is not limited to tasks that wait on synchronous file I/O operations: read or write a file from disk, interact with a pipe or a socket, rename or delete a file, enumerate files in a directory, etc. This trait isn't required for the mere use of locks. BUG=659191 Review-Url: https://codereview.chromium.org/2608093002 Cr-Commit-Position: refs/heads/master@{#442971}
-
dtseng authored
Previously, accessibility extensions required content scripts to access locked screen UI. With the introduction of chrome.automation, this is no longer necessary. An extension running in the signed in profile can easily access locked screen UI. We therefore can: - remove enabling an extension in the locked screen ui's profile (e.g. adding ChromeVox as a component extension). - stop injection of content scripts into the locked screen's web ui. TEST=navigate to locked screen with ChromeVox on. Verify things work. Toggle ChromeVox off and on. Verify things still work. BUG=676467,611736 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2617633004 Cr-Commit-Position: refs/heads/master@{#442970}
-
krasin authored
BUG=678915 Review-Url: https://codereview.chromium.org/2621193003 Cr-Commit-Position: refs/heads/master@{#442969}
-
pdfium-deps-roller authored
https://pdfium.googlesource.com/pdfium.git/+log/76a44dea3180..8fa82794ffc2 $ git log 76a44dea3..8fa82794f --date=short --no-merges --format='%ad %ae %s' 2017-01-11 tsepez Annotation deleted while retrieving it in JS BUG=679642 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 TBR=dsinclair@chromium.org Review-Url: https://codereview.chromium.org/2623263002 Cr-Commit-Position: refs/heads/master@{#442968}
-
sdefresne authored
gn will be modified to no longer propagate public_configs across toolchains (as this is a problem with some platforms). Refactor ios_framework_bundle template to define the configs for all the toolchains and to put the references directly (instead of having secondary toolchain get them through the dependency). BUG=675224 Review-Url: https://codereview.chromium.org/2627983002 Cr-Commit-Position: refs/heads/master@{#442967}
-
manzagop authored
The intent is to store the chrome module's information as early as possible so it's always present in the stability debug data. For information about other modules, see https://chromiumcodereview.appspot.com/2566983009/ BUG=620813 Review-Url: https://codereview.chromium.org/2622863004 Cr-Commit-Position: refs/heads/master@{#442966}
-
tfarina authored
The last usage of this method was removed by commit 451a6636: ("rlz: get rid of the call to AppendHeaderIfMissing()"). This also made possible to remove HasHeader() as AppendHeaderIfMissing() were the only client of it. With removing HasHeader() method from HttpUtil we fixed the Darin's TODO. BUG=488593 TEST=net_unittests R=mmenke@chromium.org Review-Url: https://codereview.chromium.org/2624213002 Cr-Commit-Position: refs/heads/master@{#442965}
-
skyostil authored
This flag needs to be passed to the renderer to actually disable background throttling. BUG=678745 Review-Url: https://codereview.chromium.org/2624153002 Cr-Commit-Position: refs/heads/master@{#442964}
-
carlosk authored
This CL adds some support ahead of time for the upcoming one that will partially move mixed content checks to the browser (https://crrev.com/1905033002). These changes are: - Split mixed content Blink public code into two different files to separate constants (WebMixedContentContextType) from functions (WebMixedContent). - The renderer now sends back to the browser information about the WebMixedContentContextType for navigation requests so that the browser won't need to execute Blink code (what is not acceptable). There's quite some piping involved in making this happen and some tests needed updates to avoid DCHECKs to be hit. For browser side requests it is set to match the RequestContextType used (blink::WebMixedContentContextType::Blockable to content::REQUEST_CONTEXT_TYPE_LOCATION). - Moved mixed content code that was previously made public back into MixedContentChecker where it used to be as it doesn't need to be public anymore. BUG=576270 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2625633002 Cr-Commit-Position: refs/heads/master@{#442963}
-
yunchao.he authored
https://chromium.googlesource.com/external/khronosgroup/webgl.git/+log/046d1f6..06ad9fd BUG= TEST=bots CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2626963002 Cr-Commit-Position: refs/heads/master@{#442962}
-
clamy authored
Currently we attempt to query RenderFrameDevToolsAgentHost::IsNetworkHandlerEnabled based on the frame that is navigating. However, there may not be a RenderFrameDevToolsAgentHost for a subframe that is navigating even though there is one for the top-level frame, where the NetworkHandler is active. This prevents from properly reporting headers in subframe navigations. BUG=551000 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2628593002 Cr-Commit-Position: refs/heads/master@{#442961}
-
dfalcantara authored
Problematically, new DownloadItems are created with no file name when a download first starts. This means that the DownloadHistoryItemWrapper is added to the wrong part of the FilePathsToDownloadItemsMap and can't be removed until the user re-opens Download Home, which correctly records the DownloadItem in the correct place. * Change the behavior so a download completion event also triggers the item to be added to the map -- this time with the correct file path. * Also make the FilePathsToDownloadItemsMap use a HashSet for its secondary data structure. It ends up slightly cleaner IMO. * Cleans up the StubbedProvider so that it can take in specific download percentages more easily. * Add a new test for this behavior. BUG=670583 TEST=DownloadHistoryAdapterTest* Review-Url: https://codereview.chromium.org/2626903005 Cr-Commit-Position: refs/heads/master@{#442960}
-
Jamie Madill authored
These tests were probably accidentally dropped some time ago. BUG=angleproject:1385 R=eyaich@chromium.org TBR=dtu@chromium.org, eyaich@chromium.org Review-Url: https://codereview.chromium.org/2625933003 . Cr-Commit-Position: refs/heads/master@{#442959}
-
sdefresne authored
In preparation of the removal of BrowserListIOS, implements free function to maintain explicitly the 1:N mapping from ios::ChromeBrowserState to TabModel. BUG=None Review-Url: https://codereview.chromium.org/2621083003 Cr-Commit-Position: refs/heads/master@{#442958}
-
byungchul authored
ENABLED_SCREEN_CAPTURE is not flag to enable DesktopCaptureDevice. It enables DesktopCaptureDeviceAura (if use_aura=1). Use BUILDFLAG(ENABLE_WEBRTC) instead of ENABLED_SCREEN_CAPTURE to use DesktopCaptureDevice in VidepCaptureManager. BUG=internal b/34176576 Review-Url: https://codereview.chromium.org/2625553003 Cr-Commit-Position: refs/heads/master@{#442957}
-
kylechar authored
Running mustash on device currently crashes on startup. This is because ui::Service doesn't create a TaskScheduler before Ozone DRM uses it. One option is to have ui::Service::OnStart() create a TaskScheduler. If other Mojo applications need a task scheduler they'll have to do the same. Instead, have MashRunner start a TaskRunner for each process. This fixes the crash in Ozone DRM and doesn't seem to cause any other problems. BUG=679840 Review-Url: https://codereview.chromium.org/2621153003 Cr-Commit-Position: refs/heads/master@{#442956}
-
sadrul authored
The gpu host should set up GpuPreferences correctly and send that to the gpu process so that GpuService is initialized with the desired settings. The corresponding chrome-ipc, GpuMsg_Initialize, also includes the GpuPreferences. Also includes a build fix for mac. BUG=643746, 630895 Review-Url: https://codereview.chromium.org/2627993002 Cr-Commit-Position: refs/heads/master@{#442955}
-
michaeldo authored
BUG=none Review-Url: https://codereview.chromium.org/2619483002 Cr-Commit-Position: refs/heads/master@{#442954}
-
fdoray authored
The following traits are used: Priority: Inherited (default) The priority is inherited from the calling context (i.e. TaskTraits are initialized with the priority of the current task). Shutdown behavior: CONTINUE_ON_SHUTDOWN Tasks posted with this mode which have not started executing before shutdown is initiated will never run. Tasks with this mode running at shutdown will be ignored (the worker will not be joined). Note: Tasks that were previously posted to base::WorkerPool should use this shutdown behavior because this is how base::WorkerPool handles all its tasks. May Block: Tasks posted with MayBlock() may block. This includes but is not limited to tasks that wait on synchronous file I/O operations: read or write a file from disk, interact with a pipe or a socket, rename or delete a file, enumerate files in a directory, etc. This trait isn't required for the mere use of locks. BUG=659191 Review-Url: https://codereview.chromium.org/2604923002 Cr-Commit-Position: refs/heads/master@{#442953}
-
skia-deps-roller authored
https://skia.googlesource.com/skia.git/+log/f4faccd3b303..a5494f117086 $ git log f4faccd3b..a5494f117 --date=short --no-merges --format='%ad %ae %s' 2017-01-10 halcanary SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-10 brianosman Get latest ANGLE as of January 6, 2017 2017-01-10 msarett Add readPixels() tests for generator backed images 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 TBR=kjlubick@google.com Review-Url: https://codereview.chromium.org/2626073004 Cr-Commit-Position: refs/heads/master@{#442952}
-
zpeng authored
BUG=672933 Review-Url: https://codereview.chromium.org/2626933003 Cr-Commit-Position: refs/heads/master@{#442951}
-
bauerb authored
Setting android:visible="false" only seems to work on groups, not individual items. Review-Url: https://codereview.chromium.org/2621203004 Cr-Commit-Position: refs/heads/master@{#442950}
-
zqzhang authored
ImageDownloader does not return valid HTTP status code for local URLs. This CL removes the check for HTTP status code from MediaImageManager, so that it only checks for the list of downloaded to see if the image fetch succeeded or not. This CL also adds tests for verifying ImageDownloader returns correct results. BUG=679694 Review-Url: https://codereview.chromium.org/2625703002 Cr-Commit-Position: refs/heads/master@{#442949}
-
dcheng authored
WindowProxy for remote frames will soon use remote contexts to avoid the overhead of instantiating a full v8::Context. As preparation, separate the logic for WindowProxy into LocalFrame and RemoteFrame versions to make it obvious what's used in each path. To avoid adding virtual calls to the fast path, common members such as the lifecycle state and the global proxy have been moved to the base class. When the WindowProxy is already initialized, this avoids the cost of any virtual calls. Future CLs will: - Convert RemoteWindowProxy to use v8::Context::NewRemoteContext - Merge LocalWindowProxyManager back into ScriptController - Clean up the interface for transferring global objects - Clean up the layering between WindowProxy and its subclasses BUG=527190 Review-Url: https://codereview.chromium.org/2620313002 Cr-Commit-Position: refs/heads/master@{#442948}
-
dbeam authored
R=dschuyler@chromium.org BUG=673953 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2617533003 Cr-Commit-Position: refs/heads/master@{#442947}
-
foolip authored
BUG=679420 TBR=sadrul@chromium.org Review-Url: https://codereview.chromium.org/2626823005 Cr-Commit-Position: refs/heads/master@{#442946}
-
alexilin authored
Current version of python sqilte3 library hasn't support of views. But new sqlite3 binary used in chrome implicitly creates MmapStatus view everytime that causes incompatibility problem. This workaround creates a temporary copy of given database and deletes the view through sqlite3 command line tool that has support of views. BUG=631966 Review-Url: https://codereview.chromium.org/2620053002 Cr-Commit-Position: refs/heads/master@{#442945}
-
droger authored
The code was using "Prerender.PrefetchAge" instead of "PrefetchAge", reporting wrong names (e.g. "Prerender.omnibox_Prerender.PrefetchAge" instead of "Prerender.omnibox_PrefetchAge"). Review-Url: https://codereview.chromium.org/2620383002 Cr-Commit-Position: refs/heads/master@{#442944}
-
pmonette authored
The Win 10 promo is now skipped when the DefaultBrowserSettingEnabled group policy is disabled or the browser distribution does not allow Chrome to be set as the default browser. BUG=679816 Review-Url: https://codereview.chromium.org/2625793002 Cr-Commit-Position: refs/heads/master@{#442943}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/1d093723..d1d93c3a 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 TBR=hablich@chromium.org,machenbach@chromium.org,littledan@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2627913002 Cr-Commit-Position: refs/heads/master@{#442942}
-