OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ |
6 #define CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/chromeos/cros/network_library.h" // ConnectionType | 13 #include "chrome/browser/chromeos/cros/network_library.h" // ConnectionType |
14 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow | 14 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow |
15 #include "views/controls/menu/view_menu_delegate.h" | 15 #include "views/controls/menu/view_menu_delegate.h" |
16 | 16 |
17 namespace { | |
18 | |
19 const int kMainCommandIndexOffset = 1000; | |
20 const int kVPNCommandIndexOffset = 2000; | |
21 const int kMoreCommandIndexOffset = 3000; | |
22 | |
23 } // namespace | |
24 | |
25 class SkBitmap; | |
26 | |
27 namespace gfx { | |
28 class Canvas; | |
29 } | |
30 | |
31 namespace ui { | 17 namespace ui { |
32 class MenuModel; | 18 class MenuModel; |
33 } | 19 } |
34 | 20 |
35 namespace views { | 21 namespace views { |
36 class MenuItemView; | 22 class MenuItemView; |
37 class MenuButton; | 23 class MenuButton; |
38 class MenuModelAdapter; | 24 class MenuModelAdapter; |
39 class MenuRunner; | 25 class MenuRunner; |
40 } | 26 } |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 115 |
130 // Holds minimum width of the menu. | 116 // Holds minimum width of the menu. |
131 int min_width_; | 117 int min_width_; |
132 | 118 |
133 DISALLOW_COPY_AND_ASSIGN(NetworkMenu); | 119 DISALLOW_COPY_AND_ASSIGN(NetworkMenu); |
134 }; | 120 }; |
135 | 121 |
136 } // namespace chromeos | 122 } // namespace chromeos |
137 | 123 |
138 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ | 124 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ |
OLD | NEW |