| Index: blimp/client/core/contents/blimp_contents_view_android.cc
|
| diff --git a/blimp/client/core/contents/blimp_contents_view_android.cc b/blimp/client/core/contents/blimp_contents_view_android.cc
|
| deleted file mode 100644
|
| index 8d5860a26adb37acb8b44cde54c69b105514a265..0000000000000000000000000000000000000000
|
| --- a/blimp/client/core/contents/blimp_contents_view_android.cc
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -// Copyright 2016 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.
|
| -
|
| -#include "blimp/client/core/contents/blimp_contents_view_android.h"
|
| -
|
| -#include "base/memory/ptr_util.h"
|
| -#include "blimp/client/core/contents/android/blimp_view.h"
|
| -#include "blimp/client/core/contents/android/ime_helper_dialog.h"
|
| -#include "blimp/client/core/contents/blimp_contents_impl.h"
|
| -#include "cc/layers/layer.h"
|
| -#include "ui/android/window_android.h"
|
| -
|
| -namespace blimp {
|
| -namespace client {
|
| -
|
| -// static
|
| -std::unique_ptr<BlimpContentsView> BlimpContentsView::Create(
|
| - BlimpContentsImpl* blimp_contents,
|
| - scoped_refptr<cc::Layer> contents_layer) {
|
| - return base::MakeUnique<BlimpContentsViewAndroid>(blimp_contents,
|
| - contents_layer);
|
| -}
|
| -
|
| -BlimpContentsViewAndroid::BlimpContentsViewAndroid(
|
| - BlimpContentsImpl* blimp_contents,
|
| - scoped_refptr<cc::Layer> contents_layer)
|
| - : ime_dialog_(new ImeHelperDialog(blimp_contents->GetNativeWindow())) {
|
| - blimp_view_ = base::MakeUnique<BlimpView>(blimp_contents);
|
| - view_ = base::MakeUnique<ui::ViewAndroid>(
|
| - blimp_view_->CreateViewAndroidDelegate());
|
| - view_->SetLayer(contents_layer);
|
| - blimp_contents->GetNativeWindow()->AddChild(view_.get());
|
| -}
|
| -
|
| -BlimpContentsViewAndroid::~BlimpContentsViewAndroid() = default;
|
| -
|
| -gfx::NativeView BlimpContentsViewAndroid::GetNativeView() {
|
| - return view_.get();
|
| -}
|
| -
|
| -BlimpView* BlimpContentsViewAndroid::GetBlimpView() {
|
| - return blimp_view_.get();
|
| -}
|
| -
|
| -ImeFeature::Delegate* BlimpContentsViewAndroid::GetImeDelegate() {
|
| - return ime_dialog_.get();
|
| -}
|
| -
|
| -} // namespace client
|
| -} // namespace blimp
|
|
|