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

Issue 2846603002: Updating Pin Entry View and creating Connection Status View. (Closed)

Created:
3 years, 8 months ago by nicholss
Modified:
3 years, 7 months ago
Reviewers:
Yuwei, Jamie
CC:
chromium-reviews, ios-reviews_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Updating Pin Entry View and creating Connection Status View. This CL connects the PIN entry view to the connection status view. It also adds a layer in the UI for connecting to the host, instead of going strait to the GLK view, we first end up on the new connection status view that will guide and inform the user about the state of their connection, prompting for PIN (or third party auth in time?). After a successful connection has been made the view is replaced with the HostViewController with the desktop rendering, etc. Review-Url: https://codereview.chromium.org/2846603002 Cr-Commit-Position: refs/heads/master@{#468975} Committed: https://chromium.googlesource.com/chromium/src/+/478229abf628ef29be1e14518ac991654e256605

Patch Set 1 #

Patch Set 2 : Adding eventing to control Pin Entry View State. #

Patch Set 3 : Got the flow to work. Now to clean up. #

Patch Set 4 : Rename host connection view to client connection view. #

Patch Set 5 : Renaming Host Session to Client Session. #

Patch Set 6 : Adding hostname to the connection view screen. : #

Patch Set 7 : Code cleanup, adding comments for new methods and classes. #

Total comments: 28

Patch Set 8 : Updates from review. #

Patch Set 9 : Use viewWillLayoutSubviews. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+773 lines, -262 lines) Patch
M remoting/client/ios/app/BUILD.gn View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
A remoting/client/ios/app/client_connection_view_controller.h View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/client/ios/app/client_connection_view_controller.mm View 1 2 3 4 5 6 7 8 1 chunk +319 lines, -0 lines 0 comments Download
M remoting/client/ios/app/host_view_controller.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A remoting/client/ios/app/pin_entry_view.h View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A remoting/client/ios/app/pin_entry_view.mm View 1 2 3 4 5 6 1 chunk +123 lines, -0 lines 0 comments Download
D remoting/client/ios/app/pin_entry_view_controller.h View 1 chunk +0 lines, -21 lines 0 comments Download
D remoting/client/ios/app/pin_entry_view_controller.mm View 1 chunk +0 lines, -184 lines 0 comments Download
M remoting/client/ios/app/remoting_view_controller.mm View 1 2 3 4 5 6 8 chunks +44 lines, -39 lines 0 comments Download
M remoting/client/ios/domain/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A remoting/client/ios/domain/client_session_details.h View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A remoting/client/ios/domain/client_session_details.mm View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M remoting/client/ios/domain/host_info.mm View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/client/ios/session/remoting_client.h View 1 2 3 4 5 6 2 chunks +29 lines, -8 lines 0 comments Download
M remoting/client/ios/session/remoting_client.mm View 1 2 3 4 5 6 4 chunks +112 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (9 generated)
nicholss
PTAL thanks!
3 years, 7 months ago (2017-05-01 16:59:03 UTC) #3
Yuwei
Please wrap the summary to at most 80 characters per line. You may be able ...
3 years, 7 months ago (2017-05-01 23:01:16 UTC) #4
nicholss
Thanks for the comments and questions. I understand Obj-C is a bit strange and feel ...
3 years, 7 months ago (2017-05-02 16:39:40 UTC) #5
nicholss
Added a note about viewWillLayoutSubviews. https://codereview.chromium.org/2846603002/diff/120001/remoting/client/ios/app/client_connection_view_controller.mm File remoting/client/ios/app/client_connection_view_controller.mm (right): https://codereview.chromium.org/2846603002/diff/120001/remoting/client/ios/app/client_connection_view_controller.mm#newcode78 remoting/client/ios/app/client_connection_view_controller.mm:78: _navBar.frame = CGRectMake(0.f, 0.f, ...
3 years, 7 months ago (2017-05-02 17:12:18 UTC) #6
Yuwei
LGTM https://codereview.chromium.org/2846603002/diff/120001/remoting/client/ios/app/client_connection_view_controller.mm File remoting/client/ios/app/client_connection_view_controller.mm (right): https://codereview.chromium.org/2846603002/diff/120001/remoting/client/ios/app/client_connection_view_controller.mm#newcode78 remoting/client/ios/app/client_connection_view_controller.mm:78: _navBar.frame = CGRectMake(0.f, 0.f, self.view.frame.size.width, kBarHeight); On 2017/05/02 ...
3 years, 7 months ago (2017-05-02 18:24:44 UTC) #7
Jamie
Rubber-stamp LGTM since OWNERS is pending for Yuwei anyway.
3 years, 7 months ago (2017-05-02 23:44:09 UTC) #8
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/2846603002/160001
3 years, 7 months ago (2017-05-03 15:08:06 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 15:12:16 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/478229abf628ef29be1e14518ac9...

Powered by Google App Engine
This is Rietveld 408576698