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

Side by Side Diff: content/renderer/accessibility/renderer_accessibility_browsertest.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 "base/utf_string_conversions.h" 5 #include "base/strings/utf_string_conversions.h"
6 #include "content/common/accessibility_node_data.h" 6 #include "content/common/accessibility_node_data.h"
7 #include "content/common/view_messages.h" 7 #include "content/common/view_messages.h"
8 #include "content/public/test/render_view_test.h" 8 #include "content/public/test/render_view_test.h"
9 #include "content/renderer/accessibility/renderer_accessibility_complete.h" 9 #include "content/renderer/accessibility/renderer_accessibility_complete.h"
10 #include "content/renderer/render_view_impl.h" 10 #include "content/renderer/render_view_impl.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/WebKit/public/platform/WebSize.h" 12 #include "third_party/WebKit/public/platform/WebSize.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 401
402 accessibility->SendPendingAccessibilityNotifications(); 402 accessibility->SendPendingAccessibilityNotifications();
403 EXPECT_EQ(4, accessibility->browser_tree_node_count()); 403 EXPECT_EQ(4, accessibility->browser_tree_node_count());
404 AccessibilityHostMsg_NotificationParams notification; 404 AccessibilityHostMsg_NotificationParams notification;
405 GetLastAccNotification(&notification); 405 GetLastAccNotification(&notification);
406 ASSERT_EQ(3U, notification.nodes.size()); 406 ASSERT_EQ(3U, notification.nodes.size());
407 EXPECT_EQ(3, CountAccessibilityNodesSentToBrowser()); 407 EXPECT_EQ(3, CountAccessibilityNodesSentToBrowser());
408 } 408 }
409 409
410 } // namespace content 410 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/accessibility/accessibility_node_serializer.cc ('k') | content/renderer/android/address_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698