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

Side by Side Diff: chrome/browser/ui/cocoa/back_forward_menu_controller.h

Issue 5544002: Move a bunch more browser stuff around.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/ui/browser.cc ('k') | chrome/browser/ui/cocoa/back_forward_menu_controller.mm » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_BACK_FORWARD_MENU_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BACK_FORWARD_MENU_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BACK_FORWARD_MENU_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BACK_FORWARD_MENU_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/scoped_nsobject.h" 11 #include "base/scoped_nsobject.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "chrome/browser/back_forward_menu_model.h" 13 #include "chrome/browser/ui/toolbar/back_forward_menu_model.h"
14 14
15 @class DelayedMenuButton; 15 @class DelayedMenuButton;
16 16
17 typedef BackForwardMenuModel::ModelType BackForwardMenuType; 17 typedef BackForwardMenuModel::ModelType BackForwardMenuType;
18 const BackForwardMenuType BACK_FORWARD_MENU_TYPE_BACK = 18 const BackForwardMenuType BACK_FORWARD_MENU_TYPE_BACK =
19 BackForwardMenuModel::BACKWARD_MENU; 19 BackForwardMenuModel::BACKWARD_MENU;
20 const BackForwardMenuType BACK_FORWARD_MENU_TYPE_FORWARD = 20 const BackForwardMenuType BACK_FORWARD_MENU_TYPE_FORWARD =
21 BackForwardMenuModel::FORWARD_MENU; 21 BackForwardMenuModel::FORWARD_MENU;
22 22
23 // A class that manages the back/forward menu (and delayed-menu button, and 23 // A class that manages the back/forward menu (and delayed-menu button, and
(...skipping 10 matching lines...) Expand all
34 // Type (back or forwards); can only be set on initialization. 34 // Type (back or forwards); can only be set on initialization.
35 @property(readonly, nonatomic) BackForwardMenuType type; 35 @property(readonly, nonatomic) BackForwardMenuType type;
36 36
37 - (id)initWithBrowser:(Browser*)browser 37 - (id)initWithBrowser:(Browser*)browser
38 modelType:(BackForwardMenuType)type 38 modelType:(BackForwardMenuType)type
39 button:(DelayedMenuButton*)button; 39 button:(DelayedMenuButton*)button;
40 40
41 @end // @interface BackForwardMenuController 41 @end // @interface BackForwardMenuController
42 42
43 #endif // CHROME_BROWSER_UI_COCOA_BACK_FORWARD_MENU_CONTROLLER_H_ 43 #endif // CHROME_BROWSER_UI_COCOA_BACK_FORWARD_MENU_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/back_forward_menu_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698