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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #ifndef DOMSelection_h | 31 #ifndef DOMSelection_h |
32 #define DOMSelection_h | 32 #define DOMSelection_h |
33 | 33 |
34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.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 "core/frame/DOMWindowProperty.h" | 37 #include "core/frame/DOMWindowProperty.h" |
38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
40 #include "wtf/PassRefPtr.h" | |
41 #include "wtf/RefCounted.h" | |
42 | 40 |
43 namespace blink { | 41 namespace blink { |
44 | 42 |
45 class ExceptionState; | 43 class ExceptionState; |
46 class Node; | 44 class Node; |
47 class Range; | 45 class Range; |
48 class TreeScope; | 46 class TreeScope; |
49 | 47 |
50 class DOMSelection final : public GarbageCollected<DOMSelection>, public ScriptW
rappable, public DOMWindowProperty { | 48 class DOMSelection final : public GarbageCollected<DOMSelection>, public ScriptW
rappable, public DOMWindowProperty { |
51 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 bool isValidForPosition(Node*) const; | 108 bool isValidForPosition(Node*) const; |
111 | 109 |
112 void addConsoleError(const String& message); | 110 void addConsoleError(const String& message); |
113 | 111 |
114 Member<const TreeScope> m_treeScope; | 112 Member<const TreeScope> m_treeScope; |
115 }; | 113 }; |
116 | 114 |
117 } // namespace blink | 115 } // namespace blink |
118 | 116 |
119 #endif // DOMSelection_h | 117 #endif // DOMSelection_h |
OLD | NEW |