#import #include "browser/devtools_contents_resizing_strategy.h" #include "base/mac/scoped_nsobject.h" #include "ui/base/cocoa/base_view.h" #include "ui/gfx/insets.h" namespace brightray { class InspectableWebContentsViewMac; } @interface BRYInspectableWebContentsView : BaseView { @private brightray::InspectableWebContentsViewMac* inspectableWebContentsView_; base::scoped_nsobject devtools_window_; BOOL devtools_visible_; BOOL devtools_docked_; DevToolsContentsResizingStrategy strategy_; } - (instancetype)initWithInspectableWebContentsViewMac:(brightray::InspectableWebContentsViewMac*)inspectableWebContentsView; - (void)setDevToolsVisible:(BOOL)visible; - (BOOL)isDevToolsVisible; - (void)setIsDocked:(BOOL)docked; - (void)setContentsResizingStrategy:(const DevToolsContentsResizingStrategy&)strategy; // Adjust docked devtools to the contents resizing strategy. - (void)update; @end