| OLD | NEW |
| 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 #ifndef BackwardGraphemeBoundaryStateMachine_h | 5 #ifndef BackwardGraphemeBoundaryStateMachine_h |
| 6 #define BackwardGraphemeBoundaryStateMachine_h | 6 #define BackwardGraphemeBoundaryStateMachine_h |
| 7 | 7 |
| 8 #include <iosfwd> |
| 8 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 9 #include "core/editing/state_machines/TextSegmentationMachineState.h" | 10 #include "core/editing/state_machines/TextSegmentationMachineState.h" |
| 10 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
| 11 #include "wtf/Noncopyable.h" | 12 #include "wtf/Noncopyable.h" |
| 12 #include "wtf/text/Unicode.h" | 13 #include "wtf/text/Unicode.h" |
| 13 #include <iosfwd> | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class CORE_EXPORT BackwardGraphemeBoundaryStateMachine { | 17 class CORE_EXPORT BackwardGraphemeBoundaryStateMachine { |
| 18 STACK_ALLOCATED(); | 18 STACK_ALLOCATED(); |
| 19 WTF_MAKE_NONCOPYABLE(BackwardGraphemeBoundaryStateMachine); | 19 WTF_MAKE_NONCOPYABLE(BackwardGraphemeBoundaryStateMachine); |
| 20 | 20 |
| 21 public: | 21 public: |
| 22 BackwardGraphemeBoundaryStateMachine(); | 22 BackwardGraphemeBoundaryStateMachine(); |
| 23 | 23 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // The number of regional indicator symbols preceding to the begging offset. | 64 // The number of regional indicator symbols preceding to the begging offset. |
| 65 int m_precedingRISCount = 0; | 65 int m_precedingRISCount = 0; |
| 66 | 66 |
| 67 // The internal state. | 67 // The internal state. |
| 68 InternalState m_internalState; | 68 InternalState m_internalState; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace blink | 71 } // namespace blink |
| 72 | 72 |
| 73 #endif | 73 #endif |
| OLD | NEW |