OLD | NEW |
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_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 |
11 #include "base/scoped_nsobject.h" | 11 #include "base/scoped_nsobject.h" |
12 #import "chrome/browser/ui/cocoa/tab_contents_controller.h" | 12 #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h" |
13 | 13 |
14 @class NSSplitView; | 14 @class NSSplitView; |
15 @class NSView; | 15 @class NSView; |
16 | 16 |
17 class TabContents; | 17 class TabContents; |
18 | 18 |
19 // A class that handles updates of the devTools view within a browser window. | 19 // A class that handles updates of the devTools view within a browser window. |
20 // It swaps in the relevant devTools contents for a given TabContents or removes | 20 // It swaps in the relevant devTools contents for a given TabContents or removes |
21 // the vew, if there's no devTools contents to show. | 21 // the vew, if there's no devTools contents to show. |
22 @interface DevToolsController : NSObject { | 22 @interface DevToolsController : NSObject { |
(...skipping 19 matching lines...) Expand all Loading... |
42 // the actual resize). | 42 // the actual resize). |
43 - (void)updateDevToolsForTabContents:(TabContents*)contents; | 43 - (void)updateDevToolsForTabContents:(TabContents*)contents; |
44 | 44 |
45 // Call when the devTools view is properly sized and the render widget host view | 45 // Call when the devTools view is properly sized and the render widget host view |
46 // should be put into the view hierarchy. | 46 // should be put into the view hierarchy. |
47 - (void)ensureContentsVisible; | 47 - (void)ensureContentsVisible; |
48 | 48 |
49 @end | 49 @end |
50 | 50 |
51 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ | 51 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ |
OLD | NEW |