cef/libcef_dll/ctocpp
Marshall Greenblatt 122397acfc Introduce the use of Chromium types (issue #1336).
Changes to the CEF public API:
- Add base::Bind, base::Callback, base::Lock, base::WeakPtr, scoped_refptr, scoped_ptr and supporting types.
- Add include/wrapper/cef_closure_task.h helpers for converting a base::Closure to a CefTask.
- Change CefRefPtr to extend scoped_refptr.
-- Change CefBase method signatures to match RefCountedThreadSafeBase.
- Change IMPLEMENT_REFCOUNTING to use base::AtomicRefCount*.
-- Remove the CefAtomic* functions.
-- IMPLEMENT_REFCOUNTING now enforces via a compile-time error that the correct class name was passed to the macro.
- Change IMPLEMENT_LOCKING to use base::Lock.
-- Remove the CefCriticalSection class.
-- Deprecate the IMPLEMENT_LOCKING macro.
-- base::Lock will DCHECK() in Debug builds if lock usage is reentrant.
- Move include/internal/cef_tuple.h to include/base/cef_tuple.h.
- Allow an empty |callback| parameter passed to CefBeginTracing.

Changes to the CEF implementation:
- Fix incorrect names passed to the IMPLEMENT_REFCOUNTING macro.
- Fix instances of reentrant locking in the CefXmlObject and CefRequest implementations.
- Remove use of the IMPLEMENT_LOCKING macro.

Changes to cef_unittests:
- Add tests/unittests/chromium_includes.h and always include it first from unit test .cc files to avoid name conflicts with Chromium types.
- Fix wrong header include ordering.
- Remove use of the IMPLEMENT_LOCKING macro.

Changes to cefclient and cefsimple:
- Use base::Bind and cef_closure_task.h instead of NewCefRunnable*.
- Remove use of the IMPEMENT_LOCKING macro.
- Fix incorrect/unnecessary locking.
- Add additional runtime thread checks.
- Windows: Perform actions on the UI thread instead of the main thread when running in multi-threaded-message-loop mode to avoid excessive locking.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1769 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-07-14 22:18:51 +00:00
..
allow_certificate_error_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
allow_certificate_error_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
app_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
app_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
auth_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
auth_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
base_ctocpp.h Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
before_download_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
before_download_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
binary_value_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
binary_value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
browser_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
browser_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
browser_host_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
browser_host_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
browser_process_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
browser_process_handler_ctocpp.h Linux: Add new CefPrintHandler and CefPrintSettings classes to support printing and a GTK implementation in cefclient (issue #1258). 2014-07-10 15:41:30 +00:00
callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
client_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
client_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
command_line_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
command_line_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
completion_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
completion_callback_ctocpp.h Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
context_menu_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
context_menu_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
context_menu_params_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
context_menu_params_ctocpp.h Update to Chromium revision 272007. 2014-05-29 17:15:34 +00:00
cookie_manager_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
cookie_manager_ctocpp.h Update to Chromium revision 248478. 2014-02-05 20:35:45 +00:00
cookie_visitor_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
cookie_visitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
ctocpp.h Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
dialog_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
dialog_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
dictionary_value_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
dictionary_value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
display_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
display_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domdocument_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
domdocument_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domevent_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
domevent_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domevent_listener_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
domevent_listener_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domnode_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
domnode_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
domvisitor_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
domvisitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
download_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_item_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
download_item_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
download_item_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
download_item_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
drag_data_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
drag_data_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
drag_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
drag_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
end_tracing_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
end_tracing_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
file_dialog_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
file_dialog_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
focus_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
focus_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
frame_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
frame_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
geolocation_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
geolocation_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
geolocation_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
geolocation_handler_ctocpp.h Update to Chromium revision 280796. 2014-07-02 18:25:22 +00:00
get_geolocation_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
get_geolocation_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
jsdialog_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
jsdialog_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
jsdialog_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
jsdialog_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
keyboard_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
keyboard_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
life_span_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
life_span_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
list_value_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
list_value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
load_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
load_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
menu_model_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
menu_model_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
permission_handler_ctocpp.cc Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
permission_handler_ctocpp.h Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
post_data_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
post_data_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
post_data_element_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
post_data_element_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
print_dialog_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
print_dialog_callback_ctocpp.h Linux: Add new CefPrintHandler and CefPrintSettings classes to support printing and a GTK implementation in cefclient (issue #1258). 2014-07-10 15:41:30 +00:00
print_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
print_handler_ctocpp.h Linux: Add new CefPrintHandler and CefPrintSettings classes to support printing and a GTK implementation in cefclient (issue #1258). 2014-07-10 15:41:30 +00:00
print_job_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
print_job_callback_ctocpp.h Linux: Add new CefPrintHandler and CefPrintSettings classes to support printing and a GTK implementation in cefclient (issue #1258). 2014-07-10 15:41:30 +00:00
print_settings_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
print_settings_ctocpp.h Linux: Add new CefPrintHandler and CefPrintSettings classes to support printing and a GTK implementation in cefclient (issue #1258). 2014-07-10 15:41:30 +00:00
process_message_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
process_message_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
quota_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
quota_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
read_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
read_handler_ctocpp.h - Add MayBlock() method to stream classes which is used as a hint when determining the thread to access the stream from (issue #1187). 2014-01-30 23:15:55 +00:00
render_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
render_handler_ctocpp.h Implement off-screen rendering support using delegated rendering (issue #1257). 2014-06-30 22:30:29 +00:00
render_process_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
render_process_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_context_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
request_context_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_context_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
request_context_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
request_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
request_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
request_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
resource_bundle_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
resource_bundle_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
resource_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
resource_handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
response_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
response_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
run_file_dialog_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
run_file_dialog_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
scheme_handler_factory_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
scheme_handler_factory_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
scheme_registrar_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
scheme_registrar_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
stream_reader_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
stream_reader_ctocpp.h - Add MayBlock() method to stream classes which is used as a hint when determining the thread to access the stream from (issue #1187). 2014-01-30 23:15:55 +00:00
stream_writer_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
stream_writer_ctocpp.h - Add MayBlock() method to stream classes which is used as a hint when determining the thread to access the stream from (issue #1187). 2014-01-30 23:15:55 +00:00
string_visitor_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
string_visitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
task_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
task_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
task_runner_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
task_runner_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
urlrequest_client_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
urlrequest_client_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
urlrequest_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
urlrequest_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8accessor_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8accessor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8context_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8context_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8exception_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8exception_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8handler_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8stack_frame_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8stack_frame_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8stack_trace_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8stack_trace_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
v8value_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
v8value_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_info_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
web_plugin_info_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_info_visitor_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
web_plugin_info_visitor_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
web_plugin_unstable_callback_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
web_plugin_unstable_callback_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
write_handler_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
write_handler_ctocpp.h - Add MayBlock() method to stream classes which is used as a hint when determining the thread to access the stream from (issue #1187). 2014-01-30 23:15:55 +00:00
xml_reader_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
xml_reader_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00
zip_reader_ctocpp.cc Introduce the use of Chromium types (issue #1336). 2014-07-14 22:18:51 +00:00
zip_reader_ctocpp.h Update copyright year in generated files. 2014-01-06 19:48:18 +00:00