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

Unified Diff: ui/views/widget/native_widget_mac.h

Issue 1315043003: [MacViews] Position modal sheets using ModalDialogHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bbobserver
Patch Set: Missded a comment nit. Created 5 years, 4 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
« no previous file with comments | « ui/views/cocoa/views_nswindow_delegate.mm ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_mac.h
diff --git a/ui/views/widget/native_widget_mac.h b/ui/views/widget/native_widget_mac.h
index b050a4be2a0b54dc41765ae5cc43ef6f15a50e71..00af8020ada75f781183c728c1fc70be0c9bfdf5 100644
--- a/ui/views/widget/native_widget_mac.h
+++ b/ui/views/widget/native_widget_mac.h
@@ -36,6 +36,10 @@ class VIEWS_EXPORT NativeWidgetMac : public internal::NativeWidgetPrivate {
// override this method for an early hook into the native window teardown.
virtual void OnWindowWillClose();
+ // Returns the vertical position that sheets should be anchored, in pixels
+ // from the bottom of the window.
+ virtual int SheetPositionY();
+
// internal::NativeWidgetPrivate:
void InitNativeWidget(const Widget::InitParams& params) override;
NonClientFrameView* CreateNonClientFrameView() override;
« no previous file with comments | « ui/views/cocoa/views_nswindow_delegate.mm ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698