| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 BLINK_EXPORT WebPluginContainer* pluginContainer() const; | 102 BLINK_EXPORT WebPluginContainer* pluginContainer() const; |
| 103 | 103 |
| 104 BLINK_EXPORT bool isInsideFocusableElementOrARIAWidget() const; | 104 BLINK_EXPORT bool isInsideFocusableElementOrARIAWidget() const; |
| 105 BLINK_EXPORT WebAXObject accessibilityObject(); | 105 BLINK_EXPORT WebAXObject accessibilityObject(); |
| 106 | 106 |
| 107 template<typename T> T to(); | 107 template<typename T> T to(); |
| 108 template<typename T> const T toConst() const; | 108 template<typename T> const T toConst() const; |
| 109 | 109 |
| 110 #if BLINK_IMPLEMENTATION | 110 #if BLINK_IMPLEMENTATION |
| 111 BLINK_EXPORT static WebPluginContainer* pluginContainerFromNode(const Node*)
; |
| 112 |
| 111 BLINK_EXPORT WebNode(Node*); | 113 BLINK_EXPORT WebNode(Node*); |
| 112 BLINK_EXPORT WebNode& operator=(Node*); | 114 BLINK_EXPORT WebNode& operator=(Node*); |
| 113 BLINK_EXPORT operator Node*() const; | 115 BLINK_EXPORT operator Node*() const; |
| 114 | 116 |
| 115 template<typename T> T* unwrap() | 117 template<typename T> T* unwrap() |
| 116 { | 118 { |
| 117 return static_cast<T*>(m_private.get()); | 119 return static_cast<T*>(m_private.get()); |
| 118 } | 120 } |
| 119 | 121 |
| 120 template<typename T> const T* constUnwrap() const | 122 template<typename T> const T* constUnwrap() const |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 } | 164 } |
| 163 | 165 |
| 164 inline bool operator<(const WebNode& a, const WebNode& b) | 166 inline bool operator<(const WebNode& a, const WebNode& b) |
| 165 { | 167 { |
| 166 return a.lessThan(b); | 168 return a.lessThan(b); |
| 167 } | 169 } |
| 168 | 170 |
| 169 } // namespace blink | 171 } // namespace blink |
| 170 | 172 |
| 171 #endif | 173 #endif |
| OLD | NEW |