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

Unified Diff: ui/aura_shell/always_on_top_controller.cc

Issue 8574033: Beginnings of Window Modality support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_shell/always_on_top_controller.cc
===================================================================
--- ui/aura_shell/always_on_top_controller.cc (revision 110305)
+++ ui/aura_shell/always_on_top_controller.cc (working copy)
@@ -41,8 +41,8 @@
aura::Window* AlwaysOnTopController::GetContainer(aura::Window* window) const {
DCHECK(default_container_ && always_on_top_container_);
- return !window->GetProperty(aura::kAlwaysOnTopKey) ? default_container_ :
- always_on_top_container_;
+ return !window->GetBoolProperty(aura::kAlwaysOnTopKey) ?
+ default_container_ : always_on_top_container_;
}
void AlwaysOnTopController::OnWindowAdded(aura::Window* child) {

Powered by Google App Engine
This is Rietveld 408576698