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

Issue 2567983007: bluetooth: Add adapter page to internals page. (Closed)

Created:
4 years ago by mbrunson
Modified:
3 years, 11 months ago
Reviewers:
scheib, dcheng, dpapad
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add adapter page to internals page. Adds BluetoothAdapter::Observer callbacks to Adapter implementation for tracking changes in Adapter state including: AdapterDiscoverableChanged AdapterPoweredChanged AdapterPresentChanged Adds adapter page to display details about the current state of the adapter. Adds ObjectFieldSet interface component for displaying properties of a JavaScript object. Screenshot: https://goo.gl/photos/dCbsULiydMbiAtiJ9 BUG=651282 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Patch Set 1 #

Patch Set 2 : Add adapter changed callbacks #

Patch Set 3 : Add/update tests #

Patch Set 4 : Add/update tests #

Patch Set 5 : Add object table, fix up tests #

Patch Set 6 : Remove unused function #

Patch Set 7 : Update tests #

Patch Set 8 : Merge upstream, change style, update copyright #

Patch Set 9 : Remove duplicate variables in bluetooth_internals #

Patch Set 10 : Update comments #

Patch Set 11 : Merge upstream, add AdapterProperty enum values #

Patch Set 12 : Merge upstream #

Total comments: 6

Patch Set 13 : Fix flex, fix comments #

Patch Set 14 : Fix comment, remove css rule #

Total comments: 2

Patch Set 15 : Update object fieldset comment #

Total comments: 6

Patch Set 16 : Fix comments, change object fieldset #

Total comments: 4

Patch Set 17 : Merge upstream #

