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

Unified Diff: chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm

Issue 13588007: Implement WebContentsModalDialogManagerDelegate for ShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OVERRIDEs Created 7 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: chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
index fcd4a15f3ed795a610d864dabdc2f5ea80ba5af2..21dbb2dcc779fd98077ae656178f95ebeaa4dc72 100644
--- a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
@@ -693,6 +693,21 @@ gfx::Insets NativeAppWindowCocoa::GetFrameInsets() const {
return frame_rect.InsetsFrom(content_rect);
}
+gfx::Point NativeAppWindowCocoa::GetDialogPosition(const gfx::Size& size) {
+ NOTIMPLEMENTED();
+ return gfx::Point();
+}
+
+void NativeAppWindowCocoa::AddObserver(
+ WebContentsModalDialogHostObserver* observer) {
+ NOTIMPLEMENTED();
+}
+
+void NativeAppWindowCocoa::RemoveObserver(
+ WebContentsModalDialogHostObserver* observer) {
+ NOTIMPLEMENTED();
+}
+
void NativeAppWindowCocoa::WindowWillClose() {
[window_controller_ setAppWindow:NULL];
shell_window_->OnNativeWindowChanged();

Powered by Google App Engine
This is Rietveld 408576698