OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights 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 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 #ifndef DOMSelection_h | 30 #ifndef DOMSelection_h |
31 #define DOMSelection_h | 31 #define DOMSelection_h |
32 | 32 |
33 #include "bindings/core/v8/ScriptWrappable.h" | 33 #include "bindings/core/v8/ScriptWrappable.h" |
34 #include "core/dom/ContextLifecycleObserver.h" | 34 #include "core/dom/ContextLifecycleObserver.h" |
35 #include "core/editing/Position.h" | 35 #include "core/editing/Position.h" |
36 #include "core/editing/VisibleSelection.h" | 36 #include "core/editing/VisibleSelection.h" |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 #include "wtf/Forward.h" | 38 #include "platform/wtf/Forward.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class ExceptionState; | 42 class ExceptionState; |
43 class Node; | 43 class Node; |
44 class Range; | 44 class Range; |
45 class TreeScope; | 45 class TreeScope; |
46 | 46 |
47 class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>, | 47 class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>, |
48 public ScriptWrappable, | 48 public ScriptWrappable, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 void CacheRangeIfSelectionOfDocument(Range*) const; | 128 void CacheRangeIfSelectionOfDocument(Range*) const; |
129 Range* DocumentCachedRange() const; | 129 Range* DocumentCachedRange() const; |
130 void ClearCachedRangeIfSelectionOfDocument(); | 130 void ClearCachedRangeIfSelectionOfDocument(); |
131 | 131 |
132 Member<const TreeScope> tree_scope_; | 132 Member<const TreeScope> tree_scope_; |
133 }; | 133 }; |
134 | 134 |
135 } // namespace blink | 135 } // namespace blink |
136 | 136 |
137 #endif // DOMSelection_h | 137 #endif // DOMSelection_h |
OLD | NEW |