|
Use BookmarkAppConfirmationView on Mac. Delete the NSAlert Mac uses currently.
This dialog can only be shown on Mac by turning on a flag. The NSAlert
is ugly and buggy, so just delete it.
Remove a bunch of unnecessary plumbing. Renames ShowBookmarkAppBubble to
ShowBookmarkAppDialog (since it's not a bubble).
Adds a test harness for BookmarkAppHelper integration tests and add an
end-to-end test for showing the dialog.
Adds BookmarkAppHelperTest.InvokeDialog_create to browser_tests. The
dialog can be shown interactively with something like
browser_tests --gtest_filter=BrowserDialogTest.Invoke --interactive \
--dialog=BookmarkAppHelperTest.InvokeDialog_create
BUG= 728153
Review-Url: https://codereview.chromium.org/2916753004
Cr-Commit-Position: refs/heads/master@{#477871}
Committed: https://chromium.googlesource.com/chromium/src/+/712c1b8ba3219ffe2408837d7b2f2f1253a55f26
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+223 lines, -214 lines) |
Patch |
|
M |
chrome/app/generated_resources.grd
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/bookmark_app_helper.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/bookmark_app_helper.cc
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
A |
chrome/browser/extensions/bookmark_app_helper_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+152 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/bookmark_app_helper_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_dialogs.h
|
View
|
1
2
3
4
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_window.h
|
View
|
|
2 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/browser_window_cocoa.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
View
|
1
|
4 chunks |
+0 lines, -131 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.cc
|
View
|
1
2
3
4
|
5 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_view.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/test_browser_window.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 37 (27 generated)
|