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

Issue 9753019: ash: Add a bluetooth entry in the uber tray. (Closed)

Created:
8 years, 9 months ago by sadrul
Modified:
8 years, 9 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

ash: Add a bluetooth entry in the uber tray. BUG=110130 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128002

Patch Set 1 : . #

Total comments: 5

Patch Set 2 : . #

Total comments: 9

Patch Set 3 : comment #

Total comments: 13

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+759 lines, -133 lines) Patch
M ash/ash.gyp View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ash/ash_strings.grd View 1 1 chunk +24 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 11 chunks +33 lines, -2 lines 0 comments Download
A ash/system/bluetooth/bluetooth_observer.h View 1 chunk +20 lines, -0 lines 0 comments Download
A ash/system/bluetooth/tray_bluetooth.h View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A ash/system/bluetooth/tray_bluetooth.cc View 1 2 3 4 5 1 chunk +206 lines, -0 lines 0 comments Download
M ash/system/ime/tray_ime.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/network/tray_network.cc View 1 2 3 4 5 chunks +6 lines, -114 lines 0 comments Download
M ash/system/tray/system_tray.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 2 3 4 5 chunks +31 lines, -2 lines 0 comments Download
M ash/system/tray/tray_constants.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/tray/tray_constants.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M ash/system/tray/tray_image_item.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/tray_image_item.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A ash/system/tray/tray_item_more.h View 1 1 chunk +44 lines, -0 lines 0 comments Download
A ash/system/tray/tray_item_more.cc View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A ash/system/tray/tray_views.h View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
A ash/system/tray/tray_views.cc View 1 2 3 4 1 chunk +89 lines, -0 lines 0 comments Download
M ash/system/tray_accessibility.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray_accessibility.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray_caps_lock.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray_caps_lock.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 5 16 chunks +97 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/common/url_constants.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sadrul
This simply prints out the list of devices on the console. But I wanted to ...
8 years, 9 months ago (2012-03-20 21:40:24 UTC) #1
keybuk
http://codereview.chromium.org/9753019/diff/2001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): http://codereview.chromium.org/9753019/diff/2001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode240 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:240: BluetoothAdapter::DeviceList devices = bluetooth_adapter_->GetDevices(); It's expensive only in that ...
8 years, 9 months ago (2012-03-20 21:59:58 UTC) #2
sadrul
Thanks for the quick review! I will update CL to actually do something useful, and ...
8 years, 9 months ago (2012-03-20 22:02:37 UTC) #3
sadrul
Hi Ben (ash/, browser/ui/, ui): This CL became larger than I had expected. It includes ...
8 years, 9 months ago (2012-03-21 05:41:30 UTC) #4
keybuk
http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode137 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:137: virtual ~SystemTrayDelegate() { Since you have a BluetoothAdapter instance ...
8 years, 9 months ago (2012-03-21 14:50:32 UTC) #5
sadrul
http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode137 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:137: virtual ~SystemTrayDelegate() { On 2012/03/21 14:50:32, keybuk wrote: > ...
8 years, 9 months ago (2012-03-21 14:55:40 UTC) #6
keybuk
http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode71 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:71: void BluetoothPowerFailure() { you should probably present an error ...
8 years, 9 months ago (2012-03-21 14:58:57 UTC) #7
Ben Goodger (Google)
http://codereview.chromium.org/9753019/diff/9001/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/9753019/diff/9001/ash/shell.cc#newcode323 ash/shell.cc:323: virtual BluetoothDeviceList GetAvailableBluetoothDevices() OVERRIDE { what is this? http://codereview.chromium.org/9753019/diff/9001/ash/system/bluetooth/tray_bluetooth.cc ...
8 years, 9 months ago (2012-03-21 15:52:13 UTC) #8
sadrul
http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File chrome/browser/chromeos/system/ash_system_tray_delegate.cc (right): http://codereview.chromium.org/9753019/diff/6001/chrome/browser/chromeos/system/ash_system_tray_delegate.cc#newcode71 chrome/browser/chromeos/system/ash_system_tray_delegate.cc:71: void BluetoothPowerFailure() { On 2012/03/21 14:58:57, keybuk wrote: > ...
8 years, 9 months ago (2012-03-21 15:52:34 UTC) #9
sadrul
Addressed all the comments. PTAL. http://codereview.chromium.org/9753019/diff/9001/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/9753019/diff/9001/ash/shell.cc#newcode323 ash/shell.cc:323: virtual BluetoothDeviceList GetAvailableBluetoothDevices() OVERRIDE ...
8 years, 9 months ago (2012-03-21 16:16:41 UTC) #10
Ben Goodger (Google)
ash/general views stuff LGTM
8 years, 9 months ago (2012-03-21 16:31:20 UTC) #11
sadrul
@keybuk: I also fixed the 'Add device' callback to explicitly start device-discovery. PTAL.
8 years, 9 months ago (2012-03-21 17:11:25 UTC) #12
keybuk
8 years, 9 months ago (2012-03-21 17:16:17 UTC) #13
lgtm

Powered by Google App Engine
This is Rietveld 408576698