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

Unified Diff: ui/aura/mus/window_manager_delegate.h

Issue 2759643003: Add system modals to the proper container in mus+ash. (Closed)
Patch Set: Remove extra code. Created 3 years, 9 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: ui/aura/mus/window_manager_delegate.h
diff --git a/ui/aura/mus/window_manager_delegate.h b/ui/aura/mus/window_manager_delegate.h
index 8a0f04bdae6cd244bdb002276aa6283494dab800..f7d3a9fc69c33266dfd70b14aa3b471957167762 100644
--- a/ui/aura/mus/window_manager_delegate.h
+++ b/ui/aura/mus/window_manager_delegate.h
@@ -91,6 +91,9 @@ class AURA_EXPORT WindowManagerDelegate {
const std::string& name,
std::unique_ptr<std::vector<uint8_t>>* new_data) = 0;
+ // A client requested the modal type to be changed to |type|.
+ virtual void OnWmSetModalType(Window* window, ui::ModalType type) = 0;
+
// A client requested to change focusibility of |window|. We currently assume
// this always succeeds.
virtual void OnWmSetCanFocus(Window* window, bool can_focus) = 0;

Powered by Google App Engine
This is Rietveld 408576698