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

Unified Diff: views/layout/box_layout.cc

Issue 6332013: views: Forward declare "class View;" in layout_manager.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/layout/box_layout.h ('k') | views/layout/layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/layout/box_layout.cc
diff --git a/views/layout/box_layout.cc b/views/layout/box_layout.cc
index 5025d7ebc5516a4d225a595d2ee9b4cde6e0b9a7..6a6ede6c93918130d53672859e48069caa0906f4 100644
--- a/views/layout/box_layout.cc
+++ b/views/layout/box_layout.cc
@@ -4,6 +4,10 @@
#include "views/layout/box_layout.h"
+#include "gfx/insets.h"
+#include "gfx/rect.h"
+#include "views/view.h"
+
namespace views {
BoxLayout::BoxLayout(BoxLayout::Orientation orientation,
@@ -16,6 +20,9 @@ BoxLayout::BoxLayout(BoxLayout::Orientation orientation,
between_child_spacing_(between_child_spacing) {
}
+BoxLayout::~BoxLayout() {
+}
+
void BoxLayout::Layout(View* host) {
gfx::Rect childArea(gfx::Rect(host->size()));
childArea.Inset(host->GetInsets());
« no previous file with comments | « views/layout/box_layout.h ('k') | views/layout/layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698