Example #1
0
 /// <summary>
 /// Returns the entered (bottom) context object in the V8 context stack.
 /// </summary>
 public static CefV8Context GetEnteredContext()
 {
     return(CefV8Context.FromNative(
                cef_v8context_t.get_entered_context()
                ));
 }
Example #2
0
 /// <summary>
 /// Returns the current (top) context object in the V8 context stack.
 /// </summary>
 public static CefV8Context GetCurrentContext()
 {
     return(CefV8Context.FromNative(
                cef_v8context_t.get_current_context()
                ));
 }