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

Unified Diff: ui/touch_selection/run_all_unittests.cc

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed overrides in TouchHandleDrawableAura Created 5 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
Index: ui/touch_selection/run_all_unittests.cc
diff --git a/ui/keyboard/test/run_all_unittests.cc b/ui/touch_selection/run_all_unittests.cc
similarity index 72%
copy from ui/keyboard/test/run_all_unittests.cc
copy to ui/touch_selection/run_all_unittests.cc
index c81e199c1a15f50dcb5d0b3ee57ccb04a7ba5043..971bf894a851f19450fb8386a9e468ba114f65ab 100644
--- a/ui/keyboard/test/run_all_unittests.cc
+++ b/ui/touch_selection/run_all_unittests.cc
@@ -2,9 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/basictypes.h"
#include "base/bind.h"
-#include "base/compiler_specific.h"
#include "base/path_service.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
@@ -15,9 +13,11 @@
namespace {
-class KeyboardTestSuite : public base::TestSuite {
+class UITouchSelectionTestSuite : public base::TestSuite {
public:
- KeyboardTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+ UITouchSelectionTestSuite(int argc, char** argv)
+ : base::TestSuite(argc, argv) {}
+ ~UITouchSelectionTestSuite() override {}
protected:
void Initialize() override {
@@ -36,16 +36,17 @@ class KeyboardTestSuite : public base::TestSuite {
}
private:
- DISALLOW_COPY_AND_ASSIGN(KeyboardTestSuite);
+ DISALLOW_COPY_AND_ASSIGN(UITouchSelectionTestSuite);
};
} // namespace
int main(int argc, char** argv) {
- KeyboardTestSuite test_suite(argc, argv);
+ UITouchSelectionTestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
argc,
argv,
- base::Bind(&KeyboardTestSuite::Run, base::Unretained(&test_suite)));
+ base::Bind(&UITouchSelectionTestSuite::Run,
+ base::Unretained(&test_suite)));
}

Powered by Google App Engine
This is Rietveld 408576698