Files
cefsharp/CefSharp/Internals/IJavascriptObjectRepositoryInternal.cs
T
amaitland 55af252d91 Core - Refactor JavascriptObjectRepository to IJavascriptObjectRepositoryInternal
Basic refactoring in preparation for allowing users(advanced) to provide their own custom JavascriptObjectRepository implementation
2020-11-25 15:23:29 +10:00

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);
}
}