OLD | NEW |
1 // Copyright (c) 2010 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_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ |
6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ | 6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/browser/tabs/tab_strip_model_observer.h" | 10 #include "chrome/browser/tabs/tab_strip_model_observer.h" |
11 #include "chrome/common/notification_observer.h" | 11 #include "content/common/notification_observer.h" |
12 #include "chrome/common/notification_registrar.h" | 12 #include "content/common/notification_registrar.h" |
13 #include "ui/base/models/accelerator.h" | 13 #include "ui/base/models/accelerator.h" |
14 #include "ui/base/models/button_menu_item_model.h" | 14 #include "ui/base/models/button_menu_item_model.h" |
15 #include "ui/base/models/simple_menu_model.h" | 15 #include "ui/base/models/simple_menu_model.h" |
16 | 16 |
17 class Browser; | 17 class Browser; |
18 class TabStripModel; | 18 class TabStripModel; |
19 | 19 |
20 namespace { | 20 namespace { |
21 class MockWrenchMenuModel; | 21 class MockWrenchMenuModel; |
22 } // namespace | 22 } // namespace |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 Browser* browser_; // weak | 143 Browser* browser_; // weak |
144 TabStripModel* tabstrip_model_; // weak | 144 TabStripModel* tabstrip_model_; // weak |
145 | 145 |
146 NotificationRegistrar registrar_; | 146 NotificationRegistrar registrar_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); | 148 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); |
149 }; | 149 }; |
150 | 150 |
151 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ | 151 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ |
OLD | NEW |