Adding easy way to preview files

This commit is contained in:
Pierre Laurac 2016-10-12 17:21:56 -07:00 committed by Kevin Sawicki
parent fb444f646b
commit 526debb5ab
7 changed files with 73 additions and 13 deletions

View file

@ -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,