Index: ui/views/corewm/window_modality_controller.cc |
=================================================================== |
--- ui/views/corewm/window_modality_controller.cc (revision 170885) |
+++ ui/views/corewm/window_modality_controller.cc (working copy) |
@@ -75,6 +75,11 @@ |
child->SetProperty(kModalParentKey, parent); |
} |
+VIEWS_EXPORT aura::Window* GetModalTransientForActivatableWindow( |
sadrul
2012/12/04 16:19:40
You shouldn't need VIEWS_EXPORT here.
|
+ aura::Window* activatable) { |
+ return GetModalTransientChild(activatable, activatable); |
sadrul
2012/12/04 16:19:40
CHECK/DCHECK here that |activatable| is Activatabl
Ben Goodger (Google)
2012/12/04 16:37:10
Cannot. Results in recursion in CanActivateWindow(
|
+} |
+ |
aura::Window* GetModalTransient(aura::Window* window) { |
if (!window) |
return NULL; |