diff --git a/lib/ui/semantics/custom_accessibility_action.h b/lib/ui/semantics/custom_accessibility_action.h index 9ccfd4839fd..a5762b54aff 100644 --- a/lib/ui/semantics/custom_accessibility_action.h +++ b/lib/ui/semantics/custom_accessibility_action.h @@ -5,14 +5,14 @@ #ifndef FLUTTER_LIB_UI_SEMANTICS_CUSTOM_ACCESSIBILITY_ACTION_H_ #define FLUTTER_LIB_UI_SEMANTICS_CUSTOM_ACCESSIBILITY_ACTION_H_ +#include "lib/tonic/dart_library_natives.h" #include "lib/tonic/dart_wrappable.h" #include "lib/tonic/typed_data/float64_list.h" #include "lib/tonic/typed_data/int32_list.h" -#include "lib/tonic/dart_library_natives.h" namespace blink { -/// A custom accessibility action is used to indicate additional semantics +/// A custom accessibility action is used to indicate additional semantics /// actions that a user can perform on a semantics node beyond the /// preconfigured options. struct CustomAccessibilityAction { @@ -23,13 +23,13 @@ struct CustomAccessibilityAction { std::string label; }; - // Contains custom accessibility actions that need to be updated. // // The keys in the map are stable action IDs, and the values contain // semantic information for the action corresponding to that id. -using CustomAccessibilityActionUpdates = std::unordered_map; +using CustomAccessibilityActionUpdates = + std::unordered_map; } // namespace blink -#endif //FLUTTER_LIB_UI_SEMANTICS_LOCAL_CONTEXT_ACTION_H_ +#endif // FLUTTER_LIB_UI_SEMANTICS_LOCAL_CONTEXT_ACTION_H_ diff --git a/lib/ui/semantics/semantics_update_builder.h b/lib/ui/semantics/semantics_update_builder.h index dca0f0beaca..307590b5736 100644 --- a/lib/ui/semantics/semantics_update_builder.h +++ b/lib/ui/semantics/semantics_update_builder.h @@ -48,8 +48,7 @@ class SemanticsUpdateBuilder const tonic::Int32List& childrenInHitTestOrder, const tonic::Int32List& customAccessibilityActions); - void updateCustomAction(int id, - std::string label); + void updateCustomAction(int id, std::string label); fxl::RefPtr build();