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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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/common/wm/switchable_windows.h ('k') | ash/common/wm/system_modal_container_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/switchable_windows.cc
diff --git a/ash/common/wm/switchable_windows.cc b/ash/common/wm/switchable_windows.cc
deleted file mode 100644
index efa1a9a83ad9cceda77ec3d00f5a1bb502f3c8fb..0000000000000000000000000000000000000000
--- a/ash/common/wm/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/common/wm/switchable_windows.h"
-
-#include "ash/common/wm_window.h"
-#include "ash/public/cpp/shell_window_ids.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 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/common/wm/switchable_windows.h ('k') | ash/common/wm/system_modal_container_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698