Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: Source/core/editing/FrameSelection.h

Issue 20681004: Make first-letter style to work with editing Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-08-08T13:29:08 Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 bool visualWordMovementEnabled() const; 249 bool visualWordMovementEnabled() const;
250 250
251 Frame* m_frame; 251 Frame* m_frame;
252 252
253 LayoutUnit m_xPosForVerticalArrowNavigation; 253 LayoutUnit m_xPosForVerticalArrowNavigation;
254 254
255 VisibleSelection m_selection; 255 VisibleSelection m_selection;
256 VisiblePosition m_originalBase; // Used to store base before the adjustment at bidi boundary 256 VisiblePosition m_originalBase; // Used to store base before the adjustment at bidi boundary
257 TextGranularity m_granularity; 257 TextGranularity m_granularity;
258 258
259 RefPtr<Node> m_previousCaretNode; // The last node which painted the caret. Retained for clearing the old caret when it moves. 259 Position m_previousCaretPosition; // The last position which painted the car et. Retained for clearing the old caret when it moves.
260 260
261 RefPtr<EditingStyle> m_typingStyle; 261 RefPtr<EditingStyle> m_typingStyle;
262 262
263 Timer<FrameSelection> m_caretBlinkTimer; 263 Timer<FrameSelection> m_caretBlinkTimer;
264 // The painted bounds of the caret in absolute coordinates 264 // The painted bounds of the caret in absolute coordinates
265 IntRect m_absCaretBounds; 265 IntRect m_absCaretBounds;
266 bool m_absCaretBoundsDirty : 1; 266 bool m_absCaretBoundsDirty : 1;
267 bool m_caretPaint : 1; 267 bool m_caretPaint : 1;
268 bool m_isCaretBlinkingSuspended : 1; 268 bool m_isCaretBlinkingSuspended : 1;
269 bool m_focused : 1; 269 bool m_focused : 1;
(...skipping 16 matching lines...) Expand all
286 } 286 }
287 } // namespace WebCore 287 } // namespace WebCore
288 288
289 #ifndef NDEBUG 289 #ifndef NDEBUG
290 // Outside the WebCore namespace for ease of invocation from gdb. 290 // Outside the WebCore namespace for ease of invocation from gdb.
291 void showTree(const WebCore::FrameSelection&); 291 void showTree(const WebCore::FrameSelection&);
292 void showTree(const WebCore::FrameSelection*); 292 void showTree(const WebCore::FrameSelection*);
293 #endif 293 #endif
294 294
295 #endif // FrameSelection_h 295 #endif // FrameSelection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698