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

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 11878013: Make ui_controls only usable from interactive_ui_tests. This has two benefits: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/interactive_test_utils.cc ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.cc
===================================================================
--- chrome/test/base/ui_test_utils.cc (revision 176470)
+++ chrome/test/base/ui_test_utils.cc (working copy)
@@ -73,7 +73,6 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/size.h"
#include "ui/snapshot/snapshot.h"
-#include "ui/ui_controls/ui_controls.h"
#if defined(USE_AURA)
#include "ash/shell.h"
@@ -671,19 +670,6 @@
runner->Run();
}
-namespace internal {
-
-void ClickTask(ui_controls::MouseButton button,
- int state,
- const base::Closure& followup) {
- if (!followup.is_null())
- ui_controls::SendMouseEventsNotifyWhenDone(button, state, followup);
- else
- ui_controls::SendMouseEvents(button, state);
-}
-
-} // namespace internal
-
HistoryEnumerator::HistoryEnumerator(Profile* profile) {
scoped_refptr<content::MessageLoopRunner> message_loop_runner =
new content::MessageLoopRunner;
« no previous file with comments | « chrome/test/base/interactive_test_utils.cc ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698