Skip to content

Commit

Permalink
It's time for copyright updates again. Yay!
Browse files Browse the repository at this point in the history
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
  • Loading branch information
rassilon committed Apr 25, 2015
1 parent 7e3141a commit 7128e40
Show file tree
Hide file tree
Showing 189 changed files with 417 additions and 417 deletions.
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/CefAppWrapper.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand Down
34 changes: 17 additions & 17 deletions CefSharp.BrowserSubprocess.Core/CefAppWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand All @@ -15,20 +15,20 @@ using namespace System::Collections::Generic;

namespace CefSharp
{
public ref class CefAppWrapper abstract : public DisposableResource
{
private:
MCefRefPtr<CefAppUnmanagedWrapper> _cefApp;
public:
CefAppWrapper();
~CefAppWrapper();

int Run();

property TaskFactory^ RenderThreadTaskFactory;

virtual void OnBrowserCreated(CefBrowserWrapper^ cefBrowserWrapper) abstract;
virtual void OnBrowserDestroyed(CefBrowserWrapper^ cefBrowserWrapper) abstract;
};
public ref class CefAppWrapper abstract : public DisposableResource
{
private:
MCefRefPtr<CefAppUnmanagedWrapper> _cefApp;
public:
CefAppWrapper();
~CefAppWrapper();

int Run();

property TaskFactory^ RenderThreadTaskFactory;

virtual void OnBrowserCreated(CefBrowserWrapper^ cefBrowserWrapper) abstract;
virtual void OnBrowserDestroyed(CefBrowserWrapper^ cefBrowserWrapper) abstract;
};
}
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/JavascriptMethodHandler.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/JavascriptMethodWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand Down
84 changes: 42 additions & 42 deletions CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand All @@ -12,45 +12,45 @@ using namespace CefSharp::Internals;

namespace CefSharp
{
void JavascriptObjectWrapper::Bind()
{
//Create property handler for get and set of Properties of this object
_jsPropertyHandler = new JavascriptPropertyHandler(
gcnew Func<String^, BrowserProcessResponse^>(this, &JavascriptObjectWrapper::GetProperty),
gcnew Func<String^, Object^, BrowserProcessResponse^>(this, &JavascriptObjectWrapper::SetProperty)
);

//V8Value that represents this javascript object - only one per complex type
auto javascriptObject = V8Value->CreateObject(_jsPropertyHandler.get());
auto objectName = StringUtils::ToNative(_object->JavascriptName);
V8Value->SetValue(objectName, javascriptObject, V8_PROPERTY_ATTRIBUTE_NONE);

for each (JavascriptMethod^ method in Enumerable::OfType<JavascriptMethod^>(_object->Methods))
{
auto wrappedMethod = gcnew JavascriptMethodWrapper(method, _object->Id, _browserProcess, CallbackRegistry);
wrappedMethod->V8Value = javascriptObject;
wrappedMethod->Bind();

_wrappedMethods->Add(wrappedMethod);
}

for each (JavascriptProperty^ prop in Enumerable::OfType<JavascriptProperty^>(_object->Properties))
{
auto wrappedproperty = gcnew JavascriptPropertyWrapper(prop, _object->Id, _browserProcess);
wrappedproperty->V8Value = javascriptObject;
wrappedproperty->Bind();

_wrappedProperties->Add(wrappedproperty);
}
}

BrowserProcessResponse^ JavascriptObjectWrapper::GetProperty(String^ memberName)
{
return _browserProcess->GetProperty(_object->Id, memberName);
};

BrowserProcessResponse^ JavascriptObjectWrapper::SetProperty(String^ memberName, Object^ value)
{
return _browserProcess->SetProperty(_object->Id, memberName, value);
};
void JavascriptObjectWrapper::Bind()
{
//Create property handler for get and set of Properties of this object
_jsPropertyHandler = new JavascriptPropertyHandler(
gcnew Func<String^, BrowserProcessResponse^>(this, &JavascriptObjectWrapper::GetProperty),
gcnew Func<String^, Object^, BrowserProcessResponse^>(this, &JavascriptObjectWrapper::SetProperty)
);

//V8Value that represents this javascript object - only one per complex type
auto javascriptObject = V8Value->CreateObject(_jsPropertyHandler.get());
auto objectName = StringUtils::ToNative(_object->JavascriptName);
V8Value->SetValue(objectName, javascriptObject, V8_PROPERTY_ATTRIBUTE_NONE);

for each (JavascriptMethod^ method in Enumerable::OfType<JavascriptMethod^>(_object->Methods))
{
auto wrappedMethod = gcnew JavascriptMethodWrapper(method, _object->Id, _browserProcess, CallbackRegistry);
wrappedMethod->V8Value = javascriptObject;
wrappedMethod->Bind();

_wrappedMethods->Add(wrappedMethod);
}

for each (JavascriptProperty^ prop in Enumerable::OfType<JavascriptProperty^>(_object->Properties))
{
auto wrappedproperty = gcnew JavascriptPropertyWrapper(prop, _object->Id, _browserProcess);
wrappedproperty->V8Value = javascriptObject;
wrappedproperty->Bind();

_wrappedProperties->Add(wrappedproperty);
}
}

BrowserProcessResponse^ JavascriptObjectWrapper::GetProperty(String^ memberName)
{
return _browserProcess->GetProperty(_object->Id, memberName);
};

BrowserProcessResponse^ JavascriptObjectWrapper::SetProperty(String^ memberName, Object^ value)
{
return _browserProcess->SetProperty(_object->Id, memberName, value);
};
}
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/Stdafx.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/TypeUtils.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess.Core/TypeUtils.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.BrowserSubprocess/Program.cs
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/AssemblyInfo.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/BrowserSettings.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Cef.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/CefSettings.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefContextMenuParamsWrapper.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefContextMenuParamsWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefDragDataWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefRequestWrapper.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefRequestWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefSharpApp.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefTaskScheduler.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CefTaskWrapper.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/ClientAdapter.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/ClientAdapter.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CompletionHandler.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CompletionHandler.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CookieVisitor.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/CookieVisitor.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/DownloadAdapter.cpp
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion CefSharp.Core/Internals/DownloadAdapter.h
@@ -1,4 +1,4 @@
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down

0 comments on commit 7128e40

Please sign in to comment.