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

Issue 980943005: Add ash UI for third-party VPNs (Closed)

Created:
5 years, 9 months ago by bartfab (slow)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, asvitkine+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@f_2_407541_434711_remove_combined_name
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ash UI for third-party VPNs This CL replaces the list of VPN networks in the ash tray bubble with a new implementation that shows VPN providers and networks in a hierarchical layout, allowing the user to see at a glance which provider a network belongs to. The only exception is the currently connected or connecting network, which is detached from its provider and moved to the top. If there is a connected network, a disconnect button is shown next to its name. Disconnected networks are arranged in shill's priority order within each provider and the providers are arranged in the order of their highest priority network. Clicking on a disconnected network triggers a connection attempt. Clicking on the currently connected or connecting network shows its configuration dialog. Clicking on a provider shows the provider's "add network" dialog. BUG=460428 TEST=Manual Committed: https://crrev.com/1c7a3f84d059301936aee2678061632e99209e27 Cr-Commit-Position: refs/heads/master@{#321108}

Patch Set 1 #

Total comments: 30

Patch Set 2 : Addressed comments. #

Patch Set 3 : Move knowledge of the built-in OpenVPN provider from ash UI into the VPNDelegate. #

Patch Set 4 : Updated to match newest mocks. #

Patch Set 5 : Added a VPNProvider::Key abstraction. #

Total comments: 2

Patch Set 6 : Updated after latest round of UI reviews. #

Patch Set 7 : Addressed comment. #

Patch Set 8 : Updated after latest round of UI reviews. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+689 lines, -77 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ash/ash_chromeos_strings.grdp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/metrics/user_metrics_recorder.h View 1 chunk +3 lines, -1 line 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.h View 1 4 chunks +6 lines, -3 lines 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.cc View 1 2 3 4 5 9 chunks +22 lines, -24 lines 0 comments Download
M ash/system/chromeos/network/tray_network.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/chromeos/network/tray_vpn.cc View 1 3 chunks +16 lines, -5 lines 0 comments Download
A ash/system/chromeos/network/vpn_list_view.h View 1 2 3 4 5 1 chunk +95 lines, -0 lines 0 comments Download
A ash/system/chromeos/network/vpn_list_view.cc View 1 2 3 4 5 6 7 1 chunk +419 lines, -0 lines 0 comments Download
M ash/system/tray/hover_highlight_view.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M ash/system/tray/hover_highlight_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 2 chunks +24 lines, -0 lines 0 comments Download
M ui/chromeos/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/chromeos/network/network_list.h View 3 chunks +9 lines, -12 lines 0 comments Download
M ui/chromeos/network/network_list.cc View 1 2 3 4 5 9 chunks +16 lines, -21 lines 0 comments Download
M ui/chromeos/network/network_list_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
A ui/chromeos/network/network_list_view_base.h View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A + ui/chromeos/network/network_list_view_base.cc View 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M ui/chromeos/ui_chromeos.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/chromeos/ui_chromeos_strings.grd View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
bartfab (slow)
Hi Mitsuru, Could you please review: ash/ash.gyp ash/ash_chromeos_strings.grdp ash/metrics/* ash/resources/* ui/chromeos/* Hi Steven, Could you ...
5 years, 9 months ago (2015-03-09 21:00:35 UTC) #2
oshima
https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/network_state_list_detailed_view.h File ash/system/chromeos/network/network_state_list_detailed_view.h (right): https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/network_state_list_detailed_view.h#newcode17 ash/system/chromeos/network/network_state_list_detailed_view.h:17: #include "ui/chromeos/network/network_list_view_base.h" forward decl should be enough. https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/vpn_list_view.cc File ...
5 years, 9 months ago (2015-03-10 22:42:06 UTC) #3
stevenjb
https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/tray_vpn.cc File ash/system/chromeos/network/tray_vpn.cc (right): https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/tray_vpn.cc#newcode60 ash/system/chromeos/network/tray_vpn.cc:60: return handler->FirstNetworkByType(NetworkTypePattern::VPN()); nit: I'm not a huge fan of ...
5 years, 9 months ago (2015-03-10 23:41:12 UTC) #4
oshima
https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/tray_vpn.cc File ash/system/chromeos/network/tray_vpn.cc (right): https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/tray_vpn.cc#newcode60 ash/system/chromeos/network/tray_vpn.cc:60: return handler->FirstNetworkByType(NetworkTypePattern::VPN()); On 2015/03/10 23:41:11, stevenjb wrote: > nit: ...
5 years, 9 months ago (2015-03-10 23:48:17 UTC) #5
bartfab (slow)
https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/network_state_list_detailed_view.h File ash/system/chromeos/network/network_state_list_detailed_view.h (right): https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/network_state_list_detailed_view.h#newcode17 ash/system/chromeos/network/network_state_list_detailed_view.h:17: #include "ui/chromeos/network/network_list_view_base.h" On 2015/03/10 22:42:06, oshima wrote: > forward ...
5 years, 9 months ago (2015-03-11 11:14:09 UTC) #6
bartfab (slow)
I made two changes to this CL: * I moved the logic that adds the ...
5 years, 9 months ago (2015-03-11 14:10:35 UTC) #7
Alexei Svitkine (slow)
metrics lgtm
5 years, 9 months ago (2015-03-11 19:05:58 UTC) #8
stevenjb
I'm not thrilled about the new design (I think that hiding the list of available ...
5 years, 9 months ago (2015-03-12 18:29:24 UTC) #9
bartfab (slow)
On 2015/03/12 18:29:24, stevenjb wrote: > I'm not thrilled about the new design (I think ...
5 years, 9 months ago (2015-03-12 18:31:50 UTC) #10
oshima
lgtm https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/vpn_list_view.cc File ash/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/980943005/diff/1/ash/system/chromeos/network/vpn_list_view.cc#newcode62 ash/system/chromeos/network/vpn_list_view.cc:62: explicit VPNListEntryBase(VPNListView* parent); On 2015/03/11 11:14:09, bartfab wrote: ...
5 years, 9 months ago (2015-03-13 17:30:55 UTC) #11
bartfab (slow)
https://codereview.chromium.org/980943005/diff/80001/ash/system/chromeos/network/vpn_list_view.cc File ash/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/980943005/diff/80001/ash/system/chromeos/network/vpn_list_view.cc#newcode155 ash/system/chromeos/network/vpn_list_view.cc:155: return; On 2015/03/12 18:29:24, stevenjb wrote: > This generally ...
5 years, 9 months ago (2015-03-17 10:48:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/980943005/140001
5 years, 9 months ago (2015-03-18 10:38:40 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 9 months ago (2015-03-18 11:28:29 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 11:28:58 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1c7a3f84d059301936aee2678061632e99209e27
Cr-Commit-Position: refs/heads/master@{#321108}

Powered by Google App Engine
This is Rietveld 408576698