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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // the value in "href". For BODY, TABLE, TR, TD, returns the value in | 71 // the value in "href". For BODY, TABLE, TR, TD, returns the value in |
72 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" | 72 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" |
73 // attribute. Otherwise returns a null WebString. | 73 // attribute. Otherwise returns a null WebString. |
74 WEBKIT_GLUE_EXPORT WebKit::WebString GetSubResourceLinkFromElement( | 74 WEBKIT_GLUE_EXPORT WebKit::WebString GetSubResourceLinkFromElement( |
75 const WebKit::WebElement& element); | 75 const WebKit::WebElement& element); |
76 | 76 |
77 // Puts the meta-elements of |document| that have the attribute |attribute_name| | 77 // Puts the meta-elements of |document| that have the attribute |attribute_name| |
78 // with a value of |attribute_value| in |meta_elements|. | 78 // with a value of |attribute_value| in |meta_elements|. |
79 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( | 79 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( |
80 WebKit::WebDocument* document, | 80 WebKit::WebDocument* document, |
81 const string16& attribute_name, | 81 const base::string16& attribute_name, |
82 const string16& atribute_value, | 82 const base::string16& atribute_value, |
83 std::vector<WebKit::WebElement>* meta_elements); | 83 std::vector<WebKit::WebElement>* meta_elements); |
84 | 84 |
85 } // namespace webkit_glue | 85 } // namespace webkit_glue |
86 | 86 |
87 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ | 87 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ |
OLD | NEW |