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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/shelf_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shelf_auto_hide_behavior.h
diff --git a/ash/wm/shelf_auto_hide_behavior.h b/ash/wm/shelf_auto_hide_behavior.h
index 29c35da3c0cafd60bf38e958c81ec9bb6470c9c6..85ee9c0fdedec178d348daaf1974cd6fa169d380 100644
--- a/ash/wm/shelf_auto_hide_behavior.h
+++ b/ash/wm/shelf_auto_hide_behavior.h
@@ -6,8 +6,16 @@
#define ASH_WM_SHELF_AUTO_HIDE_BEHAVIOR_H_
#pragma once
+// TODO(sky): rename this file to shelf_types.
+
namespace ash {
+enum ShelfAlignment {
+ SHELF_ALIGNMENT_BOTTOM,
+ SHELF_ALIGNMENT_LEFT,
+ SHELF_ALIGNMENT_RIGHT,
+};
+
enum ShelfAutoHideBehavior {
// The default; maximized windows trigger an auto-hide.
SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT,
« 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