views: Add an empty menu bar.
This commit is contained in:
parent
2a2fc4903d
commit
2ee7caccfe
9 changed files with 205 additions and 11 deletions
28
atom/browser/ui/views/menu_bar.h
Normal file
28
atom/browser/ui/views/menu_bar.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright (c) 2014 GitHub, Inc. All rights reserved.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ATOM_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
#define ATOM_BROWSER_UI_VIEWS_MENU_BAR_H_
|
||||
|
||||
#include "ui/views/view.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
class MenuBar : public views::View {
|
||||
public:
|
||||
MenuBar();
|
||||
virtual ~MenuBar();
|
||||
|
||||
protected:
|
||||
// views::View:
|
||||
virtual void Paint(gfx::Canvas* canvas) OVERRIDE;
|
||||
virtual const char* GetClassName() const OVERRIDE;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(MenuBar);
|
||||
};
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_BROWSER_UI_VIEWS_MENU_BAR_H_
|
Loading…
Add table
Add a link
Reference in a new issue