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

Side by Side Diff: blimp/client/core/contents/blimp_contents_view.h

Issue 2292343002: Hooking up Blimp IME with BlimpContents (Closed)
Patch Set: Addressed initial comments 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_ 5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_
6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_ 6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "blimp/client/core/contents/ime_feature.h"
11 #include "ui/gfx/native_widget_types.h" 12 #include "ui/gfx/native_widget_types.h"
12 13
13 namespace blimp { 14 namespace blimp {
14 namespace client { 15 namespace client {
15 class BlimpContentsImpl; 16 class BlimpContentsImpl;
16 17
17 class BlimpContentsView { 18 class BlimpContentsView {
18 public: 19 public:
19 static std::unique_ptr<BlimpContentsView> Create( 20 static std::unique_ptr<BlimpContentsView> Create(
20 BlimpContentsImpl* blimp_contents); 21 BlimpContentsImpl* blimp_contents);
21 22
22 virtual ~BlimpContentsView() {} 23 virtual ~BlimpContentsView() {}
23 24
24 virtual gfx::NativeView GetNativeView() = 0; 25 virtual gfx::NativeView GetNativeView() = 0;
26 virtual ImeFeature::Delegate* GetImeDelegate() = 0;
25 }; 27 };
26 28
27 } // namespace client 29 } // namespace client
28 } // namespace blimp 30 } // namespace blimp
29 31
30 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_ 32 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698