Index: views/layout/box_layout.h |
diff --git a/views/layout/box_layout.h b/views/layout/box_layout.h |
index fde203c1f9039876f257096d9af5e09f29039815..e2910b49421369bc74db265de992dbe2c2a3d3f5 100644 |
--- a/views/layout/box_layout.h |
+++ b/views/layout/box_layout.h |
@@ -7,10 +7,17 @@ |
#pragma once |
#include "base/basictypes.h" |
+#include "base/compiler_specific.h" |
#include "views/layout/layout_manager.h" |
+namespace gfx { |
+class Size; |
+} |
+ |
namespace views { |
+class View; |
+ |
// A Layout manager that arranges child views vertically or horizontally in a |
// side-by-side fashion with spacing around and between the child views. The |
// child views are always sized according to their preferred size. If the |
@@ -31,11 +38,11 @@ class BoxLayout : public LayoutManager { |
int inside_border_horizontal_spacing, |
int inside_border_vertical_spacing, |
int between_child_spacing); |
- virtual ~BoxLayout() {} |
+ virtual ~BoxLayout(); |
// Overridden from views::LayoutManager: |
- virtual void Layout(View* host); |
- virtual gfx::Size GetPreferredSize(View* host); |
+ virtual void Layout(View* host) OVERRIDE; |
+ virtual gfx::Size GetPreferredSize(View* host) OVERRIDE; |
private: |
const Orientation orientation_; |