OLD | NEW |
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_VIEW_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 virtual void LauncherItemWillChange(int index) OVERRIDE; | 102 virtual void LauncherItemWillChange(int index) OVERRIDE; |
103 | 103 |
104 // Overridden from LauncherButtonHost: | 104 // Overridden from LauncherButtonHost: |
105 virtual void MousePressedOnButton(views::View* view, | 105 virtual void MousePressedOnButton(views::View* view, |
106 const views::MouseEvent& event) OVERRIDE; | 106 const views::MouseEvent& event) OVERRIDE; |
107 virtual void MouseDraggedOnButton(views::View* view, | 107 virtual void MouseDraggedOnButton(views::View* view, |
108 const views::MouseEvent& event) OVERRIDE; | 108 const views::MouseEvent& event) OVERRIDE; |
109 virtual void MouseReleasedOnButton(views::View* view, | 109 virtual void MouseReleasedOnButton(views::View* view, |
110 bool canceled) OVERRIDE; | 110 bool canceled) OVERRIDE; |
111 virtual void MouseExitedButton(views::View* view) OVERRIDE; | 111 virtual void MouseExitedButton(views::View* view) OVERRIDE; |
112 virtual string16 GetAccessibleName(views::View* view) OVERRIDE; | |
113 | 112 |
114 // Overriden from views::ButtonListener: | 113 // Overriden from views::ButtonListener: |
115 virtual void ButtonPressed(views::Button* sender, | 114 virtual void ButtonPressed(views::Button* sender, |
116 const views::Event& event) OVERRIDE; | 115 const views::Event& event) OVERRIDE; |
117 | 116 |
118 // The model; owned by Launcher. | 117 // The model; owned by Launcher. |
119 LauncherModel* model_; | 118 LauncherModel* model_; |
120 | 119 |
121 // Used to manage the set of active launcher buttons. There is a view per | 120 // Used to manage the set of active launcher buttons. There is a view per |
122 // item in |model_|. | 121 // item in |model_|. |
(...skipping 24 matching lines...) Expand all Loading... |
147 // Used to handle cycling among windows. | 146 // Used to handle cycling among windows. |
148 scoped_ptr<LauncherWindowCycler> cycler_; | 147 scoped_ptr<LauncherWindowCycler> cycler_; |
149 | 148 |
150 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 149 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
151 }; | 150 }; |
152 | 151 |
153 } // namespace internal | 152 } // namespace internal |
154 } // namespace ash | 153 } // namespace ash |
155 | 154 |
156 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 155 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
OLD | NEW |