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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool isNull() const { return m_private.isNull(); } | 61 bool isNull() const { return m_private.isNull(); } |
62 | 62 |
63 BLINK_EXPORT void reset(); | 63 BLINK_EXPORT void reset(); |
64 BLINK_EXPORT void assign(const WebElementCollection&); | 64 BLINK_EXPORT void assign(const WebElementCollection&); |
65 | 65 |
66 BLINK_EXPORT unsigned length() const; | 66 BLINK_EXPORT unsigned length() const; |
67 BLINK_EXPORT WebElement nextItem() const; | 67 BLINK_EXPORT WebElement nextItem() const; |
68 BLINK_EXPORT WebElement firstItem() const; | 68 BLINK_EXPORT WebElement firstItem() const; |
69 | 69 |
70 #if BLINK_IMPLEMENTATION | 70 #if BLINK_IMPLEMENTATION |
71 WebElementCollection(const RawPtr<HTMLCollection>&); | 71 WebElementCollection(HTMLCollection*); |
72 WebElementCollection& operator=(const RawPtr<HTMLCollection>&); | 72 WebElementCollection& operator=(HTMLCollection*); |
73 #endif | 73 #endif |
74 | 74 |
75 private: | 75 private: |
76 WebPrivatePtr<HTMLCollection> m_private; | 76 WebPrivatePtr<HTMLCollection> m_private; |
77 mutable unsigned m_current; | 77 mutable unsigned m_current; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace blink | 80 } // namespace blink |
81 | 81 |
82 #endif | 82 #endif |
OLD | NEW |