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

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

Issue 1877543002: Revise the shelf alignment locking mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move logic to a new ShelfLockingManager, owned by Shelf. Created 4 years, 8 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
« no previous file with comments | « ash/shelf/shelf_locking_manager.cc ('k') | ash/shelf/shelf_util.h » ('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 (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_SHELF_SHELF_TYPES_H_ 5 #ifndef ASH_SHELF_SHELF_TYPES_H_
6 #define ASH_SHELF_SHELF_TYPES_H_ 6 #define ASH_SHELF_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 SHELF_ALIGNMENT_LOCKED,
sky 2016/04/18 15:17:00 If LOCKED always == BOTTOM I think this would be b
msw 2016/04/18 18:13:00 Done.
14 // Top has never been supported. 15 // Top has never been supported.
15 }; 16 };
16 17
17 enum ShelfAutoHideBehavior { 18 enum ShelfAutoHideBehavior {
18 // Always auto-hide. 19 // Always auto-hide.
19 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, 20 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
20 21
21 // Never auto-hide. 22 // Never auto-hide.
22 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, 23 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
23 24
(...skipping 24 matching lines...) Expand all
48 // The background when a window is overlapping. 49 // The background when a window is overlapping.
49 SHELF_BACKGROUND_OVERLAP, 50 SHELF_BACKGROUND_OVERLAP,
50 51
51 // The background when a window is maximized. 52 // The background when a window is maximized.
52 SHELF_BACKGROUND_MAXIMIZED, 53 SHELF_BACKGROUND_MAXIMIZED,
53 }; 54 };
54 55
55 } // namespace ash 56 } // namespace ash
56 57
57 #endif // ASH_SHELF_SHELF_TYPES_H_ 58 #endif // ASH_SHELF_SHELF_TYPES_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_locking_manager.cc ('k') | ash/shelf/shelf_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698