Chromium Code Reviews| Index: ui/views/test/widget_test_mac.mm |
| diff --git a/ui/views/test/widget_test_mac.mm b/ui/views/test/widget_test_mac.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ca9b1904837164903f7eef737dc453e2339b47fd |
| --- /dev/null |
| +++ b/ui/views/test/widget_test_mac.mm |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
|
Andre
2014/06/17 21:17:56
2014
tapted
2014/06/18 08:28:06
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "ui/views/test/widget_test.h" |
| + |
| +#include <Cocoa/Cocoa.h> |
| + |
| +namespace views { |
| +namespace test { |
| + |
| +// static |
| +bool WidgetTest::IsNativeWindowVisible(gfx::NativeWindow window) { |
| + return [window isVisible]; |
| +} |
| + |
| +// static |
| +ui::EventProcessor* WidgetTest::GetEventProcessor(Widget* widget) { |
| + return NULL; |
| +} |
| + |
| +} // namespace test |
| +} // namespace views |