OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/browser.h" | |
10 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
11 #include "chrome/browser/renderer_host/render_view_host.h" | 10 #include "chrome/browser/renderer_host/render_view_host.h" |
12 #include "chrome/browser/renderer_host/render_widget_host.h" | 11 #include "chrome/browser/renderer_host/render_widget_host.h" |
13 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 12 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
14 #include "chrome/browser/tab_contents/tab_contents.h" | 13 #include "chrome/browser/tab_contents/tab_contents.h" |
| 14 #include "chrome/browser/ui/browser.h" |
15 #include "chrome/common/render_messages.h" | 15 #include "chrome/common/render_messages.h" |
16 #include "chrome/common/notification_type.h" | 16 #include "chrome/common/notification_type.h" |
17 #include "chrome/test/in_process_browser_test.h" | 17 #include "chrome/test/in_process_browser_test.h" |
18 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
19 | 19 |
20 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
21 #include <atlbase.h> | 21 #include <atlbase.h> |
22 #include <atlcom.h> | 22 #include <atlcom.h> |
23 #endif | 23 #endif |
24 | 24 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 EXPECT_STREQ( | 195 EXPECT_STREQ( |
196 "input", GetAttr(text, WebAccessibility::ATTR_HTML_TAG).c_str()); | 196 "input", GetAttr(text, WebAccessibility::ATTR_HTML_TAG).c_str()); |
197 EXPECT_STREQ( | 197 EXPECT_STREQ( |
198 "0", GetAttr(text, WebAccessibility::ATTR_TEXT_SEL_START).c_str()); | 198 "0", GetAttr(text, WebAccessibility::ATTR_TEXT_SEL_START).c_str()); |
199 EXPECT_STREQ( | 199 EXPECT_STREQ( |
200 "13", GetAttr(text, WebAccessibility::ATTR_TEXT_SEL_END).c_str()); | 200 "13", GetAttr(text, WebAccessibility::ATTR_TEXT_SEL_END).c_str()); |
201 EXPECT_STREQ("Hello, world.", UTF16ToUTF8(text.value).c_str()); | 201 EXPECT_STREQ("Hello, world.", UTF16ToUTF8(text.value).c_str()); |
202 } | 202 } |
203 | 203 |
204 } // namespace | 204 } // namespace |
OLD | NEW |