예제 #1
0
        internal JSObjectBase(CefWebFrameCore context)
        {
            this.context = context;

            // FIXME: for safety we will subscribe here to context event, and when frame context is cleared/disposed
            // then we unbind this object from V8
        }
예제 #2
0
 private void ClearMainFrame()
 {
     if (this.mainFrame != null)
     {
         this.mainFrame.Dispose();
         this.mainFrame = null;
     }
 }
예제 #3
0
 internal void AttachMainFrame(CefFrame frame)
 {
     ClearMainFrame();
     this.mainFrame = new CefWebFrameCore(this, frame);
 }
예제 #4
0
 private void ClearMainFrame()
 {
     if (this.mainFrame != null)
     {
         this.mainFrame.Dispose();
         this.mainFrame = null;
     }
 }
예제 #5
0
 internal void AttachMainFrame(CefFrame frame)
 {
     ClearMainFrame();
     this.mainFrame = new CefWebFrameCore(this, frame);
 }