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

Side by Side Diff: ash/wm/shelf_types.h

Issue 10987005: Autohide behavior simplified to always/never (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WM_SHELF_TYPES_H_ 5 #ifndef ASH_WM_SHELF_TYPES_H_
6 #define ASH_WM_SHELF_TYPES_H_ 6 #define ASH_WM_SHELF_TYPES_H_
7 7
8 namespace ash { 8 namespace ash {
9 9
10 enum ShelfAlignment { 10 enum ShelfAlignment {
11 SHELF_ALIGNMENT_BOTTOM, 11 SHELF_ALIGNMENT_BOTTOM,
12 SHELF_ALIGNMENT_LEFT, 12 SHELF_ALIGNMENT_LEFT,
13 SHELF_ALIGNMENT_RIGHT, 13 SHELF_ALIGNMENT_RIGHT,
14 }; 14 };
15 15
16 enum ShelfAutoHideBehavior { 16 enum ShelfAutoHideBehavior {
17 // The default; maximized windows trigger an auto-hide.
18 SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT,
19
20 // Always auto-hide. 17 // Always auto-hide.
21 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, 18 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
22 19
23 // Never auto-hide. 20 // Never auto-hide.
24 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, 21 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
25 }; 22 };
26 23
27 } // namespace ash 24 } // namespace ash
28 25
29 #endif // ASH_WM_SHELF_TYPES_H_ 26 #endif // ASH_WM_SHELF_TYPES_H_
OLDNEW
« no previous file with comments | « ash/wm/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace_manager2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698