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_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/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/tabs/tab_strip_model_observer.h" | 11 #include "chrome/browser/tabs/tab_strip_model_observer.h" |
12 #include "chrome/browser/ui/toolbar/bookmark_sub_menu_model.h" | 12 #include "chrome/browser/ui/toolbar/bookmark_sub_menu_model.h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
15 #include "ui/base/models/accelerator.h" | 15 #include "ui/base/accelerators/accelerator.h" |
16 #include "ui/base/models/button_menu_item_model.h" | 16 #include "ui/base/models/button_menu_item_model.h" |
17 #include "ui/base/models/simple_menu_model.h" | 17 #include "ui/base/models/simple_menu_model.h" |
18 | 18 |
19 class Browser; | 19 class Browser; |
20 class TabStripModel; | 20 class TabStripModel; |
21 | 21 |
22 namespace { | 22 namespace { |
23 class MockWrenchMenuModel; | 23 class MockWrenchMenuModel; |
24 } // namespace | 24 } // namespace |
25 | 25 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 156 |
157 Browser* browser_; // weak | 157 Browser* browser_; // weak |
158 TabStripModel* tabstrip_model_; // weak | 158 TabStripModel* tabstrip_model_; // weak |
159 | 159 |
160 content::NotificationRegistrar registrar_; | 160 content::NotificationRegistrar registrar_; |
161 | 161 |
162 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); | 162 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); |
163 }; | 163 }; |
164 | 164 |
165 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ | 165 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_MENU_MODEL_H_ |
OLD | NEW |