OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "webkit/glue/dom_operations.h" | 5 #include "webkit/glue/dom_operations.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" |
10 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
| 12 #include "base/string_util.h" |
11 #include "base/string_split.h" | 13 #include "base/string_split.h" |
12 #include "third_party/WebKit/WebKit/chromium/public/WebAnimationController.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebAnimationController.h" |
13 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h" | 15 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h" |
14 #include "third_party/WebKit/WebKit/chromium/public/WebElement.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebElement.h" |
15 #include "third_party/WebKit/WebKit/chromium/public/WebFormElement.h" | 17 #include "third_party/WebKit/WebKit/chromium/public/WebFormElement.h" |
16 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" |
17 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" | 19 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" |
18 #include "third_party/WebKit/WebKit/chromium/public/WebNode.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebNode.h" |
19 #include "third_party/WebKit/WebKit/chromium/public/WebNodeCollection.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebNodeCollection.h" |
20 #include "third_party/WebKit/WebKit/chromium/public/WebNodeList.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebNodeList.h" |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 if (!element.hasTagName("meta")) | 615 if (!element.hasTagName("meta")) |
614 continue; | 616 continue; |
615 WebString value = element.getAttribute(attribute_name); | 617 WebString value = element.getAttribute(attribute_name); |
616 if (value.isNull() || value != attribute_value) | 618 if (value.isNull() || value != attribute_value) |
617 continue; | 619 continue; |
618 meta_elements->push_back(element); | 620 meta_elements->push_back(element); |
619 } | 621 } |
620 } | 622 } |
621 | 623 |
622 } // webkit_glue | 624 } // webkit_glue |
OLD | NEW |