Animate window resizing on OS X
This commit is contained in:
parent
d4b8c65017
commit
2598b00b41
10 changed files with 68 additions and 36 deletions
|
@ -105,13 +105,13 @@ class NativeWindow : public base::SupportsUserData,
|
|||
virtual bool IsMinimized() = 0;
|
||||
virtual void SetFullScreen(bool fullscreen) = 0;
|
||||
virtual bool IsFullscreen() const = 0;
|
||||
virtual void SetBounds(const gfx::Rect& bounds) = 0;
|
||||
virtual void SetBounds(const gfx::Rect& bounds, bool animate) = 0;
|
||||
virtual gfx::Rect GetBounds() = 0;
|
||||
virtual void SetSize(const gfx::Size& size);
|
||||
virtual void SetSize(const gfx::Size& size, bool animate);
|
||||
virtual gfx::Size GetSize();
|
||||
virtual void SetPosition(const gfx::Point& position);
|
||||
virtual void SetPosition(const gfx::Point& position, bool animate);
|
||||
virtual gfx::Point GetPosition();
|
||||
virtual void SetContentSize(const gfx::Size& size);
|
||||
virtual void SetContentSize(const gfx::Size& size, bool animate);
|
||||
virtual gfx::Size GetContentSize();
|
||||
virtual void SetSizeConstraints(
|
||||
const extensions::SizeConstraints& size_constraints);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue