| Index: services/keyboard_native/view_observer_delegate.h
|
| diff --git a/services/keyboard_native/view_observer_delegate.h b/services/keyboard_native/view_observer_delegate.h
|
| index 33c313c872fce354f828219bb4b8ebd65972568b..9e9fa653e31a1d968889561b8008ee820325b29e 100644
|
| --- a/services/keyboard_native/view_observer_delegate.h
|
| +++ b/services/keyboard_native/view_observer_delegate.h
|
| @@ -19,6 +19,7 @@
|
| namespace keyboard {
|
|
|
| class KeyboardServiceImpl;
|
| +class Predictor;
|
|
|
| struct PointerState {
|
| KeyLayout::Key* last_key;
|
| @@ -39,6 +40,8 @@ class ViewObserverDelegate : public mojo::ViewObserver {
|
| void OnFrameComplete();
|
| void OnText(const std::string& text);
|
| void OnDelete();
|
| + void OnSuggestText(const std::string& text);
|
| + void OnUpdateSuggestion();
|
| void DrawState();
|
| void DrawKeysToCanvas(const gfx::RectF& key_area, SkCanvas* canvas);
|
| void DrawAnimations(SkCanvas* canvas, const base::TimeTicks& current_ticks);
|
| @@ -58,6 +61,7 @@ class ViewObserverDelegate : public mojo::ViewObserver {
|
| void OnViewInputEvent(mojo::View* view, const mojo::EventPtr& event) override;
|
|
|
| KeyboardServiceImpl* keyboard_service_impl_;
|
| + Predictor* predictor_;
|
| mojo::View* view_;
|
| uint32_t id_namespace_;
|
| uint32_t surface_id_;
|
|
|