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

Side by Side Diff: remoting/ios/app/app_delegate.mm

Issue 2957943002: [CRD iOS] Add the host setup instruction page (Closed)
Patch Set: Resolve Feedback Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/ios/app/app_delegate.h ('k') | remoting/ios/app/host_collection_view_cell.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if !defined(__has_feature) || !__has_feature(objc_arc) 5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support." 6 #error "This file requires ARC support."
7 #endif 7 #endif
8 8
9 #import "remoting/ios/app/app_delegate.h" 9 #import "remoting/ios/app/app_delegate.h"
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 NSURLRequest* request = 140 NSURLRequest* request =
141 [NSURLRequest requestWithURL:[NSURL URLWithString:url]]; 141 [NSURLRequest requestWithURL:[NSURL URLWithString:url]];
142 WKWebView* webView = 142 WKWebView* webView =
143 [[WKWebView alloc] initWithFrame:viewController.view.frame 143 [[WKWebView alloc] initWithFrame:viewController.view.frame
144 configuration:[[WKWebViewConfiguration alloc] init]]; 144 configuration:[[WKWebViewConfiguration alloc] init]];
145 [viewController.view addSubview:webView]; 145 [viewController.view addSubview:webView];
146 [navigationController pushViewController:viewController animated:YES]; 146 [navigationController pushViewController:viewController animated:YES];
147 [webView loadRequest:request]; 147 [webView loadRequest:request];
148 } 148 }
149 149
150 - (void)emailSetupInstructions {
151 NSLog(@"TODO: emailSetupInstructions");
152 }
153
150 @end 154 @end
OLDNEW
« no previous file with comments | « remoting/ios/app/app_delegate.h ('k') | remoting/ios/app/host_collection_view_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698