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

Issue 1995793002: Refactor ChooserBubbleUiController on Mac (Closed)

Created:
4 years, 7 months ago by juncai
Modified:
4 years, 6 months ago
Reviewers:
Lei Zhang, Robert Sesek
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor_ChooserBubbleController
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ChooserBubbleUiController on Mac This is part 2 of enabling the chooser UIs for Bluetooth from Apps to enable developers to make a transition. Since the chooser content view is the same for WebBluetooth on desktop and Chrome Apps, it is better to pull it out of ChooserBubbleUiController and have a class ChooserContentView that can be reused. BUG=612942, 577170 Committed: https://crrev.com/d025df067297d50a01861bf680bc67e8f4dab15d Cr-Commit-Position: refs/heads/master@{#396494}

Patch Set 1 : refactor ChooserBubbleUiController on Mac #

Patch Set 2 : fixed compile errors #

Patch Set 3 : reverted changes in chrome/app/generated_resources.grd #

Patch Set 4 : updated code to set chooser title at ChooserContentView #

Patch Set 5 : rebase #

Total comments: 4

Patch Set 6 : address rsesek@'s comments #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -252 lines) Patch
A chrome/browser/ui/cocoa/chooser_content_view.h View 1 2 3 4 5 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/chooser_content_view.mm View 1 2 3 4 5 1 chunk +252 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm View 1 2 3 4 5 6 9 chunks +35 lines, -252 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 12 (4 generated)
juncai
thestig@chromium.org: Please review changes in //chrome/chrome_browser_ui.gypi rsesek@chromium.org: Please review changes in //chrome/browser/ui/cocoa
4 years, 7 months ago (2016-05-20 21:45:49 UTC) #2
Robert Sesek
https://codereview.chromium.org/1995793002/diff/80001/chrome/browser/ui/cocoa/chooser_content_view.h File chrome/browser/ui/cocoa/chooser_content_view.h (right): https://codereview.chromium.org/1995793002/diff/80001/chrome/browser/ui/cocoa/chooser_content_view.h#newcode27 chrome/browser/ui/cocoa/chooser_content_view.h:27: - (id)initWithChooserTitle:(NSString*)chooserTitle; id -> instancetype https://codereview.chromium.org/1995793002/diff/80001/chrome/browser/ui/cocoa/chooser_content_view.h#newcode51 chrome/browser/ui/cocoa/chooser_content_view.h:51: - (NSTableView*)getTableView; ...
4 years, 7 months ago (2016-05-23 16:46:34 UTC) #3
juncai
https://codereview.chromium.org/1995793002/diff/80001/chrome/browser/ui/cocoa/chooser_content_view.h File chrome/browser/ui/cocoa/chooser_content_view.h (right): https://codereview.chromium.org/1995793002/diff/80001/chrome/browser/ui/cocoa/chooser_content_view.h#newcode27 chrome/browser/ui/cocoa/chooser_content_view.h:27: - (id)initWithChooserTitle:(NSString*)chooserTitle; On 2016/05/23 16:46:34, Robert Sesek wrote: > ...
4 years, 7 months ago (2016-05-23 17:48:01 UTC) #4
Robert Sesek
lgtm
4 years, 7 months ago (2016-05-23 18:51:02 UTC) #5
Lei Zhang
rslgtm
4 years, 7 months ago (2016-05-23 18:54:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995793002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995793002/160001
4 years, 6 months ago (2016-05-27 17:02:12 UTC) #9
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 6 months ago (2016-05-27 17:06:30 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 17:07:43 UTC) #12
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d025df067297d50a01861bf680bc67e8f4dab15d
Cr-Commit-Position: refs/heads/master@{#396494}

Powered by Google App Engine
This is Rietveld 408576698