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

Side by Side Diff: ash/wm/common/switchable_windows.h

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SWITCHABLE_WINDOWS_H_ 5 #ifndef ASH_WM_COMMON_SWITCHABLE_WINDOWS_H_
6 #define ASH_SWITCHABLE_WINDOWS_H_ 6 #define ASH_WM_COMMON_SWITCHABLE_WINDOWS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 12
13 namespace aura { 13 namespace ash {
14 class Window; 14 namespace wm {
15 }
16 15
17 namespace ash { 16 class WmWindow;
18 17
19 // List of containers which contain windows that can be switched via Alt+Tab to. 18 // List of containers which contain windows that can be switched via Alt+Tab to.
20 ASH_EXPORT extern const int kSwitchableWindowContainerIds[]; 19 ASH_EXPORT extern const int kSwitchableWindowContainerIds[];
21 20
22 // The number of elements in kSwitchableWindowContainerIds. 21 // The number of elements in kSwitchableWindowContainerIds.
23 ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength; 22 ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength;
24 23
25 // Returns true if |window| is a container for windows which can be switched to. 24 // Returns true if |window| is a container for windows which can be switched to.
26 ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window); 25 ASH_EXPORT bool IsSwitchableContainer(const WmWindow* window);
27 26
27 } // namespace wm
28 } // namespace ash 28 } // namespace ash
29 29
30 #endif // ASH_SWITCHABLE_WINDOWS_H_ 30 #endif // ASH_WM_COMMON_SWITCHABLE_WINDOWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698