未验证 提交 e555ea57 编写于 作者: L liyuqian 提交者: GitHub

Remove trailing white spaces (#5734)

* Remove trailing white spaces

* Fix clang-format
上级 4c7618ac
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册