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_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_ | 5 #ifndef ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_ |
6 #define ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_ | 6 #define ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "ui/base/models/simple_menu_model.h" | 10 #include "ui/base/models/simple_menu_model.h" |
12 | 11 |
13 namespace ash { | 12 namespace ash { |
14 | 13 |
15 // Submenu for choosing the alignment of the launcher. | 14 // Submenu for choosing the alignment of the launcher. |
16 class ASH_EXPORT LauncherAlignmentMenu : public ui::SimpleMenuModel, | 15 class ASH_EXPORT LauncherAlignmentMenu : public ui::SimpleMenuModel, |
17 public ui::SimpleMenuModel::Delegate { | 16 public ui::SimpleMenuModel::Delegate { |
(...skipping 16 matching lines...) Expand all Loading... |
34 MENU_ALIGN_RIGHT, | 33 MENU_ALIGN_RIGHT, |
35 MENU_ALIGN_BOTTOM, | 34 MENU_ALIGN_BOTTOM, |
36 }; | 35 }; |
37 | 36 |
38 DISALLOW_COPY_AND_ASSIGN(LauncherAlignmentMenu); | 37 DISALLOW_COPY_AND_ASSIGN(LauncherAlignmentMenu); |
39 }; | 38 }; |
40 | 39 |
41 } // namespace ash | 40 } // namespace ash |
42 | 41 |
43 #endif // ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_ | 42 #endif // ASH_WM_LAUNCHER_LAUNCHER_ALIGNMENT_MENU_H_ |
OLD | NEW |