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

Side by Side Diff: content/renderer/accessibility/accessibility_node_serializer.cc

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 #include "content/renderer/accessibility/accessibility_node_serializer.h" 5 #include "content/renderer/accessibility/accessibility_node_serializer.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "third_party/WebKit/public/platform/WebRect.h" 12 #include "third_party/WebKit/public/platform/WebRect.h"
13 #include "third_party/WebKit/public/platform/WebSize.h" 13 #include "third_party/WebKit/public/platform/WebSize.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 14 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/platform/WebVector.h" 15 #include "third_party/WebKit/public/platform/WebVector.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityRole. h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityRole. h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocumentType.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocumentType.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h"
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 WebNode node = parent.node(); 640 WebNode node = parent.node();
641 if (!node.isNull() && node.isElementNode()) { 641 if (!node.isNull() && node.isElementNode()) {
642 WebElement element = node.to<WebElement>(); 642 WebElement element = node.to<WebElement>();
643 is_iframe = (element.tagName() == ASCIIToUTF16("IFRAME")); 643 is_iframe = (element.tagName() == ASCIIToUTF16("IFRAME"));
644 } 644 }
645 645
646 return (is_iframe || IsParentUnignoredOf(parent, child)); 646 return (is_iframe || IsParentUnignoredOf(parent, child));
647 } 647 }
648 648
649 } // namespace content 649 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/test_utils.cc ('k') | content/renderer/accessibility/renderer_accessibility_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698