summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/browser_window_cocoa.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 20:31:54 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 20:31:54 +0000
commitc45a61ca508f3beba4a9f23dd6468b6f488820d7 (patch)
tree3ff1a2d09cbbc84c4d92fe5f21f8283f75ecc266 /chrome/browser/cocoa/browser_window_cocoa.h
parent809d04236179a9bfa7231e3fccddc96027529064 (diff)
downloadchromium_src-c45a61ca508f3beba4a9f23dd6468b6f488820d7.zip
chromium_src-c45a61ca508f3beba4a9f23dd6468b6f488820d7.tar.gz
chromium_src-c45a61ca508f3beba4a9f23dd6468b6f488820d7.tar.bz2
Sidebar view, Mac implementation (common sidebar code and Windows version is already submitted).
TabContents.xib changes: it was converted to the latest IB version and vertical NSSplitView was added to it as a child for existing horizontal NSSplitView hosting devTools; new one hosts page content and sidebar content. BrowserWindowCocoa instance listen to SIDEBAR_CHANGED notification and updates sidebar content view according to the sidebar state linked to the current tab (adds or removes the corresponding view). Sidebar API design doc: http://www.chromium.org/developers/design-documents/extensions/sidebar-extension-api. BUG=51084 TEST=Run browser_tests and interactive_ui_tests. Review URL: http://codereview.chromium.org/3228003 Patch from Aleksey Shlyapnikov <alekseys@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_cocoa.h')
-rw-r--r--chrome/browser/cocoa/browser_window_cocoa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/browser_window_cocoa.h b/chrome/browser/cocoa/browser_window_cocoa.h
index 354b9d5..10b9fd3 100644
--- a/chrome/browser/cocoa/browser_window_cocoa.h
+++ b/chrome/browser/cocoa/browser_window_cocoa.h
@@ -125,6 +125,7 @@ class BrowserWindowCocoa : public BrowserWindow,
int GetCommandId(const NativeWebKeyboardEvent& event);
bool HandleKeyboardEventInternal(NSEvent* event);
NSWindow* window() const; // Accessor for the (current) |NSWindow|.
+ void UpdateSidebarForContents(TabContents* tab_contents);
NotificationRegistrar registrar_;
Browser* browser_; // weak, owned by controller