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

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

Issue 7973006: Make isimpledom write shared generated files to SHARED_INTERMEDIATE_DIR (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup the GYP Created 9 years, 3 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 | « chrome/browser/DEPS ('k') | content/browser/DEPS » ('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/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_window.h" 13 #include "chrome/browser/ui/browser_window.h"
14 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
15 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
16 #include "chrome/test/base/ui_test_utils.h" 16 #include "chrome/test/base/ui_test_utils.h"
17 #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" 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 "third_party/iaccessible2/ia2_api_all.h" 21 #include "third_party/iaccessible2/ia2_api_all.h"
22 #include "ISimpleDOMNode.h" // Generated NOLINT 22 #include "third_party/isimpledom/ISimpleDOMNode.h"
dmazzoni 2011/09/20 13:01:22 NOLINT isn't needed for this one? Great if not...
Ryan Sleevi 2011/09/21 02:08:09 Nope. The NOLINT is only needed because the includ
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 {
29 29
30 class AccessibilityWinBrowserTest : public InProcessBrowserTest { 30 class AccessibilityWinBrowserTest : public InProcessBrowserTest {
31 public: 31 public:
32 AccessibilityWinBrowserTest() {} 32 AccessibilityWinBrowserTest() {}
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 ASSERT_EQ(S_OK, hr); 674 ASSERT_EQ(S_OK, hr);
675 hr = checkbox_isimpledomnode->get_nodeInfo( 675 hr = checkbox_isimpledomnode->get_nodeInfo(
676 &node_name, &name_space_id, &node_value, &num_children, &unique_id, 676 &node_name, &name_space_id, &node_value, &num_children, &unique_id,
677 &node_type); 677 &node_type);
678 ASSERT_EQ(S_OK, hr); 678 ASSERT_EQ(S_OK, hr);
679 EXPECT_STREQ(L"input", wstring(node_name, SysStringLen(node_name)).c_str()); 679 EXPECT_STREQ(L"input", wstring(node_name, SysStringLen(node_name)).c_str());
680 EXPECT_EQ(NODETYPE_ELEMENT, node_type); 680 EXPECT_EQ(NODETYPE_ELEMENT, node_type);
681 EXPECT_EQ(0, num_children); 681 EXPECT_EQ(0, num_children);
682 } 682 }
683 } // namespace. 683 } // namespace.
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698