| 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 ForwardGraphemeBoundaryStateMachine_h | 5 #ifndef ForwardGraphemeBoundaryStateMachine_h |
| 6 #define ForwardGraphemeBoundaryStateMachine_h | 6 #define ForwardGraphemeBoundaryStateMachine_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 ForwardGraphemeBoundaryStateMachine { | 17 class CORE_EXPORT ForwardGraphemeBoundaryStateMachine { |
| 18 STACK_ALLOCATED(); | 18 STACK_ALLOCATED(); |
| 19 WTF_MAKE_NONCOPYABLE(ForwardGraphemeBoundaryStateMachine); | 19 WTF_MAKE_NONCOPYABLE(ForwardGraphemeBoundaryStateMachine); |
| 20 | 20 |
| 21 public: | 21 public: |
| 22 ForwardGraphemeBoundaryStateMachine(); | 22 ForwardGraphemeBoundaryStateMachine(); |
| 23 | 23 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // The number of regional indicator symbols preceding to the begging offset. | 67 // The number of regional indicator symbols preceding to the begging offset. |
| 68 int m_precedingRISCount = 0; | 68 int m_precedingRISCount = 0; |
| 69 | 69 |
| 70 // The internal state. | 70 // The internal state. |
| 71 InternalState m_internalState; | 71 InternalState m_internalState; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif | 76 #endif |
| OLD | NEW |