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

Side by Side Diff: ui/views/test/widget_test_mac.mm

Issue 322893005: MacViews: Add WidgetEventGenerator to abstract platform-specific event generation for tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cull orthogonal stuff, add WidgetTest.MouseEventTypesViaGenerator Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
Andre 2014/06/17 21:17:56 2014
tapted 2014/06/18 08:28:06 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/test/widget_test.h"
6
7 #include <Cocoa/Cocoa.h>
8
9 namespace views {
10 namespace test {
11
12 // static
13 bool WidgetTest::IsNativeWindowVisible(gfx::NativeWindow window) {
14 return [window isVisible];
15 }
16
17 // static
18 ui::EventProcessor* WidgetTest::GetEventProcessor(Widget* widget) {
19 return NULL;
20 }
21
22 } // namespace test
23 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698