Chromium Code Reviews| 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 |