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

Unified Diff: ash/root_window_controller.cc

Issue 115153002: wm: public window_types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 0ab912a317784014348898e8f4342bc0f4581141..52035e638bad336e7c1d64da1e303e17f5a36a6a 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -256,7 +256,7 @@ RootWindowController* RootWindowController::ForTargetRootWindow() {
aura::Window* RootWindowController::GetContainerForWindow(
aura::Window* window) {
aura::Window* container = window->parent();
- while (container && container->type() != aura::client::WINDOW_TYPE_UNKNOWN)
+ while (container && container->type() != ui::wm::WINDOW_TYPE_UNKNOWN)
container = container->parent();
return container;
}
@@ -534,8 +534,8 @@ const aura::Window* RootWindowController::GetWindowForFullscreenMode() const {
const aura::Window* topmost_window = NULL;
for (aura::Window::Windows::const_reverse_iterator iter = windows.rbegin();
iter != windows.rend(); ++iter) {
- if (((*iter)->type() == aura::client::WINDOW_TYPE_NORMAL ||
- (*iter)->type() == aura::client::WINDOW_TYPE_PANEL) &&
+ if (((*iter)->type() == ui::wm::WINDOW_TYPE_NORMAL ||
+ (*iter)->type() == ui::wm::WINDOW_TYPE_PANEL) &&
(*iter)->layer()->GetTargetVisibility()) {
topmost_window = *iter;
break;

Powered by Google App Engine
This is Rietveld 408576698