Chromium Code Reviews| Index: ui/gfx/view_util_mac.mm |
| diff --git a/ui/gfx/view_util_mac.mm b/ui/gfx/view_util_mac.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c2059775abfdd657b1cc1c7d87e2adcd53ea85fc |
| --- /dev/null |
| +++ b/ui/gfx/view_util_mac.mm |
| @@ -0,0 +1,13 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "ui/gfx//platform_util.h" |
|
tapted
2017/02/15 00:36:10
there's lots wrong here - please run trybots
Jinsuk Kim
2017/02/16 10:11:25
Testing now...
|
| + |
| +namespace gfx { |
| + |
| +gfx::NativeWindow GetTopLevel(gfx::NativeView view) { |
| + return [view window]; |
| +} |
| + |
| +} // namespace gfx |