Add BrowserWindow::isMaximized.

This commit is contained in:
Anthony Van de Gejuchte 2014-05-14 23:58:49 +02:00
parent 72d6778894
commit dad7aa6a20
9 changed files with 22 additions and 3 deletions

View file

@ -40,6 +40,7 @@ class NativeWindowGtk : public NativeWindow,
virtual bool IsVisible() OVERRIDE;
virtual void Maximize() OVERRIDE;
virtual void Unmaximize() OVERRIDE;
virtual bool IsMaximized() OVERRIDE;
virtual void Minimize() OVERRIDE;
virtual void Restore() OVERRIDE;
virtual void SetFullscreen(bool fullscreen) OVERRIDE;
@ -92,9 +93,6 @@ class NativeWindowGtk : public NativeWindow,
// Set how font is renderered.
void SetFontRenderering();
// Whether window is maximized.
bool IsMaximized() const;
// If the point (|x|, |y|) is within the resize border area of the window,
// returns true and sets |edge| to the appropriate GdkWindowEdge value.
// Otherwise, returns false.