diff --git a/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.h b/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.h index 0d7689fbc91fc..6bfbc61d4ec8c 100644 --- a/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.h +++ b/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.h @@ -7,6 +7,7 @@ #import +#include "flutter/fml/macros.h" #include "flutter/shell/platform/common/accessibility_bridge.h" @class FlutterEngine; @@ -94,6 +95,8 @@ class AccessibilityBridgeMac : public AccessibilityBridge { __weak FlutterEngine* flutter_engine_; __weak FlutterViewController* view_controller_; + + FML_DISALLOW_COPY_AND_ASSIGN(AccessibilityBridgeMac); }; } // namespace flutter diff --git a/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h b/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h index 3c394efd0c97a..71fb34e4627ba 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h @@ -9,6 +9,7 @@ #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h" +#include "flutter/fml/macros.h" #include "flutter/shell/platform/common/accessibility_bridge.h" #include "flutter/shell/platform/common/flutter_platform_node_delegate.h" #include "flutter/shell/platform/embedder/embedder.h" @@ -56,6 +57,8 @@ class FlutterPlatformNodeDelegateMac : public FlutterPlatformNodeDelegate { const gfx::RectF& local_bounds) const; gfx::RectF ConvertBoundsFromScreenToGlobal( const gfx::RectF& window_bounds) const; + + FML_DISALLOW_COPY_AND_ASSIGN(FlutterPlatformNodeDelegateMac); }; } // namespace flutter diff --git a/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h b/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h index e3e4ef4901691..522722a8e0502 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h +++ b/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h @@ -6,6 +6,7 @@ #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h" +#include "flutter/fml/macros.h" #include "flutter/third_party/accessibility/ax/platform/ax_platform_node_base.h" @class FlutterTextField; @@ -56,6 +57,8 @@ class FlutterTextPlatformNode : public ui::AXPlatformNodeBase { /// @brief Detaches the FlutterTextField from the FlutterView if it is not /// already detached. void EnsureDetachedFromView(); + + FML_DISALLOW_COPY_AND_ASSIGN(FlutterTextPlatformNode); }; } // namespace flutter