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 "app/clipboard/clipboard.h" | 7 #include "app/clipboard/clipboard.h" |
8 #include "app/gfx/canvas.h" | |
9 #include "base/keyboard_codes.h" | 8 #include "base/keyboard_codes.h" |
10 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
11 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "gfx/canvas.h" |
12 #include "gfx/path.h" | 12 #include "gfx/path.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "views/background.h" | 14 #include "views/background.h" |
15 #include "views/controls/button/checkbox.h" | 15 #include "views/controls/button/checkbox.h" |
16 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
17 #include "views/controls/button/native_button_win.h" | 17 #include "views/controls/button/native_button_win.h" |
18 #endif | 18 #endif |
19 #include "views/controls/native/native_view_host.h" | 19 #include "views/controls/native/native_view_host.h" |
20 #include "views/controls/scroll_view.h" | 20 #include "views/controls/scroll_view.h" |
21 #include "views/controls/textfield/textfield.h" | 21 #include "views/controls/textfield/textfield.h" |
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 } | 1339 } |
1340 | 1340 |
1341 TEST_F(ViewTest, ChangeNativeViewHierarchyChangeHierarchy) { | 1341 TEST_F(ViewTest, ChangeNativeViewHierarchyChangeHierarchy) { |
1342 // TODO(georgey): Fix the test for Linux | 1342 // TODO(georgey): Fix the test for Linux |
1343 #if defined(OS_WIN) | 1343 #if defined(OS_WIN) |
1344 TestChangeNativeViewHierarchy test(this); | 1344 TestChangeNativeViewHierarchy test(this); |
1345 test.CheckChangingHierarhy(); | 1345 test.CheckChangingHierarhy(); |
1346 #endif | 1346 #endif |
1347 } | 1347 } |
1348 | 1348 |
OLD | NEW |