Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a2520003c57217227ca739b650b36eebdbb08e0c
      
https://github.com/WebKit/WebKit/commit/a2520003c57217227ca739b650b36eebdbb08e0c
  Author: Ryan Reno <rr...@apple.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M Tools/MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj
    M 
Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard
    M 
Tools/MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard
    A 
Tools/MobileMiniBrowser/MobileMiniBrowserFramework/SettingsViewController.h
    A 
Tools/MobileMiniBrowser/MobileMiniBrowserFramework/SettingsViewController.m
    M Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h
    M Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m

  Log Message:
  -----------
  Add setting to set default URL for MobileMiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=247046
rdar://101575186

Reviewed by Simon Fraser.

MiniBrowser on Mac has a setting which allows one to set the default URL to open
when launching the app. This adds the feature to MobileMiniBrowser by adding a
settings modal with a button to set the default URL to the current URL in the 
WebView.

* Tools/MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
* Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
* Tools/MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard:
* Tools/MobileMiniBrowser/MobileMiniBrowserFramework/SettingsViewController.h: 
Copied from 
Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h.
* Tools/MobileMiniBrowser/MobileMiniBrowserFramework/SettingsViewController.m: 
Copied from 
Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h.
(-[SettingsViewController defaultURL]):
(-[SettingsViewController setDefaultURLToCurrentURL:]):
* Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h:
* Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m:
(-[WebViewController viewDidLoad]):
(-[WebViewController showSettings:]):
(-[WebViewController currentURL]):

Canonical link: https://commits.webkit.org/256016@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to