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

Side by Side Diff: ui/gfx/view_util.h

Issue 2688413007: Add display::GetDisplayNearestView (Closed)
Patch Set: add missing files Created 3 years, 10 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_GFX_VIEW_UTIL_H_
tapted 2017/02/15 00:36:10 view_util isn't a good name -- neither for the com
Jinsuk Kim 2017/02/16 10:11:25 Point taken. Tentatively chose the first one. Will
6 #define UI_GFX_VIEW_UTIL_H_
7
8 #include "ui/gfx/gfx_export.h"
9 #include "ui/gfx/native_widget_types.h"
10
11 namespace gfx {
12
13 // Get the top level window for the native view. This can return NULL.
14 GFX_EXPORT gfx::NativeWindow GetTopLevel(gfx::NativeView view);
tapted 2017/02/15 00:36:10 gfx:: prefixes are not needed -- more elsewhere
Jinsuk Kim 2017/02/16 10:11:25 Done.
15
16 } // namespace gfx
17
18 #endif // UI_GFX_VIEW_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698