OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_WRENCH_MENU_MODEL_H_ | 5 #ifndef CHROME_BROWSER_WRENCH_MENU_MODEL_H_ |
6 #define CHROME_BROWSER_WRENCH_MENU_MODEL_H_ | 6 #define CHROME_BROWSER_WRENCH_MENU_MODEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "app/menus/button_menu_item_model.h" | 9 #include "app/menus/button_menu_item_model.h" |
10 #include "app/menus/simple_menu_model.h" | 10 #include "app/menus/simple_menu_model.h" |
11 #include "base/ref_counted.h" | |
12 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/tabs/tab_strip_model.h" | 12 #include "chrome/browser/tabs/tab_strip_model.h" |
14 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
15 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
16 | 15 |
17 class Browser; | 16 class Browser; |
18 | 17 |
19 namespace { | 18 namespace { |
20 class MockWrenchMenuModel; | 19 class MockWrenchMenuModel; |
21 } // namespace | 20 } // namespace |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 141 |
143 Browser* browser_; // weak | 142 Browser* browser_; // weak |
144 TabStripModel* tabstrip_model_; // weak | 143 TabStripModel* tabstrip_model_; // weak |
145 | 144 |
146 NotificationRegistrar registrar_; | 145 NotificationRegistrar registrar_; |
147 | 146 |
148 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); | 147 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); |
149 }; | 148 }; |
150 | 149 |
151 #endif // CHROME_BROWSER_WRENCH_MENU_MODEL_H_ | 150 #endif // CHROME_BROWSER_WRENCH_MENU_MODEL_H_ |
OLD | NEW |