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

Side by Side Diff: blimp/client/core/contents/blimp_contents_view_android.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_ANDROID_H_
6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_ANDROID_H_
7
8 #include "base/macros.h"
9 #include "blimp/client/core/contents/blimp_contents_view.h"
10 #include "ui/android/view_android.h"
11
12 namespace blimp {
13 namespace client {
14 class BlimpContentsImpl;
15 class BlimpView;
16 class ImeHelperDialog;
17
18 class BlimpContentsViewAndroid : public BlimpContentsView {
19 public:
20 BlimpContentsViewAndroid(BlimpContentsImpl* blimp_contents,
21 scoped_refptr<cc::Layer> contents_layer);
22 ~BlimpContentsViewAndroid() override;
23
24 // BlimpContentsView implementation.
25 gfx::NativeView GetNativeView() override;
26 ImeFeature::Delegate* GetImeDelegate() override;
27
28 // Returns the JNI-bridge for the Android View for this BlimpContentsView.
29 BlimpView* GetBlimpView();
30
31 private:
32 std::unique_ptr<ui::ViewAndroid> view_;
33
34 // The JNI-bridge for the Android View for this BlimpContentsView.
35 std::unique_ptr<BlimpView> blimp_view_;
36
37 std::unique_ptr<ImeHelperDialog> ime_dialog_;
38
39 DISALLOW_COPY_AND_ASSIGN(BlimpContentsViewAndroid);
40 };
41
42 } // namespace client
43 } // namespace blimp
44
45 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « blimp/client/core/contents/blimp_contents_view.h ('k') | blimp/client/core/contents/blimp_contents_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698