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

Unified Diff: views/layout/layout_manager.h

Issue 6374011: views: Move layout_manager.[cc,h] into layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: layout-manager 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/fill_layout.h ('k') | views/layout/layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/layout/layout_manager.h
diff --git a/views/layout_manager.h b/views/layout/layout_manager.h
similarity index 83%
rename from views/layout_manager.h
rename to views/layout/layout_manager.h
index c7e21903f88aadefa64db0c739dd0cbf22d04a1f..328238ab9281cf289a3b3c45673a448b90efadb9 100644
--- a/views/layout_manager.h
+++ b/views/layout/layout_manager.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,8 +14,6 @@ class Size;
namespace views {
-class View;
sky 2011/01/25 16:19:12 And this left in.
-
/////////////////////////////////////////////////////////////////////////////
//
// LayoutManager interface
@@ -26,15 +24,15 @@ class View;
/////////////////////////////////////////////////////////////////////////////
class LayoutManager {
public:
- virtual ~LayoutManager() {}
+ virtual ~LayoutManager();
// Notification that this LayoutManager has been installed on a particular
// host.
- virtual void Installed(View* host) {}
+ virtual void Installed(View* host);
// Notification that this LayoutManager has been uninstalled on a particular
// host.
- virtual void Uninstalled(View* host) {}
+ virtual void Uninstalled(View* host);
// Lay out the children of |host| according to implementation-specific
// heuristics. The graphics used during painting is provided to allow for
@@ -50,10 +48,10 @@ class LayoutManager {
virtual int GetPreferredHeightForWidth(View* host, int width);
// Notification that a view has been added.
- virtual void ViewAdded(View* host, View* view) {}
+ virtual void ViewAdded(View* host, View* view);
// Notification that a view has been removed.
- virtual void ViewRemoved(View* host, View* view) {}
+ virtual void ViewRemoved(View* host, View* view);
};
} // namespace views
« no previous file with comments | « views/layout/fill_layout.h ('k') | views/layout/layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698