mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
Rename NavigationType to TransitionType (keeping inline with Cef API)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(); }
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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,
|
||||
Reference in New Issue
Block a user