win: Fix compilation with Chrome 37.
This commit is contained in:
parent
2832708618
commit
ca881c5aaf
2 changed files with 4 additions and 4 deletions
|
@ -39,12 +39,12 @@ int WinFrameView::NonClientHitTest(const gfx::Point& point) {
|
||||||
return FramelessView::NonClientHitTest(point);
|
return FramelessView::NonClientHitTest(point);
|
||||||
}
|
}
|
||||||
|
|
||||||
gfx::Size WinFrameView::GetMinimumSize() {
|
gfx::Size WinFrameView::GetMinimumSize() const {
|
||||||
gfx::Size size = FramelessView::GetMinimumSize();
|
gfx::Size size = FramelessView::GetMinimumSize();
|
||||||
return gfx::win::DIPToScreenSize(size);
|
return gfx::win::DIPToScreenSize(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
gfx::Size WinFrameView::GetMaximumSize() {
|
gfx::Size WinFrameView::GetMaximumSize() const {
|
||||||
gfx::Size size = FramelessView::GetMaximumSize();
|
gfx::Size size = FramelessView::GetMaximumSize();
|
||||||
return gfx::win::DIPToScreenSize(size);
|
return gfx::win::DIPToScreenSize(size);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,8 +20,8 @@ class WinFrameView : public FramelessView {
|
||||||
virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
|
virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
|
||||||
|
|
||||||
// views::View:
|
// views::View:
|
||||||
virtual gfx::Size GetMinimumSize() OVERRIDE;
|
virtual gfx::Size GetMinimumSize() const OVERRIDE;
|
||||||
virtual gfx::Size GetMaximumSize() OVERRIDE;
|
virtual gfx::Size GetMaximumSize() const OVERRIDE;
|
||||||
virtual const char* GetClassName() const OVERRIDE;
|
virtual const char* GetClassName() const OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Reference in a new issue