mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Remove unnecessary code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user