diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 21:41:50 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 21:41:50 +0000 |
commit | e703dfe0959014e0f5e2b3831723208614528164 (patch) | |
tree | 97537b1e1e178b674a79d46b7835ebaa80bed56e /ash/accelerators | |
parent | 19b455af83ffc6f76142d86905da4f0ffeb3b544 (diff) | |
download | chromium_src-e703dfe0959014e0f5e2b3831723208614528164.zip chromium_src-e703dfe0959014e0f5e2b3831723208614528164.tar.gz chromium_src-e703dfe0959014e0f5e2b3831723208614528164.tar.bz2 |
events: Move test related functions into a separate target.
Move events test-related code into a separate target so that these don't get
used in non-test code. Notable changes:
* Move nested TestApi classes out of Event, LocatedEvent and EventTarget,
and into separate classes. The new classes become friends with their old
parents.
* Move events_x_utils out of x/ into test/
R=sky@chromium.org, tfarina@chromium.org
TBR=jam@ for content_tests.gypi and render_view_browsertest.cc changes.
BUG=none
Review URL: https://codereview.chromium.org/82903005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accelerators')
-rw-r--r-- | ash/accelerators/accelerator_controller_unittest.cc | 2 | ||||
-rw-r--r-- | ash/accelerators/nested_dispatcher_controller_unittest.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc index 278630c..37ab713 100644 --- a/ash/accelerators/accelerator_controller_unittest.cc +++ b/ash/accelerators/accelerator_controller_unittest.cc @@ -31,7 +31,7 @@ #if defined(USE_X11) #include <X11/Xlib.h> -#include "ui/events/x/events_x_utils.h" +#include "ui/events/test/events_test_utils_x11.h" #endif namespace ash { diff --git a/ash/accelerators/nested_dispatcher_controller_unittest.cc b/ash/accelerators/nested_dispatcher_controller_unittest.cc index fa9fbe0..56440ee 100644 --- a/ash/accelerators/nested_dispatcher_controller_unittest.cc +++ b/ash/accelerators/nested_dispatcher_controller_unittest.cc @@ -20,7 +20,7 @@ #if defined(USE_X11) #include <X11/Xlib.h> -#include "ui/events/x/events_x_utils.h" +#include "ui/events/test/events_test_utils_x11.h" #endif // USE_X11 namespace ash { |