| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 void updateSelectionIfNeeded(const Position& base, const Position& extent, c
onst Position& start, const Position& end); | 254 void updateSelectionIfNeeded(const Position& base, const Position& extent, c
onst Position& start, const Position& end); |
| 255 | 255 |
| 256 Frame* m_frame; | 256 Frame* m_frame; |
| 257 | 257 |
| 258 LayoutUnit m_xPosForVerticalArrowNavigation; | 258 LayoutUnit m_xPosForVerticalArrowNavigation; |
| 259 | 259 |
| 260 VisibleSelection m_selection; | 260 VisibleSelection m_selection; |
| 261 VisiblePosition m_originalBase; // Used to store base before the adjustment
at bidi boundary | 261 VisiblePosition m_originalBase; // Used to store base before the adjustment
at bidi boundary |
| 262 TextGranularity m_granularity; | 262 TextGranularity m_granularity; |
| 263 | 263 |
| 264 RefPtr<Node> m_previousCaretNode; // The last node which painted the caret.
Retained for clearing the old caret when it moves. | 264 Position m_previousCaretPosition; // The last position which painted the car
et. Retained for clearing the old caret when it moves. |
| 265 | 265 |
| 266 RefPtr<EditingStyle> m_typingStyle; | 266 RefPtr<EditingStyle> m_typingStyle; |
| 267 | 267 |
| 268 Timer<FrameSelection> m_caretBlinkTimer; | 268 Timer<FrameSelection> m_caretBlinkTimer; |
| 269 // The painted bounds of the caret in absolute coordinates | 269 // The painted bounds of the caret in absolute coordinates |
| 270 IntRect m_absCaretBounds; | 270 IntRect m_absCaretBounds; |
| 271 bool m_absCaretBoundsDirty : 1; | 271 bool m_absCaretBoundsDirty : 1; |
| 272 bool m_caretPaint : 1; | 272 bool m_caretPaint : 1; |
| 273 bool m_isCaretBlinkingSuspended : 1; | 273 bool m_isCaretBlinkingSuspended : 1; |
| 274 bool m_focused : 1; | 274 bool m_focused : 1; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 291 } | 291 } |
| 292 } // namespace WebCore | 292 } // namespace WebCore |
| 293 | 293 |
| 294 #ifndef NDEBUG | 294 #ifndef NDEBUG |
| 295 // Outside the WebCore namespace for ease of invocation from gdb. | 295 // Outside the WebCore namespace for ease of invocation from gdb. |
| 296 void showTree(const WebCore::FrameSelection&); | 296 void showTree(const WebCore::FrameSelection&); |
| 297 void showTree(const WebCore::FrameSelection*); | 297 void showTree(const WebCore::FrameSelection*); |
| 298 #endif | 298 #endif |
| 299 | 299 |
| 300 #endif // FrameSelection_h | 300 #endif // FrameSelection_h |
| OLD | NEW |