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

Unified Diff: ash/switchable_windows.cc

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix always-on-top and remove mus changes Created 4 years, 8 months 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/switchable_windows.cc
diff --git a/ash/switchable_windows.cc b/ash/switchable_windows.cc
deleted file mode 100644
index 72b06bb9ae0e100a7abb7d8cf60edcac409bdd38..0000000000000000000000000000000000000000
--- a/ash/switchable_windows.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/switchable_windows.h"
-
-#include "ash/shell_window_ids.h"
-#include "ui/aura/window.h"
-
-namespace ash {
-
-const int kSwitchableWindowContainerIds[] = {
- kShellWindowId_DefaultContainer,
- kShellWindowId_AlwaysOnTopContainer,
- kShellWindowId_DockedContainer,
- kShellWindowId_PanelContainer,
- kShellWindowId_AppListContainer};
-
-const size_t kSwitchableWindowContainerIdsLength =
- arraysize(kSwitchableWindowContainerIds);
-
-bool IsSwitchableContainer(const aura::Window* window) {
- if (!window)
- return false;
- for (size_t i = 0; i < kSwitchableWindowContainerIdsLength; ++i) {
- if (window->id() == kSwitchableWindowContainerIds[i])
- return true;
- }
- return false;
-}
-
-} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698