Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: views/controls/menu/menu_separator.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #ifndef VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_ 6 #ifndef VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_
7 #define VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_ 7 #define VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_
8 #pragma once 8 #pragma once
9 9
10 #include "views/view.h" 10 #include "views/view.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 class MenuSeparator : public View { 14 class MenuSeparator : public View {
15 public: 15 public:
16 MenuSeparator() {} 16 MenuSeparator() {}
17 17
18 // View overrides. 18 // View overrides.
19 void OnPaint(gfx::Canvas* canvas); 19 virtual void OnPaint(gfx::Canvas* canvas);
20 gfx::Size GetPreferredSize(); 20 virtual gfx::Size GetPreferredSize();
21 21
22 private: 22 private:
23 DISALLOW_COPY_AND_ASSIGN(MenuSeparator); 23 DISALLOW_COPY_AND_ASSIGN(MenuSeparator);
24 }; 24 };
25 25
26 } // namespace views 26 } // namespace views
27 27
28 #endif // VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_ 28 #endif // VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698