OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "ui/views/corewm/tooltip_controller.h" | 5 #include "ui/views/corewm/tooltip_controller.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "build/build_config.h" |
8 #include "ui/aura/client/cursor_client.h" | 10 #include "ui/aura/client/cursor_client.h" |
9 #include "ui/aura/client/screen_position_client.h" | 11 #include "ui/aura/client/screen_position_client.h" |
10 #include "ui/aura/env.h" | 12 #include "ui/aura/env.h" |
11 #include "ui/aura/test/aura_test_base.h" | 13 #include "ui/aura/test/aura_test_base.h" |
12 #include "ui/aura/test/test_screen.h" | 14 #include "ui/aura/test/test_screen.h" |
13 #include "ui/aura/test/test_window_delegate.h" | 15 #include "ui/aura/test/test_window_delegate.h" |
14 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
15 #include "ui/aura/window_event_dispatcher.h" | 17 #include "ui/aura/window_event_dispatcher.h" |
16 #include "ui/events/test/event_generator.h" | 18 #include "ui/events/test/event_generator.h" |
17 #include "ui/gfx/font.h" | 19 #include "ui/gfx/font.h" |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 helper_->FireTooltipTimer(); | 798 helper_->FireTooltipTimer(); |
797 tooltip_bounds1 = test_tooltip_->location(); | 799 tooltip_bounds1 = test_tooltip_->location(); |
798 | 800 |
799 EXPECT_NE(tooltip_bounds1_1, tooltip_bounds1); | 801 EXPECT_NE(tooltip_bounds1_1, tooltip_bounds1); |
800 EXPECT_EQ(reference_string, helper_->GetTooltipText()); | 802 EXPECT_EQ(reference_string, helper_->GetTooltipText()); |
801 } | 803 } |
802 | 804 |
803 } // namespace test | 805 } // namespace test |
804 } // namespace corewm | 806 } // namespace corewm |
805 } // namespace views | 807 } // namespace views |
OLD | NEW |