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 <oleacc.h> | 5 #include <oleacc.h> |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/scoped_comptr_win.h" | 8 #include "base/scoped_comptr_win.h" |
| 9 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/browser.h" | 10 #include "chrome/browser/browser.h" |
10 #include "chrome/browser/browser_window.h" | 11 #include "chrome/browser/browser_window.h" |
11 #include "chrome/browser/view_ids.h" | 12 #include "chrome/browser/view_ids.h" |
12 #include "chrome/browser/views/bookmark_bar_view.h" | 13 #include "chrome/browser/views/bookmark_bar_view.h" |
13 #include "chrome/browser/views/frame/browser_view.h" | 14 #include "chrome/browser/views/frame/browser_view.h" |
14 #include "chrome/browser/views/toolbar_view.h" | 15 #include "chrome/browser/views/toolbar_view.h" |
15 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
16 #include "chrome/test/in_process_browser_test.h" | 17 #include "chrome/test/in_process_browser_test.h" |
17 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
18 #include "grit/chromium_strings.h" | 19 #include "grit/chromium_strings.h" |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 reinterpret_cast<void**>(&acc_obj)); | 256 reinterpret_cast<void**>(&acc_obj)); |
256 ASSERT_EQ(S_OK, hr); | 257 ASSERT_EQ(S_OK, hr); |
257 ASSERT_TRUE(NULL != acc_obj); | 258 ASSERT_TRUE(NULL != acc_obj); |
258 | 259 |
259 TestAccessibilityInfo(acc_obj, l10n_util::GetString(IDS_ABOUT_CHROME_TITLE), | 260 TestAccessibilityInfo(acc_obj, l10n_util::GetString(IDS_ABOUT_CHROME_TITLE), |
260 ROLE_SYSTEM_DIALOG); | 261 ROLE_SYSTEM_DIALOG); |
261 | 262 |
262 acc_obj->Release(); | 263 acc_obj->Release(); |
263 } | 264 } |
264 } // Namespace. | 265 } // Namespace. |
OLD | NEW |