electron/brightray/browser/mac/bry_inspectable_web_contents_view.h

35 lines
967 B
C
Raw Normal View History

#import <AppKit/AppKit.h>
#include "browser/devtools_contents_resizing_strategy.h"
#include "base/mac/scoped_nsobject.h"
#include "ui/base/cocoa/base_view.h"
namespace brightray {
class InspectableWebContentsViewMac;
}
2014-07-02 08:54:04 +00:00
using brightray::InspectableWebContentsViewMac;
@interface BRYInspectableWebContentsView : BaseView<NSWindowDelegate> {
@private
brightray::InspectableWebContentsViewMac* inspectableWebContentsView_;
base::scoped_nsobject<NSWindow> devtools_window_;
BOOL devtools_visible_;
BOOL devtools_docked_;
2015-09-15 03:04:46 +00:00
BOOL devtools_is_first_responder_;
DevToolsContentsResizingStrategy strategy_;
}
2014-07-02 08:54:04 +00:00
- (instancetype)initWithInspectableWebContentsViewMac:(InspectableWebContentsViewMac*)view;
- (void)setDevToolsVisible:(BOOL)visible;
- (BOOL)isDevToolsVisible;
2015-09-15 03:04:46 +00:00
- (BOOL)isDevToolsFocused;
- (void)setIsDocked:(BOOL)docked;
- (void)setContentsResizingStrategy:(const DevToolsContentsResizingStrategy&)strategy;
2015-08-25 12:55:07 +00:00
- (void)setTitle:(NSString*)title;
@end