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

Side by Side Diff: ash/switchable_windows.h

Issue 149493008: Use active window if on current workspace for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/switchable_windows.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SWITCHABLE_WINDOWS_H_
6 #define ASH_SWITCHABLE_WINDOWS_H_ 6 #define ASH_SWITCHABLE_WINDOWS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace aura {
12 class Window;
13 }
14
11 namespace ash { 15 namespace ash {
12 16
13 // List of containers which contain windows that can be switched via Alt+Tab to. 17 // List of containers which contain windows that can be switched via Alt+Tab to.
14 ASH_EXPORT extern const int kSwitchableWindowContainerIds[]; 18 ASH_EXPORT extern const int kSwitchableWindowContainerIds[];
15 19
16 // The number of elements in kSwitchableWindowContainerIds. 20 // The number of elements in kSwitchableWindowContainerIds.
17 ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength; 21 ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength;
18 22
23 // Returns true if |window| is a container for windows which can be switched to.
24 ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window);
25
19 } // namespace ash 26 } // namespace ash
20 27
21 #endif // ASH_SWITCHABLE_WINDOWS_H_ 28 #endif // ASH_SWITCHABLE_WINDOWS_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/switchable_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698