OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <map> | 5 #include <map> |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "gfx/canvas_skia.h" | |
10 #include "gfx/path.h" | |
11 #include "ui/base/clipboard/clipboard.h" | 9 #include "ui/base/clipboard/clipboard.h" |
12 #include "ui/base/keycodes/keyboard_codes.h" | 10 #include "ui/base/keycodes/keyboard_codes.h" |
| 11 #include "ui/gfx/canvas_skia.h" |
| 12 #include "ui/gfx/path.h" |
13 #include "views/background.h" | 13 #include "views/background.h" |
14 #include "views/controls/button/checkbox.h" | 14 #include "views/controls/button/checkbox.h" |
15 #include "views/controls/native/native_view_host.h" | 15 #include "views/controls/native/native_view_host.h" |
16 #include "views/controls/scroll_view.h" | 16 #include "views/controls/scroll_view.h" |
17 #include "views/controls/textfield/textfield.h" | 17 #include "views/controls/textfield/textfield.h" |
18 #include "views/event.h" | 18 #include "views/event.h" |
19 #include "views/focus/accelerator_handler.h" | 19 #include "views/focus/accelerator_handler.h" |
20 #include "views/focus/view_storage.h" | 20 #include "views/focus/view_storage.h" |
21 #include "views/test/views_test_base.h" | 21 #include "views/test/views_test_base.h" |
22 #include "views/view.h" | 22 #include "views/view.h" |
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1512 #endif | 1512 #endif |
1513 } | 1513 } |
1514 | 1514 |
1515 TEST_F(ViewTest, ChangeNativeViewHierarchyChangeHierarchy) { | 1515 TEST_F(ViewTest, ChangeNativeViewHierarchyChangeHierarchy) { |
1516 // TODO(georgey): Fix the test for Linux | 1516 // TODO(georgey): Fix the test for Linux |
1517 #if defined(OS_WIN) | 1517 #if defined(OS_WIN) |
1518 TestChangeNativeViewHierarchy test(this); | 1518 TestChangeNativeViewHierarchy test(this); |
1519 test.CheckChangingHierarhy(); | 1519 test.CheckChangingHierarhy(); |
1520 #endif | 1520 #endif |
1521 } | 1521 } |
OLD | NEW |