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

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

Issue 10388036: Adds the option of aligning the launcher to the left or right. There (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/shelf_layout_manager.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_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_ 5 #ifndef ASH_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_
6 #define ASH_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_ 6 #define ASH_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_
7 #pragma once 7 #pragma once
8 8
9 // TODO(sky): rename this file to shelf_types.
10
9 namespace ash { 11 namespace ash {
10 12
13 enum ShelfAlignment {
14 SHELF_ALIGNMENT_BOTTOM,
15 SHELF_ALIGNMENT_LEFT,
16 SHELF_ALIGNMENT_RIGHT,
17 };
18
11 enum ShelfAutoHideBehavior { 19 enum ShelfAutoHideBehavior {
12 // The default; maximized windows trigger an auto-hide. 20 // The default; maximized windows trigger an auto-hide.
13 SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT, 21 SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT,
14 22
15 // Always auto-hide. 23 // Always auto-hide.
16 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, 24 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS,
17 25
18 // Never auto-hide. 26 // Never auto-hide.
19 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, 27 SHELF_AUTO_HIDE_BEHAVIOR_NEVER,
20 }; 28 };
21 29
22 } // namespace ash 30 } // namespace ash
23 31
24 #endif // ASH_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_ 32 #endif // ASH_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698