Remove unnecessary code

This commit is contained in:
Allan Odgaard
2016-08-25 14:04:27 +02:00
parent 926786c36c
commit 2c41cf8fa0
3 changed files with 0 additions and 15 deletions

View File

@@ -7,8 +7,4 @@ PUBLIC @interface OakHTMLOutputView : HOBrowserView
- (void)loadHTMLString:(NSString*)someHTML;
@property (nonatomic, getter = isRunningCommand, readonly) BOOL runningCommand;
// Read-only access to the webview is given to allow reading page title, etc.
@property (nonatomic, readonly) WebView* webView;
@property (nonatomic, readonly) BOOL needsNewWebView;
@end

View File

@@ -18,9 +18,6 @@ extern NSString* const kCommandRunnerURLScheme; // from HTMLOutput.h
@end
@implementation OakHTMLOutputView
@dynamic webView, needsNewWebView;
- (void)loadRequest:(NSURLRequest*)aRequest environment:(std::map<std::string, std::string> const&)anEnvironment autoScrolls:(BOOL)flag
{
if(flag)

View File

@@ -26,14 +26,6 @@ static void ShowLoadErrorForURL (WebFrame* frame, NSURL* url, NSError* error)
@end
@implementation HOBrowserView
@dynamic needsNewWebView;
+ (BOOL)requiresConstraintBasedLayout
{
return YES;
}
- (NSSize)intrinsicContentSize
{
return NSMakeSize(NSViewNoInstrinsicMetric, NSViewNoInstrinsicMetric);