Files
cefsharp/CefSharp/IJsDialogHandler.h
T
2013-07-17 23:57:31 +03:00

19 lines
618 B
C++

// Copyright © 2010-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
using namespace System;
namespace CefSharp
{
public interface class IJsDialogHandler
{
public:
bool OnJSAlert(IWebBrowser^ browser, String^ url, String^ message);
bool OnJSConfirm(IWebBrowser^ browser, String^ url, String^ message, bool& retval);
bool OnJSPrompt(IWebBrowser^ browser, String^ url, String^ message, String^ defaultValue, bool& retval, String^% result);
};
}