mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Fixed whitespaces issue
This commit is contained in:
@@ -9,7 +9,7 @@ namespace CefSharp
|
||||
{
|
||||
namespace Internals
|
||||
{
|
||||
String^ CefWebPluginInfoWrapper::Description::get()
|
||||
String^ CefWebPluginInfoWrapper::Description::get()
|
||||
{
|
||||
return StringUtils::ToClr(_wrappedInfo->GetDescription());
|
||||
}
|
||||
@@ -28,5 +28,5 @@ namespace CefSharp
|
||||
{
|
||||
return StringUtils::ToClr(_wrappedInfo->GetVersion());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CefSharp
|
||||
MCefRefPtr<CefWebPluginInfo> _wrappedInfo;
|
||||
|
||||
internal:
|
||||
CefWebPluginInfoWrapper(CefRefPtr<CefWebPluginInfo> cefInfo) : _wrappedInfo(cefInfo) {}
|
||||
CefWebPluginInfoWrapper(CefRefPtr<CefWebPluginInfo> cefInfo) : _wrappedInfo(cefInfo) {}
|
||||
|
||||
public:
|
||||
virtual property String^ Description { String^ get(); }
|
||||
|
||||
@@ -187,13 +187,13 @@ namespace CefSharp
|
||||
}
|
||||
*/
|
||||
|
||||
// CEF3 API: public virtual bool OnBeforePluginLoad( CefRefPtr< CefBrowser > browser, const CefString& url, const CefString& policy_url, CefRefPtr< CefWebPluginInfo > info );
|
||||
// ---
|
||||
// return value:
|
||||
// false: Load Plugin (do not block it)
|
||||
// true: Ignore Plugin (Block it)
|
||||
bool ClientAdapter::OnBeforePluginLoad( CefRefPtr< CefBrowser > browser, const CefString& url, const CefString& policy_url, CefRefPtr< CefWebPluginInfo > info )
|
||||
{
|
||||
// CEF3 API: public virtual bool OnBeforePluginLoad( CefRefPtr< CefBrowser > browser, const CefString& url, const CefString& policy_url, CefRefPtr< CefWebPluginInfo > info );
|
||||
// ---
|
||||
// return value:
|
||||
// false: Load Plugin (do not block it)
|
||||
// true: Ignore Plugin (Block it)
|
||||
bool ClientAdapter::OnBeforePluginLoad( CefRefPtr< CefBrowser > browser, const CefString& url, const CefString& policy_url, CefRefPtr< CefWebPluginInfo > info )
|
||||
{
|
||||
IRequestHandler^ handler = _browserControl->RequestHandler;
|
||||
|
||||
if (handler == nullptr)
|
||||
@@ -201,10 +201,10 @@ namespace CefSharp
|
||||
return false;
|
||||
}
|
||||
|
||||
CefWebPluginInfoWrapper^ wrapper = gcnew CefWebPluginInfoWrapper(info);
|
||||
CefWebPluginInfoWrapper^ wrapper = gcnew CefWebPluginInfoWrapper(info);
|
||||
|
||||
return handler->OnBeforePluginLoad(_browserControl, StringUtils::ToClr(url), StringUtils::ToClr(policy_url), wrapper);
|
||||
}
|
||||
return handler->OnBeforePluginLoad(_browserControl, StringUtils::ToClr(url), StringUtils::ToClr(policy_url), wrapper);
|
||||
}
|
||||
|
||||
bool ClientAdapter::OnBeforeResourceLoad(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, CefRefPtr<CefRequest> request)
|
||||
{
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace CefSharp
|
||||
virtual DECL bool OnBeforeResourceLoad(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, CefRefPtr<CefRequest> request) OVERRIDE;
|
||||
virtual DECL bool GetAuthCredentials(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, bool isProxy,
|
||||
const CefString& host, int port, const CefString& realm, const CefString& scheme, CefRefPtr<CefAuthCallback> callback) OVERRIDE;
|
||||
virtual bool OnBeforePluginLoad( CefRefPtr< CefBrowser > browser, const CefString& url, const CefString& policy_url, CefRefPtr< CefWebPluginInfo > info );
|
||||
virtual bool OnBeforePluginLoad( CefRefPtr< CefBrowser > browser, const CefString& url, const CefString& policy_url, CefRefPtr< CefWebPluginInfo > info );
|
||||
|
||||
// CefDisplayHandler
|
||||
virtual DECL void OnLoadingStateChange(CefRefPtr<CefBrowser> browser, bool isLoading, bool canGoBack, bool canGoForward) OVERRIDE;
|
||||
|
||||
Reference in New Issue
Block a user