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

Unified Diff: components/web_modal/modal_dialog_host.h

Issue 2551773002: MacViews: Exploring removal of window-modal sheets.
Patch Set: Created 4 years 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: components/web_modal/modal_dialog_host.h
diff --git a/components/web_modal/modal_dialog_host.h b/components/web_modal/modal_dialog_host.h
index c7842b3da32f9f9e3995c3f84e73e62471756533..e206fc300d083a9c611982d3b11c68846b21e4cb 100644
--- a/components/web_modal/modal_dialog_host.h
+++ b/components/web_modal/modal_dialog_host.h
@@ -33,6 +33,7 @@ class ModalDialogHost {
virtual gfx::NativeView GetHostView() const = 0;
// Gets the position for the dialog in coordinates relative to the host view.
virtual gfx::Point GetDialogPosition(const gfx::Size& size) = 0;
+ virtual gfx::Point GetHostPosition() const = 0;
// Add/remove observer.
virtual void AddObserver(ModalDialogHostObserver* observer) = 0;

Powered by Google App Engine
This is Rietveld 408576698