- 11 Nov, 2017 35 commits
-
-
Jialiu Lin authored
More specifically, if user clears all their browsing history, kSafeBrowsingUnhandledSyncPasswordReuses pref should be cleared, and change password card should be gone. if user removes individual browsing hitory entries, we should remove corresponding entries in kSafeBrowsingUnhandledSyncPasswordReuses and decide whether to remove change password card based of if this pref is empty. Bug: 782897 Change-Id: I0d099fa019f6f809c573f44cd4f347e5e9670b7e Reviewed-on: https://chromium-review.googlesource.com/759425 Commit-Queue: Jialiu Lin <jialiul@chromium.org> Reviewed-by:
Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:
Varun Khaneja <vakh@chromium.org> Cr-Commit-Position: refs/heads/master@{#515786}
-
Bret Sepulveda authored
Bug: Change-Id: Ice9ee61f692a9d8ad7dd166f777754dd4b2e147c Reviewed-on: https://chromium-review.googlesource.com/764545Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Bret Sepulveda <bsep@chromium.org> Cr-Commit-Position: refs/heads/master@{#515785}
-
Tommy Steimel authored
With the new site muting feature, "Mute tab" in the tab dropdown was replaced with "Mute site", which mutes via a content setting. There are no content settings for chrome:// urls, so this CL disables the "Mute Site" option for those pages. Bug: 782134 Change-Id: Ib95027b3124ae75e49ab6f32556e73d4f2918d04 Reviewed-on: https://chromium-review.googlesource.com/758139Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Yuri Wiitala <miu@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#515784}
-
Christian Biesinger authored
This reverts commit 6f252376. This fixes the regressions caused by that patch with the following changes: --- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp +++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp @@ -1445,7 +1445,7 @@ void LayoutFlexibleBox::LayoutLineItems(FlexLine* current_line, relaid_out_children_.insert(child); child->LayoutIfNeeded(); - flex_item.cross_axis_size = CrossAxisIntrinsicExtentForChild(*child); + flex_item.cross_axis_size = CrossAxisExtentForChild(*child); + flex_item.cross_axis_intrinsic_size = + CrossAxisIntrinsicExtentForChild(*child); --- a/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h +++ b/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h @@ -115,6 +115,7 @@ class FlexItem { LayoutUnit flexed_content_size; LayoutUnit cross_axis_size; + LayoutUnit cross_axis_intrinsic_size; LayoutPoint desired_location; bool frozen; --- a/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.cpp +++ b/third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.cpp @@ -323,8 +323,8 @@ void FlexLine::ComputeLineItemsPosition(LayoutUnit main_axis_offset, child_cross_axis_margin_box_extent = max_ascent + max_descent; } else { - child_cross_axis_margin_box_extent = - flex_item.cross_axis_size + flex_item.CrossAxisMarginExtent(); + child_cross_axis_margin_box_extent = flex_item.cross_axis_intrinsic_size + + flex_item.CrossAxisMarginExtent(); A test was added in crrev.com/c/759300. There's some minor cleanups I want to make, but I will do them separately to minimize the changes in this reland. R=eae@chromium.org Change-Id: I0ac09d68631242efaab38621eabbf39a0402ed48 Reviewed-on: https://chromium-review.googlesource.com/759278 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#515783}
-
angle-deps-roller@chromium.org authored
https://chromium.googlesource.com/angle/angle.git/+log/38d92b59c4b7..e3bfefb41065 $ git log 38d92b59c..e3bfefb41 --date=short --no-merges --format='%ad %ae %s' 2017-11-10 ynovikov Align float access in InterleavedAttributeData perf test 2017-11-09 jmadill Vulkan: Implement Buffer updates. Created with: roll-dep src/third_party/angle BUG=675997 The AutoRoll server is located here: https://angle-chromium-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. 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 TBR=geofflang@chromium.org Change-Id: Ied4a28e58bf1761735e0d5504882b2bf8c84ccc6 Reviewed-on: https://chromium-review.googlesource.com/764576Reviewed-by:
angle-deps-roller . <angle-deps-roller@chromium.org> Commit-Queue: angle-deps-roller . <angle-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#515782}
-
Eric Karl authored
Certain sequences of drawing commands can lead to crashes on Intel 9th gen GPUs on MacOS. Adding a flush after framebuffer changes works around this. Bug: 783979 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 Change-Id: I12ea134a592cf8eddd6e524d5d7d909d24640c40 Reviewed-on: https://chromium-review.googlesource.com/764584 Commit-Queue: Eric Karl <ericrk@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#515781}
-
Zhenyao Mo authored
On Win/Linux, we will fallback to rendering with SwiftShader. On other platforms, we will fallback to software rendering with no gpu process. BUG=783069 TEST=the added tests R=kbr@chromium.org 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 Change-Id: I9a60c71fba04ebdb46d92a5a0442a75f4f236e90 Reviewed-on: https://chromium-review.googlesource.com/764000Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#515780}
-
Joel Einbinder authored
Bug: none Change-Id: If3ecb842a31ed70f2dbea29b910c286a60d67bf3 Reviewed-on: https://chromium-review.googlesource.com/671202Reviewed-by:
Pavel Feldman <pfeldman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#515779}
-
rajendrant authored
Content-Length header is being updated for range responses. This header is not used in data savings calculation for data reduction proxy. So removing that from the test. Bug: 781415 Change-Id: Ia5caca173ad2bff1d2f70624ebb45bb185959170 Reviewed-on: https://chromium-review.googlesource.com/764874Reviewed-by:
Scott Little <sclittle@chromium.org> Commit-Queue: rajendrant <rajendrant@chromium.org> Cr-Commit-Position: refs/heads/master@{#515778}
-
Sunny Sachanandani authored
We're seeing access violation crashes in swap chain present. Aliasing the dirty rect and surface size will show these in minidumps. R=piman BUG=776403 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 Change-Id: Icd67c32b307efcbe18772d5bf036c8c0ad5ffe87 Reviewed-on: https://chromium-review.googlesource.com/764380 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#515777}
-
Joel Einbinder authored
Bug: 627874 Change-Id: I8d26a2c1d743a2b551eca0365788ed51fb81886b Reviewed-on: https://chromium-review.googlesource.com/761596Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#515776}
-
Xiaohui Chen authored
Remove kVoiceInteractionPrefSynced pref BUG=None TEST=locally build and run Change-Id: I5caf0e6d4833abdbb2e2ba9828feea22c8697734 Reviewed-on: https://chromium-review.googlesource.com/764573Reviewed-by:
Yusuke Sato <yusukes@chromium.org> Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#515775}
-
John Abd-El-Malek authored
1) Ensure that renderers that don't have WebUI bindings don't have access to URLLoaders for all of WebUI. Some WebUI schemes, like chrome-distiller or chrome-devtools, don't have WebUI bindings. This is accomplished by having the URLLoaderFactory for webui scheme get constructed with which scheme it's allowed to access. 2) Only renderers serving WebUI schemes that don't have WebUI bindings get a URLLoader for the network. BUG=776887,778846 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation Change-Id: I6b432e5ef8659f3799a546913678760eb39b7d5f Reviewed-on: https://chromium-review.googlesource.com/758301Reviewed-by:
Nasko Oskov <nasko@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#515774}
-
Rohit Rao authored
Bookmarks was using the window's rootViewController to present context menus. This strategy does not work when BVC is presented instead of contained, so bookmarks is updated to present context menus on top of |self| instead. For safety, this change only takes effect when the BVC presentation experiment is enabled. BUG=768563 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ib129197b1aece67b2cc55d58de8e9be79d0af06e Reviewed-on: https://chromium-review.googlesource.com/760481 Commit-Queue: Rohit Rao (ping after 24h) <rohitrao@chromium.org> Reviewed-by:
edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#515773}
-
John Budorick authored
https://chromium.googlesource.com/android_tools.git/+log/4a9623af5775..9914c5704717 $ git log 4a9623af5..9914c5704 --date=short --no-merges --format='%ad %ae %s' 2017-11-10 jbudorick Only check out the NDK in android checkouts. Created with: roll-dep src/third_party/android_tools R=agrieve@chromium.org BUG=783607 No-Equivalent-Builders: true Change-Id: I53dac6ccb5bb813596fd4f90e4f05f1e7126a325 Reviewed-on: https://chromium-review.googlesource.com/764389 Commit-Queue: John Budorick <jbudorick@chromium.org> Reviewed-by:
Michael Moss <mmoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#515772}
-
Yuwei Huang authored
WebRTCAudioSinkAdapter passes an empty done closure to AudioStreamConsumer. Different from a DoNothing closure, calling an empty closure will end up crashing the app. This CL fixes AudioStreamConsumer so that it only runs the done closure if it is not null. Bug: 748710 Change-Id: Ied6301b54e694f8d62618e7ed4e16fa2811a4202 Reviewed-on: https://chromium-review.googlesource.com/765010Reviewed-by:
Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#515771}
-
Aidan Wolter authored
When an Android activity moves into the background, we want to keep the cast app alive. The app should stay alive until onDestroy. CQ-DEPEND=CL:756932 TEST=Cast YT, start another app, kill app to bring Cast to foreground BUG=b:68987926 Change-Id: I0235401acdf88a0f497f183493a6467e2b178e7a Reviewed-on: https://chromium-review.googlesource.com/757663Reviewed-by:
Luke Halliwell <halliwell@chromium.org> Commit-Queue: Aidan Wolter <awolter@chromium.org> Cr-Commit-Position: refs/heads/master@{#515770}
-
Karan Bhatia authored
This CL adds support for simple redirect rules to DNR. Rulesets of more recently installed extensions are given priority while determining the redirect url. Within a single extension, in case multiple rules match, the matching rule with the highest priority determines the redirect url. Note: Like the Web request API, DNR doesn't allow extensions to redirect web socket requests. This also corrects the "DeclarativeNetRequest.ShouldBlockRequestTime.SingleExtension" histogram name and prepends "Extension." to it. BUG=696822 Change-Id: I73903b782952ee539a82ddd34ae413414400cd69 Reviewed-on: https://chromium-review.googlesource.com/756332 Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Reviewed-by:
Ilya Sherman <isherman@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#515769}
-
John Abd-El-Malek authored
Bug: Change-Id: I8ad12ac337875215bb04de43612b52a25b6bfafc Reviewed-on: https://chromium-review.googlesource.com/764948Reviewed-by:
Yuzhu Shen <yzshen@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#515768}
-
spqchan authored
Currently the touch bar back/forward items get updated when the page reloads or the active tab has changed. However, this can cause an issue in the future where the back/forward items is not updated. This CL fixes this but making BrowserWindowTouchbar observe the back and forward commands. The back/forward items will be updated according to the commands changes instead of the page loads. A unit test is added in BrowserWindowTouchBarUnitTest for this change. In addition, BrowserWindowTouchBarTest.PageLoadInvalidate is updated so that we have better test coverage. Bug: 783294 Change-Id: Ic554543eb26088a5f4419decd8cc22f970ee2861 Reviewed-on: https://chromium-review.googlesource.com/761710 Commit-Queue: Sarah Chan <spqchan@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#515767}
-
catapult-deps-roller@chromium.org authored
https://chromium.googlesource.com/catapult.git/+log/d983a9bd20b7..2ee22587f921 $ git log d983a9bd2..2ee22587f --date=short --no-merges --format='%ad %ae %s' 2017-11-10 nednguyen Remove smoothness metric from timeline_based_measurement Created with: roll-dep src/third_party/catapult The AutoRoll server is located here: https://catapult-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=sullivan@chromium.org Change-Id: I9265fdb05834ffd70305ff6d12c06ad4477745f5 Reviewed-on: https://chromium-review.googlesource.com/764549 Reviewed-by: <catapult-deps-roller@chromium.org> Commit-Queue: <catapult-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#515766}
-
Evan Stade authored
MessageCenterView. - Update login state notification blocker to hide all notifications in message center when screen is locked to maintain the behavior: "Don't make notifications read when opening the message center on lock screen" - Remove methods/variables/structs related to UnreadCount, which is not used anywhere except in tests. - It's questionable whether we have any reason to still track is_read at all, but it's used for UMA in at least one place. Bug: 755413 Change-Id: Ic00a24900992735870338a9544e6af61da744974 Reviewed-on: https://chromium-review.googlesource.com/757132Reviewed-by:
James Cook <jamescook@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#515765}
-
Erik Luo authored
Sidebar was broken after a recent CL updated onFilterChanged() in ConsoleView. The console sidebar FilterSelected event should call onFilterChanged(), but was not. Bug: none Change-Id: Id8ef38277bec3fb54ca23823b0f9026f5f91beb7 Reviewed-on: https://chromium-review.googlesource.com/764774Reviewed-by:
Pavel Feldman <pfeldman@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#515764}
-
Lei Zhang authored
These are all tests in browser_tests. Those that are not clearly named as such get renamed. Change-Id: I02653316bb942a460bc682157ca687f4b821b645 Reviewed-on: https://chromium-review.googlesource.com/762883Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#515763}
-
Jialiu Lin authored
This is a follow-up of https://chromium-review.googlesource.com/753986. As a result of 753986, already-opened chrome://settings page will show change password card upon protected GAIA password reuse events. However if user refreshes the chrome://settings page, change password card disappears. To fix this issue, we need to make 'showChangePassword' value adapt to ChromePasswordProtectionService::ShouldShowChangePasswordSettingUI(..) This CL also refactors ChangePasswordHandler extensively that removes lots of unnecessary code. Bug: 765740 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I3078fc74f71fd2e1fea14eb020ddd77e611c05d1 Reviewed-on: https://chromium-review.googlesource.com/758971Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by:
Luke Z <lpz@chromium.org> Commit-Queue: Jialiu Lin <jialiul@chromium.org> Cr-Commit-Position: refs/heads/master@{#515762}
-
Yuwei Huang authored
This CL adds a button on the SSO side menu to toggle using WebRTC protocol in the debug build iOS client. It will make it easier to debug the WebRTC client or do side-by-side comparison. This CL also introduces a basic flag setting framework in iOS. Bug: 748710 Change-Id: I6f7799964b49427330953553f048d67a7d31dce1 Reviewed-on: https://chromium-review.googlesource.com/764987Reviewed-by:
Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#515761}
-
Ria Jiang authored
HFSM is owned by WindowServer so it's only null in ServerWindow ctor in unittests. Changed to DCHECK host_frame_sink_manager. Updated TestServerWindowDelegate and relavant unittests. Bug: none, related to https: //chromium-review.googlesource.com/c/chromium/src/+/748442 Test: covered by tests Change-Id: I55c24ba88d64c6f5c9afa00d69f46d7cc8298746 Reviewed-on: https://chromium-review.googlesource.com/761497Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Ria Jiang <riajiang@chromium.org> Cr-Commit-Position: refs/heads/master@{#515760}
-
Tarun Bansal authored
In the next CL, the transport RTT estimate would be used to clamp the HTTP RTT estimate only if the number of transport RTT observations were more than a certain threshold. Bug: 753436 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I84d92726b916b3fa1340aa713d5b001c97396830 Reviewed-on: https://chromium-review.googlesource.com/760877Reviewed-by:
Ryan Sturm <ryansturm@chromium.org> Commit-Queue: Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#515759}
-
Pavel Feldman authored
This changes reliably waits for the inspected page to be loaded prior to engaging for debugging. Prior to this change, inspected page was racing with the test code and base was not reliably set in the inspected page. Network service was making this race run in favor of the test script. Bug: Change-Id: I709b2c0c2ddee1515cb5d4bf5c319aa7917b6f1b Reviewed-on: https://chromium-review.googlesource.com/764402 Commit-Queue: Pavel Feldman <pfeldman@chromium.org> Reviewed-by:
Will Chen <chenwilliam@chromium.org> Cr-Commit-Position: refs/heads/master@{#515758}
-
danakj authored
See https://chromium-review.googlesource.com/c/chromium/src/+/760558#message-83efb689457770dfabb6d7371847f06f8091dfd7 and https://bugs.chromium.org/p/chromium/issues/detail?id=783087#c24 for explanations, but tl;dr this check would break caching, and shouldn't be there. Before it was used to skip render passes regardless of caching, but incorrectly, and the unittest in https://chromium-review.googlesource.com/c/chromium/src/+/760558 demonstrates that, and fails with that check. This removes the check from the caching block. R=enne@chromium.org, wutao@chromium.org Bug: 782044, 738190, 782042, 783087 Change-Id: Idc5baea6da5e6d663da9c1aa23ce81a55e61168d Reviewed-on: https://chromium-review.googlesource.com/763710 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:
Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#515757}
-
Herb Derby authored
Change-Id: I2fa873e63695195ee01d0d67c61430a4d0afb565 Reviewed-on: https://chromium-review.googlesource.com/764629Reviewed-by:
Florin Malita <fmalita@chromium.org> Commit-Queue: Herb Derby <herb@chromium.org> Cr-Commit-Position: refs/heads/master@{#515756}
-
Donn Denman authored
Speculative fix for an assert reported by a developer. Update an overly aggressive assert recently landed in ContextualSearchTabHelper when reparenting. BUG=783225, 775813 Change-Id: Ib8f54e0b5bfcf8dde785e0c25098771b21c1b420 Reviewed-on: https://chromium-review.googlesource.com/764667Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Donn Denman <donnd@chromium.org> Cr-Commit-Position: refs/heads/master@{#515755}
-
Takumi Fujimoto authored
This CL implements the WiredDisplayMediaRouteProvider, which is responsible for making wired displays available as media sinks. As of this CL, WiredDisplayMRP creates a MediaRoute when a presentation starts but not the actual presentation window. LocalPresentationManager keeps track of displays with MR dialogs, and WiredDisplayMRP observes LocalPresentationManager to be notified when that information changes. In another CL, we will make MediaRouterDesktop own WiredDisplayMRP, like how it owns ExtensionProxyMRP. Bug: 777650 Change-Id: I0c882826a5e3c79bf58a2d9dd49a3e070ef2e861 Reviewed-on: https://chromium-review.googlesource.com/691150 Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Reviewed-by:
Derek Cheng <imcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#515754}
-
Will Chen authored
This converts a batch of tests from the old test framework (html file) into the new test framework (js file). Most of it was done through an automated transformation script, with a small amount of manual clean-up. R=einbinder@chromium.org Bug: 667560 Change-Id: I0ea80058d847affbdf654658b4873351a9843ad2 Reviewed-on: https://chromium-review.googlesource.com/759418Reviewed-by:
Joel Einbinder <einbinder@chromium.org> Commit-Queue: Will Chen <chenwilliam@chromium.org> Cr-Commit-Position: refs/heads/master@{#515753}
-
Mathieu Perreault authored
Allows navigating to it with VoiceOver (or equivalent) Bug: 781581 Test: VoiceOver, then out/Default/browser_tests --gtest_filter=BrowserDialogTest.Invoke --interactive --dialog=CardUnmaskPromptViewBrowserTest.InvokeDialog_expired Change-Id: I52382b2c462d43f86207587cd69693a02c0d8334 Reviewed-on: https://chromium-review.googlesource.com/763768Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Commit-Queue: Mathieu Perreault <mathp@chromium.org> Cr-Commit-Position: refs/heads/master@{#515752}
-
- 10 Nov, 2017 5 commits
-
-
Chris Harrelson authored
The stack allocation is just to initialize the object and stick it into a heap-allocated vector entry. Instead allocate the entry and initialize it on the heap. Bug: 781301 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I58af3fdc18d19950d7f8911910ee33d1b0d445af Reviewed-on: https://chromium-review.googlesource.com/764405 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
Tien-Ren Chen <trchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#515751}
-
Joel Einbinder authored
Bug: 771578 Change-Id: I4928067b157e6297b652761d09955910b574fc73 Reviewed-on: https://chromium-review.googlesource.com/738327Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#515750}
-
Dave Schuyler authored
This CL mimics some of the styling of MD history side nav so that the UI is more consistent between history and extensions. Bug: 780949 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I75665607686daf1618752c7e13c229efde23d93f Reviewed-on: https://chromium-review.googlesource.com/762388Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Dave Schuyler <dschuyler@chromium.org> Cr-Commit-Position: refs/heads/master@{#515749}
-
Nektarios Paisios authored
Changes AXPosition to include affinity when computing leaf text positions and simplified line boundary calculations 1. When converting text positions, such as those in a text field, to either a tree position or a leaf text position, we should take affinity into consideration. When there are two equivalent resulting positions, one at the start of a child node and one after the previous child node, we should return the former when affinity is downstream and the latter when affinity is upstream. 2. Line breaks are not always used to separate lines in content editables. Modifies logic that detects if we are at the end of a line to ensure that if there is some white space at the end of the line, then we would detect it as a line separator in addition to a line break. 3. Simplifies logic for finding next and previous line boundaries by relying on AtStartOfline and AtEndOfLine methods, thus creating a smaller piece of code that deals with boundary detection. R=dmazzoni@chromium.org Bug: 731056 Tested: existing unit tests, manually with Gmail textareas and content editables Change-Id: Ic936122ef19f66fcb4a1cc88cd001f4376e34346 Reviewed-on: https://chromium-review.googlesource.com/745724 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#515748}
-
Vlad Tsyrklevich authored
This change introduces a ProtectedMemory container class intended to store dynamically resolved function pointers for cross-DSO calls that must be exempted from Control Flow Integrity indirect call checking. These function pointers can not be checked by cfi-icall, instead we place them in read-only memory and set them writable only when they need to be initialized. ProtectedMemory is only suitable for storing data in global/static variables, a follow-up change will introduce a container class that allows dynamically allocating multiple instances of a given type. ProtectedMemory currently only works on Linux and macOS, its use is a no-op on other platforms. This change also introduces two helper macros to easily call function pointers stored in ProtectedMemory containers without cfi-icall checks applied in order to avoid sprinkling no_sanitize("cfi-icall") attributes throughout the source code and encouraging its misuse. Bug: 771365 Change-Id: Ic9433095d9550ae8478ad9931ec5e3c37edb23ec Reviewed-on: https://chromium-review.googlesource.com/706859 Commit-Queue: Peter Collingbourne <pcc@chromium.org> Reviewed-by:
Peter Collingbourne <pcc@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Reviewed-by:
Brett Wilson <brettw@chromium.org> Reviewed-by:
Will Harris <wfh@chromium.org> Reviewed-by:
Chris Palmer <palmer@chromium.org> Cr-Commit-Position: refs/heads/master@{#515747}
-