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

Side by Side Diff: content/browser/accessibility/renderer_accessibility_browsertest.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
11 #include "chrome/test/base/ui_test_utils.h" 11 #include "chrome/test/base/ui_test_utils.h"
12 #include "content/browser/renderer_host/render_view_host_impl.h" 12 #include "content/browser/renderer_host/render_view_host_impl.h"
13 #include "content/public/browser/notification_service.h" 13 #include "content/public/browser/notification_service.h"
14 #include "content/public/browser/notification_types.h" 14 #include "content/public/browser/notification_types.h"
15 #include "content/public/browser/render_widget_host_view.h" 15 #include "content/public/browser/render_widget_host_view.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 17
18 #if defined(OS_WIN) 18 #if defined(OS_WIN)
19 #include <atlbase.h> 19 #include <atlbase.h>
20 #include <atlcom.h> 20 #include <atlcom.h>
21 #include "ui/base/win/atl_module.h" 21 #include "ui/base/win/atl_module.h"
22 #endif 22 #endif
23 23
24 using content::OpenURLParams; 24 using content::OpenURLParams;
25 using content::RenderViewHostImpl;
26 using content::RenderWidgetHostImpl;
25 using content::Referrer; 27 using content::Referrer;
26 using webkit_glue::WebAccessibility; 28 using webkit_glue::WebAccessibility;
27 29
28 namespace { 30 namespace {
29 31
30 class RendererAccessibilityBrowserTest : public InProcessBrowserTest { 32 class RendererAccessibilityBrowserTest : public InProcessBrowserTest {
31 public: 33 public:
32 RendererAccessibilityBrowserTest() {} 34 RendererAccessibilityBrowserTest() {}
33 35
34 // Tell the renderer to send an accessibility tree, then wait for the 36 // Tell the renderer to send an accessibility tree, then wait for the
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 const WebAccessibility& tree = GetWebAccessibilityTree(); 457 const WebAccessibility& tree = GetWebAccessibilityTree();
456 458
457 ASSERT_EQ(1U, tree.children.size()); 459 ASSERT_EQ(1U, tree.children.size());
458 const WebAccessibility& textbox = tree.children[0]; 460 const WebAccessibility& textbox = tree.children[0];
459 461
460 EXPECT_EQ( 462 EXPECT_EQ(
461 true, GetBoolAttr(textbox, WebAccessibility::ATTR_CAN_SET_VALUE)); 463 true, GetBoolAttr(textbox, WebAccessibility::ATTR_CAN_SET_VALUE));
462 } 464 }
463 465
464 } // namespace 466 } // namespace
OLDNEW
« no previous file with comments | « content/browser/accessibility/dump_accessibility_tree_browsertest.cc ('k') | content/browser/debugger/devtools_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698