mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Improve inheritance support in the CEF API (issue #1623).
- Support single parent inheritance in CEF API classes. - Support non-virtual inheritance in CEF API classes. - Support translation of CEF API sub-directories. - Add test sub-directories for testing-only functionality that will be available to unit tests but not exposed via the binary distribution. - Add unit tests for the translator tool. - Fix parsing of template parameter types that include commas.
This commit is contained in:
@@ -27,22 +27,20 @@
|
||||
class CefV8ContextCToCpp
|
||||
: public CefCToCpp<CefV8ContextCToCpp, CefV8Context, cef_v8context_t> {
|
||||
public:
|
||||
explicit CefV8ContextCToCpp(cef_v8context_t* str)
|
||||
: CefCToCpp<CefV8ContextCToCpp, CefV8Context, cef_v8context_t>(str) {}
|
||||
CefV8ContextCToCpp();
|
||||
|
||||
// CefV8Context methods
|
||||
virtual CefRefPtr<CefTaskRunner> GetTaskRunner() OVERRIDE;
|
||||
virtual bool IsValid() OVERRIDE;
|
||||
virtual CefRefPtr<CefBrowser> GetBrowser() OVERRIDE;
|
||||
virtual CefRefPtr<CefFrame> GetFrame() OVERRIDE;
|
||||
virtual CefRefPtr<CefV8Value> GetGlobal() OVERRIDE;
|
||||
virtual bool Enter() OVERRIDE;
|
||||
virtual bool Exit() OVERRIDE;
|
||||
virtual bool IsSame(CefRefPtr<CefV8Context> that) OVERRIDE;
|
||||
virtual bool Eval(const CefString& code, CefRefPtr<CefV8Value>& retval,
|
||||
// CefV8Context methods.
|
||||
CefRefPtr<CefTaskRunner> GetTaskRunner() OVERRIDE;
|
||||
bool IsValid() OVERRIDE;
|
||||
CefRefPtr<CefBrowser> GetBrowser() OVERRIDE;
|
||||
CefRefPtr<CefFrame> GetFrame() OVERRIDE;
|
||||
CefRefPtr<CefV8Value> GetGlobal() OVERRIDE;
|
||||
bool Enter() OVERRIDE;
|
||||
bool Exit() OVERRIDE;
|
||||
bool IsSame(CefRefPtr<CefV8Context> that) OVERRIDE;
|
||||
bool Eval(const CefString& code, CefRefPtr<CefV8Value>& retval,
|
||||
CefRefPtr<CefV8Exception>& exception) OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // USING_CEF_SHARED
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_V8CONTEXT_CTOCPP_H_
|
||||
|
||||
|
Reference in New Issue
Block a user