diff options
Diffstat (limited to 'chrome/browser/cocoa/tab_view.h')
-rw-r--r-- | chrome/browser/cocoa/tab_view.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_view.h b/chrome/browser/cocoa/tab_view.h new file mode 100644 index 0000000..a1ddee7 --- /dev/null +++ b/chrome/browser/cocoa/tab_view.h @@ -0,0 +1,23 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_BROWSER_COCOA_TAB_VIEW_H_ +#define CHROME_BROWSER_COCOA_TAB_VIEW_H_ + +#import <Cocoa/Cocoa.h> + +@class TabController; + +// A view that handles the event tracking (clicking and dragging) for a tab +// on the tab strip. Relies on an associated TabController to provide a +// target/action for selecting the tab. + +@interface TabView : NSView { + @private + IBOutlet TabController* controller_; +} + +@end + +#endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ |