Adding easy way to preview files
This commit is contained in:
parent
fb444f646b
commit
526debb5ab
7 changed files with 73 additions and 13 deletions
|
@ -729,8 +729,8 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) {
|
|||
window_->SetAspectRatio(aspect_ratio, extra_size);
|
||||
}
|
||||
|
||||
void Window::PreviewFile(const base::string16& filepath) {
|
||||
window_->PreviewFile(filepath);
|
||||
void Window::PreviewFile(const base::string16& filepath, const base::string16& filename) {
|
||||
window_->PreviewFile(filepath, filename);
|
||||
}
|
||||
|
||||
void Window::SetParentWindow(v8::Local<v8::Value> value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue