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

Issue 841163002: MacViews: Fix duplicate ShowSessionCrashBubble and ShowProfileResetBubble (Closed)

Created:
5 years, 11 months ago by Andre
Modified:
5 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@keybinding
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

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

Messages

Total messages: 9 (2 generated)
Andre
sky@ please review.
5 years, 11 months ago (2015-01-08 22:12:05 UTC) #2
sky
Long term we don't want these functions on BrowserWindow. Is there a better way to ...
5 years, 11 months ago (2015-01-09 00:48:56 UTC) #3
Andre
On 2015/01/09 00:48:56, sky wrote: > Long term we don't want these functions on BrowserWindow. ...
5 years, 11 months ago (2015-01-09 01:31:37 UTC) #4
sky
The reason some of these functions are on BrowserWindow is they need state from the ...
5 years, 11 months ago (2015-01-09 16:41:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841163002/1
5 years, 11 months ago (2015-01-09 16:45:45 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 11 months ago (2015-01-09 16:59:26 UTC) #8
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 17:00:11 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4b96a1f8944ee15e50a7a8bd752cf2169afc9741
Cr-Commit-Position: refs/heads/master@{#310783}

Powered by Google App Engine
This is Rietveld 408576698