| 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, |
| 124 bool is_mouse_gesture) OVERRIDE; | 124 views::GestureType gesture_type) OVERRIDE; |
| 125 | 125 |
| 126 // The model; owned by Launcher. | 126 // The model; owned by Launcher. |
| 127 LauncherModel* model_; | 127 LauncherModel* model_; |
| 128 | 128 |
| 129 // Delegate; owned by Launcher. | 129 // Delegate; owned by Launcher. |
| 130 LauncherDelegate* delegate_; | 130 LauncherDelegate* delegate_; |
| 131 | 131 |
| 132 // Used to manage the set of active launcher buttons. There is a view per | 132 // Used to manage the set of active launcher buttons. There is a view per |
| 133 // item in |model_|. | 133 // item in |model_|. |
| 134 scoped_ptr<ViewModel> view_model_; | 134 scoped_ptr<ViewModel> view_model_; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 163 // Used to handle cycling among windows. | 163 // Used to handle cycling among windows. |
| 164 scoped_ptr<LauncherWindowCycler> cycler_; | 164 scoped_ptr<LauncherWindowCycler> cycler_; |
| 165 | 165 |
| 166 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 166 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 } // namespace internal | 169 } // namespace internal |
| 170 } // namespace ash | 170 } // namespace ash |
| 171 | 171 |
| 172 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 172 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
| OLD | NEW |