| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 bool canceled) OVERRIDE; | 113 bool canceled) OVERRIDE; |
| 114 virtual void MouseExitedButton(views::View* view) OVERRIDE; | 114 virtual void MouseExitedButton(views::View* view) OVERRIDE; |
| 115 virtual string16 GetAccessibleName(views::View* view) OVERRIDE; | 115 virtual string16 GetAccessibleName(views::View* view) OVERRIDE; |
| 116 | 116 |
| 117 // Overriden from views::ButtonListener: | 117 // Overriden from views::ButtonListener: |
| 118 virtual void ButtonPressed(views::Button* sender, | 118 virtual void ButtonPressed(views::Button* sender, |
| 119 const views::Event& event) OVERRIDE; | 119 const views::Event& event) OVERRIDE; |
| 120 | 120 |
| 121 // Overriden from views::ContextMenuController: | 121 // Overriden from views::ContextMenuController: |
| 122 virtual void ShowContextMenuForView(views::View* source, | 122 virtual void ShowContextMenuForView(views::View* source, |
| 123 const gfx::Point& p, | 123 const gfx::Point& point) OVERRIDE; |
| 124 bool is_mouse_gesture) OVERRIDE; | |
| 125 | 124 |
| 126 // The model; owned by Launcher. | 125 // The model; owned by Launcher. |
| 127 LauncherModel* model_; | 126 LauncherModel* model_; |
| 128 | 127 |
| 129 // Delegate; owned by Launcher. | 128 // Delegate; owned by Launcher. |
| 130 LauncherDelegate* delegate_; | 129 LauncherDelegate* delegate_; |
| 131 | 130 |
| 132 // Used to manage the set of active launcher buttons. There is a view per | 131 // Used to manage the set of active launcher buttons. There is a view per |
| 133 // item in |model_|. | 132 // item in |model_|. |
| 134 scoped_ptr<ViewModel> view_model_; | 133 scoped_ptr<ViewModel> view_model_; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 163 // Used to handle cycling among windows. | 162 // Used to handle cycling among windows. |
| 164 scoped_ptr<LauncherWindowCycler> cycler_; | 163 scoped_ptr<LauncherWindowCycler> cycler_; |
| 165 | 164 |
| 166 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 165 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
| 167 }; | 166 }; |
| 168 | 167 |
| 169 } // namespace internal | 168 } // namespace internal |
| 170 } // namespace ash | 169 } // namespace ash |
| 171 | 170 |
| 172 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 171 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
| OLD | NEW |