| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/status/accessibility_menu_button.h" | 5 #include "chrome/browser/chromeos/status/accessibility_menu_button.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/accessibility_util.h" | 7 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
| 8 #include "chrome/browser/chromeos/frame/browser_view.h" | 8 #include "chrome/browser/chromeos/frame/browser_view.h" |
| 9 #include "chrome/browser/chromeos/view_ids.h" | 9 #include "chrome/browser/chromeos/view_ids.h" |
| 10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
| 11 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 12 #include "chrome/browser/ui/browser_window.h" | 12 #include "chrome/browser/ui/browser_window.h" |
| 13 | 13 |
| 14 #if defined(USE_AURA) | 14 #if defined(USE_AURA) |
| 15 #include "chrome/browser/ui/views/aura/chrome_shell_delegate.h" | 15 #include "chrome/browser/ui/views/aura/chrome_shell_delegate.h" |
| 16 #endif | 16 #endif |
| 17 | 17 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 ASSERT_TRUE(button != NULL); | 40 ASSERT_TRUE(button != NULL); |
| 41 | 41 |
| 42 accessibility::EnableAccessibility(true, NULL); | 42 accessibility::EnableAccessibility(true, NULL); |
| 43 EXPECT_TRUE(button->IsVisible()); | 43 EXPECT_TRUE(button->IsVisible()); |
| 44 | 44 |
| 45 accessibility::EnableAccessibility(false, NULL); | 45 accessibility::EnableAccessibility(false, NULL); |
| 46 EXPECT_FALSE(button->IsVisible()); | 46 EXPECT_FALSE(button->IsVisible()); |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace chromeos | 49 } // namespace chromeos |
| OLD | NEW |