window: adding setBounds and getBounds api

This commit is contained in:
deepak1556 2015-05-01 16:20:53 +05:30
parent 4608f5e9cd
commit ae6a1b409f
8 changed files with 54 additions and 0 deletions

View file

@ -113,6 +113,8 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
virtual bool IsMinimized() = 0;
virtual void SetFullScreen(bool fullscreen) = 0;
virtual bool IsFullscreen() const = 0;
virtual void SetBounds(const gfx::Rect& bounds) = 0;
virtual gfx::Rect GetBounds() = 0;
virtual void SetSize(const gfx::Size& size) = 0;
virtual gfx::Size GetSize() = 0;
virtual void SetContentSize(const gfx::Size& size) = 0;