Fixed whitespaces issue

This commit is contained in:
fraenke75
2014-04-14 16:28:44 +02:00
parent 413567a028
commit 51608c1df6
4 changed files with 14 additions and 14 deletions
@@ -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(); }
+10 -10
View File
@@ -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)
{
+1 -1
View File
@@ -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;