mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
55af252d91
Basic refactoring in preparation for allowing users(advanced) to provide their own custom JavascriptObjectRepository implementation
22 lines
902 B
C#
22 lines
902 B
C#
// Copyright © 2020 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.
|
|
//
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace CefSharp.Internals
|
|
{
|
|
public interface IJavascriptObjectRepositoryInternal : IJavascriptObjectRepository
|
|
{
|
|
bool TryCallMethod(long objectId, string name, object[] parameters, out object result, out string exception);
|
|
bool TryGetProperty(long objectId, string name, out object result, out string exception);
|
|
bool TrySetProperty(long objectId, string name, object value, out string exception);
|
|
bool IsBrowserInitialized { get; set; }
|
|
List<JavascriptObject> GetObjects(List<string> names = null);
|
|
List<JavascriptObject> GetLegacyBoundObjects();
|
|
void ObjectsBound(List<Tuple<string, bool, bool>> objs);
|
|
}
|
|
}
|