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

Unified Diff: ui/views/test/views_test_helper.cc

Issue 1782773002: MacViews: Fix ViewTest.HandleAccelerator by faking window activation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delay the activatableness Created 4 years, 9 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/test/views_test_helper.cc
diff --git a/ui/views/test/views_test_helper.cc b/ui/views/test/views_test_helper.cc
index 75588a6cb7f0d338bc55788cc8a4b7d1e71be643..bd2ebfb579e4e76b3e92fa19f330248d8e21215e 100644
--- a/ui/views/test/views_test_helper.cc
+++ b/ui/views/test/views_test_helper.cc
@@ -6,20 +6,18 @@
namespace views {
-ViewsTestHelper::ViewsTestHelper() {
-}
+ViewsTestHelper::ViewsTestHelper() {}
-ViewsTestHelper::~ViewsTestHelper() {
-}
+ViewsTestHelper::~ViewsTestHelper() {}
-void ViewsTestHelper::SetUp() {
-}
+void ViewsTestHelper::SetUp() {}
-void ViewsTestHelper::TearDown() {
-}
+void ViewsTestHelper::TearDown() {}
gfx::NativeWindow ViewsTestHelper::GetContext() {
return NULL;
}
+void ViewsTestHelper::EnableFakeWindowActivation() {}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698