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

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: ozone deps 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
« no previous file with comments | « ash/drag_drop/drag_drop_tracker.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index e439ac3b18a886fd45f20609035243d7c5bd58ea..58088c7ca2cfe0fb30ed9cb99fa0a23c30bb50ed 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -51,7 +51,6 @@
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/client/tooltip_client.h"
-#include "ui/aura/client/window_types.h"
#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
@@ -68,6 +67,7 @@
#include "ui/views/corewm/visibility_controller.h"
#include "ui/views/view_model.h"
#include "ui/views/view_model_utils.h"
+#include "ui/wm/public/window_types.h"
#if defined(OS_CHROMEOS)
#include "ash/wm/boot_splash_screen_chromeos.h"
@@ -288,7 +288,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;
}
@@ -566,8 +566,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;
« no previous file with comments | « ash/drag_drop/drag_drop_tracker.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698