| OLD | NEW |
| (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_H_ | |
| 6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 #include "base/memory/ref_counted.h" | |
| 12 #include "blimp/client/core/contents/ime_feature.h" | |
| 13 #include "ui/gfx/native_widget_types.h" | |
| 14 | |
| 15 namespace cc { | |
| 16 class Layer; | |
| 17 } // namespace cc | |
| 18 | |
| 19 namespace blimp { | |
| 20 namespace client { | |
| 21 class BlimpContentsImpl; | |
| 22 | |
| 23 class BlimpContentsView { | |
| 24 public: | |
| 25 static std::unique_ptr<BlimpContentsView> Create( | |
| 26 BlimpContentsImpl* blimp_contents, | |
| 27 scoped_refptr<cc::Layer> contents_layer); | |
| 28 | |
| 29 virtual ~BlimpContentsView() {} | |
| 30 | |
| 31 virtual gfx::NativeView GetNativeView() = 0; | |
| 32 virtual ImeFeature::Delegate* GetImeDelegate() = 0; | |
| 33 }; | |
| 34 | |
| 35 } // namespace client | |
| 36 } // namespace blimp | |
| 37 | |
| 38 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_H_ | |
| OLD | NEW |