| 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 // Disabled right now as this won't work on BuildBots right now as this test | 5 // Disabled right now as this won't work on BuildBots right now as this test |
| 6 // require the box it runs on to be unlocked (and no screen-savers). | 6 // require the box it runs on to be unlocked (and no screen-savers). |
| 7 // The test actually simulates mouse and key events, so if the screen is locked, | 7 // The test actually simulates mouse and key events, so if the screen is locked, |
| 8 // the events don't go to the Chrome window. | 8 // the events don't go to the Chrome window. |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 12 #include "base/gfx/rect.h" | 12 #include "base/gfx/rect.h" |
| 13 #include "skia/include/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
| 14 #include "views/background.h" | 14 #include "views/background.h" |
| 15 #include "views/border.h" | 15 #include "views/border.h" |
| 16 #include "views/controls/button/checkbox.h" | 16 #include "views/controls/button/checkbox.h" |
| 17 #include "views/controls/button/native_button.h" | 17 #include "views/controls/button/native_button.h" |
| 18 #include "views/controls/button/radio_button.h" | 18 #include "views/controls/button/radio_button.h" |
| 19 #include "views/controls/label.h" | 19 #include "views/controls/label.h" |
| 20 #include "views/controls/link.h" | 20 #include "views/controls/link.h" |
| 21 #include "views/controls/scroll_view.h" | 21 #include "views/controls/scroll_view.h" |
| 22 #include "views/controls/tabbed_pane.h" | 22 #include "views/controls/tabbed_pane.h" |
| 23 #include "views/controls/text_field.h" | 23 #include "views/controls/text_field.h" |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 focused_view = focus_manager->GetFocusedView(); | 657 focused_view = focus_manager->GetFocusedView(); |
| 658 EXPECT_TRUE(focused_view != NULL); | 658 EXPECT_TRUE(focused_view != NULL); |
| 659 if (focused_view) | 659 if (focused_view) |
| 660 EXPECT_EQ(kTraversalIDs[j], focused_view->GetID()); | 660 EXPECT_EQ(kTraversalIDs[j], focused_view->GetID()); |
| 661 } | 661 } |
| 662 } | 662 } |
| 663 */ | 663 */ |
| 664 } | 664 } |
| 665 | 665 |
| 666 } | 666 } |
| OLD | NEW |