| 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 27 matching lines...) Expand all Loading... |
| 38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
| 39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class ExceptionState; | 43 class ExceptionState; |
| 44 class Node; | 44 class Node; |
| 45 class Range; | 45 class Range; |
| 46 class TreeScope; | 46 class TreeScope; |
| 47 | 47 |
| 48 class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>, pu
blic ScriptWrappable, public DOMWindowProperty { | 48 class DOMSelection final : public GarbageCollected<DOMSelection>, public ScriptW
rappable, public DOMWindowProperty { |
| 49 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
| 50 USING_GARBAGE_COLLECTED_MIXIN(DOMSelection); | 50 USING_GARBAGE_COLLECTED_MIXIN(DOMSelection); |
| 51 public: | 51 public: |
| 52 static DOMSelection* create(const TreeScope* treeScope) | 52 static DOMSelection* create(const TreeScope* treeScope) |
| 53 { | 53 { |
| 54 return new DOMSelection(treeScope); | 54 return new DOMSelection(treeScope); |
| 55 } | 55 } |
| 56 | 56 |
| 57 void clearTreeScope(); | 57 void clearTreeScope(); |
| 58 | 58 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 bool isValidForPosition(Node*) const; | 110 bool isValidForPosition(Node*) const; |
| 111 | 111 |
| 112 void addConsoleError(const String& message); | 112 void addConsoleError(const String& message); |
| 113 | 113 |
| 114 Member<const TreeScope> m_treeScope; | 114 Member<const TreeScope> m_treeScope; |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace blink | 117 } // namespace blink |
| 118 | 118 |
| 119 #endif // DOMSelection_h | 119 #endif // DOMSelection_h |
| OLD | NEW |