Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: third_party/WebKit/Source/core/editing/state_machines/BackwardGraphemeBoundaryStateMachine.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/editing/state_machines/BackwardGraphemeBoundaryStateMachine.h" 5 #include "core/editing/state_machines/BackwardGraphemeBoundaryStateMachine.h"
6 6
7 #include <ostream> // NOLINT
7 #include "core/editing/state_machines/StateMachineUtil.h" 8 #include "core/editing/state_machines/StateMachineUtil.h"
8 #include "core/editing/state_machines/TextSegmentationMachineState.h" 9 #include "core/editing/state_machines/TextSegmentationMachineState.h"
9 #include "platform/text/Character.h" 10 #include "platform/text/Character.h"
10 #include "wtf/text/CharacterNames.h" 11 #include "wtf/text/CharacterNames.h"
11 #include "wtf/text/Unicode.h" 12 #include "wtf/text/Unicode.h"
12 #include <ostream> // NOLINT
13 13
14 namespace blink { 14 namespace blink {
15 15
16 namespace { 16 namespace {
17 const UChar32 kInvalidCodePoint = WTF::Unicode::kMaxCodepoint + 1; 17 const UChar32 kInvalidCodePoint = WTF::Unicode::kMaxCodepoint + 1;
18 } // namespace 18 } // namespace
19 19
20 #define FOR_EACH_BACKWARD_GRAPHEME_BOUNDARY_STATE(V) \ 20 #define FOR_EACH_BACKWARD_GRAPHEME_BOUNDARY_STATE(V) \
21 /* Initial state */ \ 21 /* Initial state */ \
22 V(Start) \ 22 V(Start) \
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 void BackwardGraphemeBoundaryStateMachine::reset() { 233 void BackwardGraphemeBoundaryStateMachine::reset() {
234 m_trailSurrogate = 0; 234 m_trailSurrogate = 0;
235 m_nextCodePoint = kInvalidCodePoint; 235 m_nextCodePoint = kInvalidCodePoint;
236 m_boundaryOffset = 0; 236 m_boundaryOffset = 0;
237 m_precedingRISCount = 0; 237 m_precedingRISCount = 0;
238 m_internalState = InternalState::Start; 238 m_internalState = InternalState::Start;
239 } 239 }
240 240
241 } // namespace blink 241 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698