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

Side by Side Diff: chrome/browser/ui/cocoa/dev_tools_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_DEV_TOOLS_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
(...skipping 26 matching lines...) Expand all
37 // This controller's view. 37 // This controller's view.
38 - (NSView*)view; 38 - (NSView*)view;
39 39
40 // The compiler seems to have trouble handling a function named "view" that 40 // The compiler seems to have trouble handling a function named "view" that
41 // returns an NSSplitView, so provide a differently-named method. 41 // returns an NSSplitView, so provide a differently-named method.
42 - (NSSplitView*)splitView; 42 - (NSSplitView*)splitView;
43 43
44 // Depending on |contents|'s state, decides whether the docked web inspector 44 // Depending on |contents|'s state, decides whether the docked web inspector
45 // should be shown or hidden and adjusts its height (|delegate_| handles 45 // should be shown or hidden and adjusts its height (|delegate_| handles
46 // the actual resize). 46 // the actual resize).
47 - (void)updateDevToolsForTabContents:(TabContents*)contents 47 - (void)updateDevToolsForWebContents:(content::WebContents*)contents
48 withProfile:(Profile*)profile; 48 withProfile:(Profile*)profile;
49 49
50 // Specifies whether devtools should dock to right. 50 // Specifies whether devtools should dock to right.
51 - (void)setDockToRight:(BOOL)dock_to_right 51 - (void)setDockToRight:(BOOL)dock_to_right
52 withProfile:(Profile*)profile; 52 withProfile:(Profile*)profile;
53 53
54 // Call when the devTools view is properly sized and the render widget host view 54 // Call when the devTools view is properly sized and the render widget host view
55 // should be put into the view hierarchy. 55 // should be put into the view hierarchy.
56 - (void)ensureContentsVisible; 56 - (void)ensureContentsVisible;
57 57
58 @end 58 @end
59 59
60 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ 60 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/cocoa/dev_tools_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698