| Index: mandoline/ui/browser/browser.h
|
| diff --git a/mandoline/ui/browser/browser.h b/mandoline/ui/browser/browser.h
|
| index 3347084aa62922d34092ea0c52856be5993dd19d..f7225d14f54169f4f48d377325a1e6381f41cf73 100644
|
| --- a/mandoline/ui/browser/browser.h
|
| +++ b/mandoline/ui/browser/browser.h
|
| @@ -25,6 +25,7 @@ class MergedServiceProvider;
|
|
|
| class Browser : public mojo::ApplicationDelegate,
|
| public mojo::ViewManagerDelegate,
|
| + public mojo::ViewObserver,
|
| public window_manager::WindowManagerDelegate,
|
| public mojo::InterfaceFactory<mojo::NavigatorHost> {
|
| public:
|
| @@ -61,7 +62,10 @@ class Browser : public mojo::ApplicationDelegate,
|
| void Create(mojo::ApplicationConnection* connection,
|
| mojo::InterfaceRequest<mojo::NavigatorHost> request) override;
|
|
|
| - void LayoutContent();
|
| + // Overriden from mojo::ViewObserver:
|
| + virtual void OnViewBoundsChanged(mojo::View* view,
|
| + const mojo::Rect& old_bounds,
|
| + const mojo::Rect& new_bounds) override;
|
|
|
| scoped_ptr<window_manager::WindowManagerApp> window_manager_app_;
|
|
|
|
|