|
Componentize app_modal_dialog
Notable changes (other than just moving code aruond)
* kJavaScriptMessageExpectedDelay constant has been moved from chrome_constants to javascript_dialog_manager.cc because that's the only place used.
* NOTIFICATION_APP_MODAL_DIALOG_SHOWN notification has been removed and replaced by test only waiter class. (as this notification was used only in tests)
* Moved and creates string resource for app_modal_dialog.
Next step: move dialog implementations to compoents/app_modal_dialogs (javascript_dialog_manager/ javascript_app_modal_dialogs_views/, javascript_app_modal_dialogs_cocoa ....)
BUG= 422092
TBR=sky@chromium.org
Committed: https://crrev.com/82f7248c0e48ee71c4b78f9d305caefc7fa9bab2
Cr-Commit-Position: refs/heads/master@{#301095}
Total comments: 4
Total comments: 2
Total comments: 49
Total comments: 12
Total comments: 4
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+304 lines, -871 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
2 chunks |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_notification_types.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/signin/oauth2_browsertest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/devtools/devtools_sanity_browsertest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/alert_apitest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/lazy_background_page_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/lifetime/browser_close_manager_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
32 chunks |
+58 lines, -88 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/javascript_app_modal_dialog_android.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/javascript_app_modal_dialog_android.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h
|
View
|
|
1 chunk |
+0 lines, -92 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc
|
View
|
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h
|
View
|
|
1 chunk |
+0 lines, -89 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.cc
|
View
|
|
1 chunk |
+0 lines, -76 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h
|
View
|
1
2
|
1 chunk |
+0 lines, -101 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc
|
View
|
|
1 chunk |
+0 lines, -177 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_browsertest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.mm
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_browsertest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/javascript_app_modal_dialog_views.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/javascript_app_modal_dialog_views.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/unload_browsertest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
9
10
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_constants.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_constants.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/ui_test_utils.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+36 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/OWNERS
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/app_modal_dialogs.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/app_modal_dialogs/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/OWNERS
|
View
|
1
2
3
4
5
6
7
8
9
10
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/app_modal_dialog.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/app_modal_dialog.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+22 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/app_modal_dialog_queue.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/app_modal_dialog_queue.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/javascript_app_modal_dialog.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/javascript_app_modal_dialog.cc
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
components/app_modal_dialogs/native_app_modal_dialog.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A |
components/app_modal_dialogs_strings.grdp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/components.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_strings.grd
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 72 (50 generated)
|