Skip to content

Commit

Permalink
Remove trailing white spaces (flutter#5734)
Browse files Browse the repository at this point in the history
* Remove trailing white spaces

* Fix clang-format
  • Loading branch information
liyuqian authored Jul 20, 2018
1 parent 4c7618a commit e555ea5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions lib/ui/semantics/custom_accessibility_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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_
3 changes: 1 addition & 2 deletions lib/ui/semantics/semantics_update_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e555ea5

Please sign in to comment.