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

Unified Diff: ui/views/corewm/window_modality_controller.cc

Issue 11414304: Fleshes out the basic set of focus rules a bit more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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/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;
« ui/views/corewm/base_focus_rules.cc ('K') | « ui/views/corewm/window_modality_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698