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

@ -176,7 +176,7 @@ class NativeWindow : public base::SupportsUserData,
double GetAspectRatio();
gfx::Size GetAspectRatioExtraSize();
virtual void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size);
virtual void PreviewFile(const base::string16& filepath);
virtual void PreviewFile(const base::string16& filepath, const base::string16& filename);
base::WeakPtr<NativeWindow> GetWeakPtr() {
return weak_factory_.GetWeakPtr();