Rename NavigationType to TransitionType (keeping inline with Cef API)

This commit is contained in:
amaitland
2014-11-04 12:06:29 +10:00
parent 74bdc0ad20
commit fe6013fb3b
5 changed files with 6 additions and 6 deletions
@@ -97,9 +97,9 @@ namespace CefSharp
_wrappedRequest->SetHeaderMap(hm);
}
CefSharp::NavigationType CefRequestWrapper::NavigationType::get()
CefSharp::TransitionType CefRequestWrapper::NavigationType::get()
{
return (CefSharp::NavigationType) _wrappedRequest->GetTransitionType();
return (CefSharp::TransitionType) _wrappedRequest->GetTransitionType();
}
}
}
+1 -1
View File
@@ -33,7 +33,7 @@ namespace CefSharp
virtual property String^ Method { String^ get(); }
virtual property String^ Body { String^ get(); }
virtual property NameValueCollection^ Headers { NameValueCollection^ get(); void set(NameValueCollection^ url); }
virtual property CefSharp::NavigationType NavigationType { CefSharp::NavigationType get(); }
virtual property CefSharp::TransitionType NavigationType { CefSharp::TransitionType get(); }
};
}
+1 -1
View File
@@ -108,7 +108,7 @@
<Compile Include="Internals\BrowserProcessServiceHost.cs" />
<Compile Include="Internals\WCFExtensions.cs" />
<Compile Include="KeyType.cs" />
<Compile Include="NavigationType.cs" />
<Compile Include="TransitionType.cs" />
<Compile Include="NavStateChangedEventArgs.cs" />
<Compile Include="ICompletionHandler.cs" />
<Compile Include="Internals\BitmapInfo.cs" />
+1 -1
View File
@@ -12,6 +12,6 @@ namespace CefSharp
string Method { get; }
string Body { get; }
NameValueCollection Headers { get; set; }
NavigationType NavigationType { get; }
TransitionType NavigationType { get; }
}
}
@@ -1,6 +1,6 @@
namespace CefSharp
{
public enum NavigationType
public enum TransitionType
{
LinkClicked,
FormSubmitted,