OVERRIDE => override in atom/browser/ui/views

This commit is contained in:
Cheng Zhao 2014-11-16 15:54:40 +08:00
parent ab6cb042f6
commit b428b2eb99
6 changed files with 42 additions and 44 deletions

View file

@ -15,10 +15,10 @@ class MenuLayout : public views::FillLayout {
virtual ~MenuLayout();
// views::LayoutManager:
virtual void Layout(views::View* host) OVERRIDE;
virtual gfx::Size GetPreferredSize(const views::View* host) const OVERRIDE;
virtual int GetPreferredHeightForWidth(
const views::View* host, int width) const OVERRIDE;
void Layout(views::View* host) override;
gfx::Size GetPreferredSize(const views::View* host) const override;
int GetPreferredHeightForWidth(
const views::View* host, int width) const override;
private:
bool HasMenu(const views::View* host) const;