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

Unified Diff: ash/shell.cc

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.h ('k') | ash/wm/shelf_auto_hide_behavior.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index f5d3edfbc7b546deae690cacd2e7a10f0d8dc478..d58196dfa72436872f46f9300748482273e57381 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -880,6 +880,14 @@ ShelfAutoHideBehavior Shell::GetShelfAutoHideBehavior() const {
return shelf_->auto_hide_behavior();
}
+void Shell::SetShelfAlignment(ShelfAlignment alignment) {
+ shelf_->SetAlignment(alignment);
+}
+
+ShelfAlignment Shell::GetShelfAlignment() {
+ return shelf_->alignment();
+}
+
int Shell::GetGridSize() const {
return workspace_controller_->workspace_manager()->grid_size();
}
« no previous file with comments | « ash/shell.h ('k') | ash/wm/shelf_auto_hide_behavior.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698