| Index: ui/views/layout/layout_manager.h
|
| diff --git a/ui/views/layout/layout_manager.h b/ui/views/layout/layout_manager.h
|
| index f678e721179ef86dda1284be01c6a93bdc0bd536..d10e09ed381311ef15bab5eb3c6d9c05f58fe4ce 100644
|
| --- a/ui/views/layout/layout_manager.h
|
| +++ b/ui/views/layout/layout_manager.h
|
| @@ -42,11 +42,11 @@ class VIEWS_EXPORT LayoutManager {
|
|
|
| // Return the preferred size which is the size required to give each
|
| // children their respective preferred size.
|
| - virtual gfx::Size GetPreferredSize(View* host) = 0;
|
| + virtual gfx::Size GetPreferredSize(const View* host) const = 0;
|
|
|
| // Returns the preferred height for the specified width. The default
|
| // implementation returns the value from GetPreferredSize.
|
| - virtual int GetPreferredHeightForWidth(View* host, int width);
|
| + virtual int GetPreferredHeightForWidth(const View* host, int width) const;
|
|
|
| // Notification that a view has been added.
|
| virtual void ViewAdded(View* host, View* view);
|
|
|