2018-04-19 07:41:36 +00:00
|
|
|
// Copyright (c) 2018 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2020-02-04 20:19:40 +00:00
|
|
|
#include "shell/browser/ui/cocoa/electron_preview_item.h"
|
2018-04-19 07:41:36 +00:00
|
|
|
|
2020-02-04 20:19:40 +00:00
|
|
|
@implementation ElectronPreviewItem
|
2018-04-19 07:41:36 +00:00
|
|
|
|
|
|
|
@synthesize previewItemURL;
|
|
|
|
@synthesize previewItemTitle;
|
|
|
|
|
|
|
|
- (id)initWithURL:(NSURL*)url title:(NSString*)title {
|
|
|
|
self = [super init];
|
|
|
|
if (self) {
|
|
|
|
self.previewItemURL = url;
|
|
|
|
self.previewItemTitle = title;
|
|
|
|
}
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|