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

Unified 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: Implement NativeWidgetMac::ReorderNativeViews 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/widget_mac_utils.h
diff --git a/ui/views/widget/widget_mac_utils.h b/ui/views/widget/widget_mac_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..9f3f5eced8e1823bce3c990658e8d15372b41657
--- /dev/null
+++ b/ui/views/widget/widget_mac_utils.h
@@ -0,0 +1,22 @@
+// Copyright 2016 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.
+
+#ifndef UI_VIEWS_WIDGET_WIDGET_MAC_UTILS_H_
+#define UI_VIEWS_WIDGET_WIDGET_MAC_UTILS_H_
+
+#import <Cocoa/Cocoa.h>
+
+namespace views {
+
+class NativeViewHost;
+class Widget;
+
+extern int kAssociatedViewHostKey;
+
+void AttachNSViewRelatedToHost(NSView* native_view, NativeViewHost* host);
+void ReorderChildNSViews(Widget* widget);
+
+} // namespace views
+
+#endif // UI_VIEWS_WIDGET_WIDGET_MAC_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698