Skip to content

Commit

Permalink
Update BrowserWindowViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzying2001 committed May 16, 2024
1 parent 0caba46 commit 4d415d3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CefFlashBrowser/ViewModels/BrowserWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class BrowserWindowViewModel : ViewModelBase
public DelegateCommand CreateShortcutCommand { get; set; }
public DelegateCommand AddFavoriteCommand { get; set; }
public DelegateCommand ReloadOrStopCommand { get; set; }
public DelegateCommand ShowDevToolsCommand { get; set; }
public DelegateCommand OpenInSwfPlayerCommand { get; set; }

public void ShowMainWindow()
Expand Down Expand Up @@ -104,11 +103,6 @@ public void ReloadOrStop(IWebBrowser browser)
}
}

public void ShowDevTools(IWebBrowser browser)
{
browser.ShowDevTools();
}

public void OpenInSwfPlayer(string url)
{
WindowManager.ShowSwfPlayer(url);
Expand All @@ -122,7 +116,6 @@ public BrowserWindowViewModel()
CreateShortcutCommand = new DelegateCommand<IWebBrowser>(CreateShortcut);
AddFavoriteCommand = new DelegateCommand<IWebBrowser>(AddFavorite);
ReloadOrStopCommand = new DelegateCommand<IWebBrowser>(ReloadOrStop);
ShowDevToolsCommand = new DelegateCommand<IWebBrowser>(ShowDevTools);
OpenInSwfPlayerCommand = new DelegateCommand<string>(OpenInSwfPlayer);
}
}
Expand Down

0 comments on commit 4d415d3

Please sign in to comment.