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

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

Issue 2320923002: Add a full Blimp integration test. (Closed)
Patch Set: Fix build break with chrome embedder Created 4 years, 3 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.h
diff --git a/blimp/client/core/contents/blimp_contents_view_impl_aura.h b/blimp/client/core/contents/blimp_contents_view_impl_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..36b930910f7df0ae01788a949e5174030abc647e
--- /dev/null
+++ b/blimp/client/core/contents/blimp_contents_view_impl_aura.h
@@ -0,0 +1,34 @@
+// 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.
+
+#ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_IMPL_AURA_H_
+#define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_IMPL_AURA_H_
+
+#include "base/macros.h"
+#include "blimp/client/core/contents/blimp_contents_view_impl.h"
+
+namespace blimp {
+namespace client {
+
+// The Aura (Linux) specific implementation of a BlimpContentsViewImpl.
+class BlimpContentsViewImplAura : public BlimpContentsViewImpl {
+ public:
+ BlimpContentsViewImplAura(BlimpContentsImpl* blimp_contents,
+ scoped_refptr<cc::Layer> contents_layer);
+ ~BlimpContentsViewImplAura() override;
+
+ // BlimpContentsView implementation.
+ gfx::NativeView GetNativeView() override;
+ ImeFeature::Delegate* GetImeDelegate() override;
+
+ private:
+ std::unique_ptr<ImeFeature::Delegate> ime_delegate_;
+
+ DISALLOW_COPY_AND_ASSIGN(BlimpContentsViewImplAura);
+};
+
+} // namespace client
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_IMPL_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698