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

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

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 // Requests that |window| is opened as a per-tab sheet to the current tab. 280 // Requests that |window| is opened as a per-tab sheet to the current tab.
281 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; 281 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window;
282 // Closes the tab sheet |window| and potentially shows the next sheet in the 282 // Closes the tab sheet |window| and potentially shows the next sheet in the
283 // tab's sheet queue. 283 // tab's sheet queue.
284 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; 284 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
285 // Returns NO if constrained windows cannot be attached to this window. 285 // Returns NO if constrained windows cannot be attached to this window.
286 - (BOOL)canAttachConstrainedWindow; 286 - (BOOL)canAttachConstrainedWindow;
287 287
288 // Shows or hides the docked web inspector depending on |contents|'s state. 288 // Shows or hides the docked web inspector depending on |contents|'s state.
289 - (void)updateDevToolsForContents:(TabContents*)contents; 289 - (void)updateDevToolsForContents:(content::WebContents*)contents;
290 290
291 // Specifies whether devtools should dock to right. 291 // Specifies whether devtools should dock to right.
292 - (void)setDevToolsDockToRight:(bool)dock_to_right; 292 - (void)setDevToolsDockToRight:(bool)dock_to_right;
293 293
294 // Displays the active sidebar linked to the |contents| or hides sidebar UI, 294 // Displays the active sidebar linked to the |contents| or hides sidebar UI,
295 // if there's no such sidebar. 295 // if there's no such sidebar.
296 - (void)updateSidebarForContents:(TabContents*)contents; 296 - (void)updateSidebarForContents:(TabContents*)contents;
297 297
298 // Gets the current theme provider. 298 // Gets the current theme provider.
299 - (ui::ThemeProvider*)themeProvider; 299 - (ui::ThemeProvider*)themeProvider;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 // |source| rect doesn't fit into |target|. 467 // |source| rect doesn't fit into |target|.
468 - (NSSize)overflowFrom:(NSRect)source 468 - (NSSize)overflowFrom:(NSRect)source
469 to:(NSRect)target; 469 to:(NSRect)target;
470 470
471 // The fullscreen exit bubble controller, or nil if the bubble isn't showing. 471 // The fullscreen exit bubble controller, or nil if the bubble isn't showing.
472 - (FullscreenExitBubbleController*)fullscreenExitBubbleController; 472 - (FullscreenExitBubbleController*)fullscreenExitBubbleController;
473 @end // @interface BrowserWindowController (TestingAPI) 473 @end // @interface BrowserWindowController (TestingAPI)
474 474
475 475
476 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 476 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698