OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 DECLARE_TRACE(); | 56 DECLARE_TRACE(); |
57 | 57 |
58 private: | 58 private: |
59 DragCaretController(); | 59 DragCaretController(); |
60 | 60 |
61 // Implementations of |SynchronousMutationObserver| | 61 // Implementations of |SynchronousMutationObserver| |
62 void nodeChildrenWillBeRemoved(ContainerNode&) final; | 62 void nodeChildrenWillBeRemoved(ContainerNode&) final; |
63 void nodeWillBeRemoved(Node&) final; | 63 void nodeWillBeRemoved(Node&) final; |
64 | 64 |
65 PositionWithAffinity m_position; | 65 PositionWithAffinity m_position; |
| 66 // caret rect in coords local to the layoutObject responsible for painting the |
| 67 // caret |
| 68 LayoutRect m_caretLocalRect; |
66 const Member<CaretBase> m_caretBase; | 69 const Member<CaretBase> m_caretBase; |
67 }; | 70 }; |
68 | 71 |
69 } // namespace blink | 72 } // namespace blink |
70 | 73 |
71 #endif // DragCaretController_h | 74 #endif // DragCaretController_h |
OLD | NEW |