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

Unified Diff: ash/wm/dock/docked_window_layout_manager.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/wm/always_on_top_controller.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/dock/docked_window_layout_manager.cc
diff --git a/ash/wm/dock/docked_window_layout_manager.cc b/ash/wm/dock/docked_window_layout_manager.cc
index 3298f05602fceab57d553833909fe8408ee21718..d59a14df9df731ead4ceee8fa4e2b001847cc36e 100644
--- a/ash/wm/dock/docked_window_layout_manager.cc
+++ b/ash/wm/dock/docked_window_layout_manager.cc
@@ -180,7 +180,7 @@ namespace {
// Returns true if a window is a popup or a transient child.
bool IsPopupOrTransient(const aura::Window* window) {
- return (window->type() == aura::client::WINDOW_TYPE_POPUP ||
+ return (window->type() == ui::wm::WINDOW_TYPE_POPUP ||
window->transient_parent());
}
@@ -896,7 +896,7 @@ void DockedWindowLayoutManager::RecordUmaAction(DockedAction action,
if (!IsUsedByLayout(window))
continue;
docked_visible_count++;
- if (window->type() == aura::client::WINDOW_TYPE_PANEL)
+ if (window->type() == ui::wm::WINDOW_TYPE_PANEL)
docked_panels_count++;
const wm::WindowState* window_state = wm::GetWindowState(window);
if (window_state->HasRestoreBounds()) {
« no previous file with comments | « ash/wm/always_on_top_controller.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698