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

Side by Side Diff: chrome/browser/cocoa/browser_window_controller.h

Issue 3228003: Sidebar view, implementation for Mac. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 // A class acting as the Objective-C controller for the Browser 9 // A class acting as the Objective-C controller for the Browser
10 // object. Handles interactions between Cocoa and the cross-platform 10 // object. Handles interactions between Cocoa and the cross-platform
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 // Requests that |window| is opened as a per-tab sheet to the current tab. 229 // Requests that |window| is opened as a per-tab sheet to the current tab.
230 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; 230 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window;
231 // Closes the tab sheet |window| and potentially shows the next sheet in the 231 // Closes the tab sheet |window| and potentially shows the next sheet in the
232 // tab's sheet queue. 232 // tab's sheet queue.
233 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; 233 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
234 234
235 // Shows or hides the docked web inspector depending on |contents|'s state. 235 // Shows or hides the docked web inspector depending on |contents|'s state.
236 - (void)updateDevToolsForContents:(TabContents*)contents; 236 - (void)updateDevToolsForContents:(TabContents*)contents;
237 237
238 // Displays the active sidebar linked to the |contents| or hides sidebar UI,
239 // if there's no such sidebar.
240 - (void)updateSidebarForContents:(TabContents*)contents;
241
238 // Gets the current theme provider. 242 // Gets the current theme provider.
239 - (ThemeProvider*)themeProvider; 243 - (ThemeProvider*)themeProvider;
240 244
241 // Gets the window style. 245 // Gets the window style.
242 - (ThemedWindowStyle)themedWindowStyle; 246 - (ThemedWindowStyle)themedWindowStyle;
243 247
244 // Gets the pattern phase for the window. 248 // Gets the pattern phase for the window.
245 - (NSPoint)themePatternPhase; 249 - (NSPoint)themePatternPhase;
246 250
247 // Return the point to which a bubble window's arrow should point. 251 // Return the point to which a bubble window's arrow should point.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 - (NSWindow*)createFullscreenWindow; 370 - (NSWindow*)createFullscreenWindow;
367 371
368 // Resets any saved state about window growth (due to showing the bookmark bar 372 // Resets any saved state about window growth (due to showing the bookmark bar
369 // or the download shelf), so that future shrinking will occur from the bottom. 373 // or the download shelf), so that future shrinking will occur from the bottom.
370 - (void)resetWindowGrowthState; 374 - (void)resetWindowGrowthState;
371 375
372 @end // @interface BrowserWindowController(TestingAPI) 376 @end // @interface BrowserWindowController(TestingAPI)
373 377
374 378
375 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 379 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698