Permalink
Browse files

Eliminated NotImplementedException on ftpDirectoryTemplatePath. Turne…

…d exceptions on under Debug menu. Updated .gitignore.
  • Loading branch information...
1 parent aba9b93 commit 6a88ff9383157354ce8be2c53981bc35480594f2 @herbmillerjr herbmillerjr committed Jul 18, 2011
Showing with 16 additions and 4 deletions.
  1. +5 −1 .gitignore
  2. BIN JSCore.ncb
  3. +11 −3 WebKitCore/WebUIDelegate.cs
  4. 0 bin/.gitignore
View
@@ -4,4 +4,8 @@ StyleCop.Cache
*.user
*.suo
bin/
-obj/
+obj/
+JSCore/Debug
+TypeNormalizer.exe
+WebKit.Interop.dll
+
View
Binary file not shown.
@@ -37,13 +37,15 @@
namespace WebKit
{
internal delegate void CreateWebViewWithRequestEvent(IWebURLRequest request, out WebView webView);
+ internal delegate string FTPDirectoryTemplatePath(WebView WebView);
internal delegate void RunJavaScriptAlertPanelWithMessageEvent(WebView sender, string message);
internal delegate int RunJavaScriptConfirmPanelWithMessageEvent(WebView sender, string message);
internal delegate string RunJavaScriptTextInputPanelWithPromptEvent(WebView sender, string message, string defaultText);
internal class WebUIDelegate : IWebUIDelegate
{
- public event CreateWebViewWithRequestEvent CreateWebViewWithRequest;
+ public event CreateWebViewWithRequestEvent CreateWebViewWithRequest;
+ public event FTPDirectoryTemplatePath FTPDirectoryTemplatePath;
public event RunJavaScriptAlertPanelWithMessageEvent RunJavaScriptAlertPanelWithMessage;
public event RunJavaScriptConfirmPanelWithMessageEvent RunJavaScriptConfirmPanelWithMessage;
public event RunJavaScriptTextInputPanelWithPromptEvent RunJavaScriptTextInputPanelWithPrompt;
@@ -136,9 +138,15 @@ public void drawHeaderInRect(WebView WebView, ref tagRECT rect, int drawingConte
{
}
+ // TODO: Um, what does this do? I can't figure it out from the source code and can't find it
+ // in the docs.
+ // From: https://trac.webkit.org/timeline?from=2007-07-15&daysback=4
+ // --> Set the path to the FTP listing document template
public string ftpDirectoryTemplatePath(WebView WebView)
- {
- throw new NotImplementedException();
+ {
+ //return FTPDirectoryTemplatePath(WebView);
+ // You'd think the above would work but it's returning NullReferenceException
+ return "";
}
public int hasCustomMenuImplementation()
View
No changes.

0 comments on commit 6a88ff9

Please sign in to comment.