| 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 BackspaceStateMachine_h | 5 #ifndef BackspaceStateMachine_h |
| 6 #define BackspaceStateMachine_h | 6 #define BackspaceStateMachine_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 BackspaceStateMachine { | 17 class CORE_EXPORT BackspaceStateMachine { |
| 18 STACK_ALLOCATED(); | 18 STACK_ALLOCATED(); |
| 19 WTF_MAKE_NONCOPYABLE(BackspaceStateMachine); | 19 WTF_MAKE_NONCOPYABLE(BackspaceStateMachine); |
| 20 | 20 |
| 21 public: | 21 public: |
| 22 BackspaceStateMachine(); | 22 BackspaceStateMachine(); |
| 23 | 23 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // The length of the previously seen variation selector. | 61 // The length of the previously seen variation selector. |
| 62 int m_lastSeenVSCodeUnits = 0; | 62 int m_lastSeenVSCodeUnits = 0; |
| 63 | 63 |
| 64 // The internal state. | 64 // The internal state. |
| 65 BackspaceState m_state; | 65 BackspaceState m_state; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace blink | 68 } // namespace blink |
| 69 | 69 |
| 70 #endif | 70 #endif |
| OLD | NEW |