| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__ | 5 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| 6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__ | 6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // the value in "href". For BODY, TABLE, TR, TD, returns the value in | 90 // the value in "href". For BODY, TABLE, TR, TD, returns the value in |
| 91 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" | 91 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" |
| 92 // attribute. Otherwise returns a null WebString. | 92 // attribute. Otherwise returns a null WebString. |
| 93 WEBKIT_GLUE_EXPORT WebKit::WebString GetSubResourceLinkFromElement( | 93 WEBKIT_GLUE_EXPORT WebKit::WebString GetSubResourceLinkFromElement( |
| 94 const WebKit::WebElement& element); | 94 const WebKit::WebElement& element); |
| 95 | 95 |
| 96 // Puts the meta-elements of |document| that have the attribute |attribute_name| | 96 // Puts the meta-elements of |document| that have the attribute |attribute_name| |
| 97 // with a value of |attribute_value| in |meta_elements|. | 97 // with a value of |attribute_value| in |meta_elements|. |
| 98 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( | 98 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( |
| 99 WebKit::WebDocument* document, | 99 WebKit::WebDocument* document, |
| 100 const string16& attribute_name, | 100 const char* attribute_name, |
| 101 const string16& atribute_value, | 101 const char* atribute_value, |
| 102 std::vector<WebKit::WebElement>* meta_elements); | 102 std::vector<WebKit::WebElement>* meta_elements); |
| 103 | 103 |
| 104 } // namespace webkit_glue | 104 } // namespace webkit_glue |
| 105 | 105 |
| 106 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ | 106 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| OLD | NEW |