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

Unified Diff: chrome/browser/cocoa/tab_view.h

Issue 43137: Add a TabController class to manage a TabView (with corresponding xib). Rewri... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/tab_view.h
===================================================================
--- chrome/browser/cocoa/tab_view.h (revision 0)
+++ chrome/browser/cocoa/tab_view.h (revision 0)
@@ -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_
Property changes on: chrome/browser/cocoa/tab_view.h
___________________________________________________________________
Name: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698