- 13 Jul, 2017 5 commits
-
-
Changwan Ryu authored
The user may see flickering of autocomplete text if onDraw() is called inside keyboard app's batch edited IME operations. For example, consider the following sequence of events: 1) beginBatchEdit() 2) commitText() 3) onDraw() 4) endBatchEdit() 5) onDraw() With current implementation, onDraw() at step 3) and onDraw() at step 5) may see different getText() because we remove span at beginBatchEdit() and does not add a new one until endBatchEdit(). In order to ensure that span is added at the end of every IME operation, even including beginBatchEdit(), the current internal calls to beginBatchEdit() and endBatchEdit() have been separated out as onBeginImeCommand() and onEndImeCommand(), respectively. And then beginBatchEdit() and endBatchEdit() will simply increment / decrement batch edit count inside these new IME command guards. And we remove / add span in the IME command guards even when they are not the outermost ones, to ensure that onDraw() can see the span when necessary. Note that notification is not affected thanks to the count guard. BUG=539536 Change-Id: Ia1f044dd3c2669658dd363e4375f841c9c448f37 Reviewed-on: https://chromium-review.googlesource.com/568914Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Alexandre Elias <aelias@chromium.org> Commit-Queue: Changwan Ryu <changwan@chromium.org> Cr-Commit-Position: refs/heads/master@{#486169}
-
Quinten Yearsley authored
Now that (1) csswg-test is merged into wpt, and (2) the importer is given GitHub credentials, it can now be simplified and can reuse the LocalWPT functionality. Change-Id: I2f84ceee5f7263cd7ec56cb0dc6d474079dde8d5 Reviewed-on: https://chromium-review.googlesource.com/566060 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:
Jeff Carpenter <jeffcarp@chromium.org> Cr-Commit-Position: refs/heads/master@{#486168}
-
luoe authored
BUG=739258 Review-Url: https://codereview.chromium.org/2972943002 Cr-Commit-Position: refs/heads/master@{#486167}
-
scottchen authored
This CL adds messages to tell users when there are no extensions installed, as well as when their search filtering yields no results. BUG=729863 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2974583003 Cr-Commit-Position: refs/heads/master@{#486166}
-
Wez authored
Now that we have a patch for the ARM A12/A17 errata, it is safe to try building ARM Thumb without frame-pointers again, since we don't need them. We leave frame-pointers enabled in ChromeOS for 64-bit. The Windows case is tweaked to use current_cpu rather than target_cpu, and the Android case is explicitly gated on is_android. Bug: 740806, 711784 Change-Id: I2fff46d1a3a8d78d12c389f95a20acf54013318d Reviewed-on: https://chromium-review.googlesource.com/567608 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Cr-Commit-Position: refs/heads/master@{#486165}
-
- 12 Jul, 2017 35 commits
-
-
Marijn Kruisselbrink authored
e1396f8a changed the presubmit to allow ScopedAllowIO in browser tests. From the discussion it seemed like the intention was to allow it in all tests though. This changes the presubmit to at least allow usage in unit tests. Also update the error message to no longer refer to the deprecated blocking pool and FILE thread. Change-Id: Ibcc18f502b8c47a50a424a2ffe6eab04291e685b Reviewed-on: https://chromium-review.googlesource.com/569014Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#486164}
-
Michael Thiessen authored
No functional changes. Bug: Change-Id: I02c494be7028763e017f5bd01710d2285e98dd01 Reviewed-on: https://chromium-review.googlesource.com/568693Reviewed-by:
Yash Malik <ymalik@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#486163}
-
Mike Case authored
Change-Id: I4aad3d6e360b3e7c02366c9eee65399cfbec82cb Reviewed-on: https://chromium-review.googlesource.com/564298Reviewed-by:
John Budorick <jbudorick@chromium.org> Commit-Queue: Michael Case <mikecase@chromium.org> Cr-Commit-Position: refs/heads/master@{#486162}
-
Pavel Feldman authored
Bug: Change-Id: Id828c8df4eed5d104b4ce311bf7aa1f4bcd6411c Reviewed-on: https://chromium-review.googlesource.com/568701 Commit-Queue: Pavel Feldman <pfeldman@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#486161}
-
Cathy Li authored
Also add request_origin to this struct. Bug: 734753 Change-Id: I210bf0fa177f1379693b6b432c12f48b89d8cd28 Reviewed-on: https://chromium-review.googlesource.com/558564Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Reviewed-by:
vitaliii <vitaliii@chromium.org> Reviewed-by:
Justin DeWitt <dewittj@chromium.org> Commit-Queue: Cathy Li <chili@chromium.org> Cr-Commit-Position: refs/heads/master@{#486160}
-
chrome://media-internalsDan Sanders authored
As long as chrome://media-internals is open, it should preserve log entries. Log entries are still removed from the backing store, so these players will be removed if the page is reloaded. This CL also changes the trigger for backing store removal to include tab crashes. Previously there was no reliable way to remove a logs for a player from a crashed tab, which is problematic if the tab is incognito. Bug: 741132 Change-Id: I92b152fa6578c3728ab22a45786e188d93fb87f2 Reviewed-on: https://chromium-review.googlesource.com/567644 Commit-Queue: Dan Sanders <sandersd@chromium.org> Reviewed-by:
Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/master@{#486159}
-
Emily Stark authored
This CL adds a browser test to check that the ChromeExpectCTReporter is properly created and set up to receive reports, particularly for dynamic Expect-CT violations. It also enables the dynamic Expect-CT feature on the waterfall. BUG=679012,642517 Change-Id: I3ea01207ea5852b9bd0bbb1d90799ee4555c854e Reviewed-on: https://chromium-review.googlesource.com/566572Reviewed-by:
Jesse Doherty <jwd@chromium.org> Reviewed-by:
Mustafa Emre Acer <meacer@chromium.org> Commit-Queue: Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/master@{#486158}
-
Ilya Sherman authored
Also fixes up some formatting errors that have snuck into histograms.xml. BUG=none TEST=none R=mek@chromium.org Change-Id: If99bf87ea428dbe61204cad9092d3e0ad2c77d7d Reviewed-on: https://chromium-review.googlesource.com/568854Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Ilya Sherman <isherman@chromium.org> Cr-Commit-Position: refs/heads/master@{#486157}
-
sczs authored
Updates the total number of menu items to reflect the fact that an item was deleted. Also added a comment in order to prevent this from happening again. Bug: 682880 Change-Id: I0893cd9e4eda6f1b7238cc2fcfe892d30a1cb42c Reviewed-on: https://chromium-review.googlesource.com/565175 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:
Jean-François Geyelin <jif@chromium.org> Reviewed-by:
Louis Romero <lpromero@chromium.org> Reviewed-by:
Ed Chin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#486156}
-
Eugene Ostroukhov authored
Replace callbacks with promises. Bug: Change-Id: I677ec63941ec827f559921dc4205fff9eae6a841 Reviewed-on: https://chromium-review.googlesource.com/564086 Commit-Queue: Eugene Ostroukhov <eostroukhov@chromium.org> Reviewed-by:
Alexei Filippov <alph@chromium.org> Cr-Commit-Position: refs/heads/master@{#486155}
-
Joe Downing authored
This change adds Adaptive Icons (Android API 26 feature) for the Chromoting Android Client. I generated the new foreground and round icons using Android Studio (based off of the legacy xxxhdpi logo) and am using a base white background. Note that I needed to add a suppression for the new XML files. This apprears to be due to the version of lint being used as previous versions of Android did not require xml files in the mipmap or drawable folders. BUG=704154 Change-Id: I7f58634fdc758aec25e67369d26f68b41262ae5b Reviewed-on: https://chromium-review.googlesource.com/566992 Commit-Queue: Joe Downing <joedow@chromium.org> Reviewed-by:
Lambros Lambrou <lambroslambrou@chromium.org> Reviewed-by:
Peter Wen <wnwen@chromium.org> Cr-Commit-Position: refs/heads/master@{#486154}
-
tapted authored
Views a11y: Obey DialogDelegate::GetAccessibleWindowRole() rather than making a dialog-within-a-dialog Currently both views::RootView and a dialog's ContentsView() are populating AX_ROLE_DIALOG. This sets up a weird dialog-within-a-dialog. Also, since the ContentsView doesn't include the title and dialog buttons, it creates a nested group that excludes the dialog buttons and is hard to navigate with a11y tools since it hides the dialog contents inside the group. To fix, just rely on views::RootView to populate the window role, and obey GetAccessibleWindowRole() when deciding whether to notify a11y tools of the window appearance. BUG=741285 Review-Url: https://codereview.chromium.org/2980713002 Cr-Commit-Position: refs/heads/master@{#486153}
-
luoe authored
Cmd+B and gutter click both toggle breakpoint on a line. Gutter click + shift also disabled the current breakpoint. This CL aligns Cmd+Shift+B to disable the current breakpoint as well. BUG=741115 Review-Url: https://codereview.chromium.org/2977753002 Cr-Commit-Position: refs/heads/master@{#486152}
-
Jared Saul authored
Bug: 734219 Change-Id: If2e79ab1b2a86ad704ff579d78fd94a7e14df752 Reviewed-on: https://chromium-review.googlesource.com/567660 Commit-Queue: Jared Saul <jsaul@google.com> Reviewed-by:
Mathieu Perreault <mathp@chromium.org> Cr-Commit-Position: refs/heads/master@{#486151}
-
jiajia.qin authored
This is ported form skia fixing https://skia-review.googlesource.com/c/17327/ and https://skia-review.googlesource.com/c/16427/ BUG=710443 TEST=WebGL conformance test:framebuffer-texture-clear.html 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 Review-Url: https://codereview.chromium.org/2934733002 Cr-Commit-Position: refs/heads/master@{#486150}
-
Dale Curtis authored
This includes all of filters/ but primarily we want this for any GpuVideoDecoder changes. Many of the other things in filters/ are related to VDA/GVD processing, so just include them all. There doesn't seem to be a PostUploadHook which allows you to filter based on files anyways... BUG=none TEST=none Change-Id: I53cb8d74ec9bff4152e6bac87e0047410cc58f72 Reviewed-on: https://chromium-review.googlesource.com/567722Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#486149}
-
Quinten Yearsley authored
Change-Id: I3d454f70f477b5ada2608c85dd8b54badf89fa71 Reviewed-on: https://chromium-review.googlesource.com/569000Reviewed-by:
Jeff Carpenter <jeffcarp@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Cr-Commit-Position: refs/heads/master@{#486148}
-
Edward Lemur authored
Bug: None Change-Id: I619491887eb97abc493debfeaf20ae260c222f33 Reviewed-on: https://chromium-review.googlesource.com/568820Reviewed-by:
Ned Nguyen <nednguyen@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Cr-Commit-Position: refs/heads/master@{#486147}
-
mfomitchev authored
This is needed to run Mus in-process until crbug.com/741106 is fixed. BUG=722527 Review-Url: https://codereview.chromium.org/2978833002 Cr-Commit-Position: refs/heads/master@{#486146}
-
Ryan Landay authored
I am factoring out some code in DropdownPopupWindow.measureContentWidth() that determines the widest view in a ListView into a helper method in UiUtils so I can use it for the spell check menu I'm working on in https://codereview.chromium.org/2931443003. Bug: 715365 Change-Id: I59bfc348eac62d07c6deb375bca6b808856911dd Reviewed-on: https://chromium-review.googlesource.com/566594 Commit-Queue: Ryan Landay <rlanday@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#486145}
-
Xida Chen authored
Right now in html canvas 2d's drawImage API, the image decoding are done on the main thread, and this task could be heavy when the image is big. What we hope is to give people an option to call createImageBitmap(SVG) which does the image decoding in a background thread, and then canvas drawImage API can draw the image bitmap which is already in a decoded state. Bug: 580202 Change-Id: I79cfd46b4e2f154e9fde111b932125a9745571a2 Reviewed-on: https://chromium-review.googlesource.com/558398Reviewed-by:
Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Justin Novosad <junov@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#486144}
-
Adithya Srinivasan authored
The counters added here are for methods and attributes that take up a non-trivial portion (4-10%) of time spent doing Blink C++ on some websites from the v8_top25 benchmark. Bug: 724543 Change-Id: Idbab1de4b7128a4a934ca22a7b739c2fa5b035bc Reviewed-on: https://chromium-review.googlesource.com/565682 Commit-Queue: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#486143}
-
Min Qin authored
These methods are never called by other classes, no need to mark them public. Bug: Change-Id: I453e5831d60ac2970029c16fdd3011b012120695 Reviewed-on: https://chromium-review.googlesource.com/565963Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#486142}
-
Misha Efimov authored
Bug: 713188 Change-Id: If8d923129a063160caaef22d3908f6f5f7aef2bc Reviewed-on: https://chromium-review.googlesource.com/565446Reviewed-by:
Eugene But <eugenebut@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Misha Efimov <mef@chromium.org> Cr-Commit-Position: refs/heads/master@{#486141}
-
Brett Wilson authored
This new Mojo channel connects the profiling process and the browser process. It should be run only when the enable_oop_heap_profiling is enabled, and when run with --memlog. Fixes a bug on Posix memlog streams because sendmsg is not atomic for large messages. Various refactoring of the profiling process. The separate IO thread has been removed and the main thread is now the IO thread. NOPRESUBMIT=true (seems to crash presubmit checks, bug filed) Change-Id: I93909bb95bfbd10348c0c7d51c80aa44cb26f7aa Reviewed-on: https://chromium-review.googlesource.com/564157 Commit-Queue: Brett Wilson <brettw@chromium.org> Reviewed-by:
Albert J. Wong <ajwong@chromium.org> Cr-Commit-Position: refs/heads/master@{#486140}
-
Peter Kotwicz authored
Remove the parameter in ChromeLauncherActivity#launchTabbedMode() because the function is always called with false BUG=None Change-Id: Ia17c3dbcd98c9b30014dedbc85d82ffbe791ac1d Reviewed-on: https://chromium-review.googlesource.com/565843Reviewed-by:
Ganggui Tang <gogerald@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#486139}
-
Uttam Thakore authored
This CL fixes discrepancies between the histogram names used in LocalNetworkRequestsPageLoadMetricsObserver and the ones registered in histograms.xml. The desired histogram names are the ones present in histograms.xml. This CL also sets the histogram prefixes in histograms.xml associated with LocalNetworkRequestsPLMO as histogram bases so they are not generated unnecessarily. BUG= Change-Id: Ib8370037078f924ec44472f463724025593eb0cc Reviewed-on: https://chromium-review.googlesource.com/568681Reviewed-by:
Bryan McQuade <bmcquade@chromium.org> Reviewed-by:
Robert Kaplow <rkaplow@chromium.org> Commit-Queue: U Thakore <uthakore@chromium.org> Cr-Commit-Position: refs/heads/master@{#486138}
-
Xiaohan Wang authored
According to the EME spec, during update(), expiration should be updated before resolving the update() promise. BUG=730762 TEST=Fixes and enables a test case. Change-Id: I145f707aee8cbc53413417654282dafe6edc9f28 Reviewed-on: https://chromium-review.googlesource.com/567873Reviewed-by:
John Rummell <jrummell@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#486137}
-
Patrick Hulce authored
BUG=741310 Change-Id: I324c0403af2d351373536897a7f2bc282c870e41 Reviewed-on: https://chromium-review.googlesource.com/568682Reviewed-by:
Pavel Feldman <pfeldman@chromium.org> Commit-Queue: Patrick Hulce <phulce@chromium.org> Cr-Commit-Position: refs/heads/master@{#486136}
-
dpapad authored
This matches the behavior of old Options, but it will also show up an all Polymer WebUI pages using cr-dialog. Bug: 740771 Change-Id: Ieb5db50b4796264a87be38e01ebfd1f362ff9d39 Reviewed-on: https://chromium-review.googlesource.com/566093Reviewed-by:
Scott Chen <scottchen@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#486135}
-
Gustavo Sacomoto authored
Bug: 741709 Change-Id: I7b57cd6bb597d0a28bb32acffe801284d15c9c07 Reviewed-on: https://chromium-review.googlesource.com/568486Reviewed-by:
Tim Song <tengs@chromium.org> Commit-Queue: Gustavo Sacomoto <sacomoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#486134}
-
Florin Malita authored
Some fallout from https://chromium-review.googlesource.com/c/567267 Bug=skia:6836 NOTRY=true TBR=reed@google.com Change-Id: Ib30e51f7877ca70c23a8980373b27114608abcfe Reviewed-on: https://chromium-review.googlesource.com/569007Reviewed-by:
Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org> Cr-Commit-Position: refs/heads/master@{#486133}
-
Peter Collingbourne authored
This reverts commit 5ddcccf7. Reason for revert: Breaks ubsan on clusterfuzz. Original change's description: > Roll buildtools to 3d2d34 > > This roll includes only a single revision: > https://chromium.googlesource.com/chromium/buildtools/+/3d2d34dde457f07ca410d1c06f4f3b9063c28643 > > TBR=michaelpg@chromium.org > > Bug: 701919 > Change-Id: I2924e4db1cad21ce8aa4c99f5090dea69d53a720 > Reviewed-on: https://chromium-review.googlesource.com/567777 > Commit-Queue: Peter Collingbourne <pcc@chromium.org> > Reviewed-by: Nico Weber <thakis@chromium.org> > Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> > Cr-Commit-Position: refs/heads/master@{#485860} TBR=thakis@chromium.org,michaelpg@chromium.org,pcc@chromium.org,thomasanderson@chromium.org Change-Id: I51fd086f9f486b24727549f385c1238b8d4c39fe No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 701919, 741604 Reviewed-on: https://chromium-review.googlesource.com/568414Reviewed-by:
Peter Collingbourne <pcc@chromium.org> Commit-Queue: Peter Collingbourne <pcc@chromium.org> Cr-Commit-Position: refs/heads/master@{#486132}
-
Nicolas Zea authored
When a link is opened in a new tab, the source tab value might be delayed. This change makes it so that if the source tab id is present, and the task tracker doesn't have a matching parent id, it will overwrite the tasks for that tab with the tasks from the source tab. This fixes the case where the user deliberately opens a link in a new tab via middle click. Bug: 707978 Change-Id: I74be1a3527a6cda0187d7eb24477d83b57d2adbe Reviewed-on: https://chromium-review.googlesource.com/567649 Commit-Queue: Nicolas Zea <zea@chromium.org> Reviewed-by:
Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#486131}
-
Wez authored
The new(ish) FileDescriptorWatcher POSIX wrapper automagically maintains the watch, so don't keep re-creating it. Also fixes a typo in the name of a constant. Bug: Change-Id: I595ef09575e6079f3aa97f7c31f789ef24f270fc Reviewed-on: https://chromium-review.googlesource.com/568598Reviewed-by:
Sergey Ulanov <sergeyu@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#486130}
-