Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: chrome/test/base/view_event_test_base.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/test/base/view_event_test_base.h" 5 #include "chrome/test/base/view_event_test_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 10 matching lines...) Expand all
21 21
22 #if defined(USE_ASH) 22 #if defined(USE_ASH)
23 #include "ash/shell.h" 23 #include "ash/shell.h"
24 #include "ash/test/test_session_state_delegate.h" 24 #include "ash/test/test_session_state_delegate.h"
25 #include "ash/test/test_shell_delegate.h" 25 #include "ash/test/test_shell_delegate.h"
26 #endif 26 #endif
27 27
28 #if defined(USE_AURA) 28 #if defined(USE_AURA)
29 #include "ui/aura/client/event_client.h" 29 #include "ui/aura/client/event_client.h"
30 #include "ui/aura/env.h" 30 #include "ui/aura/env.h"
31 #include "ui/aura/root_window.h"
32 #include "ui/aura/test/aura_test_helper.h" 31 #include "ui/aura/test/aura_test_helper.h"
32 #include "ui/aura/window_event_dispatcher.h"
33 #include "ui/aura/window_tree_host.h" 33 #include "ui/aura/window_tree_host.h"
34 #include "ui/compositor/test/context_factories_for_test.h" 34 #include "ui/compositor/test/context_factories_for_test.h"
35 #include "ui/views/corewm/wm_state.h" 35 #include "ui/views/corewm/wm_state.h"
36 #endif 36 #endif
37 37
38 #if defined(OS_CHROMEOS) 38 #if defined(OS_CHROMEOS)
39 #include "chromeos/audio/cras_audio_handler.h" 39 #include "chromeos/audio/cras_audio_handler.h"
40 #include "chromeos/dbus/dbus_thread_manager.h" 40 #include "chromeos/dbus/dbus_thread_manager.h"
41 #include "chromeos/network/network_handler.h" 41 #include "chromeos/network/network_handler.h"
42 #endif 42 #endif
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 dnd_thread_.reset(NULL); 244 dnd_thread_.reset(NULL);
245 } 245 }
246 246
247 void ViewEventTestBase::RunTestMethod(const base::Closure& task) { 247 void ViewEventTestBase::RunTestMethod(const base::Closure& task) {
248 StopBackgroundThread(); 248 StopBackgroundThread();
249 249
250 task.Run(); 250 task.Run();
251 if (HasFatalFailure()) 251 if (HasFatalFailure())
252 Done(); 252 Done();
253 } 253 }
OLDNEW
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/renderer_host/compositor_resize_lock_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698