Flutter Windows Embedder
text_input_plugin_delegate.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_PLUGIN_DELEGATE_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_PLUGIN_DELEGATE_H_
7 
9 #include "flutter/shell/platform/embedder/embedder.h"
10 
11 namespace flutter {
12 
14  public:
15  // Notifies the delegate of the updated the cursor rect in Flutter root view
16  // coordinates.
17  virtual void OnCursorRectUpdated(const Rect& rect) = 0;
18 
19  // Notifies the delegate that the system IME composing state should be reset.
20  virtual void OnResetImeComposing() = 0;
21 };
22 
23 } // namespace flutter
24 
25 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_PLUGIN_DELEGATE_H_
geometry.h
flutter::TextInputPluginDelegate::OnResetImeComposing
virtual void OnResetImeComposing()=0
flutter::Rect
Definition: geometry.h:56
flutter::TextInputPluginDelegate
Definition: text_input_plugin_delegate.h:13
flutter
Definition: accessibility_bridge_windows.cc:11
flutter::TextInputPluginDelegate::OnCursorRectUpdated
virtual void OnCursorRectUpdated(const Rect &rect)=0