Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefV8ContextHandler

CefBase
   |
   +--CefV8ContextHandler

   in cef.h

class CefV8ContextHandler
extends CefBase

Implement this interface to handle V8 context events. The methods of this class will be called on the UI thread.


Method Summary
 virtual void OnContextCreated( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefV8Context > context )
          Called immediately after the V8 context for a frame has been created.
 virtual void OnContextReleased( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefV8Context > context )
          Called immediately before the V8 context for a frame is released.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

OnContextCreated

public virtual void OnContextCreated( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefV8Context > context );
Called immediately after the V8 context for a frame has been created. To retrieve the JavaScript 'window' object use the CefV8Context::GetGlobal() method.

OnContextReleased

public virtual void OnContextReleased( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefV8Context > context );
Called immediately before the V8 context for a frame is released. No references to the context should be kept after this method is called.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2011 Marshall A. Greenblatt