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 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 "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/chromeos/cros/network_library.h" // ConnectionType | 14 #include "chrome/browser/chromeos/cros/network_library.h" // ConnectionType |
15 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow | 15 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow |
16 #include "ui/views/controls/button/menu_button_delegate.h" | 16 #include "ui/views/controls/button/menu_button_listener.h" |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 class MenuModel; | 19 class MenuModel; |
20 } | 20 } |
21 | 21 |
22 namespace views { | 22 namespace views { |
23 class MenuItemView; | 23 class MenuItemView; |
24 class MenuButton; | 24 class MenuButton; |
25 class MenuModelAdapter; | 25 class MenuModelAdapter; |
26 class MenuRunner; | 26 class MenuRunner; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // without worrying that they will actually try to happen after the lifetime | 124 // without worrying that they will actually try to happen after the lifetime |
125 // of this object. | 125 // of this object. |
126 base::WeakPtrFactory<NetworkMenu> weak_pointer_factory_; | 126 base::WeakPtrFactory<NetworkMenu> weak_pointer_factory_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(NetworkMenu); | 128 DISALLOW_COPY_AND_ASSIGN(NetworkMenu); |
129 }; | 129 }; |
130 | 130 |
131 } // namespace chromeos | 131 } // namespace chromeos |
132 | 132 |
133 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ | 133 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_H_ |
OLD | NEW |