| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 | 5 |
| 6 #include "base/sys_info.h" | 6 #include "base/sys_info.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "ui/aura/root_window.h" | |
| 9 #include "ui/aura/test/aura_test_base.h" | 8 #include "ui/aura/test/aura_test_base.h" |
| 9 #include "ui/aura/window_event_dispatcher.h" |
| 10 #include "ui/aura/window_tree_host_delegate.h" | 10 #include "ui/aura/window_tree_host_delegate.h" |
| 11 #include "ui/aura/window_tree_host_x11.h" | 11 #include "ui/aura/window_tree_host_x11.h" |
| 12 #include "ui/events/event_processor.h" | 12 #include "ui/events/event_processor.h" |
| 13 #include "ui/events/event_target.h" | 13 #include "ui/events/event_target.h" |
| 14 #include "ui/events/event_target_iterator.h" | 14 #include "ui/events/event_target_iterator.h" |
| 15 #include "ui/events/test/events_test_utils_x11.h" | 15 #include "ui/events/test/events_test_utils_x11.h" |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 class TestWindowTreeHostDelegate : public aura::WindowTreeHostDelegate, | 18 class TestWindowTreeHostDelegate : public aura::WindowTreeHostDelegate, |
| 19 public ui::EventProcessor, | 19 public ui::EventProcessor, |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 // Revert the CrOS testing env otherwise the following non-CrOS aura | 268 // Revert the CrOS testing env otherwise the following non-CrOS aura |
| 269 // tests will fail. | 269 // tests will fail. |
| 270 // Fake a ChromeOS running env. | 270 // Fake a ChromeOS running env. |
| 271 kLsbRelease = ""; | 271 kLsbRelease = ""; |
| 272 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); | 272 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); |
| 273 } | 273 } |
| 274 #endif // defined(OS_CHROMEOS) | 274 #endif // defined(OS_CHROMEOS) |
| 275 | 275 |
| 276 } // namespace aura | 276 } // namespace aura |
| OLD | NEW |