Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: blimp/client/core/contents/blimp_contents_view_impl_aura.cc

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_view_impl_aura.cc
diff --git a/blimp/client/core/contents/blimp_contents_view_impl_aura.cc b/blimp/client/core/contents/blimp_contents_view_impl_aura.cc
deleted file mode 100644
index f646d9cfb2bd2732e92a39ce1748ad997b988c9f..0000000000000000000000000000000000000000
--- a/blimp/client/core/contents/blimp_contents_view_impl_aura.cc
+++ /dev/null
@@ -1,50 +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_impl_aura.h"
-
-#include "base/memory/ptr_util.h"
-#include "cc/layers/layer.h"
-
-namespace blimp {
-namespace client {
-
-namespace {
-class AuraImeDelegate : public ImeFeature::Delegate {
- public:
- ~AuraImeDelegate() override = default;
- void OnShowImeRequested(const ImeFeature::WebInputRequest& request) override {
- request.show_ime_callback.Run(ImeFeature::WebInputResponse());
- }
-
- void OnHideImeRequested() override {}
-};
-} // namespace
-
-// static
-std::unique_ptr<BlimpContentsViewImpl> BlimpContentsViewImpl::Create(
- BlimpContentsImpl* blimp_contents,
- scoped_refptr<cc::Layer> contents_layer) {
- return base::MakeUnique<BlimpContentsViewImplAura>(blimp_contents,
- contents_layer);
-}
-
-BlimpContentsViewImplAura::BlimpContentsViewImplAura(
- BlimpContentsImpl* blimp_contents,
- scoped_refptr<cc::Layer> contents_layer)
- : BlimpContentsViewImpl(blimp_contents, contents_layer),
- ime_delegate_(base::MakeUnique<AuraImeDelegate>()) {}
-
-BlimpContentsViewImplAura::~BlimpContentsViewImplAura() = default;
-
-gfx::NativeView BlimpContentsViewImplAura::GetNativeView() {
- return nullptr;
-}
-
-ImeFeature::Delegate* BlimpContentsViewImplAura::GetImeDelegate() {
- return ime_delegate_.get();
-}
-
-} // namespace client
-} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698