| 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 |
| 113 // Overriden from views::ButtonListener: | 115 // Overriden from views::ButtonListener: |
| 114 virtual void ButtonPressed(views::Button* sender, | 116 virtual void ButtonPressed(views::Button* sender, |
| 115 const views::Event& event) OVERRIDE; | 117 const views::Event& event) OVERRIDE; |
| 116 | 118 |
| 117 // The model; owned by Launcher. | 119 // The model; owned by Launcher. |
| 118 LauncherModel* model_; | 120 LauncherModel* model_; |
| 119 | 121 |
| 120 // Used to manage the set of active launcher buttons. There is a view per | 122 // Used to manage the set of active launcher buttons. There is a view per |
| 121 // item in |model_|. | 123 // item in |model_|. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 146 // Used to handle cycling among windows. | 148 // Used to handle cycling among windows. |
| 147 scoped_ptr<LauncherWindowCycler> cycler_; | 149 scoped_ptr<LauncherWindowCycler> cycler_; |
| 148 | 150 |
| 149 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 151 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
| 150 }; | 152 }; |
| 151 | 153 |
| 152 } // namespace internal | 154 } // namespace internal |
| 153 } // namespace ash | 155 } // namespace ash |
| 154 | 156 |
| 155 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 157 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
| OLD | NEW |