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

Side by Side Diff: ash/launcher/launcher_button_host.h

Issue 11434099: Use the correct launcher assets for shelf alignment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/launcher/launcher_tooltip_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_
6 #define ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_ 6 #define ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf_types.h"
10 #include "base/string16.h" 9 #include "base/string16.h"
11 10
12 namespace ui { 11 namespace ui {
13 class LocatedEvent; 12 class LocatedEvent;
14 } 13 }
15 14
16 namespace views { 15 namespace views {
17 class View; 16 class View;
18 } 17 }
19 18
(...skipping 27 matching lines...) Expand all
47 46
48 // Invoked when the mouse moves on the item. 47 // Invoked when the mouse moves on the item.
49 virtual void MouseMovedOverButton(views::View* view) = 0; 48 virtual void MouseMovedOverButton(views::View* view) = 0;
50 49
51 // Invoked when the mouse enters the item. 50 // Invoked when the mouse enters the item.
52 virtual void MouseEnteredButton(views::View* view) = 0; 51 virtual void MouseEnteredButton(views::View* view) = 0;
53 52
54 // Invoked when the mouse exits the item. 53 // Invoked when the mouse exits the item.
55 virtual void MouseExitedButton(views::View* view) = 0; 54 virtual void MouseExitedButton(views::View* view) = 0;
56 55
57 virtual ShelfAlignment GetShelfAlignment() const = 0;
58
59 // Invoked to get the accessible name of the item. 56 // Invoked to get the accessible name of the item.
60 virtual string16 GetAccessibleName(const views::View* view) = 0; 57 virtual string16 GetAccessibleName(const views::View* view) = 0;
61 58
62 protected: 59 protected:
63 virtual ~LauncherButtonHost() {} 60 virtual ~LauncherButtonHost() {}
64 }; 61 };
65 62
66 } // namespace internal 63 } // namespace internal
67 } // namespace ash 64 } // namespace ash
68 65
69 #endif // ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_ 66 #endif // ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/launcher/launcher_tooltip_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698