diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 22:16:04 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 22:16:04 +0000 |
commit | 872153981434a0e38c8c1ef87d12f0355091deb6 (patch) | |
tree | ef931bae20bd5e6541517c2403209551dc3c9e07 /chrome/browser/views/browser_views_accessibility_browsertest.cc | |
parent | fd2885ab79962663f474a39b13cfbfdb4827534e (diff) | |
download | chromium_src-872153981434a0e38c8c1ef87d12f0355091deb6.zip chromium_src-872153981434a0e38c8c1ef87d12f0355091deb6.tar.gz chromium_src-872153981434a0e38c8c1ef87d12f0355091deb6.tar.bz2 |
Revert 41882 - [Accessibility] Chrome's main window is missing an accessible name
checkdeps.py failed
BUG=36732
TEST=Verify Chrome's main window has a name in AccExplorer or run the new test.
Review URL: http://codereview.chromium.org/661054
TBR=ctguil@chromium.org
Review URL: http://codereview.chromium.org/1063004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_views_accessibility_browsertest.cc')
-rw-r--r-- | chrome/browser/views/browser_views_accessibility_browsertest.cc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/chrome/browser/views/browser_views_accessibility_browsertest.cc b/chrome/browser/views/browser_views_accessibility_browsertest.cc index f44e5cd..ea7fde0 100644 --- a/chrome/browser/views/browser_views_accessibility_browsertest.cc +++ b/chrome/browser/views/browser_views_accessibility_browsertest.cc @@ -17,7 +17,6 @@ #include "views/accessibility/view_accessibility_wrapper.h" #include "views/widget/root_view.h" #include "views/widget/widget_win.h" -#include "views/window/window.h" namespace { @@ -98,7 +97,6 @@ class BrowserViewsAccessibilityTest : public InProcessBrowserTest { TestAccessibilityInfo(acc_obj, name, role); } - // Verifies MSAA Name and Role properties of the given IAccessible. void TestAccessibilityInfo(IAccessible* acc_obj, std::wstring name, long role) { @@ -144,17 +142,6 @@ IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest, TestChromeWindowAccObj) { acc_obj->Release(); } -// Retrieve accessibility object for non client view and verify accessibility -// info. -IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest, TestNonClientViewAccObj) { - views::View* non_client_view = - GetBrowserView()->GetWindow()->GetNonClientView(); - - TestViewAccessibilityObject(non_client_view, - l10n_util::GetString(IDS_PRODUCT_NAME), - ROLE_SYSTEM_WINDOW); -} - // Retrieve accessibility object for browser root view and verify // accessibility info. IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest, @@ -267,5 +254,6 @@ IN_PROC_BROWSER_TEST_F(BrowserViewsAccessibilityTest, l10n_util::GetString(IDS_ACCNAME_BOOKMARKS), ROLE_SYSTEM_TOOLBAR); } + } // Namespace. |