| OLD | NEW |
| 1 // Copyright (c) 2010 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 "app/keyboard_codes.h" | 5 #include "app/keyboard_codes.h" |
| 6 #include "chrome/browser/automation/ui_controls.h" | 6 #include "chrome/browser/automation/ui_controls.h" |
| 7 #include "chrome/browser/views/chrome_views_delegate.h" | 7 #include "chrome/browser/ui/views/chrome_views_delegate.h" |
| 8 #include "chrome/browser/views/frame/browser_view.h" | 8 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 9 #include "chrome/test/in_process_browser_test.h" | 9 #include "chrome/test/in_process_browser_test.h" |
| 10 #include "chrome/test/ui_test_utils.h" | 10 #include "chrome/test/ui_test_utils.h" |
| 11 #include "views/view.h" | 11 #include "views/view.h" |
| 12 #include "views/accessibility/view_accessibility.h" | 12 #include "views/accessibility/view_accessibility.h" |
| 13 #include "views/widget/widget.h" | 13 #include "views/widget/widget.h" |
| 14 #include "views/window/window.h" | 14 #include "views/window/window.h" |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 class BrowserKeyboardAccessibility : public InProcessBrowserTest, | 18 class BrowserKeyboardAccessibility : public InProcessBrowserTest, |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 false, !forward_tab, false, false, new MessageLoop::QuitTask()); | 201 false, !forward_tab, false, false, new MessageLoop::QuitTask()); |
| 202 set_waiting(true); | 202 set_waiting(true); |
| 203 ui_test_utils::RunMessageLoop(); | 203 ui_test_utils::RunMessageLoop(); |
| 204 next_focused_item = current_view(); | 204 next_focused_item = current_view(); |
| 205 } while (first_focused_item != next_focused_item); | 205 } while (first_focused_item != next_focused_item); |
| 206 // TODO(phajdan.jr): remove logging after fixing http://crbug.com/50663. | 206 // TODO(phajdan.jr): remove logging after fixing http://crbug.com/50663. |
| 207 LOG(ERROR) << "After second loop."; | 207 LOG(ERROR) << "After second loop."; |
| 208 } | 208 } |
| 209 | 209 |
| 210 } // namespace | 210 } // namespace |
| OLD | NEW |