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

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

Issue 1818333002: Reland: mus: Enable system modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments 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/server_window.h
diff --git a/components/mus/ws/server_window.h b/components/mus/ws/server_window.h
index a518ff085e40a8893142a183e13539645a4e86ee..63dca9eb30e98770bdc04a443d2d9b00fc649b85 100644
--- a/components/mus/ws/server_window.h
+++ b/components/mus/ws/server_window.h
@@ -111,17 +111,6 @@ class ServerWindow {
bool is_modal() const { return is_modal_; }
void SetModal();
- bool IsBlockedByModalWindow() const;
-
- // Returns the window that events targeted to this window should be retargeted
- // to; according to modal windows. If any modal window is blocking this
- // window, returns the topmost one; otherwise, returns this window.
- const ServerWindow* GetModalTarget() const;
- ServerWindow* GetModalTarget() {
- return const_cast<ServerWindow*>(
- static_cast<const ServerWindow*>(this)->GetModalTarget());
- }
-
// Returns true if this contains |window| or is |window|.
bool Contains(const ServerWindow* window) const;

Powered by Google App Engine
This is Rietveld 408576698