| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 const Position& end); | 284 const Position& end); |
| 285 | 285 |
| 286 GranularityStrategy* granularityStrategy(); | 286 GranularityStrategy* granularityStrategy(); |
| 287 | 287 |
| 288 // Implementation of |SynchronousMutationObserver| member functions. | 288 // Implementation of |SynchronousMutationObserver| member functions. |
| 289 void contextDestroyed(Document*) final; | 289 void contextDestroyed(Document*) final; |
| 290 void nodeChildrenWillBeRemoved(ContainerNode&) final; | 290 void nodeChildrenWillBeRemoved(ContainerNode&) final; |
| 291 void nodeWillBeRemoved(Node&) final; | 291 void nodeWillBeRemoved(Node&) final; |
| 292 | 292 |
| 293 Member<LocalFrame> m_frame; | 293 Member<LocalFrame> m_frame; |
| 294 const Member<LayoutSelection> m_pendingSelection; | 294 const Member<LayoutSelection> m_layoutSelection; |
| 295 const Member<SelectionEditor> m_selectionEditor; | 295 const Member<SelectionEditor> m_selectionEditor; |
| 296 | 296 |
| 297 TextGranularity m_granularity; | 297 TextGranularity m_granularity; |
| 298 LayoutUnit m_xPosForVerticalArrowNavigation; | 298 LayoutUnit m_xPosForVerticalArrowNavigation; |
| 299 | 299 |
| 300 bool m_focused : 1; | 300 bool m_focused : 1; |
| 301 | 301 |
| 302 // Controls text granularity used to adjust the selection's extent in | 302 // Controls text granularity used to adjust the selection's extent in |
| 303 // moveRangeSelectionExtent. | 303 // moveRangeSelectionExtent. |
| 304 std::unique_ptr<GranularityStrategy> m_granularityStrategy; | 304 std::unique_ptr<GranularityStrategy> m_granularityStrategy; |
| 305 | 305 |
| 306 const Member<FrameCaret> m_frameCaret; | 306 const Member<FrameCaret> m_frameCaret; |
| 307 bool m_useSecureKeyboardEntryWhenActive = false; | 307 bool m_useSecureKeyboardEntryWhenActive = false; |
| 308 }; | 308 }; |
| 309 | 309 |
| 310 } // namespace blink | 310 } // namespace blink |
| 311 | 311 |
| 312 #ifndef NDEBUG | 312 #ifndef NDEBUG |
| 313 // Outside the WebCore namespace for ease of invocation from gdb. | 313 // Outside the WebCore namespace for ease of invocation from gdb. |
| 314 void showTree(const blink::FrameSelection&); | 314 void showTree(const blink::FrameSelection&); |
| 315 void showTree(const blink::FrameSelection*); | 315 void showTree(const blink::FrameSelection*); |
| 316 #endif | 316 #endif |
| 317 | 317 |
| 318 #endif // FrameSelection_h | 318 #endif // FrameSelection_h |
| OLD | NEW |