|
MacViews: Fix duplicate ShowSessionCrashBubble and ShowProfileResetBubble
ShowSessionCrashBubble and ShowProfileResetBubble are global functions with
2 definitions (Cocoa and Views).
Refactor them into virtual methods in BrowserWindow to avoid duplicate
definitions and to ensure that the right bubbles are invoked for the browser
window.
BUG= 425229
Committed: https://crrev.com/4b96a1f8944ee15e50a7a8bd752cf2169afc9741
Cr-Commit-Position: refs/heads/master@{#310783}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -115 lines) |
Patch |
 |
M |
chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc
|
View
|
|
2 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profile_resetter/profile_reset_global_error.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profile_resetter/profile_reset_global_error.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_window.h
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_cocoa.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/profile_reset_bubble.h
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/profile_reset_bubble_stub.cc
|
View
|
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/startup/session_crashed_bubble.h
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/startup/session_crashed_bubble.cc
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/profiles/profile_reset_bubble_view.cc
|
View
|
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/session_crashed_bubble_view.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/session_crashed_bubble_view.cc
|
View
|
|
4 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
|
5 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_browser_window.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_browser_window.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|