|
Refactor ChooserBubbleController
This is part 1 of enabling the chooser UIs for Bluetooth from
Apps to enable developers to make a transition.
There are many common functionalities in ChooserBubbleController
that chooser UI needs on both desktops and from Apps. But since
now it is at:
//chrome/browser/ui/website_settings/chooser_bubble_controller.h
code from //extensions can not use it. This patch pulled some
functionalities from ChooserBubbleController and moved it to
ChooserController, which is added to
//components/chooser_controller
BUG= 611917, 577170
Committed: https://crrev.com/bf183dd5c853046173f09abdd3313084d36d13a3
Cr-Commit-Position: refs/heads/master@{#396492}
Total comments: 6
Total comments: 6
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+437 lines, -736 lines) |
Patch |
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/DEPS
|
View
|
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_controller.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -61 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -85 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+9 lines, -18 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm
|
View
|
1
2
3
4
5
6
7
8
|
11 chunks |
+39 lines, -35 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.h
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
11 chunks |
+26 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/website_settings/chooser_bubble_controller.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -104 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/website_settings/chooser_bubble_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/website_settings/chooser_bubble_delegate.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/website_settings/chooser_bubble_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
D |
chrome/browser/usb/usb_chooser_bubble_controller.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
|
M |
chrome/browser/usb/usb_chooser_bubble_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -159 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/usb/usb_chooser_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+14 lines, -17 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/usb/usb_chooser_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+37 lines, -33 lines |
0 comments
|
Download
|
|
M |
chrome/browser/usb/web_usb_chooser_service.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
A + |
components/chooser_controller.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
|
A + |
components/chooser_controller/BUILD.gn
|
View
|
1
6
7
8
9
10
11
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
A + |
components/chooser_controller/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
components/chooser_controller/OWNERS
|
View
|
6
7
8
9
10
11
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
A |
components/chooser_controller/README
|
View
|
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A + |
components/chooser_controller/chooser_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+23 lines, -35 lines |
0 comments
|
Download
|
|
A |
components/chooser_controller/chooser_controller.cc
|
View
|
1
2
3
6
7
8
9
10
11
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/components.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 41 (14 generated)
|