summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_contents_controller.h
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 20:37:09 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 20:37:09 +0000
commita3e4dd79aa7550b6a43ec1fb87e1026ec524f7d5 (patch)
treecc135fb2985b682cd53ef1021ed2f61238367fa3 /chrome/browser/cocoa/tab_contents_controller.h
parent30dce773eb5fcd940ade62bdb8da8bd86b539744 (diff)
downloadchromium_src-a3e4dd79aa7550b6a43ec1fb87e1026ec524f7d5.zip
chromium_src-a3e4dd79aa7550b6a43ec1fb87e1026ec524f7d5.tar.gz
chromium_src-a3e4dd79aa7550b6a43ec1fb87e1026ec524f7d5.tar.bz2
ui refresh from cole. make it look chromey and get the basic framework for the views we'll need.
Review URL: http://codereview.chromium.org/18720 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_contents_controller.h')
-rw-r--r--chrome/browser/cocoa/tab_contents_controller.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_contents_controller.h b/chrome/browser/cocoa/tab_contents_controller.h
new file mode 100644
index 0000000..903b020
--- /dev/null
+++ b/chrome/browser/cocoa/tab_contents_controller.h
@@ -0,0 +1,31 @@
+// 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_COTNENTS_CONTROLLER_H_
+#define CHROME_BROWSER_COCOA_TAB_COTNENTS_CONTROLLER_H_
+
+#include <Cocoa/Cocoa.h>
+
+// A class that controls the contents of a tab, including the toolbar and
+// web area.
+
+// TODO(pinkerton): Cole and I went back and forth about whether or not each
+// tab should have its own copy of the toolbar. Right now, we decided to leave
+// it like this as he expects it will make it easier for him to implement
+// tab dragging and tear-off into new windows. It's also not very expensive.
+// As we hook things up, we'll see if this imposes other restrictions (such
+// as command-handling or dispatch) that will require us to change the view
+// layout.
+
+@interface TabContentsController : NSViewController {
+ @private
+ IBOutlet NSTextField* locationBar_;
+}
+
+// take this view (toolbar and web contents) full screen
+- (IBAction)fullScreen:(id)sender;
+
+@end
+
+#endif // CHROME_BROWSER_COCOA_TAB_COTNENTS_CONTROLLER_H_