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

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

Issue 2745143004: Inform window manager about modal windows in mus+ash. (Closed)
Patch Set: . 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..e704c5d8b089bc580106aeb6c77f36420f9afc95 100644
--- a/ui/aura/mus/window_manager_delegate.h
+++ b/ui/aura/mus/window_manager_delegate.h
@@ -91,6 +91,10 @@ class AURA_EXPORT WindowManagerDelegate {
const std::string& name,
std::unique_ptr<std::vector<uint8_t>>* new_data) = 0;
+ // A client requested modal type of |window| changed to |type|. Return true to
+ // allow the change to |type|, false otherwise.
+ virtual bool 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