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

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
« no previous file with comments | « ui/views/corewm/window_modality_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/window_modality_controller.cc
===================================================================
--- ui/views/corewm/window_modality_controller.cc (revision 170971)
+++ ui/views/corewm/window_modality_controller.cc (working copy)
@@ -75,6 +75,11 @@
child->SetProperty(kModalParentKey, parent);
}
+aura::Window* GetModalTransientForActivatableWindow(
+ aura::Window* activatable) {
+ return GetModalTransientChild(activatable, activatable);
+}
+
aura::Window* GetModalTransient(aura::Window* window) {
if (!window)
return NULL;
« no previous file with comments | « 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