diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:43:06 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:43:06 +0000 |
commit | e798e192afce58d16bb369567e9ade74f396649b (patch) | |
tree | 7528a9f03d58f34b5dd4203d5ede0ed5d9d19675 /chrome/browser/cocoa/bookmark_bubble_controller.h | |
parent | c2d4449362cb38bfe492d7655885c4c5b3944139 (diff) | |
download | chromium_src-e798e192afce58d16bb369567e9ade74f396649b.zip chromium_src-e798e192afce58d16bb369567e9ade74f396649b.tar.gz chromium_src-e798e192afce58d16bb369567e9ade74f396649b.tar.bz2 |
Use delegate protocols present in the 10.6 SDK. For previous SDKs, provide
empty protocol definitions for compatibility.
BUG=20925
TEST=build
Review URL: http://codereview.chromium.org/209004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bubble_controller.h')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bubble_controller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bubble_controller.h b/chrome/browser/cocoa/bookmark_bubble_controller.h index 0760fa0..df387a9 100644 --- a/chrome/browser/cocoa/bookmark_bubble_controller.h +++ b/chrome/browser/cocoa/bookmark_bubble_controller.h @@ -3,6 +3,7 @@ // found in the LICENSE file. #import <Cocoa/Cocoa.h> +#import "base/cocoa_protocols_mac.h" #include "base/scoped_nsobject.h" class BookmarkModel; @@ -32,7 +33,7 @@ class BookmarkNode; // programatically, but encode the view in a nib. Thus, // BookmarkBubbleController is an NSViewController, not an // NSWindowController. -@interface BookmarkBubbleController : NSViewController { +@interface BookmarkBubbleController : NSViewController<NSWindowDelegate> { @private // Unexpected for this controller, perhaps, but our window does NOT // come from a nib. |