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

Unified Diff: ash/launcher/launcher_button_host.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/launcher/launcher_alignment_menu.cc ('k') | ash/launcher/launcher_context_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_button_host.h
diff --git a/ash/launcher/launcher_button_host.h b/ash/launcher/launcher_button_host.h
index 4fbef0347744dbd033f74acbac610653e74bc9f4..ef8a3be3a3dc0ff899cc76abd670b0a04d0d30df 100644
--- a/ash/launcher/launcher_button_host.h
+++ b/ash/launcher/launcher_button_host.h
@@ -7,6 +7,7 @@
#pragma once
#include "ash/ash_export.h"
+#include "ash/wm/shelf_auto_hide_behavior.h"
#include "base/string16.h"
namespace views {
@@ -36,6 +37,8 @@ class ASH_EXPORT LauncherButtonHost {
// Invoked when the mouse exits the item.
virtual void MouseExitedButton(views::View* view) = 0;
+ virtual ShelfAlignment GetShelfAlignment() const = 0;
+
// Invoked to get the accessible name of the item.
virtual string16 GetAccessibleName(const views::View* view) = 0;
« no previous file with comments | « ash/launcher/launcher_alignment_menu.cc ('k') | ash/launcher/launcher_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698