| OLD | NEW |
| 1 // Copyright (c) 2011 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 <map> | 5 #include <map> |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "ui/views/controls/button/button_dropdown.h" | 24 #include "ui/views/controls/button/button_dropdown.h" |
| 25 #include "ui/views/controls/button/checkbox.h" | 25 #include "ui/views/controls/button/checkbox.h" |
| 26 #include "ui/views/controls/native/native_view_host.h" | 26 #include "ui/views/controls/native/native_view_host.h" |
| 27 #include "ui/views/controls/scroll_view.h" | 27 #include "ui/views/controls/scroll_view.h" |
| 28 #include "ui/views/controls/textfield/textfield.h" | 28 #include "ui/views/controls/textfield/textfield.h" |
| 29 #include "ui/views/events/event.h" | 29 #include "ui/views/events/event.h" |
| 30 #include "ui/views/focus/accelerator_handler.h" | 30 #include "ui/views/focus/accelerator_handler.h" |
| 31 #include "ui/views/focus/view_storage.h" | 31 #include "ui/views/focus/view_storage.h" |
| 32 #include "ui/views/test/views_test_base.h" | 32 #include "ui/views/test/views_test_base.h" |
| 33 #include "ui/views/touchui/gesture_manager.h" | 33 #include "ui/views/touchui/gesture_manager.h" |
| 34 #include "ui/views/view.h" |
| 34 #include "ui/views/widget/native_widget.h" | 35 #include "ui/views/widget/native_widget.h" |
| 35 #include "ui/views/widget/root_view.h" | 36 #include "ui/views/widget/root_view.h" |
| 36 #include "ui/views/window/dialog_delegate.h" | 37 #include "ui/views/window/dialog_delegate.h" |
| 37 #include "views/background.h" | 38 #include "views/background.h" |
| 38 #include "views/view.h" | |
| 39 #include "views/views_delegate.h" | 39 #include "views/views_delegate.h" |
| 40 | 40 |
| 41 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
| 42 #include "ui/views/test/test_views_delegate.h" | 42 #include "ui/views/test/test_views_delegate.h" |
| 43 #endif | 43 #endif |
| 44 #if defined(USE_AURA) | 44 #if defined(USE_AURA) |
| 45 #include "ui/aura/desktop.h" | 45 #include "ui/aura/desktop.h" |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 using ::testing::_; | 48 using ::testing::_; |
| (...skipping 3010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3059 ScrambleTree(content); | 3059 ScrambleTree(content); |
| 3060 EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); | 3060 EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); |
| 3061 | 3061 |
| 3062 ScrambleTree(content); | 3062 ScrambleTree(content); |
| 3063 EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); | 3063 EXPECT_TRUE(ViewAndLayerTreeAreConsistent(content, content->layer())); |
| 3064 } | 3064 } |
| 3065 | 3065 |
| 3066 #endif // VIEWS_COMPOSITOR | 3066 #endif // VIEWS_COMPOSITOR |
| 3067 | 3067 |
| 3068 } // namespace views | 3068 } // namespace views |
| OLD | NEW |