Unified diffs Side-by-side diffs Delta from patch set Stats (+373 lines, -8 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/adapter_broker.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +46 lines, -1 line 0 comments Download
A chrome/browser/resources/bluetooth_internals/adapter_page.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +65 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +35 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.html View 1 2 3 4 5 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.js View 1 2 3 4 5 6 7 8 9 10 6 chunks +18 lines, -3 lines 0 comments Download
A chrome/browser/resources/bluetooth_internals/object_fieldset.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/data/webui/bluetooth_internals_browsertest.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +56 lines, -2 lines 0 comments Download
M device/bluetooth/adapter.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M device/bluetooth/adapter.cc View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download
M device/bluetooth/discovery_session.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/public/interfaces/adapter.mojom View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
A ui/webui/resources/images/cancel_red.svg View 1 1 chunk +4 lines, -0 lines 0 comments Download
A ui/webui/resources/images/check_circle_green.svg View 1 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 83 (58 generated)
mbrunson
3 years, 11 months ago (2017-01-06 20:32:37 UTC) #37
scheib
LGTM... some notes for things to clean up before webui folks: https://codereview.chromium.org/2567983007/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css File chrome/browser/resources/bluetooth_internals/bluetooth_internals.css (right): ...
3 years, 11 months ago (2017-01-07 00:31:40 UTC) #38
mbrunson
Updated screenshot (added mobile as well). https://codereview.chromium.org/2567983007/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css File chrome/browser/resources/bluetooth_internals/bluetooth_internals.css (right): https://codereview.chromium.org/2567983007/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css#newcode320 chrome/browser/resources/bluetooth_internals/bluetooth_internals.css:320: display: flex; On ...
3 years, 11 months ago (2017-01-07 01:05:23 UTC) #41
mbrunson
OWNERS review, please: dcheng: device/bluetooth/public/interfaces/adapter.mojom dpapad: chrome/browser/browser_resources.grd chrome/browser/resources/bluetooth_internals/adapter_broker.js chrome/browser/resources/bluetooth_internals/adapter_page.js chrome/browser/resources/bluetooth_internals/bluetooth_internals.css chrome/browser/resources/bluetooth_internals/bluetooth_internals.html chrome/browser/resources/bluetooth_internals/bluetooth_internals.js chrome/browser/resources/bluetooth_internals/object_fieldset.js chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc ui/webui/resources/images/cancel_red.svg ...
3 years, 11 months ago (2017-01-07 01:34:05 UTC) #43
scheib
https://codereview.chromium.org/2567983007/diff/260001/chrome/browser/resources/bluetooth_internals/object_fieldset.js File chrome/browser/resources/bluetooth_internals/object_fieldset.js (right): https://codereview.chromium.org/2567983007/diff/260001/chrome/browser/resources/bluetooth_internals/object_fieldset.js#newcode6 chrome/browser/resources/bluetooth_internals/object_fieldset.js:6: * Javascript for ObjectFieldSet, served from Describe at a ...
3 years, 11 months ago (2017-01-07 01:46:20 UTC) #44
mbrunson
https://codereview.chromium.org/2567983007/diff/260001/chrome/browser/resources/bluetooth_internals/object_fieldset.js File chrome/browser/resources/bluetooth_internals/object_fieldset.js (right): https://codereview.chromium.org/2567983007/diff/260001/chrome/browser/resources/bluetooth_internals/object_fieldset.js#newcode6 chrome/browser/resources/bluetooth_internals/object_fieldset.js:6: * Javascript for ObjectFieldSet, served from On 2017/01/07 01:46:20, ...
3 years, 11 months ago (2017-01-07 02:34:28 UTC) #45
dcheng
mojo lgtm
3 years, 11 months ago (2017-01-09 19:31:11 UTC) #46
dpapad
https://codereview.chromium.org/2567983007/diff/280001/chrome/browser/resources/bluetooth_internals/adapter_page.js File chrome/browser/resources/bluetooth_internals/adapter_page.js (right): https://codereview.chromium.org/2567983007/diff/280001/chrome/browser/resources/bluetooth_internals/adapter_page.js#newcode23 chrome/browser/resources/bluetooth_internals/adapter_page.js:23: * Page that contains an ObjectFieldSet that display the ...
3 years, 11 months ago (2017-01-10 17:21:33 UTC) #47
mbrunson
https://codereview.chromium.org/2567983007/diff/280001/chrome/browser/resources/bluetooth_internals/adapter_page.js File chrome/browser/resources/bluetooth_internals/adapter_page.js (right): https://codereview.chromium.org/2567983007/diff/280001/chrome/browser/resources/bluetooth_internals/adapter_page.js#newcode23 chrome/browser/resources/bluetooth_internals/adapter_page.js:23: * Page that contains an ObjectFieldSet that display the ...
3 years, 11 months ago (2017-01-10 20:01:21 UTC) #48
dpapad
LGTM with nit. https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js File chrome/browser/resources/bluetooth_internals/object_fieldset.js (right): https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js#newcode37 chrome/browser/resources/bluetooth_internals/object_fieldset.js:37: /** @private {?Object<string, string>} */ Any ...
3 years, 11 months ago (2017-01-10 21:28:50 UTC) #49
mbrunson
https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js File chrome/browser/resources/bluetooth_internals/object_fieldset.js (right): https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js#newcode37 chrome/browser/resources/bluetooth_internals/object_fieldset.js:37: /** @private {?Object<string, string>} */ On 2017/01/10 21:28:50, dpapad ...
3 years, 11 months ago (2017-01-10 22:14:10 UTC) #50
dpapad
https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js File chrome/browser/resources/bluetooth_internals/object_fieldset.js (right): https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js#newcode66 chrome/browser/resources/bluetooth_internals/object_fieldset.js:66: var name = this.nameMap_[propName] || propName; Regarding Map vs ...
3 years, 11 months ago (2017-01-10 22:51:44 UTC) #51
mbrunson
https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js File chrome/browser/resources/bluetooth_internals/object_fieldset.js (right): https://codereview.chromium.org/2567983007/diff/300001/chrome/browser/resources/bluetooth_internals/object_fieldset.js#newcode66 chrome/browser/resources/bluetooth_internals/object_fieldset.js:66: var name = this.nameMap_[propName] || propName; On 2017/01/10 22:51:43, ...
3 years, 11 months ago (2017-01-11 01:07:48 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567983007/300001
3 years, 11 months ago (2017-01-11 01:54:15 UTC) #59
commit-bot: I haz the power
Failed to apply patch for chrome/test/data/webui/bluetooth_internals_browsertest.js: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-11 01:59:38 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567983007/320001
3 years, 11 months ago (2017-01-11 20:11:14 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/192496)
3 years, 11 months ago (2017-01-11 20:31:13 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567983007/320001
3 years, 11 months ago (2017-01-11 22:18:29 UTC) #68
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-12 00:07:59 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567983007/320001
3 years, 11 months ago (2017-01-12 00:44:17 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/340213)
3 years, 11 months ago (2017-01-12 00:57:03 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567983007/320001
3 years, 11 months ago (2017-01-12 01:41:30 UTC) #77
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/340264)
3 years, 11 months ago (2017-01-12 01:50:13 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567983007/320001
3 years, 11 months ago (2017-01-12 20:57:53 UTC) #81
mbrunson
3 years, 11 months ago (2017-01-12 21:00:54 UTC) #83
Message was sent while issue was closed.
On 2017/01/12 20:57:53, commit-bot: I haz the power wrote:
> CQ is trying da patch. Follow status at
>  
>
https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...

Patch Set 17 landed:

https://chromium.googlesource.com/chromium/src/+/e8e6d1fccf2d905f5313dde6f8a0...

Powered by Google App Engine
This is Rietveld 408576698