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

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

Issue 1306243006: Replace forward class declarations of VisiblePosition to include directives (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/editing/EditingUtilities.h ('k') | Source/core/editing/RenderedPosition.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef FrameSelection_h 26 #ifndef FrameSelection_h
27 #define FrameSelection_h 27 #define FrameSelection_h
28 28
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "core/dom/Range.h" 30 #include "core/dom/Range.h"
31 #include "core/editing/Caret.h" 31 #include "core/editing/Caret.h"
32 #include "core/editing/EditingStyle.h" 32 #include "core/editing/EditingStyle.h"
33 #include "core/editing/EphemeralRange.h" 33 #include "core/editing/EphemeralRange.h"
34 #include "core/editing/VisiblePosition.h"
34 #include "core/editing/VisibleSelection.h" 35 #include "core/editing/VisibleSelection.h"
35 #include "core/layout/ScrollAlignment.h" 36 #include "core/layout/ScrollAlignment.h"
36 #include "platform/Timer.h" 37 #include "platform/Timer.h"
37 #include "platform/geometry/IntRect.h" 38 #include "platform/geometry/IntRect.h"
38 #include "platform/geometry/LayoutRect.h" 39 #include "platform/geometry/LayoutRect.h"
39 #include "platform/heap/Handle.h" 40 #include "platform/heap/Handle.h"
40 #include "wtf/Noncopyable.h" 41 #include "wtf/Noncopyable.h"
41 42
42 namespace blink { 43 namespace blink {
43 44
44 class CharacterData; 45 class CharacterData;
45 class LocalFrame; 46 class LocalFrame;
46 class GranularityStrategy; 47 class GranularityStrategy;
47 class GraphicsContext; 48 class GraphicsContext;
48 class HTMLFormElement; 49 class HTMLFormElement;
49 class Text; 50 class Text;
50 class VisiblePosition;
51 51
52 enum EUserTriggered { NotUserTriggered = 0, UserTriggered = 1 }; 52 enum EUserTriggered { NotUserTriggered = 0, UserTriggered = 1 };
53 53
54 enum RevealExtentOption { 54 enum RevealExtentOption {
55 RevealExtent, 55 RevealExtent,
56 DoNotRevealExtent 56 DoNotRevealExtent
57 }; 57 };
58 58
59 class CORE_EXPORT FrameSelection final : public NoBaseWillBeGarbageCollectedFina lized<FrameSelection>, public VisibleSelection::ChangeObserver, private CaretBas e { 59 class CORE_EXPORT FrameSelection final : public NoBaseWillBeGarbageCollectedFina lized<FrameSelection>, public VisibleSelection::ChangeObserver, private CaretBas e {
60 WTF_MAKE_NONCOPYABLE(FrameSelection); 60 WTF_MAKE_NONCOPYABLE(FrameSelection);
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 } 339 }
340 } // namespace blink 340 } // namespace blink
341 341
342 #ifndef NDEBUG 342 #ifndef NDEBUG
343 // Outside the WebCore namespace for ease of invocation from gdb. 343 // Outside the WebCore namespace for ease of invocation from gdb.
344 void showTree(const blink::FrameSelection&); 344 void showTree(const blink::FrameSelection&);
345 void showTree(const blink::FrameSelection*); 345 void showTree(const blink::FrameSelection*);
346 #endif 346 #endif
347 347
348 #endif // FrameSelection_h 348 #endif // FrameSelection_h
OLDNEW
« no previous file with comments | « Source/core/editing/EditingUtilities.h ('k') | Source/core/editing/RenderedPosition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698