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,18 +27,15 @@
|
||||
class CefTaskRunnerCToCpp
|
||||
: public CefCToCpp<CefTaskRunnerCToCpp, CefTaskRunner, cef_task_runner_t> {
|
||||
public:
|
||||
explicit CefTaskRunnerCToCpp(cef_task_runner_t* str)
|
||||
: CefCToCpp<CefTaskRunnerCToCpp, CefTaskRunner, cef_task_runner_t>(str) {}
|
||||
CefTaskRunnerCToCpp();
|
||||
|
||||
// CefTaskRunner methods
|
||||
virtual bool IsSame(CefRefPtr<CefTaskRunner> that) OVERRIDE;
|
||||
virtual bool BelongsToCurrentThread() OVERRIDE;
|
||||
virtual bool BelongsToThread(CefThreadId threadId) OVERRIDE;
|
||||
virtual bool PostTask(CefRefPtr<CefTask> task) OVERRIDE;
|
||||
virtual bool PostDelayedTask(CefRefPtr<CefTask> task,
|
||||
int64 delay_ms) OVERRIDE;
|
||||
// CefTaskRunner methods.
|
||||
bool IsSame(CefRefPtr<CefTaskRunner> that) OVERRIDE;
|
||||
bool BelongsToCurrentThread() OVERRIDE;
|
||||
bool BelongsToThread(CefThreadId threadId) OVERRIDE;
|
||||
bool PostTask(CefRefPtr<CefTask> task) OVERRIDE;
|
||||
bool PostDelayedTask(CefRefPtr<CefTask> task, int64 delay_ms) OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // USING_CEF_SHARED
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_TASK_RUNNER_CTOCPP_H_
|
||||
|
||||
|
Reference in New Issue
Block a user