diff --git a/engine/src/flutter/shell/platform/windows/client_wrapper/flutter_view_controller.cc b/engine/src/flutter/shell/platform/windows/client_wrapper/flutter_view_controller.cc index e32c4e59ea6..5cb9fe98623 100644 --- a/engine/src/flutter/shell/platform/windows/client_wrapper/flutter_view_controller.cc +++ b/engine/src/flutter/shell/platform/windows/client_wrapper/flutter_view_controller.cc @@ -40,13 +40,4 @@ std::optional FlutterViewController::HandleTopLevelWindowProc( return handled ? result : std::optional(std::nullopt); } -std::chrono::nanoseconds FlutterViewController::ProcessMessages() { - return engine_->ProcessMessages(); -} - -FlutterDesktopPluginRegistrarRef FlutterViewController::GetRegistrarForPlugin( - const std::string& plugin_name) { - return engine_->GetRegistrarForPlugin(plugin_name); -} - } // namespace flutter diff --git a/engine/src/flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h b/engine/src/flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h index 32a1f2f8fd3..43655b2640b 100644 --- a/engine/src/flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h +++ b/engine/src/flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h @@ -24,7 +24,7 @@ namespace flutter { // This is the primary wrapper class for the desktop C API. // If you use this class, you should not call any of the setup or teardown // methods in the C API directly, as this class will do that internally. -class FlutterViewController : public PluginRegistry { +class FlutterViewController { public: // Creates a FlutterView that can be parented into a Windows View hierarchy // either using HWNDs or in the future into a CoreWindow, or using compositor. @@ -56,13 +56,6 @@ class FlutterViewController : public PluginRegistry { WPARAM wparam, LPARAM lparam); - // DEPRECATED. Call engine()->ProcessMessages() instead. - std::chrono::nanoseconds ProcessMessages(); - - // DEPRECATED. Call engine()->GetRegistrarForPlugin() instead. - FlutterDesktopPluginRegistrarRef GetRegistrarForPlugin( - const std::string& plugin_name) override; - private: // Handle for interacting with the C API's view controller, if any. FlutterDesktopViewControllerRef controller_ = nullptr;