Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: webkit/glue/dom_operations.h

Issue 10916316: Add support for non-all-lower-case meta tags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alternate method of handling case-insensitivity that doesn't require changes to WebKit Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698