- 01 May, 2017 40 commits
-
-
robliao authored
This reverts commit f07732ec (https://codereview.chromium.org/2791933004) and reapplies b6d0c9a0 (https://codereview.chromium.org/2690183002/). BUG=653916, 707986 TBR=jam@chromium.org, rkaplow@chromium.org Previously reviewed at https://codereview.chromium.org/2690183002/ Review-Url: https://codereview.chromium.org/2856583002 Cr-Commit-Position: refs/heads/master@{#468376}
-
acondor authored
BUG=716201 Review-Url: https://codereview.chromium.org/2853843002 Cr-Commit-Position: refs/heads/master@{#468375}
-
pkl authored
This is the first step of deprecating Native App Launcher. This step removes the functionality from Chrome so testing can start. There will be lots of dead code and unused classes/methods left after this step and they will be pruned in subsequent CLs. BUG=711511 TEST=Tools > Settings > Google Apps should not be there. Visits to Maps or YouTube sites will not show infobar. Tapping on Maps or YouTube links may still launch Maps and YouTube app because of Universal Links. Review-Url: https://codereview.chromium.org/2821453003 Cr-Commit-Position: refs/heads/master@{#468374}
-
rch authored
to serve as the base class for all QUIC tests. This includes code to flip flags back to their default values. Merge internal change: 154732382 BUG= Review-Url: https://codereview.chromium.org/2848203002 Cr-Commit-Position: refs/heads/master@{#468373}
-
mfomitchev authored
This is needed for proper latency reporting in Mus and in fact also in classic Chrome now that renderers submit compositor frames over Mojo. BUG=686865 Review-Url: https://codereview.chromium.org/2847553003 Cr-Commit-Position: refs/heads/master@{#468372}
-
japhet authored
BUG= Review-Url: https://codereview.chromium.org/2850983002 Cr-Commit-Position: refs/heads/master@{#468371}
-
rbpotter authored
Enable post script printing by default, modify flag to turn off the feature so that it can be used as a killswitch if needed. Also remove the print scaling histogram entries as they are no longer needed (see https://codereview.chromium.org/2834453004/) BUG=706218 Review-Url: https://codereview.chromium.org/2847273002 Cr-Commit-Position: refs/heads/master@{#468370}
-
Ian Clelland authored
This change ensures that the pending container policy is used (along with the pending sandbox flags) when constructing a new renderframe to support a cross- origin navigation. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Bug: 716478 Change-Id: Ib6b46ea639e660527e4e144845dcaea4b8e2695f Reviewed-on: https://chromium-review.googlesource.com/490466Reviewed-by:
Ian Clelland <iclelland@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Ian Clelland <iclelland@chromium.org> Cr-Commit-Position: refs/heads/master@{#468369}
-
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=emircan@chromium.org, tdresser@chromium.org Review-Url: https://codereview.chromium.org/2846933002 Cr-Commit-Position: refs/heads/master@{#468368}
-
chengx authored
This UMA metric tracks the number of icons requested to create per JumpList update. The actual number of icons created may be less if it fails to create certain icons due to random reasons. Since I've landed some CLs reducing this number and will try to further reduce it, I think this metric should be re-enabled to track the progress. BUG=40407, 179576, 715902 Review-Url: https://codereview.chromium.org/2848763002 Cr-Commit-Position: refs/heads/master@{#468367}
-
sungmann.cho authored
A tooltip for the app menu button is currently not displayed, although it is defined in Toolbar.xib. In viewDidLoad: of ToolbarController, we replace the app menu button from the xib with an AppToolbarButton instance for the material design, so we need to explicitly set a tooltip for it again. BUG=716749 Review-Url: https://codereview.chromium.org/2851063003 Cr-Commit-Position: refs/heads/master@{#468366}
-
fdoray authored
This CL was reverted because of flakiness on try jobs that ran on early patch sets. Errors were fixed on the patch set that landed. The blocking pool is being deprecated in favor of TaskScheduler. BUG=667892 R=stevenjb@chromium.org Review-Url: https://codereview.chromium.org/2770783002 Cr-Original-Commit-Position: refs/heads/master@{#466677} Committed: https://chromium.googlesource.com/chromium/src/+/b67baf11ed95e0e7eb570d99b6de407e48d89476 Review-Url: https://codereview.chromium.org/2770783002 Cr-Commit-Position: refs/heads/master@{#468365}
-
lgrey authored
Two major things here: - The bar is no longer relaid-out directly in response to changes in view size, bookmark model etc. Instead, a new UI-direction-agnostic view model (BookmarkBarLayout) is created from the current state, and if it's different from before, it's applied to the view. - Removed a bunch of layout-related code that's no longer necessary BUG=648560 Review-Url: https://codereview.chromium.org/2751573002 Cr-Commit-Position: refs/heads/master@{#468364}
-
rouslan authored
BUG=705252 Review-Url: https://codereview.chromium.org/2850183002 Cr-Commit-Position: refs/heads/master@{#468363}
-
agrieve authored
An alias is when multiple names map to the same symbol. This happens a lot with small member functions (e.g. getters), as well as with C++ templates. The .map file choses only one name for each symbol, but using nm we can recover the complete list. A shared symbol is one that exists in multiple .o files. The linker map picks one path to attribute the symbol to, but using nm we can recover the complete list of .o files containing the symbol. For aliases, each one is stored as a separate Symbol entry, and a new attribute "pss" returns size / num_aliases. For shared symbols, rather than storing all paths for a symbol, the paths are altered to be the common ancestor. E.g.: /a/b/c.o and /a/d/f.o --> /a/{shared}/2 (2 is the number of paths) For ChromePublic.apk: * 17717 symbols have shared ownership (991402 bytes) * Contains 83869 aliases, mapped to 9209 addresses (550582 bytes) BUG=708865 Review-Url: https://codereview.chromium.org/2851473003 Cr-Commit-Position: refs/heads/master@{#468362}
-
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=sdefresne@chromium.org Review-Url: https://codereview.chromium.org/2846723005 Cr-Commit-Position: refs/heads/master@{#468361}
-
stevenjb authored
This CL: * Updates the API code to make better use of user_manager::User. * Adds an isSUpervised property to usersPrivate::User. * Hides the email address for supervised users and whitelisted users not on the device (where the name is unknown). * Adds CrScrollableBehavior to the user list so that top and bottom borders for the list display properly. * Adds a requestUpdateScroll method to CrScrollableBehavior so that borders are set properly when the list updates (in addition to when it scrolls). BUG=715518 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2840313002 Cr-Commit-Position: refs/heads/master@{#468360}
-
ahassani authored
Recovery count is used to track the recovery behavior of Chrome OS users. BUG=693754 Review-Url: https://codereview.chromium.org/2844493003 Cr-Commit-Position: refs/heads/master@{#468359}
-
chfremer authored
This CL is part of the Mojo Video Capture work. For the bigger picture, see [1] CL23. Purpose of this CL: Stop service when last client disconnects. Once we host it in a separate process, this will allow the service to automatically restart when a new request comes in. Changes in this CL: * Split class video_capture::ServiceImpl into two classes ServiceManagerServiceImpl and VideoCaptureServiceImpl. * In class ServiceManagerServiceImpl, following the example of ImageDecoder [2], use a ServiceContextRefFactory to manage service lifetime and implement a delayed service shutdown when there are no clients. * Add tests ServiceQuitsWhenNoClientConnected and ServiceQuitsWhenClientDisconnectsWhileUsingDevice * In service.mojom, add a method for setting the service shutdown delay. For the automated tests, set the delay to zero. * In DeviceFactoryMediaToMojoAdapter, make sure that |capture_system_->GetDeviceInfosAsync()| is called before |capture_system_->CreateDevice()|. This is required by the implementation VideoCaptureSystemImpl in order to fill the cache |devices_info_cache_|. * In DeviceMediaToMojoAdapter, unsubscibe from |receiver.set_connection_error_handler()| in order to avoid use after free on service shutdown. * In ReceiverMojoToMediaAdapter, introduce class ReceiverOnTaskRunner in order to ensure that mojom.Receiver methods are posted to the correct thread. * In VideoCaptureDeviceClient, allow |external_jpeg_decoder_| to be nullptr, since in the context of the video_capture service, this will (for now) be the case. BUG=584797 TEST= service_unittests --gtest_filter="*Video*" content_unittests --gtest_filter="*Video*" content_browsertests --gtest_filter="VideoCaptureBrowserTest.*" [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing [2] https://cs.chromium.org/chromium/src/services/data_decoder/data_decoder_service.cc?dr=CSs Review-Url: https://codereview.chromium.org/2824883005 Cr-Commit-Position: refs/heads/master@{#468358}
-
chengx authored
Currently, an empty temp file is created before a JumpList icon's content is written to it. However, the temp file is not deleted right away if the content writing fails, which explains why there're empty icon temp files in the jumplist folder sometimes. This indicates we're leaking temp files and may cause performance issues. This CL fixes this issue by deleting the empty temp files right away when necessary. BUG=40407, 179576, 715902, 716601 Review-Url: https://codereview.chromium.org/2852763003 Cr-Commit-Position: refs/heads/master@{#468357}
-
jbudorick authored
BUG=716029 Review-Url: https://codereview.chromium.org/2854503002 Cr-Commit-Position: refs/heads/master@{#468356}
-
qinmin authored
If a download is interrupted on start, notification is not posted. However, the download will show up in download home. This CL fixes the issue by allowing interrupted downloads to post new notifications. BUG=714798 Review-Url: https://codereview.chromium.org/2848723004 Cr-Commit-Position: refs/heads/master@{#468355}
-
tbansal authored
Final experiment results here: https://bugs.chromium.org/p/chromium/issues/detail?id=682041#c18 BUG=682041 Review-Url: https://codereview.chromium.org/2850653002 Cr-Commit-Position: refs/heads/master@{#468354}
-
sky authored
This reverts commit 14d9d00f. Reverting in hopes of fixing 716594. See it for details. I had to do this manually as codereview complained about file being too big. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true R=eustas@chromium.org,holte@chromium.org,rdsmith@chromium.org,holte@chromium.org,mmenke@chromium.org TBR=eustas@chromium.org,holte@chromium.org,rdsmith@chromium.org,holte@chromium.org,mmenke@chromium.org BUG=716594 Review-Url: https://codereview.chromium.org/2849193002 Cr-Commit-Position: refs/heads/master@{#468353}
-
sky authored
And remove the now unused test related classes. BUG=707057 TEST=test only changes R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2847283002 Cr-Commit-Position: refs/heads/master@{#468352}
-
rbpotter authored
Make sure save as PDF sets DPI to a nonzero value. Since we now check it in Windows, if the job settings were previously invalid it will crash if the printer does not reset them correctly. BUG=None Review-Url: https://codereview.chromium.org/2847003007 Cr-Commit-Position: refs/heads/master@{#468351}
-
rouslan authored
Autofill and payments code is using the word 'type' to mean 'issuer network,' e.g., Visa, MasterCard, AmEx. In order to differentiate between credit/debit/prepaid card types in an upcoming patch, the current instances of the word 'type' need to be renamed to 'issuer network.' The changes are in: 1) Autofill table. 2) Method names. 3) Variable names. 4) Comments. The catalog of renames: ---------------------------------------------------------- | BEFORE | AFTER | ---------------------------------------------------------- | AcceptedCardTypes | AcceptedIssuerNetworks | | basic_card_payment_type | basic_card_issuer_network | | BasicCardPaymentType | BasicCardIssuerNetwork | | "card type" | "card issuer network" | | CardTypeInfo | CardIssuerNetwork | | card_type | issuer_network | | CardTypes | CardIssuerNetworks | | CreditCardType | CardNetwork | | CreditCard::type | CreditCard::network | | masked_credit_cards.type | masked_credit_cards.network | | TypeAndLastFourDigits | NetworkAndLastFourDigits | | TypeForDisplay | NetworkForDisplay | | TypeForFill | NetworkForFill | | TypeForMaskedCard | NetworkForMaskedCard | | CardTypeForBasicCardPaymentType | | | | IssuerNetworkForBasicCardIssuerNetwork | ---------------------------------------------------------- Bonus: * This patch has been run through `git cl lint` and `git cl format` to improve the code quality of the affected files. * autofill_sync_constants have been removed because they were not used anywhere. BUG=602665 Review-Url: https://codereview.chromium.org/2844463004 Cr-Commit-Position: refs/heads/master@{#468350}
-
mthiesse authored
Revert of WebVR: fix focus while presenting (patchset #1 id:1 of https://codereview.chromium.org/2847233002/ ) Reason for revert: So there are a bunch of problems with this CL. 1. Now third-party iframes can just arbitrarily read head pose without needing focus as long as the main page has focus. 2. We've just broken the assumption that only one VrDisplay can be focused at a time. If the page has two iframes that want poses, and one presents, they're now both going to be fighting with each other to get the pose information. Original issue's description: > WebVR: fix focus while presenting > > If the WebVR document loses focus, check if the new focused element is an > embedding local parent frame. If that's the case, continue presenting. This > fixes issues with Cardboard-style touch events that are reported as a click at > viewport (0, 0) where the resulting focus loss stopped presentation. > > BUG=710863 > > Review-Url: https://codereview.chromium.org/2847233002 > Cr-Commit-Position: refs/heads/master@{#468140} > Committed: https://chromium.googlesource.com/chromium/src/+/984c8d18acf4b891d5bf39db6a898e2187340e0f TBR=bajones@chromium.org,klausw@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=710863 Review-Url: https://codereview.chromium.org/2851223002 Cr-Commit-Position: refs/heads/master@{#468349}
-
jaydasika authored
This is done by not adding the layer to the render surface layer list (rsll) on the active tree. The layer will still be part of rsll on the pending tree to ensure that it gets rastered. BUG=517170 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2838033002 Cr-Commit-Position: refs/heads/master@{#468348}
-
kylechar authored
Merge the three arrays that contain the valuator number, min and max into one array that contains a struct. These three values are related. BUG=716422 Review-Url: https://codereview.chromium.org/2848253002 Cr-Commit-Position: refs/heads/master@{#468347}
-
pilgrim authored
This CL only affects instances of ASSERT() that have unary parameters with no (in)equality checks. BUG=707638 Review-Url: https://codereview.chromium.org/2846303002 Cr-Commit-Position: refs/heads/master@{#468346}
-
kojii authored
BUG=591099 TBR=eae@chromium.org Review-Url: https://codereview.chromium.org/2847493002 Cr-Commit-Position: refs/heads/master@{#468345}
-
pdfium-deps-roller@chromium.org authored
https://pdfium.googlesource.com/pdfium.git/+log/72b715d51383..b8e00f247803 $ git log 72b715d51..b8e00f247 --date=short --no-merges --format='%ad %ae %s' 2017-05-01 npm Fix CGifLZWDecoder::Decode comparison Created with: roll-dep src/third_party/pdfium 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 Change-Id: I2c0e306547e6a0093165ceb950744c67e01dea9b Reviewed-on: https://chromium-review.googlesource.com/491328 Reviewed-by: <pdfium-deps-roller@chromium.org> Commit-Queue: <pdfium-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#468344}
-
jam authored
Part 1/2. BUG=713847 Review-Url: https://codereview.chromium.org/2847313002 Cr-Commit-Position: refs/heads/master@{#468343}
-
tbansal authored
Disable flaky NetworkQualityEstimator (NQE) test in Cronet. Also, rename a few NQE tests. BUG=710626 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2850873002 Cr-Commit-Position: refs/heads/master@{#468342}
-
mike authored
Reconcile the remaining Service Worker tests that concern the Fetch standard. As noted below, some tests must be persisted in the Chromium project due to unresolved timeout issues in the build environment (see https://crbug.com/658997). **fetch-event-async-respond-with** The Chromium-specific version of this test is almost identical to the version provided by the Web Platform Test suite, though it suffers from timeout issues in the build environment. Rename the Chromium-specific version to document its deprecated status and improve the upstream version to defer frame removal and omit unnecessary resource. **fetch-event-network-error** The upstream version of this test is almost identical to the Chromium-specific version. The Chromium-specific version of this test is almost identical to the version available upstream. The upstream version is preferable because it contains an additional assertion not found in the Chromium version. Remove the Chromium-specific version of this test, and update the upstream version to omit an unnecessary resource. **fetch-event-respond-with-argument** Re-locate Chromium-specific test to the Web Platform Test suite directory so that it may be included in that project. **fetch-event-respond-with-stops-propagation** The Chromium-specific version of this test is almost identical to the version provided by the Web Platform Test suite, though it suffers from timeout issues in the build environment. Rename the Chromium-specific version to reflect its deprecated status, and improve the upstream version to defer frame removal and omit unnecessary resource. **fetch-event** Remove sub-tests from the Chromium-specific version that are present in the upstream version. Rename the test file to reflect the implementation-specific nature of the test. Extend the upstream version with a relaxed version of Chromium's sub-test for request headers. In both versions, formalize tear down logic to ensure consistent frame removal and subsequent client de-registration. BUG=688116, 658997 R=mek@chromium.org Review-Url: https://codereview.chromium.org/2836233002 Cr-Commit-Position: refs/heads/master@{#468341}
-
kylechar authored
There is a crash in DeviceDataManagerX11::UpdateDeviceList() that could occur if there is no valuator information for the deviceid. BUG=716422 Review-Url: https://codereview.chromium.org/2856563002 Cr-Commit-Position: refs/heads/master@{#468340}
-
estade authored
This converts SlideOutView to SlideOutController, which provides all the same functionality but can be added to any view rather than just those that extend it. It allows the target view to control the layer that's sliding out. For toasts, that is the widget's layer. For notifications inside the message center, that will continue to be the NotificationView itself. BUG=716429 Review-Url: https://codereview.chromium.org/2849523005 Cr-Commit-Position: refs/heads/master@{#468339}
-
aelias authored
Revert of Implementing Binary glTF reader for the VR controller model (patchset #3 id:40001 of https://codereview.chromium.org/2852533004/ ) Reason for revert: Test added in this patch fails on downstream bot (see http://crbug.com/717088) BUG=717088 Original issue's description: > Implementing Binary glTF reader for the VR controller model > > The binary glTF format enables us to deliver 3D models on a single file with minimal size. > > Binary glTF Specification in: https://github.com/KhronosGroup/glTF/tree/master/extensions/Khronos/KHR_binary_glTF > > BUG=644562 > > Review-Url: https://codereview.chromium.org/2852533004 > Cr-Commit-Position: refs/heads/master@{#468198} > Committed: https://chromium.googlesource.com/chromium/src/+/b416391e0ae62217afb7ea5ffeb04ab2640a96ed TBR=mthiesse@chromium.org,bajones@chromium.org,acondor@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=644562 Review-Url: https://codereview.chromium.org/2852103002 Cr-Commit-Position: refs/heads/master@{#468338}
-
yzshen authored
And also add a trace event that matches the non-network service path. BUG=598073,694688 Review-Url: https://codereview.chromium.org/2846393002 Cr-Commit-Position: refs/heads/master@{#468337}
-