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 23 matching lines...) Expand all Loading... |
34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
35 #include "core/frame/DOMWindowProperty.h" | 35 #include "core/frame/DOMWindowProperty.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefCounted.h" | 39 #include "wtf/RefCounted.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class ExceptionState; | 43 class ExceptionState; |
44 class LocalFrame; | |
45 class Node; | 44 class Node; |
46 class Position; | 45 class Position; |
47 class Range; | 46 class Range; |
48 class TreeScope; | 47 class TreeScope; |
49 class VisibleSelection; | 48 class VisibleSelection; |
50 | 49 |
51 class DOMSelection FINAL : public RefCountedWillBeGarbageCollected<DOMSelection>
, public ScriptWrappable, public DOMWindowProperty { | 50 class DOMSelection FINAL : public RefCountedWillBeGarbageCollected<DOMSelection>
, public ScriptWrappable, public DOMWindowProperty { |
52 DEFINE_WRAPPERTYPEINFO(); | 51 DEFINE_WRAPPERTYPEINFO(); |
53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMSelection); | 52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMSelection); |
54 public: | 53 public: |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bool isValidForPosition(Node*) const; | 110 bool isValidForPosition(Node*) const; |
112 | 111 |
113 void addConsoleError(const String& message); | 112 void addConsoleError(const String& message); |
114 | 113 |
115 RawPtrWillBeMember<const TreeScope> m_treeScope; | 114 RawPtrWillBeMember<const TreeScope> m_treeScope; |
116 }; | 115 }; |
117 | 116 |
118 } // namespace blink | 117 } // namespace blink |
119 | 118 |
120 #endif // DOMSelection_h | 119 #endif // DOMSelection_h |
OLD | NEW |