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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Controller (MVC) for the bookmark menu. 5 // Controller (MVC) for the bookmark menu.
6 // All bookmark menu item commands get directed here. 6 // All bookmark menu item commands get directed here.
7 // Unfortunately there is already a C++ class named BookmarkMenuController. 7 // Unfortunately there is already a C++ class named BookmarkMenuController.
8 8
9 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_MENU_COCOA_CONTROLLER_H_ 9 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_MENU_COCOA_CONTROLLER_H_
10 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_MENU_COCOA_CONTROLLER_H_ 10 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_MENU_COCOA_CONTROLLER_H_
11 11
12 #import <Cocoa/Cocoa.h> 12 #import <Cocoa/Cocoa.h>
13 13
14 #include "webkit/glue/window_open_disposition.h" 14 #include "ui/base/window_open_disposition.h"
15 15
16 class BookmarkNode; 16 class BookmarkNode;
17 class BookmarkMenuBridge; 17 class BookmarkMenuBridge;
18 18
19 @interface BookmarkMenuCocoaController : NSObject<NSMenuDelegate> { 19 @interface BookmarkMenuCocoaController : NSObject<NSMenuDelegate> {
20 @private 20 @private
21 BookmarkMenuBridge* bridge_; // weak; owns me 21 BookmarkMenuBridge* bridge_; // weak; owns me
22 NSMenu *menu_; 22 NSMenu *menu_;
23 } 23 }
24 24
(...skipping 21 matching lines...) Expand all
46 46
47 47
48 @interface BookmarkMenuCocoaController (ExposedForUnitTests) 48 @interface BookmarkMenuCocoaController (ExposedForUnitTests)
49 - (const BookmarkNode*)nodeForIdentifier:(int)identifier; 49 - (const BookmarkNode*)nodeForIdentifier:(int)identifier;
50 - (void)openURLForNode:(const BookmarkNode*)node; 50 - (void)openURLForNode:(const BookmarkNode*)node;
51 - (void)openAll:(NSInteger)tag 51 - (void)openAll:(NSInteger)tag
52 withDisposition:(WindowOpenDisposition)disposition; 52 withDisposition:(WindowOpenDisposition)disposition;
53 @end // BookmarkMenuCocoaController (ExposedForUnitTests) 53 @end // BookmarkMenuCocoaController (ExposedForUnitTests)
54 54
55 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_MENU_COCOA_CONTROLLER_H_ 55 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_MENU_COCOA_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_button.h ('k') | chrome/browser/ui/cocoa/event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698