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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/test/views_test_helper.h" 5 #include "ui/views/test/views_test_helper.h"
6 6
7 namespace views { 7 namespace views {
8 8
9 ViewsTestHelper::ViewsTestHelper() { 9 ViewsTestHelper::ViewsTestHelper() {}
10 }
11 10
12 ViewsTestHelper::~ViewsTestHelper() { 11 ViewsTestHelper::~ViewsTestHelper() {}
13 }
14 12
15 void ViewsTestHelper::SetUp() { 13 void ViewsTestHelper::SetUp() {}
16 }
17 14
18 void ViewsTestHelper::TearDown() { 15 void ViewsTestHelper::TearDown() {}
19 }
20 16
21 gfx::NativeWindow ViewsTestHelper::GetContext() { 17 gfx::NativeWindow ViewsTestHelper::GetContext() {
22 return NULL; 18 return NULL;
23 } 19 }
24 20
21 void ViewsTestHelper::EnableFakeWindowActivation() {}
22
25 } // namespace views 23 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698