commit | e2ab929d1c556834931f765fe2174abd40560d00 | [log] [tgz] |
---|---|---|
author | Ashley Prasad <ashleydp@google.com> | Thu Jun 06 16:55:34 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 06 16:55:34 2024 |
tree | c3a2360f873901263c2f4cccf796feffec7e14b9 | |
parent | 4a5519bd7eea3dc8d3d2c0c1bda450ac8ab94834 [diff] |
cros-preview: Implement logic to disable dropdown - Add listeners for additional events which can trigger disabled state changing and handler for emitting event. - Update `shouldDisableDropdown` to ensure: - Destination fetch has resolved. - No print request is in progress. - Add test utility functions to reduced test setup. - Test disabled handler called by expected events. - Test disabled state is correct. Bug: b:323421684 Test: browser_test --gtest_filter=*PrintPreviewCros* Change-Id: I405bb205c58565ab905fbe53934bf9f95a6f59d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5571138 Auto-Submit: Ashley Prasad <ashleydp@google.com> Reviewed-by: Gavin Williams <gavinwill@chromium.org> Commit-Queue: Ashley Prasad <ashleydp@google.com> Cr-Commit-Position: refs/heads/main@{#1311351}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.