diff options
Diffstat (limited to 'chrome/test/accessibility')
-rw-r--r-- | chrome/test/accessibility/accessibility_util.cc | 2 | ||||
-rw-r--r-- | chrome/test/accessibility/constants.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/accessibility/accessibility_util.cc b/chrome/test/accessibility/accessibility_util.cc index d52d57e..06b42ef 100644 --- a/chrome/test/accessibility/accessibility_util.cc +++ b/chrome/test/accessibility/accessibility_util.cc @@ -19,7 +19,7 @@ static const wchar_t* kBrowserWindowKey = L"__BROWSER_WINDOW__"; static BOOL CALLBACK WindowEnumProc(HWND hwnd, LPARAM data) { std::wstring class_name = win_util::GetClassName(hwnd); - if (class_name == L"Chrome_ContainerWin_0") { + if (class_name == L"Chrome_WidgetWin_0") { HANDLE window_interface = GetProp(hwnd, kBrowserWindowKey); if (window_interface) { HWND* out = reinterpret_cast<HWND*>(data); diff --git a/chrome/test/accessibility/constants.h b/chrome/test/accessibility/constants.h index a3d6060..dfba0f5 100644 --- a/chrome/test/accessibility/constants.h +++ b/chrome/test/accessibility/constants.h @@ -24,7 +24,7 @@ #define CHROME_VIEWS_TEXT_FIELD_EDIT _T("ChromeViewsTextFieldEdit") #define CHROME_AUTOCOMPLETE_EDIT _T("Chrome_AutocompleteEdit") #define CHROME_VIEWS_NATIVE_CTRL_CONTNR _T("ChromeViewsNativeControlContainer") -#define CHROME_HWND_VIEW_CONTAINER _T("Chrome_ContainerWin_0") +#define CHROME_HWND_VIEW_CONTAINER _T("Chrome_WidgetWin_0") #define STD_BUTTON _T("Button") #define AUTH_TITLE _T("Authentication Required - Chrome") #define CHROME_TAB_CONTENTS _T("Chrome_TabContents") |