diff options
Diffstat (limited to 'chrome/browser/cocoa/dev_tools_controller.h')
-rw-r--r-- | chrome/browser/cocoa/dev_tools_controller.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/dev_tools_controller.h b/chrome/browser/cocoa/dev_tools_controller.h index 774d799..05aaca4 100644 --- a/chrome/browser/cocoa/dev_tools_controller.h +++ b/chrome/browser/cocoa/dev_tools_controller.h @@ -9,6 +9,7 @@ #import <Foundation/Foundation.h> #include "base/scoped_nsobject.h" +#import "chrome/browser/cocoa/tab_contents_controller.h" @class NSSplitView; @class NSView; @@ -22,9 +23,12 @@ class TabContents; @private // A view hosting docked devTools contents. scoped_nsobject<NSSplitView> splitView_; + + // Manages currently displayed devTools contents. + scoped_nsobject<TabContentsController> contentsController_; } -- (id)init; +- (id)initWithDelegate:(id<TabContentsControllerDelegate>)delegate; // This controller's view. - (NSView*)view; @@ -38,6 +42,10 @@ class TabContents; // the actual resize). - (void)updateDevToolsForTabContents:(TabContents*)contents; +// Call when the devTools view is properly sized and the render widget host view +// should be put into the view hierarchy. +- (void)ensureContentsVisible; + @end #endif // CHROME_BROWSER_COCOA_DEV_TOOLS_CONTROLLER_H_ |