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

Side by Side Diff: ui/views/widget/widget_mac_utils.h

Issue 1796773003: Implement NativeWidgetMac::ReorderNativeViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using NativeViewHost*->NSView* map. 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
(Empty)
1 // Copyright 2016 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_VIEWS_WIDGET_WIDGET_MAC_UTILS_H_
6 #define UI_VIEWS_WIDGET_WIDGET_MAC_UTILS_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include <map>
11
12 namespace views {
13
14 class Widget;
15 class View;
16
17 using AssociatedViews = std::map<const views::View*, NSView*>;
18
19 void ReorderChildNSViews(Widget* widget,
20 const AssociatedViews& associated_views);
21
22 } // namespace views
23
24 #endif // UI_VIEWS_WIDGET_WIDGET_MAC_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698