OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2014 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2014 Samsung Electronics. 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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 | 31 |
32 #ifndef WebElementCollection_h | 32 #ifndef WebElementCollection_h |
33 #define WebElementCollection_h | 33 #define WebElementCollection_h |
34 | 34 |
35 #include "../platform/WebCommon.h" | 35 #include "../platform/WebCommon.h" |
36 #include "../platform/WebPrivatePtr.h" | 36 #include "../platform/WebPrivatePtr.h" |
37 | 37 |
38 #if BLINK_IMPLEMENTATION | 38 #if BLINK_IMPLEMENTATION |
39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
40 namespace WTF { | |
41 template <typename T> | |
42 class PassRefPtr; | |
43 } | |
44 #endif | 40 #endif |
45 | 41 |
46 namespace blink { | 42 namespace blink { |
47 | 43 |
48 class HTMLCollection; | 44 class HTMLCollection; |
49 class WebElement; | 45 class WebElement; |
50 | 46 |
51 // Provides readonly access to some properties of a DOM node. | 47 // Provides readonly access to some properties of a DOM node. |
52 class WebElementCollection { | 48 class WebElementCollection { |
53 public: | 49 public: |
(...skipping 21 matching lines...) Expand all Loading... |
75 #endif | 71 #endif |
76 | 72 |
77 private: | 73 private: |
78 WebPrivatePtr<HTMLCollection> m_private; | 74 WebPrivatePtr<HTMLCollection> m_private; |
79 mutable unsigned m_current; | 75 mutable unsigned m_current; |
80 }; | 76 }; |
81 | 77 |
82 } // namespace blink | 78 } // namespace blink |
83 | 79 |
84 #endif | 80 #endif |
OLD | NEW |