|
Implement WebContentsModalDialogManagerDelegate for ShellWindow
Use the web contents modal dialog positioning abstraction for app shell
windows. Implement support for Views and Gtk, stubs for Cocoa.
This abstraction will support the use of WebContents in code outside of
src/chrome/browser by allowing dialogs modal to web contents to be hosted on any
window containing a WebContents and giving the host control over the
positioning, without the host having to know the type of the dialog and vice
versa. The interface has already been implemented for the browser window; this
implements it for the other window that currently hosts WebContents,
ShellWindow.
BUG= 157161, 225945
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192878
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+132 lines, -9 lines) |
Patch |
 |
M |
chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.h
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/native_app_window.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/shell_window.h
|
View
|
1
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/shell_window.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/extensions/native_app_window_gtk.h
|
View
|
1
2
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
|
View
|
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/constrained_window_views.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/native_app_window_views.h
|
View
|
1
2
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/native_app_window_views.cc
|
View
|
|
2 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc
|
View
|
|
2 chunks |
+24 lines, -7 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|