summaryrefslogtreecommitdiffstats
path: root/ash/shell_observer.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 08:11:29 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 08:11:29 +0000
commitc2d58b4833d616913627e2028d5dd4e260b071fc (patch)
tree721ae0364431ba77740b232a26151d0fc9ee57be /ash/shell_observer.h
parent7ed21bea852d071a525ef35540eb26c22381f0d5 (diff)
downloadchromium_src-c2d58b4833d616913627e2028d5dd4e260b071fc.zip
chromium_src-c2d58b4833d616913627e2028d5dd4e260b071fc.tar.gz
chromium_src-c2d58b4833d616913627e2028d5dd4e260b071fc.tar.bz2
ash/app_list: Handle shelf left/right dock.
And update the app list bubble border/shadow. BUG=130114 TEST=Dock ash launcher bar to left/right and check app list bubble is properly aligned with it. Review URL: https://chromiumcodereview.appspot.com/10454063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139496 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_observer.h')
-rw-r--r--ash/shell_observer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ash/shell_observer.h b/ash/shell_observer.h
index 9c16668..4b73efb 100644
--- a/ash/shell_observer.h
+++ b/ash/shell_observer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SHELLOBSERVER_H_
-#define ASH_SHELLOBSERVER_H_
+#ifndef ASH_SHELL_OBSERVER_H_
+#define ASH_SHELL_OBSERVER_H_
#pragma once
#include "ash/ash_export.h"
@@ -26,10 +26,13 @@ class ASH_EXPORT ShellObserver {
// unlocked.
virtual void OnLockStateChanged(bool locked) {}
+ // Invoked when the shelf alignment is changed.
+ virtual void OnShelfAlignmentChanged() {}
+
protected:
virtual ~ShellObserver() {}
};
} // namespace ash
-#endif // ASH_SHELLOBSERVER_H_
+#endif // ASH_SHELL_OBSERVER_H_