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

Unified Diff: chrome/browser/cocoa/dev_tools_controller.h

Issue 3547008: Handle resize corner layout entirely in the platform BrowserWindow*/BrowserView* code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/dev_tools_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/dev_tools_controller.h
===================================================================
--- chrome/browser/cocoa/dev_tools_controller.h (revision 66034)
+++ chrome/browser/cocoa/dev_tools_controller.h (working copy)
@@ -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 @@
@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 @@
// 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_
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/dev_tools_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698