| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 BLINK_EXPORT WebElement querySelector(const WebString& selector, WebExceptio
nCode&) const; | 118 BLINK_EXPORT WebElement querySelector(const WebString& selector, WebExceptio
nCode&) const; |
| 119 BLINK_EXPORT void querySelectorAll(const WebString& selector, WebVector<WebE
lement>& results, WebExceptionCode&) const; | 119 BLINK_EXPORT void querySelectorAll(const WebString& selector, WebVector<WebE
lement>& results, WebExceptionCode&) const; |
| 120 | 120 |
| 121 // Same as querySelector and querySelectorAll, but ASSERT if an exception | 121 // Same as querySelector and querySelectorAll, but ASSERT if an exception |
| 122 // code would be generated. | 122 // code would be generated. |
| 123 BLINK_EXPORT WebElement querySelector(const WebString& selector) const; | 123 BLINK_EXPORT WebElement querySelector(const WebString& selector) const; |
| 124 BLINK_EXPORT void querySelectorAll(const WebString& selector, WebVector<WebE
lement>& results) const; | 124 BLINK_EXPORT void querySelectorAll(const WebString& selector, WebVector<WebE
lement>& results) const; |
| 125 | 125 |
| 126 BLINK_EXPORT bool focused() const; | 126 BLINK_EXPORT bool focused() const; |
| 127 BLINK_EXPORT bool remove(); | |
| 128 | 127 |
| 129 BLINK_EXPORT WebPluginContainer* pluginContainer() const; | 128 BLINK_EXPORT WebPluginContainer* pluginContainer() const; |
| 130 | 129 |
| 131 BLINK_EXPORT bool isInsideFocusableElementOrARIAWidget() const; | 130 BLINK_EXPORT bool isInsideFocusableElementOrARIAWidget() const; |
| 132 BLINK_EXPORT WebAXObject accessibilityObject(); | 131 BLINK_EXPORT WebAXObject accessibilityObject(); |
| 133 | 132 |
| 134 template<typename T> T to() | 133 template<typename T> T to() |
| 135 { | 134 { |
| 136 T res; | 135 T res; |
| 137 res.WebNode::assign(*this); | 136 res.WebNode::assign(*this); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 } | 177 } |
| 179 | 178 |
| 180 inline bool operator<(const WebNode& a, const WebNode& b) | 179 inline bool operator<(const WebNode& a, const WebNode& b) |
| 181 { | 180 { |
| 182 return a.lessThan(b); | 181 return a.lessThan(b); |
| 183 } | 182 } |
| 184 | 183 |
| 185 } // namespace blink | 184 } // namespace blink |
| 186 | 185 |
| 187 #endif | 186 #endif |
| OLD | NEW |