Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: components/mus/ws/test_utils.h

Issue 1818333002: Reland: mus: Enable system modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/mus/ws/test_utils.h
diff --git a/components/mus/ws/test_utils.h b/components/mus/ws/test_utils.h
index f764f950c37ddab2e8525a07da3fac705699c1ca..da458521b6c5718517564dea85a325496fdcb79c 100644
--- a/components/mus/ws/test_utils.h
+++ b/components/mus/ws/test_utils.h
@@ -111,10 +111,11 @@ class EventDispatcherTestApi {
bool AreAnyPointersDown() const { return ed_->AreAnyPointersDown(); }
bool is_mouse_button_down() const { return ed_->mouse_button_down_; }
- bool IsObservingWindow(ServerWindow* window) {
- return ed_->IsObservingWindow(window);
- }
+ bool IsWindowPointerTarget(const ServerWindow* window) const;
int NumberPointerTargetsForWindow(ServerWindow* window);
+ ServerWindow* GetActiveSystemModalWindow() const {
+ return ed_->modal_window_controller_.GetActiveSystemModalWindow();
+ }
private:
EventDispatcher* ed_;

Powered by Google App Engine
This is Rietveld 408576698