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

Issue 1130603005: [PermissionBubble] Remove bubble from previous manager. (Closed)

Created:
5 years, 7 months ago by groby-ooo-7-16
Modified:
5 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[PermissionBubble] Remove bubble from previous manager. Properly transfer ownership between PermissionBubbleManagers as tabs are switched. BUG=340720 R=rohitrao@chromium.org Committed: https://crrev.com/a0a825ff6e71576850e25a2a7e8db4fb32d671a6 Cr-Commit-Position: refs/heads/master@{#330208}

Patch Set 1 #

Patch Set 2 : Ooops. Forgot a file. #

Patch Set 3 : Managers can be NULL at shutdown - account for that. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -11 lines) Patch
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 chunks +20 lines, -11 lines 2 comments Download

Messages

Total messages: 11 (1 generated)
groby-ooo-7-16
5 years, 7 months ago (2015-05-15 04:54:33 UTC) #1
rohitrao (ping after 24h)
https://codereview.chromium.org/1130603005/diff/40001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1130603005/diff/40001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1269 chrome/browser/ui/cocoa/browser_window_controller.mm:1269: - (void)onActiveTabChanged:(content::WebContents*)oldContents How is this different from onActivateTabWithContents? Should ...
5 years, 7 months ago (2015-05-15 18:38:02 UTC) #2
groby-ooo-7-16
https://codereview.chromium.org/1130603005/diff/40001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1130603005/diff/40001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1269 chrome/browser/ui/cocoa/browser_window_controller.mm:1269: - (void)onActiveTabChanged:(content::WebContents*)oldContents On 2015/05/15 18:38:02, rohitrao wrote: > How ...
5 years, 7 months ago (2015-05-15 19:06:58 UTC) #3
rohitrao (ping after 24h)
Good to hear that there's a grand plan afoot =) I think both onActiveTabChanged and ...
5 years, 7 months ago (2015-05-15 19:24:04 UTC) #4
rohitrao (ping after 24h)
Oh, I see, the existing method doesn't give access to |newContents|, which is what you ...
5 years, 7 months ago (2015-05-15 19:30:12 UTC) #5
groby-ooo-7-16
As far as I can tell, that's the correct flow. But: onActivateTabWithContents only gets (deliberately) ...
5 years, 7 months ago (2015-05-15 19:34:12 UTC) #6
groby-ooo-7-16
On 2015/05/15 19:30:12, rohitrao wrote: > Oh, I see, the existing method doesn't give access ...
5 years, 7 months ago (2015-05-15 21:46:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130603005/40001
5 years, 7 months ago (2015-05-15 21:50:11 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-15 21:57:59 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:28:03 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a0a825ff6e71576850e25a2a7e8db4fb32d671a6
Cr-Commit-Position: refs/heads/master@{#330208}

Powered by Google App Engine
This is Rietveld 408576698