diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 15:43:53 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 15:43:53 +0000 |
commit | 5544450654bfa0c36809e104014dd96215d05b4d (patch) | |
tree | cdf089e5aff5c4f5329648ddf06751fd3adc6f74 /ash/shell.cc | |
parent | b0055b9c2fb9713631930dfa95d1112b0c7ec590 (diff) | |
download | chromium_src-5544450654bfa0c36809e104014dd96215d05b4d.zip chromium_src-5544450654bfa0c36809e104014dd96215d05b4d.tar.gz chromium_src-5544450654bfa0c36809e104014dd96215d05b4d.tar.bz2 |
Adds the option of aligning the launcher to the left or right. There
is a ton of rough edges after this patch, but I don't want this patch
to get any bigger.
BUG=121962
TEST=covered by tests.
R=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10388036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.cc')
-rw-r--r-- | ash/shell.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ash/shell.cc b/ash/shell.cc index 3eea9a4..b9de6a2 100644 --- a/ash/shell.cc +++ b/ash/shell.cc @@ -876,6 +876,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(); } |