override SetAspectRatio for NativeWindowMac

This commit is contained in:
leethomas 2016-05-22 16:50:50 -07:00
parent 8f7a04f9c3
commit 7aaf974362
3 changed files with 24 additions and 3 deletions

View file

@ -190,7 +190,7 @@ class NativeWindow : public base::SupportsUserData,
// Set the aspect ratio when resizing window.
double GetAspectRatio();
gfx::Size GetAspectRatioExtraSize();
void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size);
virtual void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size);
base::WeakPtr<NativeWindow> GetWeakPtr() {
return weak_factory_.GetWeakPtr();