mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove trailing white spaces (#5734)
* Remove trailing white spaces * Fix clang-format
This commit is contained in:
parent
4c7618ac71
commit
e555ea573e
@ -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<int32_t, CustomAccessibilityAction>;
|
||||
using CustomAccessibilityActionUpdates =
|
||||
std::unordered_map<int32_t, CustomAccessibilityAction>;
|
||||
|
||||
} // namespace blink
|
||||
|
||||
#endif //FLUTTER_LIB_UI_SEMANTICS_LOCAL_CONTEXT_ACTION_H_
|
||||
#endif // FLUTTER_LIB_UI_SEMANTICS_LOCAL_CONTEXT_ACTION_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<SemanticsUpdate> build();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user