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

Unified Diff: ui/aura_shell/modal_container_layout_manager.cc

Issue 8968022: Shell related switches -> aura shell switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/aura_shell/laptop_mode_layout_manager.cc ('k') | ui/aura_shell/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/modal_container_layout_manager.cc
===================================================================
--- ui/aura_shell/modal_container_layout_manager.cc (revision 114849)
+++ ui/aura_shell/modal_container_layout_manager.cc (working copy)
@@ -66,14 +66,14 @@
void ModalContainerLayoutManager::OnWindowAddedToLayout(
aura::Window* child) {
child->AddObserver(this);
- if (child->GetIntProperty(aura::kModalKey))
+ if (child->GetIntProperty(aura::client::kModalKey))
AddModalWindow(child);
}
void ModalContainerLayoutManager::OnWillRemoveWindowFromLayout(
aura::Window* child) {
child->RemoveObserver(this);
- if (child->GetIntProperty(aura::kModalKey))
+ if (child->GetIntProperty(aura::client::kModalKey))
RemoveModalWindow(child);
}
@@ -94,10 +94,10 @@
void ModalContainerLayoutManager::OnWindowPropertyChanged(aura::Window* window,
const char* key,
void* old) {
- if (key != aura::kModalKey)
+ if (key != aura::client::kModalKey)
return;
- if (window->GetIntProperty(aura::kModalKey)) {
+ if (window->GetIntProperty(aura::client::kModalKey)) {
AddModalWindow(window);
} else if (static_cast<int>(reinterpret_cast<intptr_t>(old))) {
RemoveModalWindow(window);
« no previous file with comments | « ui/aura_shell/laptop_mode_layout_manager.cc ('k') | ui/aura_shell/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698