Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1179)

Side by Side Diff: chrome/browser/wrench_menu_model.h

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "app/menus/button_menu_item_model.h" 12 #include "app/menus/button_menu_item_model.h"
13 #include "app/menus/simple_menu_model.h" 13 #include "app/menus/simple_menu_model.h"
14 #include "base/ref_counted.h" 14 #include "base/ref_counted.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "chrome/browser/tabs/tab_strip_model.h" 16 #include "chrome/browser/tabs/tab_strip_model.h"
17 #include "chrome/common/notification_observer.h" 17 #include "chrome/common/notification_observer.h"
18 #include "chrome/common/notification_registrar.h" 18 #include "chrome/common/notification_registrar.h"
19 19
20 class Browser; 20 class Browser;
21 21
22 namespace menus {
23 class ButtonMenuItemModel;
24 } // namespace menus
25
26 namespace { 22 namespace {
27 class MockWrenchMenuModel; 23 class MockWrenchMenuModel;
28 } // namespace 24 } // namespace
29 25
30 // A menu model that builds the contents of an encoding menu. 26 // A menu model that builds the contents of an encoding menu.
31 class EncodingMenuModel : public menus::SimpleMenuModel, 27 class EncodingMenuModel : public menus::SimpleMenuModel,
32 public menus::SimpleMenuModel::Delegate { 28 public menus::SimpleMenuModel::Delegate {
33 public: 29 public:
34 explicit EncodingMenuModel(Browser* browser); 30 explicit EncodingMenuModel(Browser* browser);
35 virtual ~EncodingMenuModel() {} 31 virtual ~EncodingMenuModel() {}
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 143
148 Browser* browser_; // weak 144 Browser* browser_; // weak
149 TabStripModel* tabstrip_model_; // weak 145 TabStripModel* tabstrip_model_; // weak
150 146
151 NotificationRegistrar registrar_; 147 NotificationRegistrar registrar_;
152 148
153 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel); 149 DISALLOW_COPY_AND_ASSIGN(WrenchMenuModel);
154 }; 150 };
155 151
156 #endif // CHROME_BROWSER_WRENCH_MENU_MODEL_H_ 152 #endif // CHROME_BROWSER_WRENCH_MENU_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698