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

Side by Side Diff: chrome/browser/accessibility/accessibility_win_browsertest.cc

Issue 7745024: Move RenderWidgetHostViewWin to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix deps Created 9 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_views_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <atlbase.h> 5 #include <atlbase.h>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/win/scoped_comptr.h" 10 #include "base/win/scoped_comptr.h"
11 #include "chrome/browser/automation/ui_controls.h" 11 #include "chrome/browser/automation/ui_controls.h"
12 #include "chrome/browser/renderer_host/render_widget_host_view_win.h"
13 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/browser_window.h" 13 #include "chrome/browser/ui/browser_window.h"
15 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
16 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
17 #include "chrome/test/base/ui_test_utils.h" 16 #include "chrome/test/base/ui_test_utils.h"
18 #include "content/browser/renderer_host/render_view_host.h" 17 #include "content/browser/renderer_host/render_view_host.h"
18 #include "content/browser/renderer_host/render_widget_host_view_win.h"
19 #include "content/browser/tab_contents/tab_contents.h" 19 #include "content/browser/tab_contents/tab_contents.h"
20 #include "content/common/content_notification_types.h" 20 #include "content/common/content_notification_types.h"
21 #include "ia2_api_all.h" // Generated NOLINT 21 #include "ia2_api_all.h" // Generated NOLINT
22 #include "ISimpleDOMNode.h" // Generated NOLINT 22 #include "ISimpleDOMNode.h" // Generated NOLINT
23 23
24 using std::auto_ptr; 24 using std::auto_ptr;
25 using std::vector; 25 using std::vector;
26 using std::wstring; 26 using std::wstring;
27 27
28 namespace { 28 namespace {
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 ASSERT_EQ(S_OK, hr); 677 ASSERT_EQ(S_OK, hr);
678 hr = checkbox_isimpledomnode->get_nodeInfo( 678 hr = checkbox_isimpledomnode->get_nodeInfo(
679 &node_name, &name_space_id, &node_value, &num_children, &unique_id, 679 &node_name, &name_space_id, &node_value, &num_children, &unique_id,
680 &node_type); 680 &node_type);
681 ASSERT_EQ(S_OK, hr); 681 ASSERT_EQ(S_OK, hr);
682 EXPECT_STREQ(L"input", wstring(node_name, SysStringLen(node_name)).c_str()); 682 EXPECT_STREQ(L"input", wstring(node_name, SysStringLen(node_name)).c_str());
683 EXPECT_EQ(NODETYPE_ELEMENT, node_type); 683 EXPECT_EQ(NODETYPE_ELEMENT, node_type);
684 EXPECT_EQ(0, num_children); 684 EXPECT_EQ(0, num_children);
685 } 685 }
686 } // namespace. 686 } // namespace.
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_views_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698