mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
25 lines
599 B
C++
25 lines
599 B
C++
// Copyright © 2013 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
|
|
|
|
#include "JavascriptProxy.h"
|
|
#include "include/cef_browser.h"
|
|
|
|
class JavascriptProxyService
|
|
{
|
|
CefRefPtr<CefBrowser>* _browser;
|
|
int _browserIdentifier;
|
|
|
|
public:
|
|
JavascriptProxyService(int browserIdentifier);
|
|
|
|
void CreateJavascriptProxyServiceHost();
|
|
|
|
private:
|
|
|
|
void JavascriptProxyServiceEntryPoint();
|
|
void AddDebugBehavior(System::ServiceModel::ServiceHost^ host);
|
|
void EvaluateScriptHelper(String^ script);
|
|
}; |