- 21 Jul, 2017 40 commits
-
-
yoichio authored
Since integers returned by SelectionStartEnd() don't relate each other except start LayoutObject == end LayoutObject. To emphasize that for readability, we should split SelectionStartEnd to each SelectionStart and SelectionEnd. Bug: 739062 Change-Id: Iacb552ea21ea36fc1769d295eaaadec59b8b20b4 Reviewed-on: https://chromium-review.googlesource.com/577986Reviewed-by:
Koji Ishii <kojii@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#488585}
-
Kent Tamura authored
We don't need to create new string with StringBuilder to collect digits. Also, use ParsingUtilities functions to simplify the code. Change-Id: Id98ff2298db5c447f53e13a21c1d9e597e971098 Reviewed-on: https://chromium-review.googlesource.com/580211Reviewed-by:
Takayoshi Kochi <kochi@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#488584}
-
Yoichi Osato authored
That condition is used to consider "if LayoutObject state is still same but offset is changed, we should invalidate it". However since |new_selected_map| includes start and end LO, even if we don't invalidate in this loop, we invalidate them in just below loop. Bug: 739062 Change-Id: I6ab6770565b8852260a226f208923d3b20492af9 Reviewed-on: https://chromium-review.googlesource.com/578968 Commit-Queue: Yoichi Osato <yoichio@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#488583}
-
flim authored
BUG=737323 Review-Url: https://codereview.chromium.org/2962373002 Cr-Commit-Position: refs/heads/master@{#488582}
-
Kent Tamura authored
Introduce NumberParsingOptions, which is a set of parsing behavior flags, and CharactersToFoo{,Strict}() pass options to ToIntegralType(). This CL has no behavior changes. This CL is a preparation to merge CharactersToFoo and CharactersToFooStrict. Bug: 746157 Change-Id: I34d001bb193928288b99afcd0d531536105ce7e0 Reviewed-on: https://chromium-review.googlesource.com/580170Reviewed-by:Takayoshi Kochi <kochi@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#488581}
-
Yoshifumi Inoue authored
This patch makes |Editor::CanCopy()| to work with detached IFRAME to follow up of the patch[1], which found this issue. [1] http://crrev.com/575324: Use a safer pattern for auto resetting RenderFrameImpl members Bug: 746181 Change-Id: If00b1d22476264a042806ff9870ca32229041908 Reviewed-on: https://chromium-review.googlesource.com/578913 Commit-Queue: Yoichi Osato <yoichio@chromium.org> Reviewed-by:
Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#488580}
-
Chromium WPT Sync authored
Using wpt-import in Chromium 52e8a532. Build: https://build.chromium.org/p/chromium.infra.cron/builders/wpt-importer/builds/350 Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md Directory owners for changes in this CL: dom-dev@chromium.org: external/wpt/html TBR=qyearsley@chromium.org No-Export: true Change-Id: I0314cd6481d409755c72c75eb85344c7a25990fe Reviewed-on: https://chromium-review.googlesource.com/580619 Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> Reviewed-by:
Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> Cr-Commit-Position: refs/heads/master@{#488579}
-
Chung-Sheng Wu authored
ZRam has changed its sysfs interfaces since kernel version 3.18. (https://github.com/torvalds/linux/commit/c87d1655c29500b459fb135258a93f8309ada9c7) If file "/sys/block/zram0/mm_stat" exists, use the new interfaces, otherwise, use the old one. Bug=chromium:740438 Change-Id: Ief192baeb76824e06c78744a1a5010b3d8d682fa Reviewed-on: https://chromium-review.googlesource.com/566796Reviewed-by:
Lei Zhang <thestig@chromium.org> Commit-Queue: Zhong-sheng Wu <chungsheng@google.com> Cr-Commit-Position: refs/heads/master@{#488578}
-
rlanday authored
Currently, this method does a linear scan over all spell check markers contained in the text node(s) containing the selection. This takes about 0.553 ms on the source for the "List of Australian treaties" Wikipedia page. This CL refactors this method to instead use the newly-added DocumentMarkerController::FirstMarkerIntersectingRange() method, which is more efficient as it uses binary search. With this change, we now spend about ~0.02 ms in this method doing the same test. BUG=736181 Review-Url: https://codereview.chromium.org/2947093003 Cr-Commit-Position: refs/heads/master@{#488577}
-
Makoto Shimazu authored
This is 7th patch of script streaming project split off from https://chromium-review.googlesource.com/c/538477. Design doc: https://docs.google.com/document/d/1BbETxB2K1GeGUv4XIvGGforAJRRgYSNX5x4vPTGsCPU/edit This patch implements SWInstalledScriptsSender to push the installed scripts over mojo pipes from the browser to the renderer. The sender is started when ServiceWorkerVersion asks EmbeddedWorkerInstance to start the worker. That means that scripts will be received on the io thread immediately after binding the Mojo interface. From this patch, "--enable-features=ServiceWorkerScriptStreaming" takes effect. When LayoutTests under virtual/service-worker-script-streaming fail, please add TestExpectations and report it to https://crbug.com/683037. Bug: 683037 Change-Id: I5aef2cff6026ae3afa004932f77064f24ba8bfc7 Reviewed-on: https://chromium-review.googlesource.com/563144 Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#488576}
-
Yoshifumi Inoue authored
This patch introduces enum class |SetSelectionBy| as replacement of |EUserTriggered| to allow forward declaration for preparation of the patch[1]. It is done by almost mechanical changes: - s/kUserTriggered/SetSelectionBy::kUser/ - s/kNotUserTriggered/SetSelectionBy::kSystem/ This patch also introduces - ConvertSelectionOptionsToSetSelectionBy() - ConvertSetSelectionByToSetSelectionOptions() as |constexpr| instead of |static inline| to utilize C++11 feature and to avoid |static_cast<>| for improving readability. [1] http://crrev.com/c/569662: Introduce SetSelectionData for FrameSelection: :SetSelection() Change-Id: Ib2f5a1dd942f820cd74ea90c37f9243b93336904 Reviewed-on: https://chromium-review.googlesource.com/579027Reviewed-by:
Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#488575}
-
Fady Samuel authored
This CL moves cc/output/begin_frame_args* to components/viz/common/frame_sinks. This CL also moves cc/test/begin_frame_args_test.h to components/viz/test. All other changes are mechanical: updating namespaces, includes, forward declarations. Bug: 722935 TBR: tsepez@chromium.org, boliu@chromium.org, junov@chromium.org, sky@chromium.org, jam@chromium.org Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Change-Id: I3249ccca75de39ff7047f84c7431da7f0e094df8 Reviewed-on: https://chromium-review.googlesource.com/580389 Commit-Queue: Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Bo Liu <boliu@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#488574}
-
timloh authored
This patch adds histograms for tracking site engagement scores for permission prompts, Permissions.Engagement.[Action].[Permission]. BUG=731349 Review-Url: https://codereview.chromium.org/2952003003 Cr-Commit-Position: refs/heads/master@{#488573}
-
catapult-deps-roller@chromium.org authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/d8bc21bf34bf..e11a4d0d822c $ git log d8bc21bf3..e11a4d0d8 --date=short --no-merges --format='%ad %ae %s' 2017-07-20 xunjieli [wpr-go] Fix ScriptInjector's regex pattern matching 2017-07-20 simonhatch Dashboard - Fix usage of RevisionInfo in /add_histograms 2017-07-20 simonhatch Pinpoint - Integrate new job dialog into dashboard Created with: roll-dep src/third_party/catapult 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.android:android_optional_gpu_tests_rel TBR=sullivan@chromium.org Change-Id: I418baebf3795f7d22edf6c0a8027628b64e0fc6c Reviewed-on: https://chromium-review.googlesource.com/580198 Reviewed-by: <catapult-deps-roller@chromium.org> Commit-Queue: <catapult-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#488572}
-
Yusuke Sato authored
BlockingPool is no loner used there. BUG=None TEST=git grep BlockingPool components/arc/ chrome/browser/chromeos/arc/ Change-Id: I4f3c36608405de95a2200f1e5285f45b8d24bd16 Reviewed-on: https://chromium-review.googlesource.com/580171Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Yusuke Sato <yusukes@chromium.org> Cr-Commit-Position: refs/heads/master@{#488571}
-
pdfium-deps-roller@chromium.org authored
https://pdfium.googlesource.com/pdfium.git/+log/3f753f20e9c5..d60609d3a12f $ git log 3f753f20e..d60609d3a --date=short --no-merges --format='%ad %ae %s' 2017-07-20 npm LibTIFF: remove a couple of patches 2017-07-20 dsinclair Add helper class to closed stream commands 2017-07-20 dsinclair Remove CLST_Rect and replace with CFX_FloatRect. 2017-07-20 dsinclair Convert CFX_ListItem to use CFX_FloatRect 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: I6117772462ccc70d152f7e51698151e1239db071 Reviewed-on: https://chromium-review.googlesource.com/580382 Reviewed-by: <pdfium-deps-roller@chromium.org> Commit-Queue: <pdfium-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#488570}
-
Yusuke Sato authored
BUG=chromium:667892 TEST=try, start ARC, press Search+ESC to show the UI Change-Id: I96b9cefaddbe26dc78edcb5217cae58d3c4a6a81 Reviewed-on: https://chromium-review.googlesource.com/580012Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Yusuke Sato <yusukes@chromium.org> Cr-Commit-Position: refs/heads/master@{#488569}
-
Ken Rockot authored
This reverts commit 30a59b17. Reason for revert: Suspected cause of repeat failures such as https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/473789. Apologies if this speculative revert is incorrect. Original change's description: > cros: Added Launcher Animations > > First round of launcher animations. > The launcher now animates from the bottom of the screen when it is > loaded. > The launcher also animates between states. > When the launcher is closed it keeps its old closing animation (for > now). > > Round 2 changes: > Linking the launcher animation with the search result animation. > Jank improvements. > > ** Also in this CL: ** > > AppListView cleanup > AppListPresenterDelegateUnittest fixes > -Introduced HalfToPeekingByClickorTap to test for this use case. > -Refactored and parameterized TapAndClickOutsideClosesHalfAppList > > BUG=735498 > > Change-Id: I11bc0324f9b34d0257e6c08642f0bddb512fa4e4 > Reviewed-on: https://chromium-review.googlesource.com/576257 > Commit-Queue: Alex Newcomer <newcomer@chromium.org> > Reviewed-by: James Cook <jamescook@chromium.org> > Reviewed-by: Yury Khmel <khmel@chromium.org> > Cr-Commit-Position: refs/heads/master@{#488513} TBR=jamescook@chromium.org,khmel@chromium.org,newcomer@chromium.org Change-Id: I7dbbb7feba9bdc3d46b13ef173476afcf7500415 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 735498 Reviewed-on: https://chromium-review.googlesource.com/580430Reviewed-by:
Ken Rockot <rockot@chromium.org> Commit-Queue: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#488568}
-
Joel Hockey authored
Move all callbacks where core/ is accessing code from modules/ into singleton instance of CoreInitializer. Classes that need to execute these callbacks can access them via CoreInitializer. Bug: 734450 Change-Id: I16c1372a36f7fcce663da620e9b7edeb1c820557 Reviewed-on: https://chromium-review.googlesource.com/577491 Commit-Queue: Joel Hockey <joelhockey@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Nicholas Verne <nverne@chromium.org> Cr-Commit-Position: refs/heads/master@{#488567}
-
Ben Goodger authored
WebContentsObservers will now be called prior to ContentBrowserClient::BindInterfaceRequestForFrame to see if they can bind requests for a particular RFH. This allows us to wean the last few embedder use cases of RenderFrameHost's interface registry off it, to using their own. R=rockot@chromium.org TEST=Contextual search in Clank. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation Change-Id: I02afe864ead7352d8ef4829300518b9fe2d81e37 Reviewed-on: https://chromium-review.googlesource.com/544215 Commit-Queue: Ben Goodger <ben@chromium.org> Reviewed-by:
Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#488566}
-
chrome-release-bot authored
TBR=dimu@chromium.org Change-Id: I074e06baf1ade4f175be9a1d254f9db52cc8d3ea Reviewed-on: https://chromium-review.googlesource.com/579848Reviewed-by:
chrome-release-bot@chromium.org <chrome-release-bot@chromium.org> Cr-Commit-Position: refs/heads/master@{#488565}
-
Dave Schuyler authored
This CL correct dialog footer styling so that a footer will have a gray separator line consistently. Bug: 746186 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I1822f3724762f07658404ed03772d2bb8a83e507 Reviewed-on: https://chromium-review.googlesource.com/578375Reviewed-by:
Hector Carmona <hcarmona@chromium.org> Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Dave Schuyler <dschuyler@chromium.org> Cr-Commit-Position: refs/heads/master@{#488564}
-
Wei-Yin Chen (陳威尹) authored
When feature ReaderModeInCCT is turned on, Mobile-friendly View would be shown in a Chrome Custom Tab on high-end devices. No implementation yet. Bug: 726375 Change-Id: Icd00bbd94350768258dd450806b2d9610ab6d34e Reviewed-on: https://chromium-review.googlesource.com/578575 Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#488563}
-
mmenke authored
Revert of Make ProfileIOData use URLRequestContextBuilder (patchset #12 id:330001 of https://codereview.chromium.org/2978443002/ ) Reason for revert: Wasn't thinking when I landed this just before branch. Original issue's description: > Make ProfileIOData use URLRequestContextBuilder > > BUG=734199 > > Review-Url: https://codereview.chromium.org/2978443002 > Cr-Commit-Position: refs/heads/master@{#487590} > Committed: https://chromium.googlesource.com/chromium/src/+/189ddf60b2f4034a2ab6efb16e22ea389b2b779f TBR=rdsmith@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=734199 Review-Url: https://codereview.chromium.org/2986623002 Cr-Commit-Position: refs/heads/master@{#488562}
-
Eugene But authored
This reverts commit 12ac6409. Reason for revert: introduces crbug.com/745945 Original change's description: > Add NSAllowsArbitraryLoadsInWebContent Info plist key > > The old NSAllowsArbitraryLoads key is still required for backwards > compatibility when running on old iOS versions. > > EarlGrey test targets need to download insecure images from > browsingtest.appspot.com so add it as an exception domain in > EarlGreyAddition+Info.plist. > > Bug: 622747 > Change-Id: Ide26330939035cd8a876612dc659c48a6e2bd9fc > Reviewed-on: https://chromium-review.googlesource.com/568791 > Reviewed-by: Eugene But <eugenebut@chromium.org> > Commit-Queue: Mike Dougherty <michaeldo@chromium.org> > Cr-Commit-Position: refs/heads/master@{#486376} TBR=eugenebut@chromium.org,michaeldo@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 622747 Change-Id: If3b5cb105118d301fba67ef9b1d4c46859399022 Reviewed-on: https://chromium-review.googlesource.com/580524Reviewed-by:
Eugene But <eugenebut@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#488561}
-
dpapad authored
This is in preparation of moving const/let to the "allowed" features in the ES6 styleguide. Bug: 671426 Change-Id: I45285d49885470cfe29aaddfe9e9ff6c2ce953a2 Reviewed-on: https://chromium-review.googlesource.com/578731Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Michael Giuffrida <michaelpg@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#488560}
-
Chandan Padhi authored
This CL migrates IPC messages from renderer to browser with basic data types that mojom readily supports. This is the first in a series of CLs to migrate MediaStream IPC to Mojo. This CL follows the pattern in https://codereview.chromium.org/2390103002/. Bug: 742682 TEST=content_unittests --gtest_filter="MediaStreamDispatcherTest*", content_unittests --gtest_filter="MediaStreamDispatcherHostTest*", content_unittests --gtest_filter="UserMediaClientImplTest*", content_browsertests and browser_tests working as before Change-Id: I7cb915b3fc0b8d0297b299b4a13b7ae71e690026 Reviewed-on: https://chromium-review.googlesource.com/571113Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
Emircan Uysaler <emircan@chromium.org> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Commit-Queue: Chandan Padhi <c.padhi@samsung.com> Cr-Commit-Position: refs/heads/master@{#488559}
-
Shanfeng Zhang authored
This will issue of using FormInteractionsUkmLogger in AutofillManager: AutofillManager.Reset() may be called before logging the metrics, which will make FormParsedTimeStamp null when logging the metrics. This fix will keep FormParsedTimeStamp in form_structure and explicitly pass the FormParsedTimeStamp in the callback. We have to make full_card_request take form_parsed_timestamp and pass it back to autofill_manager.OnFullCardRequestSucceeded. Since the time stamp may be destructed or overrided by another form interaction. Bug: 736495 Change-Id: I0068db7bb8c3681937aac9736c1bad0d15b43928 TBR=jochen Change-Id: I0068db7bb8c3681937aac9736c1bad0d15b43928 Reviewed-on: https://chromium-review.googlesource.com/549026 Commit-Queue: Shanfeng Zhang <szhangcs@google.com> Reviewed-by:
Mathieu Perreault <mathp@chromium.org> Reviewed-by:
mahmadi <mahmadi@chromium.org> Reviewed-by:
Sebastien Seguin-Gagnon <sebsg@chromium.org> Reviewed-by:
Roger McFarlane <rogerm@chromium.org> Cr-Commit-Position: refs/heads/master@{#488558}
-
Yoichi Osato authored
This reverts commit cb183afb. Reason for revert: We should calculate traverse stop LayoutObject just-in-time because we clear selection when any LayoutObject which selectionState is not kNone is removed and traverse stop LayoutObject is usually not marked in-selection. That means we might access invalid stop LayoutObject if it is removed. Original change's description: > Move the end of traversing LayoutObject to SelectionPaintRange member > > Instead of calculating the stop LayoutObject, compute it in > SelectionPaintRange constructor. > > This is preparation for splitting SelectionState marking and > invalidation. > > Bug: 739062 > Change-Id: I97083643ca9beb010f879b5c5048d71ce1783ed8 > Reviewed-on: https://chromium-review.googlesource.com/577327 > Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> > Commit-Queue: Yoichi Osato <yoichio@chromium.org> > Cr-Commit-Position: refs/heads/master@{#487789} TBR=yosin@chromium.org,yoichio@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 739062 Change-Id: Ia15d820b3cabb86cfeae3f8c0323284ae5ca5a23 Reviewed-on: https://chromium-review.googlesource.com/579347Reviewed-by:
Yoichi Osato <yoichio@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#488557}
-
Sergey Ulanov authored
Updated GetPreferredExtensionForMimeType() implementation so it searches uses the same MIME type tables that are used for GetExtensionsForMimeType() and GetWellKnownMimeTypeFromExtension() Previously platform_mime_util_linux.cc and mime_extension_chromeos.cc contained some hardcoded tables to map between mime types and filename extensions. There is no reason these need to be separate from the maps in mime_util.cc. Merged them with the tables in mime_util.cc Bug: 731302 Change-Id: Icdaad51c70cffbf62c404297ad615ac5c6dd33e9 Reviewed-on: https://chromium-review.googlesource.com/578649 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:
Eric Roman <eroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#488556}
-
ananta authored
This is in preparation for adding support in the URLFetcher class to use the network URLLoader in the network service mode. BUG=715632 TBR=jam Review-Url: https://codereview.chromium.org/2978373002 Cr-Commit-Position: refs/heads/master@{#488555}
-
achuith authored
Revert of Add deduplication logic to .pak files (patchset #10 id:180001 of https://codereview.chromium.org/2969123002/ ) Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=747171 Original issue's description: > Add deduplication logic to .pak files > > Now, when multiple entries contain the same content, multiple > table-of-contents entries will be created, but only one data region. > > As of now, en-US.pak has ~3200 entries, and 350 of them are duplicates. > > For MonochromePublic.apk, shrinks uncompressed .pak size by ~130kb, and > compressed .pak size by 32kb. > > BUG=738566 > > Review-Url: https://codereview.chromium.org/2969123002 > Cr-Commit-Position: refs/heads/master@{#488215} > Committed: https://chromium.googlesource.com/chromium/src/+/ade347f539a378fb37500f6d17e8835edc1d8ec0 TBR=flackr@chromium.org,sadrul@chromium.org,agrieve@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=738566 Review-Url: https://codereview.chromium.org/2989443002 Cr-Commit-Position: refs/heads/master@{#488554}
-
Bin Zhao authored
Create a CastSocketConfig struct to hold cast socket related settings and clean up CastSocketImpl::OpenSocket() parameters Bug: 734855 Change-Id: I71a9847079a57f5f5c248c3b41354ac5f37bff66 Reviewed-on: https://chromium-review.googlesource.com/575793Reviewed-by:
Derek Cheng <imcheng@chromium.org> Reviewed-by:
mark a. foltz <mfoltz@chromium.org> Commit-Queue: Bin Zhao <zhaobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#488553}
-
Toni Barzic authored
BUG=747157 Change-Id: Ia3aef4d7c88ab53a863ac9a300e288e04dfb0b51 Reviewed-on: https://chromium-review.googlesource.com/580576Reviewed-by:
Michael Giuffrida <michaelpg@chromium.org> Commit-Queue: Toni Barzic <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#488552}
-
Wei-Yin Chen (陳威尹) authored
There will be a stricter type checking in UMA_HISTOGRAM_ENUMERATION: if |boundary| is enum, |sample| must be an enum as well. One common type of violation is unnecessary casting to int. This CL fixes them by retaining the types. Bug: 661401 TBR: bartfab@chromium.org,dtrainor@chromium.org,xiyuan@chromium.org,cpu@chromium.org,boliu@chromium.org,piman@chromium.org,msw@chromium.org,sdefresne@chromium.org,mmenke@chromium.org Change-Id: Ib1294421896e73ba89a2c294022697686fee3199 Reviewed-on: https://chromium-review.googlesource.com/575380 Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:
Alexei Svitkine (slow) <asvitkine@chromium.org> Reviewed-by:
Bo Liu <boliu@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#488551}
-
Brett Wilson authored
Previously this used BacktraceStorage::Key which was an iterator into an unordered_map. These iterators are technically invalidated when the size changes, although in practice our current usage is safe. This changes to just a const Backtrace* since this is guaranteed safe and the key indirection wasn't gaining us much. Change-Id: I513b5c0401528e8a87ec20ad8ca8682703678cf4 Reviewed-on: https://chromium-review.googlesource.com/580358 Commit-Queue: Brett Wilson <brettw@chromium.org> Reviewed-by:
Albert J. Wong <ajwong@chromium.org> Cr-Commit-Position: refs/heads/master@{#488550}
-
rlanday authored
This is a method that takes a text node, a pair of start/end offsets, and a list of MarkerTypes, and tries to find a DocumentMarker in the node of one of those types that intersects the range [start_offset, end_offset]. This is similar to DocumentMarkerController::MarkersIntersectingRange(), which I'm introducing in https://codereview.chromium.org/2948133004, except that this method takes a Text node and offsets instead of taking an EphemeralRange/ EphemeralRangeInFlatTree, and only returns at most one DocumentMarker, instead of returning all of them that match. BUG=707867 Review-Url: https://codereview.chromium.org/2960473002 Cr-Commit-Position: refs/heads/master@{#488549}
-
Peiyong Lin authored
Currently, only RenderFrame has InterfaceProvider and implements GetInterfaceProvider, thus when calling GetInterfaceProvider on other WebFrameClient subclasses, it causes crash on NOTREACHED. This patch adds empty InterfaceProvider to WebFrameClient subclasses to avoid crashing. TBR=scottbyer@chromium.org BUG=743314 Change-Id: I7ea9297c9f30b55f2ad69624e977eee4b3e6c71f Reviewed-on: https://chromium-review.googlesource.com/576370 Commit-Queue: lpy <lpy@chromium.org> Reviewed-by:
Ken Rockot <rockot@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#488548}
-
Valery Arkhangorodsky authored
This was suggested in https://chromium-review.googlesource.com/c/567266/ Make EasyResizeWindowTargeter only extend hit-test region of resizable windows. Make exception for the shelf container that uses expanded hit-test despite the shelf widget being not resizable (this helps with dragging the shelf when it is auto-hidden). Modified ShapedAppWindowTargeterTest.HitTestOnlyForShapedWindow Open music.google.com Use a mini-player (accessible with a pop-out button next to playback controls) Position mini-player next to some other touchable control from a window directly below (e.g. Chrome menu or bookmark bar) Tap outside of the mini-player but close to it The tap should go to the window below. Bug: 741013 Test: Added ToplevelWindowEventHandlerTest.EasyResizerUsedForTopLevel Test: Manual: Change-Id: I6bc6abb603689562eeb498e3741540f4ed3d75e0 Reviewed-on: https://chromium-review.googlesource.com/571953 Commit-Queue: Valery Arkhangorodsky <varkha@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#488547}
-
rlanday authored
We currently have a method DocumentMarkerList::MarkersIntersectingRange() that can be used to retrieve all the DocumentMarkers in the list intersecting a specified offset range. This CL adds another method to DocumentMarkerList, FirstMarkerIntersectingRange(), that can be used to more efficiently get just one marker when there may be multiple markers intersecting a given range. This method will be used to add the method DocumentMarkerController::FirstMarkerIntersectingOffsetRange() in another CL: https://codereview.chromium.org/2960473002 BUG=707867 Review-Url: https://codereview.chromium.org/2982313002 Cr-Commit-Position: refs/heads/master@{#488546}
-