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

Unified Diff: ui/views/controls/webview/run_all_unittests.cc

Issue 173803002: Redesigns the text input focus handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added an unittest and thread checker. Created 6 years, 8 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/views/controls/webview/run_all_unittests.cc
diff --git a/ui/wm/test/run_all_unittests.cc b/ui/views/controls/webview/run_all_unittests.cc
similarity index 76%
copy from ui/wm/test/run_all_unittests.cc
copy to ui/views/controls/webview/run_all_unittests.cc
index d399ca13ff8d35e186b4a0129091ee35e5ac2f81..81294da5b294b8b31df4b5b1a19727dfa0dab869 100644
--- a/ui/wm/test/run_all_unittests.cc
+++ b/ui/views/controls/webview/run_all_unittests.cc
@@ -2,7 +2,6 @@
// 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"
@@ -12,9 +11,9 @@
#include "ui/base/ui_base_paths.h"
#include "ui/gl/gl_surface.h"
-class WMTestSuite : public base::TestSuite {
+class WebViewTestSuite : public base::TestSuite {
public:
- WMTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+ WebViewTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
protected:
virtual void Initialize() OVERRIDE {
@@ -37,12 +36,13 @@ class WMTestSuite : public base::TestSuite {
}
private:
- DISALLOW_COPY_AND_ASSIGN(WMTestSuite);
+ DISALLOW_COPY_AND_ASSIGN(WebViewTestSuite);
};
int main(int argc, char** argv) {
- WMTestSuite test_suite(argc, argv);
+ WebViewTestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
- argc, argv, base::Bind(&WMTestSuite::Run, base::Unretained(&test_suite)));
+ argc, argv, base::Bind(&WebViewTestSuite::Run,
+ base::Unretained(&test_suite)));
}

Powered by Google App Engine
This is Rietveld 408576698