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

Unified Diff: ash/wm/common/switchable_windows.cc

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « ash/wm/common/switchable_windows.h ('k') | ash/wm/common/window_animation_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/switchable_windows.cc
diff --git a/ash/wm/common/switchable_windows.cc b/ash/wm/common/switchable_windows.cc
deleted file mode 100644
index 081d83684a89fcc234015a3fcfaa9019e55ad741..0000000000000000000000000000000000000000
--- a/ash/wm/common/switchable_windows.cc
+++ /dev/null
@@ -1,33 +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/wm/common/switchable_windows.h"
-
-#include "ash/wm/common/wm_shell_window_ids.h"
-#include "ash/wm/common/wm_window.h"
-
-namespace ash {
-namespace wm {
-
-const int kSwitchableWindowContainerIds[] = {
- kShellWindowId_DefaultContainer, kShellWindowId_AlwaysOnTopContainer,
- kShellWindowId_DockedContainer, kShellWindowId_PanelContainer,
- kShellWindowId_AppListContainer};
-
-const size_t kSwitchableWindowContainerIdsLength =
- arraysize(kSwitchableWindowContainerIds);
-
-bool IsSwitchableContainer(const wm::WmWindow* window) {
- if (!window)
- return false;
- const int shell_window_id = window->GetShellWindowId();
- for (size_t i = 0; i < kSwitchableWindowContainerIdsLength; ++i) {
- if (shell_window_id == kSwitchableWindowContainerIds[i])
- return true;
- }
- return false;
-}
-
-} // namespace wm
-} // namespace ash
« no previous file with comments | « ash/wm/common/switchable_windows.h ('k') | ash/wm/common/window_animation_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698