web_view_controller.h 610 B

123456789101112131415161718
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef REMOTING_IOS_APP_WEB_VIEW_CONTROLLER_H_
  5. #define REMOTING_IOS_APP_WEB_VIEW_CONTROLLER_H_
  6. #import <UIKit/UIKit.h>
  7. // A simple VC for showing a web view for the given url. It will show a close
  8. // navigation button when it is the first VC in the navigation stack.
  9. @interface WebViewController : UIViewController
  10. - (instancetype)initWithUrl:(NSString*)url title:(NSString*)title;
  11. @end
  12. #endif // REMOTING_IOS_APP_WEB_VIEW_CONTROLLER_H_