| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/file_path.h" | 8 #include "base/file_path.h" |
| 8 #include "base/win_util.h" | 9 #include "base/win_util.h" |
| 9 #include "chrome/app/chrome_dll_resource.h" | 10 #include "chrome/app/chrome_dll_resource.h" |
| 10 #include "chrome/common/l10n_util.h" | |
| 11 #include "chrome/test/accessibility/accessibility_util.h" | 11 #include "chrome/test/accessibility/accessibility_util.h" |
| 12 #include "chrome/test/ui/ui_test.h" | 12 #include "chrome/test/ui/ui_test.h" |
| 13 #include "chrome/test/automation/browser_proxy.h" | 13 #include "chrome/test/automation/browser_proxy.h" |
| 14 #include "chrome/test/automation/window_proxy.h" | 14 #include "chrome/test/automation/window_proxy.h" |
| 15 #include "chrome/test/automation/tab_proxy.h" | 15 #include "chrome/test/automation/tab_proxy.h" |
| 16 #include "grit/chromium_strings.h" | 16 #include "grit/chromium_strings.h" |
| 17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
| 18 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 // State "has popup" only supported in XP and higher. | 416 // State "has popup" only supported in XP and higher. |
| 417 if (win_util::GetWinVersion() > win_util::WINVERSION_2000) { | 417 if (win_util::GetWinVersion() > win_util::WINVERSION_2000) { |
| 418 EXPECT_EQ(STATE_SYSTEM_HASPOPUP | STATE_SYSTEM_FOCUSABLE, | 418 EXPECT_EQ(STATE_SYSTEM_HASPOPUP | STATE_SYSTEM_FOCUSABLE, |
| 419 GetState(acc_obj)); | 419 GetState(acc_obj)); |
| 420 } else { | 420 } else { |
| 421 EXPECT_EQ(STATE_SYSTEM_FOCUSABLE, GetState(acc_obj)); | 421 EXPECT_EQ(STATE_SYSTEM_FOCUSABLE, GetState(acc_obj)); |
| 422 } | 422 } |
| 423 | 423 |
| 424 CHK_RELEASE(acc_obj); | 424 CHK_RELEASE(acc_obj); |
| 425 } | 425 } |
| OLD | NEW |