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 <set> | |
10 #include <vector> | |
11 | |
12 #include "app/menus/button_menu_item_model.h" | 9 #include "app/menus/button_menu_item_model.h" |
13 #include "app/menus/simple_menu_model.h" | 10 #include "app/menus/simple_menu_model.h" |
14 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
15 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
16 #include "chrome/browser/tabs/tab_strip_model.h" | 13 #include "chrome/browser/tabs/tab_strip_model.h" |
17 #include "chrome/common/notification_observer.h" | 14 #include "chrome/common/notification_observer.h" |
18 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
19 | 16 |
20 class Browser; | 17 class Browser; |
21 | 18 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 140 |
144 Browser* browser_; // weak | 141 Browser* browser_; // weak |
145 TabStripModel* tabstrip_model_; // weak | 142 TabStripModel* tabstrip_model_; // weak |
146 | 143 |
147 NotificationRegistrar registrar_; | 144 NotificationRegistrar registrar_; |
148 | 145 |
149 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); | 146 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); |
150 }; | 147 }; |
151 | 148 |
152 #endif // CHROME_BROWSER_WRENCH_MENU_MODEL_H_ | 149 #endif // CHROME_BROWSER_WRENCH_MENU_MODEL_H_ |
OLD | NEW |