| Index: blimp/client/core/contents/blimp_contents_impl.cc
|
| diff --git a/blimp/client/core/contents/blimp_contents_impl.cc b/blimp/client/core/contents/blimp_contents_impl.cc
|
| index e47adbef146d0a0ef80a3dc72260d08bb3922e39..81341f91565a8e31a65d1fea0669595939d7f6dd 100644
|
| --- a/blimp/client/core/contents/blimp_contents_impl.cc
|
| +++ b/blimp/client/core/contents/blimp_contents_impl.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/supports_user_data.h"
|
| #include "blimp/client/core/contents/tab_control_feature.h"
|
| #include "blimp/client/public/contents/blimp_contents_observer.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
|
|
| #if defined(OS_ANDROID)
|
| #include "blimp/client/core/contents/android/blimp_contents_impl_android.h"
|
| @@ -24,11 +25,13 @@ const char kBlimpContentsImplAndroidKey[] = "blimp_contents_impl_android";
|
| }
|
|
|
| BlimpContentsImpl::BlimpContentsImpl(int id,
|
| + gfx::NativeWindow window,
|
| ImeFeature* ime_feature,
|
| NavigationFeature* navigation_feature,
|
| TabControlFeature* tab_control_feature)
|
| : navigation_controller_(this, navigation_feature),
|
| id_(id),
|
| + window_(window),
|
| tab_control_feature_(tab_control_feature) {}
|
|
|
| BlimpContentsImpl::~BlimpContentsImpl() {
|
| @@ -58,6 +61,10 @@ BlimpNavigationControllerImpl& BlimpContentsImpl::GetNavigationController() {
|
| return navigation_controller_;
|
| }
|
|
|
| +gfx::NativeWindow BlimpContentsImpl::GetNativeWindow() {
|
| + return window_;
|
| +}
|
| +
|
| void BlimpContentsImpl::AddObserver(BlimpContentsObserver* observer) {
|
| observers_.AddObserver(observer);
|
| }
|
|
|