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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc

Issue 2964453002: Use style::CONTEXT_TEXTFIELD for Combobox and Textfield (Closed)
Patch Set: Rebase on top of https://codereview.chromium.org/2957263002 Created 3 years, 6 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 | « no previous file | chrome/browser/ui/views/payments/validating_textfield_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc
index 785c667b10456e9493219cdebeef1af7e5304e4f..c687b445e414f99dc4bbbf0d1b663d0e1b775bc3 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc
@@ -28,6 +28,7 @@
#include "ui/gfx/geometry/vector2d.h"
#include "ui/gfx/render_text.h"
#include "ui/views/controls/textfield/textfield_test_api.h"
+#include "ui/views/test/views_test_base.h"
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/input_method/input_method_configuration.h"
@@ -173,7 +174,7 @@ class TestingOmniboxEditController : public ChromeOmniboxEditController {
// OmniboxViewViewsTest -------------------------------------------------------
-class OmniboxViewViewsTest : public testing::Test {
+class OmniboxViewViewsTest : public views::ViewsTestBase {
public:
OmniboxViewViewsTest();
@@ -228,6 +229,7 @@ void OmniboxViewViewsTest::SetAndEmphasizeText(const std::string& new_text,
}
void OmniboxViewViewsTest::SetUp() {
+ ViewsTestBase::SetUp();
#if defined(OS_CHROMEOS)
chromeos::input_method::InitializeForTesting(
new chromeos::input_method::MockInputMethodManagerImpl);
@@ -248,6 +250,7 @@ void OmniboxViewViewsTest::TearDown() {
#if defined(OS_CHROMEOS)
chromeos::input_method::Shutdown();
#endif
+ ViewsTestBase::TearDown();
}
// Actual tests ---------------------------------------------------------------
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/validating_textfield_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698