Chromium Code Reviews| Index: blimp/client/core/contents/blimp_contents_impl.h |
| diff --git a/blimp/client/core/contents/blimp_contents_impl.h b/blimp/client/core/contents/blimp_contents_impl.h |
| index ac1a2b6db85afeed62dc1a741e3078435c8bf066..6601d830d37fc5de57e632c2b728ece726755fa5 100644 |
| --- a/blimp/client/core/contents/blimp_contents_impl.h |
| +++ b/blimp/client/core/contents/blimp_contents_impl.h |
| @@ -7,6 +7,7 @@ |
| #include "base/macros.h" |
| #include "base/observer_list.h" |
| +#include "blimp/client/core/compositor/blimp_compositor_manager.h" |
| #include "blimp/client/core/contents/blimp_navigation_controller_delegate.h" |
| #include "blimp/client/core/contents/blimp_navigation_controller_impl.h" |
| #include "blimp/client/public/contents/blimp_contents.h" |
| @@ -24,11 +25,13 @@ namespace client { |
| class BlimpContentsImplAndroid; |
| #endif // defined(OS_ANDROID) |
| +class BlimpCompositorDependencies; |
| class BlimpContentsObserver; |
| class BlimpContentsView; |
| class BlimpNavigationController; |
| class ImeFeature; |
| class NavigationFeature; |
| +class RenderWidgetFeature; |
| class TabControlFeature; |
| class BlimpContentsImpl : public BlimpContents, |
| @@ -36,8 +39,10 @@ class BlimpContentsImpl : public BlimpContents, |
| public: |
| // Ownership of the features remains with the caller. |
| explicit BlimpContentsImpl(int id, |
| + BlimpCompositorDependencies* compositor_deps, |
| ImeFeature* ime_feature, |
| NavigationFeature* navigation_feature, |
| + RenderWidgetFeature* render_widget_feature, |
| TabControlFeature* tab_control_feature); |
| ~BlimpContentsImpl() override; |
| @@ -51,6 +56,8 @@ class BlimpContentsImpl : public BlimpContents, |
| void AddObserver(BlimpContentsObserver* observer) override; |
| void RemoveObserver(BlimpContentsObserver* observer) override; |
| gfx::NativeView GetNativeView() override; |
| + void Show() override; |
| + void Hide() override; |
| // Check if some observer is in the observer list. |
| bool HasObserver(BlimpContentsObserver* observer); |
| @@ -68,6 +75,8 @@ class BlimpContentsImpl : public BlimpContents, |
| // Handles the back/forward list and loading URLs. |
| BlimpNavigationControllerImpl navigation_controller_; |
| + BlimpCompositorManager compositor_manager_; |
|
nyquist
2016/08/31 05:44:40
Nit: Should there be a comment explaining what thi
David Trainor- moved to gerrit
2016/08/31 06:49:33
Done.
|
| + |
| // A list of all the observers of this BlimpContentsImpl. |
| base::ObserverList<BlimpContentsObserver> observers_; |