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

Issue 1931563002: Add Bluetooth device type icons on the device list in system tray. (Closed)

Created:
4 years, 7 months ago by fukino
Modified:
4 years, 1 month ago
Reviewers:
CC:
chromium-reviews, kalyank, sadrul, tdanderson
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Bluetooth device type icons on the device list in system tray. This CL does: - Adds device type icons on BT device list in system tray. - Shows checkmark on each device type icon when the device is connected. The design spec is attached in the bug. BUG=595942

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Rebase / Removes ash::BluetoothDeviceInfo::DeviceType and uses existing device::BluetoothDevice::De… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -4 lines) Patch
M ash/resources/ash_resources.grd View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/bluetooth.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/computer.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/connected.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/gamepad.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/headset.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/keyboard.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/mouse.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/smartphone.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/bluetooth/videocam.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/bluetooth.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/computer.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/connected.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/gamepad.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/headset.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/keyboard.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/mouse.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/smartphone.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/bluetooth/videocam.png View Binary file 0 comments Download
M ash/system/chromeos/bluetooth/tray_bluetooth.cc View 1 2 5 chunks +114 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_delegate.cc View 1 2 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
fukino
jennyz@, could you take a look at PTAL at ash/system/*? oshima@, could you take a ...
4 years, 7 months ago (2016-04-27 19:21:54 UTC) #3
oshima
q for varkha@. are we going to switch to vector graphics on ash as well? ...
4 years, 7 months ago (2016-04-27 20:31:28 UTC) #5
varkha
On 2016/04/27 20:31:28, oshima wrote: > q for varkha@. are we going to switch to ...
4 years, 7 months ago (2016-04-27 21:17:57 UTC) #6
oshima
On 2016/04/27 21:17:57, varkha wrote: > On 2016/04/27 20:31:28, oshima wrote: > > q for ...
4 years, 7 months ago (2016-04-27 23:26:18 UTC) #8
jennyz
https://codereview.chromium.org/1931563002/diff/20001/ash/system/bluetooth/tray_bluetooth.cc File ash/system/bluetooth/tray_bluetooth.cc (right): https://codereview.chromium.org/1931563002/diff/20001/ash/system/bluetooth/tray_bluetooth.cc#newcode157 ash/system/bluetooth/tray_bluetooth.cc:157: ; nit: Remove empty ";" line. https://codereview.chromium.org/1931563002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ...
4 years, 7 months ago (2016-04-27 23:27:38 UTC) #9
varkha
On 2016/04/27 23:26:18, oshima wrote: > On 2016/04/27 21:17:57, varkha wrote: > > On 2016/04/27 ...
4 years, 7 months ago (2016-04-27 23:28:45 UTC) #10
fukino
Thanks! https://codereview.chromium.org/1931563002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc (right): https://codereview.chromium.org/1931563002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc#newcode219 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc:219: return ash::BluetoothDeviceInfo::DEVICE_UNKNOWN; On 2016/04/27 20:31:27, oshima wrote: > ...
4 years, 7 months ago (2016-04-28 00:02:27 UTC) #11
oshima
On 2016/04/28 00:02:27, fukino wrote: > Thanks! > > https://codereview.chromium.org/1931563002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc > File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc (right): > ...
4 years, 7 months ago (2016-04-28 00:17:16 UTC) #12
fukino
On 2016/04/28 00:17:16, oshima wrote: > On 2016/04/28 00:02:27, fukino wrote: > > Thanks! > ...
4 years, 7 months ago (2016-04-28 02:49:39 UTC) #13
tdanderson
On 2016/04/28 02:49:39, fukino (OOO til May 8) wrote: > On 2016/04/28 00:17:16, oshima wrote: ...
4 years, 7 months ago (2016-04-29 17:03:54 UTC) #14
oshima
On 2016/04/29 17:03:54, tdanderson wrote: > On 2016/04/28 02:49:39, fukino (OOO til May 8) wrote: ...
4 years, 7 months ago (2016-04-29 17:11:15 UTC) #15
tdanderson
On 2016/04/29 17:11:15, oshima wrote: > On 2016/04/29 17:03:54, tdanderson wrote: > > On 2016/04/28 ...
4 years, 7 months ago (2016-04-29 17:19:43 UTC) #16
Evan Stade
On 2016/04/29 17:19:43, tdanderson wrote: > On 2016/04/29 17:11:15, oshima wrote: > > On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 19:56:56 UTC) #17
oshima
On 2016/04/29 19:56:56, Evan Stade wrote: > On 2016/04/29 17:19:43, tdanderson wrote: > > On ...
4 years, 7 months ago (2016-04-29 20:38:06 UTC) #18
fukino
On 2016/04/28 00:17:16, oshima wrote: > On 2016/04/28 00:02:27, fukino wrote: > > Thanks! > ...
4 years, 7 months ago (2016-05-26 23:40:39 UTC) #19
oshima
On 2016/05/26 23:40:39, fukino wrote: > On 2016/04/28 00:17:16, oshima wrote: > > On 2016/04/28 ...
4 years, 7 months ago (2016-05-26 23:50:47 UTC) #20
fukino
On 2016/05/26 23:50:47, oshima wrote: > On 2016/05/26 23:40:39, fukino wrote: > > On 2016/04/28 ...
4 years, 7 months ago (2016-05-27 01:08:54 UTC) #21
tdanderson
On 2016/05/27 01:08:54, fukino wrote: > On 2016/05/26 23:50:47, oshima wrote: > > On 2016/05/26 ...
4 years, 6 months ago (2016-06-09 18:54:18 UTC) #22
fukino
Pending for now as the feature is punted.
4 years, 6 months ago (2016-06-22 19:48:16 UTC) #24
tdanderson
4 years, 5 months ago (2016-07-08 16:15:26 UTC) #25
As an update to the long-term plan of organizing vector icons into
subdirectories, I have a CL in progress here:
https://codereview.chromium.org/2129683002/

On Fri, Apr 29, 2016 at 1:19 PM <tdanderson@chromium.org> wrote:

> On 2016/04/29 17:11:15, oshima wrote:
> > On 2016/04/29 17:03:54, tdanderson wrote:
> > > On 2016/04/28 02:49:39, fukino (OOO til May 8) wrote:
> > > > On 2016/04/28 00:17:16, oshima wrote:
> > > > > On 2016/04/28 00:02:27, fukino wrote:
> > > > > > Thanks!
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
>
https://codereview.chromium.org/1931563002/diff/20001/chrome/browser/ui/ash/s...
> > > > > > File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
> (right):
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
>
https://codereview.chromium.org/1931563002/diff/20001/chrome/browser/ui/ash/s...
> > > > > > chrome/browser/ui/ash/system_tray_delegate_chromeos.cc:219:
> return
> > > > > > ash::BluetoothDeviceInfo::DEVICE_UNKNOWN;
> > > > > > On 2016/04/27 20:31:27, oshima wrote:
> > > > > > > ash can depends on /chromeos
> > > > > > >
> > > > > > > What's the reason to define the same enum on ash and chromeos?
> > > > > >
> > > > > > In the Patch Set 1 of this CL, I directly referred
> > > > > > device::BluetootyDevice::DeviceType in
> > > > ash/system/tray/system_tray_delegate.h.
> > > > > > But I got following error in analyze step of try bots.
> > > > > > =================================
> > > > > > ERROR at //ash/system/tray/system_tray_delegate.h:19:11: Include
> not
> > > > allowed.
> > > > > > #include "device/bluetooth/bluetooth_device.h"
> > > > > > ^----------------------------------
> > > > > > It is not in any dependency of
> > > > > > //ash:ash
> > > > > > The include file is in the target(s):
> > > > > > //device/bluetooth:bluetooth
> > > > > > which should somehow be reachable.
> > > > > > =================================
> > > > > >
> > > > > > And I misinterpreted it. I thought ash couldn't depend on
> > > > > > device/bluetooth/bluetooth_device.h...
> > > > > > Now I think I should have modified GN file. I'll try to fix it.
> > > > >
> > > > > ah, that's because chromeos specific system tray should be in
> > > > > ash/system/chromeos.
> > > >
> > > > OK.
> > > > I'll move ash/system/bluetooth to ash/system/chromeos/bluetooth in a
> > separate
> > > > CL, and rebase this CL after that.
> > >
> > > estade@ has created a write-up on how to vectorize icons:
> > >
> >
>
>
http://www.chromium.org/developers/how-tos/vectorized-icons-in-native-chrome-ui
> > >
> > > I haven't yet vectorized any for other parts of the ChromeOS UI, but
> > > I was planning on putting them within a new subdirectory of
> > > ui/gfx/vector_icons
> >
> > What's the long term plan to manage these icons? Putting all icons in one
> place
> > sounds bad (even if you have subdir like ui/gfx/vector_icons/ash)
>
> +Evan, I see you added a TODO to better organize the icons. Did you have
> a plan in mind?
>
> I agree that dumping all of the ash stuff into a single subdirectory would
> get
> messy. My plan was to by default mimic the existing directory structure of
> ash/resources/default_{100,200}_percent/, and possibly doing a bit of
> reorganizations in cases where it clearly made sense to do so.
>
> ui/gfx/vector_icons/
>
> https://codereview.chromium.org/1931563002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698