🎁 Add 'win.closeFilePreview()'
This commit is contained in:
parent
ccabee764b
commit
d5a0dd39a1
7 changed files with 23 additions and 0 deletions
|
@ -179,8 +179,11 @@ class NativeWindow : public base::SupportsUserData,
|
|||
double GetAspectRatio();
|
||||
gfx::Size GetAspectRatioExtraSize();
|
||||
virtual void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size);
|
||||
|
||||
// File preview APIs.
|
||||
virtual void PreviewFile(const std::string& path,
|
||||
const std::string& display_name);
|
||||
virtual void CloseFilePreview();
|
||||
|
||||
base::WeakPtr<NativeWindow> GetWeakPtr() {
|
||||
return weak_factory_.GetWeakPtr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue