| OLD | NEW |
| 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_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #import "base/chrome_application_mac.h" | |
| 13 #include "base/scoped_nsobject.h" | 12 #include "base/scoped_nsobject.h" |
| 14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 15 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h" | 14 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h" |
| 16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h" | 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h" |
| 17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_state.h" | 16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_state.h" |
| 18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h" | 17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h" |
| 19 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" | 18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" |
| 20 #include "chrome/browser/ui/cocoa/tab_strip_model_observer_bridge.h" | 19 #include "chrome/browser/ui/cocoa/tab_strip_model_observer_bridge.h" |
| 20 #import "chrome/common/chrome_application_mac.h" |
| 21 #include "webkit/glue/window_open_disposition.h" | 21 #include "webkit/glue/window_open_disposition.h" |
| 22 | 22 |
| 23 @class BookmarkBarController; | 23 @class BookmarkBarController; |
| 24 @class BookmarkBarFolderController; | 24 @class BookmarkBarFolderController; |
| 25 @class BookmarkBarView; | 25 @class BookmarkBarView; |
| 26 @class BookmarkButton; | 26 @class BookmarkButton; |
| 27 @class BookmarkButtonCell; | 27 @class BookmarkButtonCell; |
| 28 @class BookmarkFolderTarget; | 28 @class BookmarkFolderTarget; |
| 29 class BookmarkModel; | 29 class BookmarkModel; |
| 30 @class BookmarkMenu; | 30 @class BookmarkMenu; |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 | 390 |
| 391 // The following are for testing purposes only and are not used internally. | 391 // The following are for testing purposes only and are not used internally. |
| 392 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; | 392 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; |
| 393 - (NSMenu*)buttonContextMenu; | 393 - (NSMenu*)buttonContextMenu; |
| 394 - (void)setButtonContextMenu:(id)menu; | 394 - (void)setButtonContextMenu:(id)menu; |
| 395 // Set to YES in order to prevent animations. | 395 // Set to YES in order to prevent animations. |
| 396 - (void)setIgnoreAnimations:(BOOL)ignore; | 396 - (void)setIgnoreAnimations:(BOOL)ignore; |
| 397 @end | 397 @end |
| 398 | 398 |
| 399 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ | 399 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
| OLD | NEW |