├── .gitattributes
├── .gitignore
├── CEF3SimpleSample.sln
├── CEF3SimpleSample.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcshareddata
│ │ ├── CEF3SimpleSample.xccheckout
│ │ └── IDEWorkspaceChecks.plist
│ └── xcuserdata
│ │ └── Alan.xcuserdatad
│ │ ├── UserInterfaceState.xcuserstate
│ │ └── WorkspaceSettings.xcsettings
├── xcshareddata
│ └── xcschemes
│ │ └── CEF3 Simple Sample Helper.xcscheme
└── xcuserdata
│ └── Alan.xcuserdatad
│ ├── xcdebugger
│ ├── Breakpoints.xcbkptlist
│ └── Breakpoints_v2.xcbkptlist
│ └── xcschemes
│ ├── CEF3SimpleSample.xcscheme
│ └── xcschememanagement.plist
├── CEF3SimpleSample
├── CEF
│ ├── Linux
│ │ └── include
│ │ │ ├── base
│ │ │ ├── cef_atomic_ref_count.h
│ │ │ ├── cef_atomicops.h
│ │ │ ├── cef_basictypes.h
│ │ │ ├── cef_bind.h
│ │ │ ├── cef_bind_helpers.h
│ │ │ ├── cef_build.h
│ │ │ ├── cef_callback.h
│ │ │ ├── cef_callback_forward.h
│ │ │ ├── cef_callback_list.h
│ │ │ ├── cef_cancelable_callback.h
│ │ │ ├── cef_lock.h
│ │ │ ├── cef_logging.h
│ │ │ ├── cef_macros.h
│ │ │ ├── cef_move.h
│ │ │ ├── cef_platform_thread.h
│ │ │ ├── cef_ref_counted.h
│ │ │ ├── cef_scoped_ptr.h
│ │ │ ├── cef_string16.h
│ │ │ ├── cef_template_util.h
│ │ │ ├── cef_thread_checker.h
│ │ │ ├── cef_trace_event.h
│ │ │ ├── cef_tuple.h
│ │ │ ├── cef_weak_ptr.h
│ │ │ └── internal
│ │ │ │ ├── README-TRANSFER.txt
│ │ │ │ ├── cef_atomicops_arm64_gcc.h
│ │ │ │ ├── cef_atomicops_arm_gcc.h
│ │ │ │ ├── cef_atomicops_atomicword_compat.h
│ │ │ │ ├── cef_atomicops_x86_gcc.h
│ │ │ │ ├── cef_bind_internal.h
│ │ │ │ ├── cef_callback_internal.h
│ │ │ │ ├── cef_lock_impl.h
│ │ │ │ ├── cef_net_error_list.h
│ │ │ │ ├── cef_raw_scoped_refptr_mismatch_checker.h
│ │ │ │ └── cef_thread_checker_impl.h
│ │ │ ├── capi
│ │ │ ├── cef_accessibility_handler_capi.h
│ │ │ ├── cef_app_capi.h
│ │ │ ├── cef_audio_handler_capi.h
│ │ │ ├── cef_auth_callback_capi.h
│ │ │ ├── cef_base_capi.h
│ │ │ ├── cef_browser_capi.h
│ │ │ ├── cef_browser_process_handler_capi.h
│ │ │ ├── cef_callback_capi.h
│ │ │ ├── cef_client_capi.h
│ │ │ ├── cef_command_line_capi.h
│ │ │ ├── cef_context_menu_handler_capi.h
│ │ │ ├── cef_cookie_capi.h
│ │ │ ├── cef_crash_util_capi.h
│ │ │ ├── cef_devtools_message_observer_capi.h
│ │ │ ├── cef_dialog_handler_capi.h
│ │ │ ├── cef_display_handler_capi.h
│ │ │ ├── cef_dom_capi.h
│ │ │ ├── cef_download_handler_capi.h
│ │ │ ├── cef_download_item_capi.h
│ │ │ ├── cef_drag_data_capi.h
│ │ │ ├── cef_drag_handler_capi.h
│ │ │ ├── cef_extension_capi.h
│ │ │ ├── cef_extension_handler_capi.h
│ │ │ ├── cef_file_util_capi.h
│ │ │ ├── cef_find_handler_capi.h
│ │ │ ├── cef_focus_handler_capi.h
│ │ │ ├── cef_frame_capi.h
│ │ │ ├── cef_image_capi.h
│ │ │ ├── cef_jsdialog_handler_capi.h
│ │ │ ├── cef_keyboard_handler_capi.h
│ │ │ ├── cef_life_span_handler_capi.h
│ │ │ ├── cef_load_handler_capi.h
│ │ │ ├── cef_media_router_capi.h
│ │ │ ├── cef_menu_model_capi.h
│ │ │ ├── cef_menu_model_delegate_capi.h
│ │ │ ├── cef_navigation_entry_capi.h
│ │ │ ├── cef_origin_whitelist_capi.h
│ │ │ ├── cef_parser_capi.h
│ │ │ ├── cef_path_util_capi.h
│ │ │ ├── cef_print_handler_capi.h
│ │ │ ├── cef_print_settings_capi.h
│ │ │ ├── cef_process_message_capi.h
│ │ │ ├── cef_process_util_capi.h
│ │ │ ├── cef_registration_capi.h
│ │ │ ├── cef_render_handler_capi.h
│ │ │ ├── cef_render_process_handler_capi.h
│ │ │ ├── cef_request_callback_capi.h
│ │ │ ├── cef_request_capi.h
│ │ │ ├── cef_request_context_capi.h
│ │ │ ├── cef_request_context_handler_capi.h
│ │ │ ├── cef_request_handler_capi.h
│ │ │ ├── cef_resource_bundle_capi.h
│ │ │ ├── cef_resource_bundle_handler_capi.h
│ │ │ ├── cef_resource_handler_capi.h
│ │ │ ├── cef_resource_request_handler_capi.h
│ │ │ ├── cef_response_capi.h
│ │ │ ├── cef_response_filter_capi.h
│ │ │ ├── cef_scheme_capi.h
│ │ │ ├── cef_server_capi.h
│ │ │ ├── cef_ssl_info_capi.h
│ │ │ ├── cef_ssl_status_capi.h
│ │ │ ├── cef_stream_capi.h
│ │ │ ├── cef_string_visitor_capi.h
│ │ │ ├── cef_task_capi.h
│ │ │ ├── cef_thread_capi.h
│ │ │ ├── cef_trace_capi.h
│ │ │ ├── cef_urlrequest_capi.h
│ │ │ ├── cef_v8_capi.h
│ │ │ ├── cef_values_capi.h
│ │ │ ├── cef_waitable_event_capi.h
│ │ │ ├── cef_web_plugin_capi.h
│ │ │ ├── cef_x509_certificate_capi.h
│ │ │ ├── cef_xml_reader_capi.h
│ │ │ ├── cef_zip_reader_capi.h
│ │ │ ├── test
│ │ │ │ ├── cef_test_helpers_capi.h
│ │ │ │ └── cef_translator_test_capi.h
│ │ │ └── views
│ │ │ │ ├── cef_box_layout_capi.h
│ │ │ │ ├── cef_browser_view_capi.h
│ │ │ │ ├── cef_browser_view_delegate_capi.h
│ │ │ │ ├── cef_button_capi.h
│ │ │ │ ├── cef_button_delegate_capi.h
│ │ │ │ ├── cef_display_capi.h
│ │ │ │ ├── cef_fill_layout_capi.h
│ │ │ │ ├── cef_label_button_capi.h
│ │ │ │ ├── cef_layout_capi.h
│ │ │ │ ├── cef_menu_button_capi.h
│ │ │ │ ├── cef_menu_button_delegate_capi.h
│ │ │ │ ├── cef_panel_capi.h
│ │ │ │ ├── cef_panel_delegate_capi.h
│ │ │ │ ├── cef_scroll_view_capi.h
│ │ │ │ ├── cef_textfield_capi.h
│ │ │ │ ├── cef_textfield_delegate_capi.h
│ │ │ │ ├── cef_view_capi.h
│ │ │ │ ├── cef_view_delegate_capi.h
│ │ │ │ ├── cef_window_capi.h
│ │ │ │ └── cef_window_delegate_capi.h
│ │ │ ├── cef_accessibility_handler.h
│ │ │ ├── cef_api_hash.h
│ │ │ ├── cef_app.h
│ │ │ ├── cef_audio_handler.h
│ │ │ ├── cef_auth_callback.h
│ │ │ ├── cef_base.h
│ │ │ ├── cef_browser.h
│ │ │ ├── cef_browser_process_handler.h
│ │ │ ├── cef_callback.h
│ │ │ ├── cef_client.h
│ │ │ ├── cef_command_line.h
│ │ │ ├── cef_config.h
│ │ │ ├── cef_context_menu_handler.h
│ │ │ ├── cef_cookie.h
│ │ │ ├── cef_crash_util.h
│ │ │ ├── cef_devtools_message_observer.h
│ │ │ ├── cef_dialog_handler.h
│ │ │ ├── cef_display_handler.h
│ │ │ ├── cef_dom.h
│ │ │ ├── cef_download_handler.h
│ │ │ ├── cef_download_item.h
│ │ │ ├── cef_drag_data.h
│ │ │ ├── cef_drag_handler.h
│ │ │ ├── cef_extension.h
│ │ │ ├── cef_extension_handler.h
│ │ │ ├── cef_file_util.h
│ │ │ ├── cef_find_handler.h
│ │ │ ├── cef_focus_handler.h
│ │ │ ├── cef_frame.h
│ │ │ ├── cef_image.h
│ │ │ ├── cef_jsdialog_handler.h
│ │ │ ├── cef_keyboard_handler.h
│ │ │ ├── cef_life_span_handler.h
│ │ │ ├── cef_load_handler.h
│ │ │ ├── cef_media_router.h
│ │ │ ├── cef_menu_model.h
│ │ │ ├── cef_menu_model_delegate.h
│ │ │ ├── cef_navigation_entry.h
│ │ │ ├── cef_origin_whitelist.h
│ │ │ ├── cef_pack_resources.h
│ │ │ ├── cef_pack_strings.h
│ │ │ ├── cef_parser.h
│ │ │ ├── cef_path_util.h
│ │ │ ├── cef_print_handler.h
│ │ │ ├── cef_print_settings.h
│ │ │ ├── cef_process_message.h
│ │ │ ├── cef_process_util.h
│ │ │ ├── cef_registration.h
│ │ │ ├── cef_render_handler.h
│ │ │ ├── cef_render_process_handler.h
│ │ │ ├── cef_request.h
│ │ │ ├── cef_request_callback.h
│ │ │ ├── cef_request_context.h
│ │ │ ├── cef_request_context_handler.h
│ │ │ ├── cef_request_handler.h
│ │ │ ├── cef_resource_bundle.h
│ │ │ ├── cef_resource_bundle_handler.h
│ │ │ ├── cef_resource_handler.h
│ │ │ ├── cef_resource_request_handler.h
│ │ │ ├── cef_response.h
│ │ │ ├── cef_response_filter.h
│ │ │ ├── cef_scheme.h
│ │ │ ├── cef_server.h
│ │ │ ├── cef_ssl_info.h
│ │ │ ├── cef_ssl_status.h
│ │ │ ├── cef_stream.h
│ │ │ ├── cef_string_visitor.h
│ │ │ ├── cef_task.h
│ │ │ ├── cef_thread.h
│ │ │ ├── cef_trace.h
│ │ │ ├── cef_urlrequest.h
│ │ │ ├── cef_v8.h
│ │ │ ├── cef_values.h
│ │ │ ├── cef_version.h
│ │ │ ├── cef_waitable_event.h
│ │ │ ├── cef_web_plugin.h
│ │ │ ├── cef_x509_certificate.h
│ │ │ ├── cef_xml_reader.h
│ │ │ ├── cef_zip_reader.h
│ │ │ ├── internal
│ │ │ ├── cef_export.h
│ │ │ ├── cef_linux.h
│ │ │ ├── cef_logging_internal.h
│ │ │ ├── cef_ptr.h
│ │ │ ├── cef_string.h
│ │ │ ├── cef_string_list.h
│ │ │ ├── cef_string_map.h
│ │ │ ├── cef_string_multimap.h
│ │ │ ├── cef_string_types.h
│ │ │ ├── cef_string_wrappers.h
│ │ │ ├── cef_thread_internal.h
│ │ │ ├── cef_time.h
│ │ │ ├── cef_trace_event_internal.h
│ │ │ ├── cef_types.h
│ │ │ ├── cef_types_linux.h
│ │ │ └── cef_types_wrappers.h
│ │ │ ├── test
│ │ │ ├── cef_test_helpers.h
│ │ │ └── cef_translator_test.h
│ │ │ ├── views
│ │ │ ├── cef_box_layout.h
│ │ │ ├── cef_browser_view.h
│ │ │ ├── cef_browser_view_delegate.h
│ │ │ ├── cef_button.h
│ │ │ ├── cef_button_delegate.h
│ │ │ ├── cef_display.h
│ │ │ ├── cef_fill_layout.h
│ │ │ ├── cef_label_button.h
│ │ │ ├── cef_layout.h
│ │ │ ├── cef_menu_button.h
│ │ │ ├── cef_menu_button_delegate.h
│ │ │ ├── cef_panel.h
│ │ │ ├── cef_panel_delegate.h
│ │ │ ├── cef_scroll_view.h
│ │ │ ├── cef_textfield.h
│ │ │ ├── cef_textfield_delegate.h
│ │ │ ├── cef_view.h
│ │ │ ├── cef_view_delegate.h
│ │ │ ├── cef_window.h
│ │ │ └── cef_window_delegate.h
│ │ │ └── wrapper
│ │ │ ├── cef_byte_read_handler.h
│ │ │ ├── cef_closure_task.h
│ │ │ ├── cef_helpers.h
│ │ │ ├── cef_message_router.h
│ │ │ ├── cef_resource_manager.h
│ │ │ ├── cef_scoped_temp_dir.h
│ │ │ ├── cef_stream_resource_handler.h
│ │ │ ├── cef_xml_object.h
│ │ │ └── cef_zip_archive.h
│ ├── Mac
│ │ └── include
│ │ │ ├── base
│ │ │ ├── cef_atomic_ref_count.h
│ │ │ ├── cef_atomicops.h
│ │ │ ├── cef_basictypes.h
│ │ │ ├── cef_bind.h
│ │ │ ├── cef_bind_helpers.h
│ │ │ ├── cef_build.h
│ │ │ ├── cef_callback.h
│ │ │ ├── cef_callback_forward.h
│ │ │ ├── cef_callback_list.h
│ │ │ ├── cef_cancelable_callback.h
│ │ │ ├── cef_lock.h
│ │ │ ├── cef_logging.h
│ │ │ ├── cef_macros.h
│ │ │ ├── cef_move.h
│ │ │ ├── cef_platform_thread.h
│ │ │ ├── cef_ref_counted.h
│ │ │ ├── cef_scoped_ptr.h
│ │ │ ├── cef_string16.h
│ │ │ ├── cef_template_util.h
│ │ │ ├── cef_thread_checker.h
│ │ │ ├── cef_trace_event.h
│ │ │ ├── cef_tuple.h
│ │ │ ├── cef_weak_ptr.h
│ │ │ └── internal
│ │ │ │ ├── README-TRANSFER.txt
│ │ │ │ ├── cef_atomicops_atomicword_compat.h
│ │ │ │ ├── cef_atomicops_mac.h
│ │ │ │ ├── cef_bind_internal.h
│ │ │ │ ├── cef_callback_internal.h
│ │ │ │ ├── cef_lock_impl.h
│ │ │ │ ├── cef_net_error_list.h
│ │ │ │ ├── cef_raw_scoped_refptr_mismatch_checker.h
│ │ │ │ └── cef_thread_checker_impl.h
│ │ │ ├── capi
│ │ │ ├── cef_accessibility_handler_capi.h
│ │ │ ├── cef_app_capi.h
│ │ │ ├── cef_audio_handler_capi.h
│ │ │ ├── cef_auth_callback_capi.h
│ │ │ ├── cef_base_capi.h
│ │ │ ├── cef_browser_capi.h
│ │ │ ├── cef_browser_process_handler_capi.h
│ │ │ ├── cef_callback_capi.h
│ │ │ ├── cef_client_capi.h
│ │ │ ├── cef_command_line_capi.h
│ │ │ ├── cef_context_menu_handler_capi.h
│ │ │ ├── cef_cookie_capi.h
│ │ │ ├── cef_crash_util_capi.h
│ │ │ ├── cef_devtools_message_observer_capi.h
│ │ │ ├── cef_dialog_handler_capi.h
│ │ │ ├── cef_display_handler_capi.h
│ │ │ ├── cef_dom_capi.h
│ │ │ ├── cef_download_handler_capi.h
│ │ │ ├── cef_download_item_capi.h
│ │ │ ├── cef_drag_data_capi.h
│ │ │ ├── cef_drag_handler_capi.h
│ │ │ ├── cef_extension_capi.h
│ │ │ ├── cef_extension_handler_capi.h
│ │ │ ├── cef_file_util_capi.h
│ │ │ ├── cef_find_handler_capi.h
│ │ │ ├── cef_focus_handler_capi.h
│ │ │ ├── cef_frame_capi.h
│ │ │ ├── cef_image_capi.h
│ │ │ ├── cef_jsdialog_handler_capi.h
│ │ │ ├── cef_keyboard_handler_capi.h
│ │ │ ├── cef_life_span_handler_capi.h
│ │ │ ├── cef_load_handler_capi.h
│ │ │ ├── cef_media_router_capi.h
│ │ │ ├── cef_menu_model_capi.h
│ │ │ ├── cef_menu_model_delegate_capi.h
│ │ │ ├── cef_navigation_entry_capi.h
│ │ │ ├── cef_origin_whitelist_capi.h
│ │ │ ├── cef_parser_capi.h
│ │ │ ├── cef_path_util_capi.h
│ │ │ ├── cef_print_handler_capi.h
│ │ │ ├── cef_print_settings_capi.h
│ │ │ ├── cef_process_message_capi.h
│ │ │ ├── cef_process_util_capi.h
│ │ │ ├── cef_registration_capi.h
│ │ │ ├── cef_render_handler_capi.h
│ │ │ ├── cef_render_process_handler_capi.h
│ │ │ ├── cef_request_callback_capi.h
│ │ │ ├── cef_request_capi.h
│ │ │ ├── cef_request_context_capi.h
│ │ │ ├── cef_request_context_handler_capi.h
│ │ │ ├── cef_request_handler_capi.h
│ │ │ ├── cef_resource_bundle_capi.h
│ │ │ ├── cef_resource_bundle_handler_capi.h
│ │ │ ├── cef_resource_handler_capi.h
│ │ │ ├── cef_resource_request_handler_capi.h
│ │ │ ├── cef_response_capi.h
│ │ │ ├── cef_response_filter_capi.h
│ │ │ ├── cef_scheme_capi.h
│ │ │ ├── cef_server_capi.h
│ │ │ ├── cef_ssl_info_capi.h
│ │ │ ├── cef_ssl_status_capi.h
│ │ │ ├── cef_stream_capi.h
│ │ │ ├── cef_string_visitor_capi.h
│ │ │ ├── cef_task_capi.h
│ │ │ ├── cef_thread_capi.h
│ │ │ ├── cef_trace_capi.h
│ │ │ ├── cef_urlrequest_capi.h
│ │ │ ├── cef_v8_capi.h
│ │ │ ├── cef_values_capi.h
│ │ │ ├── cef_waitable_event_capi.h
│ │ │ ├── cef_web_plugin_capi.h
│ │ │ ├── cef_x509_certificate_capi.h
│ │ │ ├── cef_xml_reader_capi.h
│ │ │ ├── cef_zip_reader_capi.h
│ │ │ ├── test
│ │ │ │ ├── cef_test_helpers_capi.h
│ │ │ │ └── cef_translator_test_capi.h
│ │ │ └── views
│ │ │ │ ├── cef_box_layout_capi.h
│ │ │ │ ├── cef_browser_view_capi.h
│ │ │ │ ├── cef_browser_view_delegate_capi.h
│ │ │ │ ├── cef_button_capi.h
│ │ │ │ ├── cef_button_delegate_capi.h
│ │ │ │ ├── cef_display_capi.h
│ │ │ │ ├── cef_fill_layout_capi.h
│ │ │ │ ├── cef_label_button_capi.h
│ │ │ │ ├── cef_layout_capi.h
│ │ │ │ ├── cef_menu_button_capi.h
│ │ │ │ ├── cef_menu_button_delegate_capi.h
│ │ │ │ ├── cef_panel_capi.h
│ │ │ │ ├── cef_panel_delegate_capi.h
│ │ │ │ ├── cef_scroll_view_capi.h
│ │ │ │ ├── cef_textfield_capi.h
│ │ │ │ ├── cef_textfield_delegate_capi.h
│ │ │ │ ├── cef_view_capi.h
│ │ │ │ ├── cef_view_delegate_capi.h
│ │ │ │ ├── cef_window_capi.h
│ │ │ │ └── cef_window_delegate_capi.h
│ │ │ ├── cef_accessibility_handler.h
│ │ │ ├── cef_api_hash.h
│ │ │ ├── cef_app.h
│ │ │ ├── cef_application_mac.h
│ │ │ ├── cef_audio_handler.h
│ │ │ ├── cef_auth_callback.h
│ │ │ ├── cef_base.h
│ │ │ ├── cef_browser.h
│ │ │ ├── cef_browser_process_handler.h
│ │ │ ├── cef_callback.h
│ │ │ ├── cef_client.h
│ │ │ ├── cef_command_line.h
│ │ │ ├── cef_config.h
│ │ │ ├── cef_context_menu_handler.h
│ │ │ ├── cef_cookie.h
│ │ │ ├── cef_crash_util.h
│ │ │ ├── cef_devtools_message_observer.h
│ │ │ ├── cef_dialog_handler.h
│ │ │ ├── cef_display_handler.h
│ │ │ ├── cef_dom.h
│ │ │ ├── cef_download_handler.h
│ │ │ ├── cef_download_item.h
│ │ │ ├── cef_drag_data.h
│ │ │ ├── cef_drag_handler.h
│ │ │ ├── cef_extension.h
│ │ │ ├── cef_extension_handler.h
│ │ │ ├── cef_file_util.h
│ │ │ ├── cef_find_handler.h
│ │ │ ├── cef_focus_handler.h
│ │ │ ├── cef_frame.h
│ │ │ ├── cef_image.h
│ │ │ ├── cef_jsdialog_handler.h
│ │ │ ├── cef_keyboard_handler.h
│ │ │ ├── cef_life_span_handler.h
│ │ │ ├── cef_load_handler.h
│ │ │ ├── cef_media_router.h
│ │ │ ├── cef_menu_model.h
│ │ │ ├── cef_menu_model_delegate.h
│ │ │ ├── cef_navigation_entry.h
│ │ │ ├── cef_origin_whitelist.h
│ │ │ ├── cef_pack_resources.h
│ │ │ ├── cef_pack_strings.h
│ │ │ ├── cef_parser.h
│ │ │ ├── cef_path_util.h
│ │ │ ├── cef_print_handler.h
│ │ │ ├── cef_print_settings.h
│ │ │ ├── cef_process_message.h
│ │ │ ├── cef_process_util.h
│ │ │ ├── cef_registration.h
│ │ │ ├── cef_render_handler.h
│ │ │ ├── cef_render_process_handler.h
│ │ │ ├── cef_request.h
│ │ │ ├── cef_request_callback.h
│ │ │ ├── cef_request_context.h
│ │ │ ├── cef_request_context_handler.h
│ │ │ ├── cef_request_handler.h
│ │ │ ├── cef_resource_bundle.h
│ │ │ ├── cef_resource_bundle_handler.h
│ │ │ ├── cef_resource_handler.h
│ │ │ ├── cef_resource_request_handler.h
│ │ │ ├── cef_response.h
│ │ │ ├── cef_response_filter.h
│ │ │ ├── cef_sandbox_mac.h
│ │ │ ├── cef_scheme.h
│ │ │ ├── cef_server.h
│ │ │ ├── cef_ssl_info.h
│ │ │ ├── cef_ssl_status.h
│ │ │ ├── cef_stream.h
│ │ │ ├── cef_string_visitor.h
│ │ │ ├── cef_task.h
│ │ │ ├── cef_thread.h
│ │ │ ├── cef_trace.h
│ │ │ ├── cef_urlrequest.h
│ │ │ ├── cef_v8.h
│ │ │ ├── cef_values.h
│ │ │ ├── cef_version.h
│ │ │ ├── cef_waitable_event.h
│ │ │ ├── cef_web_plugin.h
│ │ │ ├── cef_x509_certificate.h
│ │ │ ├── cef_xml_reader.h
│ │ │ ├── cef_zip_reader.h
│ │ │ ├── internal
│ │ │ ├── cef_export.h
│ │ │ ├── cef_logging_internal.h
│ │ │ ├── cef_mac.h
│ │ │ ├── cef_ptr.h
│ │ │ ├── cef_string.h
│ │ │ ├── cef_string_list.h
│ │ │ ├── cef_string_map.h
│ │ │ ├── cef_string_multimap.h
│ │ │ ├── cef_string_types.h
│ │ │ ├── cef_string_wrappers.h
│ │ │ ├── cef_thread_internal.h
│ │ │ ├── cef_time.h
│ │ │ ├── cef_trace_event_internal.h
│ │ │ ├── cef_types.h
│ │ │ ├── cef_types_mac.h
│ │ │ └── cef_types_wrappers.h
│ │ │ ├── test
│ │ │ ├── cef_test_helpers.h
│ │ │ └── cef_translator_test.h
│ │ │ ├── views
│ │ │ ├── cef_box_layout.h
│ │ │ ├── cef_browser_view.h
│ │ │ ├── cef_browser_view_delegate.h
│ │ │ ├── cef_button.h
│ │ │ ├── cef_button_delegate.h
│ │ │ ├── cef_display.h
│ │ │ ├── cef_fill_layout.h
│ │ │ ├── cef_label_button.h
│ │ │ ├── cef_layout.h
│ │ │ ├── cef_menu_button.h
│ │ │ ├── cef_menu_button_delegate.h
│ │ │ ├── cef_panel.h
│ │ │ ├── cef_panel_delegate.h
│ │ │ ├── cef_scroll_view.h
│ │ │ ├── cef_textfield.h
│ │ │ ├── cef_textfield_delegate.h
│ │ │ ├── cef_view.h
│ │ │ ├── cef_view_delegate.h
│ │ │ ├── cef_window.h
│ │ │ └── cef_window_delegate.h
│ │ │ └── wrapper
│ │ │ ├── cef_byte_read_handler.h
│ │ │ ├── cef_closure_task.h
│ │ │ ├── cef_helpers.h
│ │ │ ├── cef_library_loader.h
│ │ │ ├── cef_message_router.h
│ │ │ ├── cef_resource_manager.h
│ │ │ ├── cef_scoped_temp_dir.h
│ │ │ ├── cef_stream_resource_handler.h
│ │ │ ├── cef_xml_object.h
│ │ │ └── cef_zip_archive.h
│ └── Win
│ │ ├── Resources
│ │ ├── icudtl.dat
│ │ └── locales
│ │ │ ├── am.pak
│ │ │ ├── ar.pak
│ │ │ ├── bg.pak
│ │ │ ├── bn.pak
│ │ │ ├── ca.pak
│ │ │ ├── cs.pak
│ │ │ ├── da.pak
│ │ │ ├── de.pak
│ │ │ ├── el.pak
│ │ │ ├── en-GB.pak
│ │ │ ├── en-US.pak
│ │ │ ├── es-419.pak
│ │ │ ├── es.pak
│ │ │ ├── et.pak
│ │ │ ├── fa.pak
│ │ │ ├── fi.pak
│ │ │ ├── fil.pak
│ │ │ ├── fr.pak
│ │ │ ├── gu.pak
│ │ │ ├── he.pak
│ │ │ ├── hi.pak
│ │ │ ├── hr.pak
│ │ │ ├── hu.pak
│ │ │ ├── id.pak
│ │ │ ├── it.pak
│ │ │ ├── ja.pak
│ │ │ ├── kn.pak
│ │ │ ├── ko.pak
│ │ │ ├── lt.pak
│ │ │ ├── lv.pak
│ │ │ ├── ml.pak
│ │ │ ├── mr.pak
│ │ │ ├── ms.pak
│ │ │ ├── nb.pak
│ │ │ ├── nl.pak
│ │ │ ├── pl.pak
│ │ │ ├── pt-BR.pak
│ │ │ ├── pt-PT.pak
│ │ │ ├── ro.pak
│ │ │ ├── ru.pak
│ │ │ ├── sk.pak
│ │ │ ├── sl.pak
│ │ │ ├── sr.pak
│ │ │ ├── sv.pak
│ │ │ ├── sw.pak
│ │ │ ├── ta.pak
│ │ │ ├── te.pak
│ │ │ ├── th.pak
│ │ │ ├── tr.pak
│ │ │ ├── uk.pak
│ │ │ ├── vi.pak
│ │ │ ├── zh-CN.pak
│ │ │ └── zh-TW.pak
│ │ └── include
│ │ ├── base
│ │ ├── cef_atomic_ref_count.h
│ │ ├── cef_atomicops.h
│ │ ├── cef_basictypes.h
│ │ ├── cef_bind.h
│ │ ├── cef_bind_helpers.h
│ │ ├── cef_build.h
│ │ ├── cef_callback.h
│ │ ├── cef_callback_forward.h
│ │ ├── cef_callback_list.h
│ │ ├── cef_cancelable_callback.h
│ │ ├── cef_lock.h
│ │ ├── cef_logging.h
│ │ ├── cef_macros.h
│ │ ├── cef_move.h
│ │ ├── cef_platform_thread.h
│ │ ├── cef_ref_counted.h
│ │ ├── cef_scoped_ptr.h
│ │ ├── cef_string16.h
│ │ ├── cef_template_util.h
│ │ ├── cef_thread_checker.h
│ │ ├── cef_trace_event.h
│ │ ├── cef_tuple.h
│ │ ├── cef_weak_ptr.h
│ │ └── internal
│ │ │ ├── README-TRANSFER.txt
│ │ │ ├── cef_atomicops_arm64_msvc.h
│ │ │ ├── cef_atomicops_x86_msvc.h
│ │ │ ├── cef_bind_internal.h
│ │ │ ├── cef_bind_internal_win.h
│ │ │ ├── cef_callback_internal.h
│ │ │ ├── cef_lock_impl.h
│ │ │ ├── cef_net_error_list.h
│ │ │ ├── cef_raw_scoped_refptr_mismatch_checker.h
│ │ │ └── cef_thread_checker_impl.h
│ │ ├── capi
│ │ ├── cef_accessibility_handler_capi.h
│ │ ├── cef_app_capi.h
│ │ ├── cef_audio_handler_capi.h
│ │ ├── cef_auth_callback_capi.h
│ │ ├── cef_base_capi.h
│ │ ├── cef_browser_capi.h
│ │ ├── cef_browser_process_handler_capi.h
│ │ ├── cef_callback_capi.h
│ │ ├── cef_client_capi.h
│ │ ├── cef_command_line_capi.h
│ │ ├── cef_context_menu_handler_capi.h
│ │ ├── cef_cookie_capi.h
│ │ ├── cef_crash_util_capi.h
│ │ ├── cef_devtools_message_observer_capi.h
│ │ ├── cef_dialog_handler_capi.h
│ │ ├── cef_display_handler_capi.h
│ │ ├── cef_dom_capi.h
│ │ ├── cef_download_handler_capi.h
│ │ ├── cef_download_item_capi.h
│ │ ├── cef_drag_data_capi.h
│ │ ├── cef_drag_handler_capi.h
│ │ ├── cef_extension_capi.h
│ │ ├── cef_extension_handler_capi.h
│ │ ├── cef_file_util_capi.h
│ │ ├── cef_find_handler_capi.h
│ │ ├── cef_focus_handler_capi.h
│ │ ├── cef_frame_capi.h
│ │ ├── cef_image_capi.h
│ │ ├── cef_jsdialog_handler_capi.h
│ │ ├── cef_keyboard_handler_capi.h
│ │ ├── cef_life_span_handler_capi.h
│ │ ├── cef_load_handler_capi.h
│ │ ├── cef_media_router_capi.h
│ │ ├── cef_menu_model_capi.h
│ │ ├── cef_menu_model_delegate_capi.h
│ │ ├── cef_navigation_entry_capi.h
│ │ ├── cef_origin_whitelist_capi.h
│ │ ├── cef_parser_capi.h
│ │ ├── cef_path_util_capi.h
│ │ ├── cef_print_handler_capi.h
│ │ ├── cef_print_settings_capi.h
│ │ ├── cef_process_message_capi.h
│ │ ├── cef_process_util_capi.h
│ │ ├── cef_registration_capi.h
│ │ ├── cef_render_handler_capi.h
│ │ ├── cef_render_process_handler_capi.h
│ │ ├── cef_request_callback_capi.h
│ │ ├── cef_request_capi.h
│ │ ├── cef_request_context_capi.h
│ │ ├── cef_request_context_handler_capi.h
│ │ ├── cef_request_handler_capi.h
│ │ ├── cef_resource_bundle_capi.h
│ │ ├── cef_resource_bundle_handler_capi.h
│ │ ├── cef_resource_handler_capi.h
│ │ ├── cef_resource_request_handler_capi.h
│ │ ├── cef_response_capi.h
│ │ ├── cef_response_filter_capi.h
│ │ ├── cef_scheme_capi.h
│ │ ├── cef_server_capi.h
│ │ ├── cef_ssl_info_capi.h
│ │ ├── cef_ssl_status_capi.h
│ │ ├── cef_stream_capi.h
│ │ ├── cef_string_visitor_capi.h
│ │ ├── cef_task_capi.h
│ │ ├── cef_thread_capi.h
│ │ ├── cef_trace_capi.h
│ │ ├── cef_urlrequest_capi.h
│ │ ├── cef_v8_capi.h
│ │ ├── cef_values_capi.h
│ │ ├── cef_waitable_event_capi.h
│ │ ├── cef_web_plugin_capi.h
│ │ ├── cef_x509_certificate_capi.h
│ │ ├── cef_xml_reader_capi.h
│ │ ├── cef_zip_reader_capi.h
│ │ ├── test
│ │ │ ├── cef_test_helpers_capi.h
│ │ │ └── cef_translator_test_capi.h
│ │ └── views
│ │ │ ├── cef_box_layout_capi.h
│ │ │ ├── cef_browser_view_capi.h
│ │ │ ├── cef_browser_view_delegate_capi.h
│ │ │ ├── cef_button_capi.h
│ │ │ ├── cef_button_delegate_capi.h
│ │ │ ├── cef_display_capi.h
│ │ │ ├── cef_fill_layout_capi.h
│ │ │ ├── cef_label_button_capi.h
│ │ │ ├── cef_layout_capi.h
│ │ │ ├── cef_menu_button_capi.h
│ │ │ ├── cef_menu_button_delegate_capi.h
│ │ │ ├── cef_panel_capi.h
│ │ │ ├── cef_panel_delegate_capi.h
│ │ │ ├── cef_scroll_view_capi.h
│ │ │ ├── cef_textfield_capi.h
│ │ │ ├── cef_textfield_delegate_capi.h
│ │ │ ├── cef_view_capi.h
│ │ │ ├── cef_view_delegate_capi.h
│ │ │ ├── cef_window_capi.h
│ │ │ └── cef_window_delegate_capi.h
│ │ ├── cef_accessibility_handler.h
│ │ ├── cef_api_hash.h
│ │ ├── cef_app.h
│ │ ├── cef_audio_handler.h
│ │ ├── cef_auth_callback.h
│ │ ├── cef_base.h
│ │ ├── cef_browser.h
│ │ ├── cef_browser_process_handler.h
│ │ ├── cef_callback.h
│ │ ├── cef_client.h
│ │ ├── cef_command_line.h
│ │ ├── cef_config.h
│ │ ├── cef_context_menu_handler.h
│ │ ├── cef_cookie.h
│ │ ├── cef_crash_util.h
│ │ ├── cef_devtools_message_observer.h
│ │ ├── cef_dialog_handler.h
│ │ ├── cef_display_handler.h
│ │ ├── cef_dom.h
│ │ ├── cef_download_handler.h
│ │ ├── cef_download_item.h
│ │ ├── cef_drag_data.h
│ │ ├── cef_drag_handler.h
│ │ ├── cef_extension.h
│ │ ├── cef_extension_handler.h
│ │ ├── cef_file_util.h
│ │ ├── cef_find_handler.h
│ │ ├── cef_focus_handler.h
│ │ ├── cef_frame.h
│ │ ├── cef_image.h
│ │ ├── cef_jsdialog_handler.h
│ │ ├── cef_keyboard_handler.h
│ │ ├── cef_life_span_handler.h
│ │ ├── cef_load_handler.h
│ │ ├── cef_media_router.h
│ │ ├── cef_menu_model.h
│ │ ├── cef_menu_model_delegate.h
│ │ ├── cef_navigation_entry.h
│ │ ├── cef_origin_whitelist.h
│ │ ├── cef_pack_resources.h
│ │ ├── cef_pack_strings.h
│ │ ├── cef_parser.h
│ │ ├── cef_path_util.h
│ │ ├── cef_print_handler.h
│ │ ├── cef_print_settings.h
│ │ ├── cef_process_message.h
│ │ ├── cef_process_util.h
│ │ ├── cef_registration.h
│ │ ├── cef_render_handler.h
│ │ ├── cef_render_process_handler.h
│ │ ├── cef_request.h
│ │ ├── cef_request_callback.h
│ │ ├── cef_request_context.h
│ │ ├── cef_request_context_handler.h
│ │ ├── cef_request_handler.h
│ │ ├── cef_resource_bundle.h
│ │ ├── cef_resource_bundle_handler.h
│ │ ├── cef_resource_handler.h
│ │ ├── cef_resource_request_handler.h
│ │ ├── cef_response.h
│ │ ├── cef_response_filter.h
│ │ ├── cef_sandbox_win.h
│ │ ├── cef_scheme.h
│ │ ├── cef_server.h
│ │ ├── cef_ssl_info.h
│ │ ├── cef_ssl_status.h
│ │ ├── cef_stream.h
│ │ ├── cef_string_visitor.h
│ │ ├── cef_task.h
│ │ ├── cef_thread.h
│ │ ├── cef_trace.h
│ │ ├── cef_urlrequest.h
│ │ ├── cef_v8.h
│ │ ├── cef_values.h
│ │ ├── cef_version.h
│ │ ├── cef_waitable_event.h
│ │ ├── cef_web_plugin.h
│ │ ├── cef_x509_certificate.h
│ │ ├── cef_xml_reader.h
│ │ ├── cef_zip_reader.h
│ │ ├── internal
│ │ ├── cef_export.h
│ │ ├── cef_logging_internal.h
│ │ ├── cef_ptr.h
│ │ ├── cef_string.h
│ │ ├── cef_string_list.h
│ │ ├── cef_string_map.h
│ │ ├── cef_string_multimap.h
│ │ ├── cef_string_types.h
│ │ ├── cef_string_wrappers.h
│ │ ├── cef_thread_internal.h
│ │ ├── cef_time.h
│ │ ├── cef_trace_event_internal.h
│ │ ├── cef_types.h
│ │ ├── cef_types_win.h
│ │ ├── cef_types_wrappers.h
│ │ └── cef_win.h
│ │ ├── test
│ │ ├── cef_test_helpers.h
│ │ └── cef_translator_test.h
│ │ ├── views
│ │ ├── cef_box_layout.h
│ │ ├── cef_browser_view.h
│ │ ├── cef_browser_view_delegate.h
│ │ ├── cef_button.h
│ │ ├── cef_button_delegate.h
│ │ ├── cef_display.h
│ │ ├── cef_fill_layout.h
│ │ ├── cef_label_button.h
│ │ ├── cef_layout.h
│ │ ├── cef_menu_button.h
│ │ ├── cef_menu_button_delegate.h
│ │ ├── cef_panel.h
│ │ ├── cef_panel_delegate.h
│ │ ├── cef_scroll_view.h
│ │ ├── cef_textfield.h
│ │ ├── cef_textfield_delegate.h
│ │ ├── cef_view.h
│ │ ├── cef_view_delegate.h
│ │ ├── cef_window.h
│ │ └── cef_window_delegate.h
│ │ └── wrapper
│ │ ├── cef_byte_read_handler.h
│ │ ├── cef_closure_task.h
│ │ ├── cef_helpers.h
│ │ ├── cef_message_router.h
│ │ ├── cef_resource_manager.h
│ │ ├── cef_scoped_temp_dir.h
│ │ ├── cef_stream_resource_handler.h
│ │ ├── cef_xml_object.h
│ │ └── cef_zip_archive.h
├── CEF3SimpleSample.vcxproj
├── CEF3SimpleSample.vcxproj.filters
├── CrossPlatform
│ ├── ClientApp.cpp
│ ├── ClientApp.h
│ ├── ClientHandler.cpp
│ ├── ClientHandler.h
│ ├── ClientV8ExtensionHandler.cpp
│ ├── ClientV8ExtensionHandler.h
│ └── html
│ │ ├── css
│ │ ├── app.css
│ │ ├── blitzer
│ │ │ ├── images
│ │ │ │ ├── ui-bg_diagonals-thick_75_f3d8d8_40x40.png
│ │ │ │ ├── ui-bg_dots-small_65_a6a6a6_2x2.png
│ │ │ │ ├── ui-bg_flat_0_333333_40x100.png
│ │ │ │ ├── ui-bg_flat_65_ffffff_40x100.png
│ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ │ ├── ui-bg_glass_55_fbf8ee_1x400.png
│ │ │ │ ├── ui-bg_highlight-hard_100_eeeeee_1x100.png
│ │ │ │ ├── ui-bg_highlight-hard_100_f6f6f6_1x100.png
│ │ │ │ ├── ui-bg_highlight-soft_15_cc0000_1x100.png
│ │ │ │ ├── ui-icons_004276_256x240.png
│ │ │ │ ├── ui-icons_cc0000_256x240.png
│ │ │ │ └── ui-icons_ffffff_256x240.png
│ │ │ └── jquery-ui-1.9.0.custom.min.css
│ │ └── bootstrap.min.css
│ │ ├── img
│ │ ├── glyphicons-halflings-white.png
│ │ └── glyphicons-halflings.png
│ │ ├── index.html
│ │ └── js
│ │ ├── app.js
│ │ ├── bootstrap.min.js
│ │ ├── jquery-1.8.2.min.js
│ │ └── jquery-ui-1.9.0.custom.min.js
├── Linux
│ └── main.cpp
├── Mac
│ ├── AppDelegate.h
│ ├── AppDelegate.mm
│ ├── CEF3SimpleSample-Info.plist
│ ├── CEF3SimpleSample-Prefix.pch
│ ├── CEF3SimpleSampleHelper-Info.plist
│ ├── Helper Process Main.cpp
│ ├── Resources
│ │ ├── Base.lproj
│ │ │ └── MainMenu.xib
│ │ └── en.lproj
│ │ │ └── InfoPlist.strings
│ ├── main.mm
│ └── tools
│ │ ├── change_mach_o_flags.py
│ │ ├── change_mach_o_flags_from_xcode.sh
│ │ └── make_more_helpers.sh
└── Win
│ └── main.cpp
├── CMakeLists.txt
├── LICENSE
├── README.md
└── build-linux.sh
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Visual Studio
2 | *.cs diff=csharp
3 | *.sln merge=union
4 | *.csproj merge=union
5 | *.vbproj merge=union
6 | *.fsproj merge=union
7 | *.dbproj merge=union
8 |
9 | # Language Breakdown
10 | CEF3SimpleSample/CEF/** linguist-vendored
11 | *.h linguist-language=C++
12 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.31515.178
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CEF3SimpleSample", "CEF3SimpleSample\CEF3SimpleSample.vcxproj", "{0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Debug|x64.ActiveCfg = Debug|x64
17 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Debug|x64.Build.0 = Debug|x64
18 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Debug|x86.ActiveCfg = Debug|Win32
19 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Debug|x86.Build.0 = Debug|Win32
20 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Release|x64.ActiveCfg = Release|x64
21 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Release|x64.Build.0 = Release|x64
22 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Release|x86.ActiveCfg = Release|Win32
23 | {0BC65488-E502-4BF2-ACA5-C6FF87D6A2B4}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {3A5715B8-CB98-4307-88D8-45B79CE371F2}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/project.xcworkspace/xcshareddata/CEF3SimpleSample.xccheckout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDESourceControlProjectFavoriteDictionaryKey
6 |
7 | IDESourceControlProjectIdentifier
8 | 9290B5C8-9BE1-4154-B115-908897A98CF7
9 | IDESourceControlProjectName
10 | CEF3SimpleSample
11 | IDESourceControlProjectOriginsDictionary
12 |
13 | DAB2F24D9A8A6ED19A32CF375665B1FDC91A73D4
14 | https://github.com/acristoffers/CEF3SimpleSample.git
15 |
16 | IDESourceControlProjectPath
17 | CEF3SimpleSample.xcodeproj
18 | IDESourceControlProjectRelativeInstallPathDictionary
19 |
20 | DAB2F24D9A8A6ED19A32CF375665B1FDC91A73D4
21 | ../..
22 |
23 | IDESourceControlProjectURL
24 | https://github.com/acristoffers/CEF3SimpleSample.git
25 | IDESourceControlProjectVersion
26 | 111
27 | IDESourceControlProjectWCCIdentifier
28 | DAB2F24D9A8A6ED19A32CF375665B1FDC91A73D4
29 | IDESourceControlProjectWCConfigurations
30 |
31 |
32 | IDESourceControlRepositoryExtensionIdentifierKey
33 | public.vcs.git
34 | IDESourceControlWCCIdentifierKey
35 | DAB2F24D9A8A6ED19A32CF375665B1FDC91A73D4
36 | IDESourceControlWCCName
37 | CEF3SimpleSample
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/project.xcworkspace/xcuserdata/Alan.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample.xcodeproj/project.xcworkspace/xcuserdata/Alan.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/project.xcworkspace/xcuserdata/Alan.xcuserdatad/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges
6 |
7 | SnapshotAutomaticallyBeforeSignificantChanges
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/xcuserdata/Alan.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/xcuserdata/Alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
--------------------------------------------------------------------------------
/CEF3SimpleSample.xcodeproj/xcuserdata/Alan.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | CEF3 Simple Sample Helper (GPU) copy.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 5
11 |
12 | CEF3 Simple Sample Helper (GPU).xcscheme_^#shared#^_
13 |
14 | orderHint
15 | 2
16 |
17 | CEF3 Simple Sample Helper (Plugin) copy.xcscheme_^#shared#^_
18 |
19 | orderHint
20 | 6
21 |
22 | CEF3 Simple Sample Helper (Plugin).xcscheme_^#shared#^_
23 |
24 | orderHint
25 | 3
26 |
27 | CEF3 Simple Sample Helper (Renderer).xcscheme_^#shared#^_
28 |
29 | orderHint
30 | 4
31 |
32 | CEF3 Simple Sample Helper copy.xcscheme_^#shared#^_
33 |
34 | orderHint
35 | 4
36 |
37 | CEF3 Simple Sample Helper.xcscheme_^#shared#^_
38 |
39 | orderHint
40 | 1
41 |
42 | CEF3SimpleSample.xcscheme
43 |
44 | orderHint
45 | 0
46 |
47 |
48 | SuppressBuildableAutocreation
49 |
50 | E79F38AF17D4DDFD0081FCA7
51 |
52 | primary
53 |
54 |
55 | E79F39C317D4FD7B0081FCA7
56 |
57 | primary
58 |
59 |
60 | E79F39E617D4FDFB0081FCA7
61 |
62 | primary
63 |
64 |
65 | E79F3A2F17D4FF3F0081FCA7
66 |
67 | primary
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/base/cef_callback_forward.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 Marshall A. Greenblatt. Portions copyright (c) 2011
2 | // Google Inc. All rights reserved.
3 | //
4 | // Redistribution and use in source and binary forms, with or without
5 | // modification, are permitted provided that the following conditions are
6 | // met:
7 | //
8 | // * Redistributions of source code must retain the above copyright
9 | // notice, this list of conditions and the following disclaimer.
10 | // * Redistributions in binary form must reproduce the above
11 | // copyright notice, this list of conditions and the following disclaimer
12 | // in the documentation and/or other materials provided with the
13 | // distribution.
14 | // * Neither the name of Google Inc. nor the name Chromium Embedded
15 | // Framework nor the names of its contributors may be used to endorse
16 | // or promote products derived from this software without specific prior
17 | // written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | #ifndef INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
32 | #define INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
33 | #pragma once
34 |
35 | #if defined(BASE_CALLBACK_FORWARD_H_)
36 | // Do nothing if the Chromium header has already been included.
37 | // This can happen in cases where Chromium code is used directly by the
38 | // client application. When using Chromium code directly always include
39 | // the Chromium header first to avoid type conflicts.
40 | #elif defined(USING_CHROMIUM_INCLUDES)
41 | // When building CEF include the Chromium header directly.
42 | #include "base/callback_forward.h"
43 | #else // !USING_CHROMIUM_INCLUDES
44 | // The following is substantially similar to the Chromium implementation.
45 | // If the Chromium implementation diverges the below implementation should be
46 | // updated to match.
47 |
48 | namespace base {
49 |
50 | template
51 | class Callback;
52 |
53 | typedef Callback Closure;
54 |
55 | } // namespace base
56 |
57 | #endif // !!USING_CHROMIUM_INCLUDES
58 |
59 | #endif // INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/base/internal/README-TRANSFER.txt:
--------------------------------------------------------------------------------
1 | Files in this directory have been copied from other locations in the Chromium
2 | source tree. They have been modified only to the extent necessary to work in
3 | the CEF Binary Distribution directory structure. Below is a listing of the
4 | original file locations.
5 |
6 | ../net/base/net_error_list.h
7 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/capi/cef_path_util_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=0ae1fe7f7141eb05eb7fd44c2d41e4c576afae1e$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Retrieve the path associated with the specified |key|. Returns true (1) on
51 | // success. Can be called on any thread in the browser process.
52 | ///
53 | CEF_EXPORT int cef_get_path(cef_path_key_t key, cef_string_t* path);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif // CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/capi/cef_registration_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=8cde223bdb8d25ff163edd95da0d9e238b298016$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Generic callback structure used for managing the lifespan of a registration.
51 | ///
52 | typedef struct _cef_registration_t {
53 | ///
54 | // Base structure.
55 | ///
56 | cef_base_ref_counted_t base;
57 | } cef_registration_t;
58 |
59 | #ifdef __cplusplus
60 | }
61 | #endif
62 |
63 | #endif // CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
64 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/capi/cef_string_visitor_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=30d4a63d53bce310ad641cbe5096ae126a664076$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Implement this structure to receive string values asynchronously.
51 | ///
52 | typedef struct _cef_string_visitor_t {
53 | ///
54 | // Base structure.
55 | ///
56 | cef_base_ref_counted_t base;
57 |
58 | ///
59 | // Method that will be executed.
60 | ///
61 | void(CEF_CALLBACK* visit)(struct _cef_string_visitor_t* self,
62 | const cef_string_t* string);
63 | } cef_string_visitor_t;
64 |
65 | #ifdef __cplusplus
66 | }
67 | #endif
68 |
69 | #endif // CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
70 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/capi/test/cef_test_helpers_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=f9db602ed3bcb4b8ceb583034db9d0297b2961fd$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
41 | #pragma once
42 |
43 | #if !defined(BUILDING_CEF_SHARED) && !defined(WRAPPING_CEF_SHARED) && \
44 | !defined(UNIT_TEST)
45 | #error This file can be included for unit tests only
46 | #endif
47 |
48 | #include "include/capi/cef_base_capi.h"
49 |
50 | #ifdef __cplusplus
51 | extern "C" {
52 | #endif
53 |
54 | ///
55 | // Execute JavaScript with a user gesture to trigger functionality like
56 | // onbeforeunload handlers that will otherwise be blocked.
57 | ///
58 | CEF_EXPORT void cef_execute_java_script_with_user_gesture_for_tests(
59 | struct _cef_frame_t* frame,
60 | const cef_string_t* javascript);
61 |
62 | #ifdef __cplusplus
63 | }
64 | #endif
65 |
66 | #endif // CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
67 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/capi/views/cef_fill_layout_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=967f99321db8d0a900e33f3032b3ba1a6bd6bc9c$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/views/cef_layout_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // A simple Layout that causes the associated Panel's one child to be sized to
51 | // match the bounds of its parent. Methods must be called on the browser process
52 | // UI thread unless otherwise indicated.
53 | ///
54 | typedef struct _cef_fill_layout_t {
55 | ///
56 | // Base structure.
57 | ///
58 | cef_layout_t base;
59 | } cef_fill_layout_t;
60 |
61 | #ifdef __cplusplus
62 | }
63 | #endif
64 |
65 | #endif // CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/capi/views/cef_panel_delegate_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=954694f6f807cdbff3d5b0533cedae118019b469$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/views/cef_view_delegate_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Implement this structure to handle Panel events. The functions of this
51 | // structure will be called on the browser process UI thread unless otherwise
52 | // indicated.
53 | ///
54 | typedef struct _cef_panel_delegate_t {
55 | ///
56 | // Base structure.
57 | ///
58 | cef_view_delegate_t base;
59 | } cef_panel_delegate_t;
60 |
61 | #ifdef __cplusplus
62 | }
63 | #endif
64 |
65 | #endif // CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_auth_callback.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2013 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
38 | #define CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Callback interface used for asynchronous continuation of authentication
45 | // requests.
46 | ///
47 | /*--cef(source=library)--*/
48 | class CefAuthCallback : public virtual CefBaseRefCounted {
49 | public:
50 | ///
51 | // Continue the authentication request.
52 | ///
53 | /*--cef(capi_name=cont,optional_param=username,optional_param=password)--*/
54 | virtual void Continue(const CefString& username,
55 | const CefString& password) = 0;
56 |
57 | ///
58 | // Cancel the authentication request.
59 | ///
60 | /*--cef()--*/
61 | virtual void Cancel() = 0;
62 | };
63 |
64 | #endif // CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
65 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_config.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file is generated by the make_config_header.py tool.
33 | //
34 |
35 | #ifndef CEF_INCLUDE_CEF_CONFIG_H_
36 | #define CEF_INCLUDE_CEF_CONFIG_H_
37 |
38 | #define CEF_X11 1
39 | #endif // CEF_INCLUDE_CEF_CONFIG_H_
40 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_path_util.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_PATH_UTIL_H_
38 | #define CEF_INCLUDE_CEF_PATH_UTIL_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | typedef cef_path_key_t PathKey;
44 |
45 | ///
46 | // Retrieve the path associated with the specified |key|. Returns true on
47 | // success. Can be called on any thread in the browser process.
48 | ///
49 | /*--cef()--*/
50 | bool CefGetPath(PathKey key, CefString& path);
51 |
52 | #endif // CEF_INCLUDE_CEF_PATH_UTIL_H_
53 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_process_util.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_PROCESS_UTIL_H_
38 | #define CEF_INCLUDE_CEF_PROCESS_UTIL_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 | #include "include/cef_command_line.h"
43 |
44 | ///
45 | // Launches the process specified via |command_line|. Returns true upon
46 | // success. Must be called on the browser process TID_PROCESS_LAUNCHER thread.
47 | //
48 | // Unix-specific notes:
49 | // - All file descriptors open in the parent process will be closed in the
50 | // child process except for stdin, stdout, and stderr.
51 | // - If the first argument on the command line does not contain a slash,
52 | // PATH will be searched. (See man execvp.)
53 | ///
54 | /*--cef()--*/
55 | bool CefLaunchProcess(CefRefPtr command_line);
56 |
57 | #endif // CEF_INCLUDE_CEF_PROCESS_UTIL_H_
58 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_registration.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2020 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_REGISTRATION_H_
38 | #define CEF_INCLUDE_CEF_REGISTRATION_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Generic callback interface used for managing the lifespan of a registration.
45 | ///
46 | /*--cef(source=library)--*/
47 | class CefRegistration : public virtual CefBaseRefCounted {};
48 |
49 | #endif // CEF_INCLUDE_CEF_REGISTRATION_H_
50 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_request_callback.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
38 | #define CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Callback interface used for asynchronous continuation of url requests.
45 | ///
46 | /*--cef(source=library)--*/
47 | class CefRequestCallback : public virtual CefBaseRefCounted {
48 | public:
49 | ///
50 | // Continue the url request. If |allow| is true the request will be continued.
51 | // Otherwise, the request will be canceled.
52 | ///
53 | /*--cef(capi_name=cont)--*/
54 | virtual void Continue(bool allow) = 0;
55 |
56 | ///
57 | // Cancel the url request.
58 | ///
59 | /*--cef()--*/
60 | virtual void Cancel() = 0;
61 | };
62 |
63 | #endif // CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
64 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/cef_string_visitor.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_STRING_VISITOR_H_
38 | #define CEF_INCLUDE_CEF_STRING_VISITOR_H_
39 |
40 | #include "include/cef_base.h"
41 |
42 | ///
43 | // Implement this interface to receive string values asynchronously.
44 | ///
45 | /*--cef(source=client)--*/
46 | class CefStringVisitor : public virtual CefBaseRefCounted {
47 | public:
48 | ///
49 | // Method that will be executed.
50 | ///
51 | /*--cef(optional_param=string)--*/
52 | virtual void Visit(const CefString& string) = 0;
53 | };
54 |
55 | #endif // CEF_INCLUDE_CEF_STRING_VISITOR_H_
56 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/internal/cef_export.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
2 | // reserved.
3 | //
4 | // Redistribution and use in source and binary forms, with or without
5 | // modification, are permitted provided that the following conditions are
6 | // met:
7 | //
8 | // * Redistributions of source code must retain the above copyright
9 | // notice, this list of conditions and the following disclaimer.
10 | // * Redistributions in binary form must reproduce the above
11 | // copyright notice, this list of conditions and the following disclaimer
12 | // in the documentation and/or other materials provided with the
13 | // distribution.
14 | // * Neither the name of Google Inc. nor the name Chromium Embedded
15 | // Framework nor the names of its contributors may be used to endorse
16 | // or promote products derived from this software without specific prior
17 | // written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | #ifndef CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
32 | #define CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
33 | #pragma once
34 |
35 | #include "include/base/cef_build.h"
36 |
37 | #if defined(COMPILER_MSVC)
38 |
39 | #ifdef BUILDING_CEF_SHARED
40 | #define CEF_EXPORT __declspec(dllexport)
41 | #elif USING_CEF_SHARED
42 | #define CEF_EXPORT __declspec(dllimport)
43 | #else
44 | #define CEF_EXPORT
45 | #endif
46 |
47 | #elif defined(COMPILER_GCC)
48 |
49 | #define CEF_EXPORT __attribute__((visibility("default")))
50 |
51 | #endif // COMPILER_GCC
52 |
53 | #if defined(OS_WIN)
54 | #define CEF_CALLBACK __stdcall
55 | #else
56 | #define CEF_CALLBACK
57 | #endif
58 |
59 | #endif // CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/internal/cef_logging_internal.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 |
30 | #ifndef CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
31 | #define CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
32 | #pragma once
33 |
34 | #include
35 |
36 | #include "include/internal/cef_export.h"
37 |
38 | #ifdef __cplusplus
39 | extern "C" {
40 | #endif
41 |
42 | // See include/base/cef_logging.h for macros and intended usage.
43 |
44 | ///
45 | // Gets the current log level.
46 | ///
47 | CEF_EXPORT int cef_get_min_log_level();
48 |
49 | ///
50 | // Gets the current vlog level for the given file (usually taken from
51 | // __FILE__). Note that |N| is the size *with* the null terminator.
52 | ///
53 | CEF_EXPORT int cef_get_vlog_level(const char* file_start, size_t N);
54 |
55 | ///
56 | // Add a log message. See the LogSeverity defines for supported |severity|
57 | // values.
58 | ///
59 | CEF_EXPORT void cef_log(const char* file,
60 | int line,
61 | int severity,
62 | const char* message);
63 |
64 | #ifdef __cplusplus
65 | }
66 | #endif // __cplusplus
67 |
68 | #endif // CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
69 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/test/cef_test_helpers.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 | // THIS FILE IS FOR TESTING PURPOSES ONLY.
37 | //
38 | // The APIs defined in this file are for testing purposes only. They should only
39 | // be included from unit test targets.
40 | //
41 |
42 | #ifndef CEF_INCLUDE_TEST_CEF_TEST_HELPERS_H_
43 | #define CEF_INCLUDE_TEST_CEF_TEST_HELPERS_H_
44 | #pragma once
45 |
46 | #if !defined(BUILDING_CEF_SHARED) && !defined(WRAPPING_CEF_SHARED) && \
47 | !defined(UNIT_TEST)
48 | #error This file can be included for unit tests only
49 | #endif
50 |
51 | #include "include/cef_frame.h"
52 |
53 | ///
54 | // Execute JavaScript with a user gesture to trigger functionality like
55 | // onbeforeunload handlers that will otherwise be blocked.
56 | ///
57 | /*--cef(optional_param=javascript)--*/
58 | void CefExecuteJavaScriptWithUserGestureForTests(CefRefPtr frame,
59 | const CefString& javascript);
60 |
61 | #endif // CEF_INCLUDE_TEST_CEF_TEST_HELPERS_H_
62 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/views/cef_button_delegate.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_view_delegate.h"
42 |
43 | class CefButton;
44 |
45 | ///
46 | // Implement this interface to handle Button events. The methods of this class
47 | // will be called on the browser process UI thread unless otherwise indicated.
48 | ///
49 | /*--cef(source=client)--*/
50 | class CefButtonDelegate : public CefViewDelegate {
51 | public:
52 | ///
53 | // Called when |button| is pressed.
54 | ///
55 | /*--cef()--*/
56 | virtual void OnButtonPressed(CefRefPtr button) = 0;
57 |
58 | ///
59 | // Called when the state of |button| changes.
60 | ///
61 | /*--cef()--*/
62 | virtual void OnButtonStateChanged(CefRefPtr button) {}
63 | };
64 |
65 | #endif // CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/views/cef_fill_layout.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_layout.h"
42 |
43 | ///
44 | // A simple Layout that causes the associated Panel's one child to be sized to
45 | // match the bounds of its parent. Methods must be called on the browser process
46 | // UI thread unless otherwise indicated.
47 | ///
48 | /*--cef(source=library)--*/
49 | class CefFillLayout : public CefLayout {};
50 |
51 | #endif // CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
52 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Linux/include/views/cef_panel_delegate.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_view_delegate.h"
42 |
43 | ///
44 | // Implement this interface to handle Panel events. The methods of this class
45 | // will be called on the browser process UI thread unless otherwise indicated.
46 | ///
47 | /*--cef(source=client)--*/
48 | class CefPanelDelegate : public CefViewDelegate {};
49 |
50 | #endif // CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
51 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/base/cef_callback_forward.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 Marshall A. Greenblatt. Portions copyright (c) 2011
2 | // Google Inc. All rights reserved.
3 | //
4 | // Redistribution and use in source and binary forms, with or without
5 | // modification, are permitted provided that the following conditions are
6 | // met:
7 | //
8 | // * Redistributions of source code must retain the above copyright
9 | // notice, this list of conditions and the following disclaimer.
10 | // * Redistributions in binary form must reproduce the above
11 | // copyright notice, this list of conditions and the following disclaimer
12 | // in the documentation and/or other materials provided with the
13 | // distribution.
14 | // * Neither the name of Google Inc. nor the name Chromium Embedded
15 | // Framework nor the names of its contributors may be used to endorse
16 | // or promote products derived from this software without specific prior
17 | // written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | #ifndef INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
32 | #define INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
33 | #pragma once
34 |
35 | #if defined(BASE_CALLBACK_FORWARD_H_)
36 | // Do nothing if the Chromium header has already been included.
37 | // This can happen in cases where Chromium code is used directly by the
38 | // client application. When using Chromium code directly always include
39 | // the Chromium header first to avoid type conflicts.
40 | #elif defined(USING_CHROMIUM_INCLUDES)
41 | // When building CEF include the Chromium header directly.
42 | #include "base/callback_forward.h"
43 | #else // !USING_CHROMIUM_INCLUDES
44 | // The following is substantially similar to the Chromium implementation.
45 | // If the Chromium implementation diverges the below implementation should be
46 | // updated to match.
47 |
48 | namespace base {
49 |
50 | template
51 | class Callback;
52 |
53 | typedef Callback Closure;
54 |
55 | } // namespace base
56 |
57 | #endif // !!USING_CHROMIUM_INCLUDES
58 |
59 | #endif // INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/base/internal/README-TRANSFER.txt:
--------------------------------------------------------------------------------
1 | Files in this directory have been copied from other locations in the Chromium
2 | source tree. They have been modified only to the extent necessary to work in
3 | the CEF Binary Distribution directory structure. Below is a listing of the
4 | original file locations.
5 |
6 | ../net/base/net_error_list.h
7 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/capi/cef_path_util_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=0ae1fe7f7141eb05eb7fd44c2d41e4c576afae1e$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Retrieve the path associated with the specified |key|. Returns true (1) on
51 | // success. Can be called on any thread in the browser process.
52 | ///
53 | CEF_EXPORT int cef_get_path(cef_path_key_t key, cef_string_t* path);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif // CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/capi/cef_registration_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=8cde223bdb8d25ff163edd95da0d9e238b298016$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Generic callback structure used for managing the lifespan of a registration.
51 | ///
52 | typedef struct _cef_registration_t {
53 | ///
54 | // Base structure.
55 | ///
56 | cef_base_ref_counted_t base;
57 | } cef_registration_t;
58 |
59 | #ifdef __cplusplus
60 | }
61 | #endif
62 |
63 | #endif // CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
64 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/capi/cef_string_visitor_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=30d4a63d53bce310ad641cbe5096ae126a664076$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Implement this structure to receive string values asynchronously.
51 | ///
52 | typedef struct _cef_string_visitor_t {
53 | ///
54 | // Base structure.
55 | ///
56 | cef_base_ref_counted_t base;
57 |
58 | ///
59 | // Method that will be executed.
60 | ///
61 | void(CEF_CALLBACK* visit)(struct _cef_string_visitor_t* self,
62 | const cef_string_t* string);
63 | } cef_string_visitor_t;
64 |
65 | #ifdef __cplusplus
66 | }
67 | #endif
68 |
69 | #endif // CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
70 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/capi/test/cef_test_helpers_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=f9db602ed3bcb4b8ceb583034db9d0297b2961fd$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
41 | #pragma once
42 |
43 | #if !defined(BUILDING_CEF_SHARED) && !defined(WRAPPING_CEF_SHARED) && \
44 | !defined(UNIT_TEST)
45 | #error This file can be included for unit tests only
46 | #endif
47 |
48 | #include "include/capi/cef_base_capi.h"
49 |
50 | #ifdef __cplusplus
51 | extern "C" {
52 | #endif
53 |
54 | ///
55 | // Execute JavaScript with a user gesture to trigger functionality like
56 | // onbeforeunload handlers that will otherwise be blocked.
57 | ///
58 | CEF_EXPORT void cef_execute_java_script_with_user_gesture_for_tests(
59 | struct _cef_frame_t* frame,
60 | const cef_string_t* javascript);
61 |
62 | #ifdef __cplusplus
63 | }
64 | #endif
65 |
66 | #endif // CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
67 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/capi/views/cef_fill_layout_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=967f99321db8d0a900e33f3032b3ba1a6bd6bc9c$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/views/cef_layout_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // A simple Layout that causes the associated Panel's one child to be sized to
51 | // match the bounds of its parent. Methods must be called on the browser process
52 | // UI thread unless otherwise indicated.
53 | ///
54 | typedef struct _cef_fill_layout_t {
55 | ///
56 | // Base structure.
57 | ///
58 | cef_layout_t base;
59 | } cef_fill_layout_t;
60 |
61 | #ifdef __cplusplus
62 | }
63 | #endif
64 |
65 | #endif // CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/capi/views/cef_panel_delegate_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=954694f6f807cdbff3d5b0533cedae118019b469$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/views/cef_view_delegate_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Implement this structure to handle Panel events. The functions of this
51 | // structure will be called on the browser process UI thread unless otherwise
52 | // indicated.
53 | ///
54 | typedef struct _cef_panel_delegate_t {
55 | ///
56 | // Base structure.
57 | ///
58 | cef_view_delegate_t base;
59 | } cef_panel_delegate_t;
60 |
61 | #ifdef __cplusplus
62 | }
63 | #endif
64 |
65 | #endif // CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_auth_callback.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2013 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
38 | #define CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Callback interface used for asynchronous continuation of authentication
45 | // requests.
46 | ///
47 | /*--cef(source=library)--*/
48 | class CefAuthCallback : public virtual CefBaseRefCounted {
49 | public:
50 | ///
51 | // Continue the authentication request.
52 | ///
53 | /*--cef(capi_name=cont,optional_param=username,optional_param=password)--*/
54 | virtual void Continue(const CefString& username,
55 | const CefString& password) = 0;
56 |
57 | ///
58 | // Cancel the authentication request.
59 | ///
60 | /*--cef()--*/
61 | virtual void Cancel() = 0;
62 | };
63 |
64 | #endif // CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
65 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_config.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file is generated by the make_config_header.py tool.
33 | //
34 |
35 | #ifndef CEF_INCLUDE_CEF_CONFIG_H_
36 | #define CEF_INCLUDE_CEF_CONFIG_H_
37 |
38 | #define CEF_X11 1
39 | #endif // CEF_INCLUDE_CEF_CONFIG_H_
40 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_path_util.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_PATH_UTIL_H_
38 | #define CEF_INCLUDE_CEF_PATH_UTIL_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | typedef cef_path_key_t PathKey;
44 |
45 | ///
46 | // Retrieve the path associated with the specified |key|. Returns true on
47 | // success. Can be called on any thread in the browser process.
48 | ///
49 | /*--cef()--*/
50 | bool CefGetPath(PathKey key, CefString& path);
51 |
52 | #endif // CEF_INCLUDE_CEF_PATH_UTIL_H_
53 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_process_util.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_PROCESS_UTIL_H_
38 | #define CEF_INCLUDE_CEF_PROCESS_UTIL_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 | #include "include/cef_command_line.h"
43 |
44 | ///
45 | // Launches the process specified via |command_line|. Returns true upon
46 | // success. Must be called on the browser process TID_PROCESS_LAUNCHER thread.
47 | //
48 | // Unix-specific notes:
49 | // - All file descriptors open in the parent process will be closed in the
50 | // child process except for stdin, stdout, and stderr.
51 | // - If the first argument on the command line does not contain a slash,
52 | // PATH will be searched. (See man execvp.)
53 | ///
54 | /*--cef()--*/
55 | bool CefLaunchProcess(CefRefPtr command_line);
56 |
57 | #endif // CEF_INCLUDE_CEF_PROCESS_UTIL_H_
58 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_registration.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2020 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_REGISTRATION_H_
38 | #define CEF_INCLUDE_CEF_REGISTRATION_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Generic callback interface used for managing the lifespan of a registration.
45 | ///
46 | /*--cef(source=library)--*/
47 | class CefRegistration : public virtual CefBaseRefCounted {};
48 |
49 | #endif // CEF_INCLUDE_CEF_REGISTRATION_H_
50 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_request_callback.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
38 | #define CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Callback interface used for asynchronous continuation of url requests.
45 | ///
46 | /*--cef(source=library)--*/
47 | class CefRequestCallback : public virtual CefBaseRefCounted {
48 | public:
49 | ///
50 | // Continue the url request. If |allow| is true the request will be continued.
51 | // Otherwise, the request will be canceled.
52 | ///
53 | /*--cef(capi_name=cont)--*/
54 | virtual void Continue(bool allow) = 0;
55 |
56 | ///
57 | // Cancel the url request.
58 | ///
59 | /*--cef()--*/
60 | virtual void Cancel() = 0;
61 | };
62 |
63 | #endif // CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
64 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/cef_string_visitor.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_STRING_VISITOR_H_
38 | #define CEF_INCLUDE_CEF_STRING_VISITOR_H_
39 |
40 | #include "include/cef_base.h"
41 |
42 | ///
43 | // Implement this interface to receive string values asynchronously.
44 | ///
45 | /*--cef(source=client)--*/
46 | class CefStringVisitor : public virtual CefBaseRefCounted {
47 | public:
48 | ///
49 | // Method that will be executed.
50 | ///
51 | /*--cef(optional_param=string)--*/
52 | virtual void Visit(const CefString& string) = 0;
53 | };
54 |
55 | #endif // CEF_INCLUDE_CEF_STRING_VISITOR_H_
56 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/internal/cef_export.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
2 | // reserved.
3 | //
4 | // Redistribution and use in source and binary forms, with or without
5 | // modification, are permitted provided that the following conditions are
6 | // met:
7 | //
8 | // * Redistributions of source code must retain the above copyright
9 | // notice, this list of conditions and the following disclaimer.
10 | // * Redistributions in binary form must reproduce the above
11 | // copyright notice, this list of conditions and the following disclaimer
12 | // in the documentation and/or other materials provided with the
13 | // distribution.
14 | // * Neither the name of Google Inc. nor the name Chromium Embedded
15 | // Framework nor the names of its contributors may be used to endorse
16 | // or promote products derived from this software without specific prior
17 | // written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | #ifndef CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
32 | #define CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
33 | #pragma once
34 |
35 | #include "include/base/cef_build.h"
36 |
37 | #if defined(COMPILER_MSVC)
38 |
39 | #ifdef BUILDING_CEF_SHARED
40 | #define CEF_EXPORT __declspec(dllexport)
41 | #elif USING_CEF_SHARED
42 | #define CEF_EXPORT __declspec(dllimport)
43 | #else
44 | #define CEF_EXPORT
45 | #endif
46 |
47 | #elif defined(COMPILER_GCC)
48 |
49 | #define CEF_EXPORT __attribute__((visibility("default")))
50 |
51 | #endif // COMPILER_GCC
52 |
53 | #if defined(OS_WIN)
54 | #define CEF_CALLBACK __stdcall
55 | #else
56 | #define CEF_CALLBACK
57 | #endif
58 |
59 | #endif // CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/internal/cef_logging_internal.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 |
30 | #ifndef CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
31 | #define CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
32 | #pragma once
33 |
34 | #include
35 |
36 | #include "include/internal/cef_export.h"
37 |
38 | #ifdef __cplusplus
39 | extern "C" {
40 | #endif
41 |
42 | // See include/base/cef_logging.h for macros and intended usage.
43 |
44 | ///
45 | // Gets the current log level.
46 | ///
47 | CEF_EXPORT int cef_get_min_log_level();
48 |
49 | ///
50 | // Gets the current vlog level for the given file (usually taken from
51 | // __FILE__). Note that |N| is the size *with* the null terminator.
52 | ///
53 | CEF_EXPORT int cef_get_vlog_level(const char* file_start, size_t N);
54 |
55 | ///
56 | // Add a log message. See the LogSeverity defines for supported |severity|
57 | // values.
58 | ///
59 | CEF_EXPORT void cef_log(const char* file,
60 | int line,
61 | int severity,
62 | const char* message);
63 |
64 | #ifdef __cplusplus
65 | }
66 | #endif // __cplusplus
67 |
68 | #endif // CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
69 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/views/cef_button_delegate.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_view_delegate.h"
42 |
43 | class CefButton;
44 |
45 | ///
46 | // Implement this interface to handle Button events. The methods of this class
47 | // will be called on the browser process UI thread unless otherwise indicated.
48 | ///
49 | /*--cef(source=client)--*/
50 | class CefButtonDelegate : public CefViewDelegate {
51 | public:
52 | ///
53 | // Called when |button| is pressed.
54 | ///
55 | /*--cef()--*/
56 | virtual void OnButtonPressed(CefRefPtr button) = 0;
57 |
58 | ///
59 | // Called when the state of |button| changes.
60 | ///
61 | /*--cef()--*/
62 | virtual void OnButtonStateChanged(CefRefPtr button) {}
63 | };
64 |
65 | #endif // CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/views/cef_fill_layout.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_layout.h"
42 |
43 | ///
44 | // A simple Layout that causes the associated Panel's one child to be sized to
45 | // match the bounds of its parent. Methods must be called on the browser process
46 | // UI thread unless otherwise indicated.
47 | ///
48 | /*--cef(source=library)--*/
49 | class CefFillLayout : public CefLayout {};
50 |
51 | #endif // CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
52 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Mac/include/views/cef_panel_delegate.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_view_delegate.h"
42 |
43 | ///
44 | // Implement this interface to handle Panel events. The methods of this class
45 | // will be called on the browser process UI thread unless otherwise indicated.
46 | ///
47 | /*--cef(source=client)--*/
48 | class CefPanelDelegate : public CefViewDelegate {};
49 |
50 | #endif // CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
51 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/icudtl.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/icudtl.dat
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/am.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/am.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ar.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ar.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/bg.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/bg.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/bn.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/bn.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ca.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ca.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/cs.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/cs.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/da.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/da.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/de.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/de.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/el.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/el.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/en-GB.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/en-GB.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/en-US.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/en-US.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/es-419.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/es-419.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/es.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/es.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/et.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/et.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/fa.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/fa.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/fi.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/fi.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/fil.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/fil.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/fr.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/fr.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/gu.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/gu.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/he.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/he.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/hi.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/hi.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/hr.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/hr.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/hu.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/hu.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/id.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/id.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/it.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/it.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ja.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ja.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/kn.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/kn.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ko.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ko.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/lt.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/lt.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/lv.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/lv.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ml.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ml.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/mr.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/mr.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ms.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ms.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/nb.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/nb.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/nl.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/nl.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/pl.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/pl.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/pt-BR.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/pt-BR.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/pt-PT.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/pt-PT.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ro.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ro.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ru.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ru.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/sk.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/sk.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/sl.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/sl.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/sr.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/sr.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/sv.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/sv.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/sw.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/sw.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/ta.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/ta.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/te.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/te.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/th.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/th.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/tr.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/tr.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/uk.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/uk.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/vi.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/vi.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/zh-CN.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/zh-CN.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/Resources/locales/zh-TW.pak:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CEF/Win/Resources/locales/zh-TW.pak
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/base/cef_callback_forward.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 Marshall A. Greenblatt. Portions copyright (c) 2011
2 | // Google Inc. All rights reserved.
3 | //
4 | // Redistribution and use in source and binary forms, with or without
5 | // modification, are permitted provided that the following conditions are
6 | // met:
7 | //
8 | // * Redistributions of source code must retain the above copyright
9 | // notice, this list of conditions and the following disclaimer.
10 | // * Redistributions in binary form must reproduce the above
11 | // copyright notice, this list of conditions and the following disclaimer
12 | // in the documentation and/or other materials provided with the
13 | // distribution.
14 | // * Neither the name of Google Inc. nor the name Chromium Embedded
15 | // Framework nor the names of its contributors may be used to endorse
16 | // or promote products derived from this software without specific prior
17 | // written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | #ifndef INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
32 | #define INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
33 | #pragma once
34 |
35 | #if defined(BASE_CALLBACK_FORWARD_H_)
36 | // Do nothing if the Chromium header has already been included.
37 | // This can happen in cases where Chromium code is used directly by the
38 | // client application. When using Chromium code directly always include
39 | // the Chromium header first to avoid type conflicts.
40 | #elif defined(USING_CHROMIUM_INCLUDES)
41 | // When building CEF include the Chromium header directly.
42 | #include "base/callback_forward.h"
43 | #else // !USING_CHROMIUM_INCLUDES
44 | // The following is substantially similar to the Chromium implementation.
45 | // If the Chromium implementation diverges the below implementation should be
46 | // updated to match.
47 |
48 | namespace base {
49 |
50 | template
51 | class Callback;
52 |
53 | typedef Callback Closure;
54 |
55 | } // namespace base
56 |
57 | #endif // !!USING_CHROMIUM_INCLUDES
58 |
59 | #endif // INCLUDE_BASE_CEF_CALLBACK_FORWARD_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/base/internal/README-TRANSFER.txt:
--------------------------------------------------------------------------------
1 | Files in this directory have been copied from other locations in the Chromium
2 | source tree. They have been modified only to the extent necessary to work in
3 | the CEF Binary Distribution directory structure. Below is a listing of the
4 | original file locations.
5 |
6 | ../net/base/net_error_list.h
7 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/capi/cef_path_util_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=0ae1fe7f7141eb05eb7fd44c2d41e4c576afae1e$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Retrieve the path associated with the specified |key|. Returns true (1) on
51 | // success. Can be called on any thread in the browser process.
52 | ///
53 | CEF_EXPORT int cef_get_path(cef_path_key_t key, cef_string_t* path);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif // CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/capi/cef_registration_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=8cde223bdb8d25ff163edd95da0d9e238b298016$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Generic callback structure used for managing the lifespan of a registration.
51 | ///
52 | typedef struct _cef_registration_t {
53 | ///
54 | // Base structure.
55 | ///
56 | cef_base_ref_counted_t base;
57 | } cef_registration_t;
58 |
59 | #ifdef __cplusplus
60 | }
61 | #endif
62 |
63 | #endif // CEF_INCLUDE_CAPI_CEF_REGISTRATION_CAPI_H_
64 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/capi/cef_string_visitor_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=30d4a63d53bce310ad641cbe5096ae126a664076$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/cef_base_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Implement this structure to receive string values asynchronously.
51 | ///
52 | typedef struct _cef_string_visitor_t {
53 | ///
54 | // Base structure.
55 | ///
56 | cef_base_ref_counted_t base;
57 |
58 | ///
59 | // Method that will be executed.
60 | ///
61 | void(CEF_CALLBACK* visit)(struct _cef_string_visitor_t* self,
62 | const cef_string_t* string);
63 | } cef_string_visitor_t;
64 |
65 | #ifdef __cplusplus
66 | }
67 | #endif
68 |
69 | #endif // CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
70 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/capi/test/cef_test_helpers_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=f9db602ed3bcb4b8ceb583034db9d0297b2961fd$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
41 | #pragma once
42 |
43 | #if !defined(BUILDING_CEF_SHARED) && !defined(WRAPPING_CEF_SHARED) && \
44 | !defined(UNIT_TEST)
45 | #error This file can be included for unit tests only
46 | #endif
47 |
48 | #include "include/capi/cef_base_capi.h"
49 |
50 | #ifdef __cplusplus
51 | extern "C" {
52 | #endif
53 |
54 | ///
55 | // Execute JavaScript with a user gesture to trigger functionality like
56 | // onbeforeunload handlers that will otherwise be blocked.
57 | ///
58 | CEF_EXPORT void cef_execute_java_script_with_user_gesture_for_tests(
59 | struct _cef_frame_t* frame,
60 | const cef_string_t* javascript);
61 |
62 | #ifdef __cplusplus
63 | }
64 | #endif
65 |
66 | #endif // CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
67 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/capi/views/cef_fill_layout_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=967f99321db8d0a900e33f3032b3ba1a6bd6bc9c$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/views/cef_layout_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // A simple Layout that causes the associated Panel's one child to be sized to
51 | // match the bounds of its parent. Methods must be called on the browser process
52 | // UI thread unless otherwise indicated.
53 | ///
54 | typedef struct _cef_fill_layout_t {
55 | ///
56 | // Base structure.
57 | ///
58 | cef_layout_t base;
59 | } cef_fill_layout_t;
60 |
61 | #ifdef __cplusplus
62 | }
63 | #endif
64 |
65 | #endif // CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/capi/views/cef_panel_delegate_capi.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file was generated by the CEF translator tool and should not edited
33 | // by hand. See the translator.README.txt file in the tools directory for
34 | // more information.
35 | //
36 | // $hash=954694f6f807cdbff3d5b0533cedae118019b469$
37 | //
38 |
39 | #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
40 | #define CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
41 | #pragma once
42 |
43 | #include "include/capi/views/cef_view_delegate_capi.h"
44 |
45 | #ifdef __cplusplus
46 | extern "C" {
47 | #endif
48 |
49 | ///
50 | // Implement this structure to handle Panel events. The functions of this
51 | // structure will be called on the browser process UI thread unless otherwise
52 | // indicated.
53 | ///
54 | typedef struct _cef_panel_delegate_t {
55 | ///
56 | // Base structure.
57 | ///
58 | cef_view_delegate_t base;
59 | } cef_panel_delegate_t;
60 |
61 | #ifdef __cplusplus
62 | }
63 | #endif
64 |
65 | #endif // CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_auth_callback.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2013 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
38 | #define CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Callback interface used for asynchronous continuation of authentication
45 | // requests.
46 | ///
47 | /*--cef(source=library)--*/
48 | class CefAuthCallback : public virtual CefBaseRefCounted {
49 | public:
50 | ///
51 | // Continue the authentication request.
52 | ///
53 | /*--cef(capi_name=cont,optional_param=username,optional_param=password)--*/
54 | virtual void Continue(const CefString& username,
55 | const CefString& password) = 0;
56 |
57 | ///
58 | // Cancel the authentication request.
59 | ///
60 | /*--cef()--*/
61 | virtual void Cancel() = 0;
62 | };
63 |
64 | #endif // CEF_INCLUDE_CEF_AUTH_CALLBACK_H_
65 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_config.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2021 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // This file is generated by the make_config_header.py tool.
33 | //
34 |
35 | #ifndef CEF_INCLUDE_CEF_CONFIG_H_
36 | #define CEF_INCLUDE_CEF_CONFIG_H_
37 |
38 | #define CEF_X11 1
39 | #endif // CEF_INCLUDE_CEF_CONFIG_H_
40 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_path_util.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_PATH_UTIL_H_
38 | #define CEF_INCLUDE_CEF_PATH_UTIL_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | typedef cef_path_key_t PathKey;
44 |
45 | ///
46 | // Retrieve the path associated with the specified |key|. Returns true on
47 | // success. Can be called on any thread in the browser process.
48 | ///
49 | /*--cef()--*/
50 | bool CefGetPath(PathKey key, CefString& path);
51 |
52 | #endif // CEF_INCLUDE_CEF_PATH_UTIL_H_
53 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_process_util.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_PROCESS_UTIL_H_
38 | #define CEF_INCLUDE_CEF_PROCESS_UTIL_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 | #include "include/cef_command_line.h"
43 |
44 | ///
45 | // Launches the process specified via |command_line|. Returns true upon
46 | // success. Must be called on the browser process TID_PROCESS_LAUNCHER thread.
47 | //
48 | // Unix-specific notes:
49 | // - All file descriptors open in the parent process will be closed in the
50 | // child process except for stdin, stdout, and stderr.
51 | // - If the first argument on the command line does not contain a slash,
52 | // PATH will be searched. (See man execvp.)
53 | ///
54 | /*--cef()--*/
55 | bool CefLaunchProcess(CefRefPtr command_line);
56 |
57 | #endif // CEF_INCLUDE_CEF_PROCESS_UTIL_H_
58 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_registration.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2020 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_REGISTRATION_H_
38 | #define CEF_INCLUDE_CEF_REGISTRATION_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Generic callback interface used for managing the lifespan of a registration.
45 | ///
46 | /*--cef(source=library)--*/
47 | class CefRegistration : public virtual CefBaseRefCounted {};
48 |
49 | #endif // CEF_INCLUDE_CEF_REGISTRATION_H_
50 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_request_callback.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2011 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
38 | #define CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
39 | #pragma once
40 |
41 | #include "include/cef_base.h"
42 |
43 | ///
44 | // Callback interface used for asynchronous continuation of url requests.
45 | ///
46 | /*--cef(source=library)--*/
47 | class CefRequestCallback : public virtual CefBaseRefCounted {
48 | public:
49 | ///
50 | // Continue the url request. If |allow| is true the request will be continued.
51 | // Otherwise, the request will be canceled.
52 | ///
53 | /*--cef(capi_name=cont)--*/
54 | virtual void Continue(bool allow) = 0;
55 |
56 | ///
57 | // Cancel the url request.
58 | ///
59 | /*--cef()--*/
60 | virtual void Cancel() = 0;
61 | };
62 |
63 | #endif // CEF_INCLUDE_CEF_REQUEST_CALLBACK_H_
64 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/cef_string_visitor.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_CEF_STRING_VISITOR_H_
38 | #define CEF_INCLUDE_CEF_STRING_VISITOR_H_
39 |
40 | #include "include/cef_base.h"
41 |
42 | ///
43 | // Implement this interface to receive string values asynchronously.
44 | ///
45 | /*--cef(source=client)--*/
46 | class CefStringVisitor : public virtual CefBaseRefCounted {
47 | public:
48 | ///
49 | // Method that will be executed.
50 | ///
51 | /*--cef(optional_param=string)--*/
52 | virtual void Visit(const CefString& string) = 0;
53 | };
54 |
55 | #endif // CEF_INCLUDE_CEF_STRING_VISITOR_H_
56 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/internal/cef_export.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
2 | // reserved.
3 | //
4 | // Redistribution and use in source and binary forms, with or without
5 | // modification, are permitted provided that the following conditions are
6 | // met:
7 | //
8 | // * Redistributions of source code must retain the above copyright
9 | // notice, this list of conditions and the following disclaimer.
10 | // * Redistributions in binary form must reproduce the above
11 | // copyright notice, this list of conditions and the following disclaimer
12 | // in the documentation and/or other materials provided with the
13 | // distribution.
14 | // * Neither the name of Google Inc. nor the name Chromium Embedded
15 | // Framework nor the names of its contributors may be used to endorse
16 | // or promote products derived from this software without specific prior
17 | // written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | #ifndef CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
32 | #define CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
33 | #pragma once
34 |
35 | #include "include/base/cef_build.h"
36 |
37 | #if defined(COMPILER_MSVC)
38 |
39 | #ifdef BUILDING_CEF_SHARED
40 | #define CEF_EXPORT __declspec(dllexport)
41 | #elif USING_CEF_SHARED
42 | #define CEF_EXPORT __declspec(dllimport)
43 | #else
44 | #define CEF_EXPORT
45 | #endif
46 |
47 | #elif defined(COMPILER_GCC)
48 |
49 | #define CEF_EXPORT __attribute__((visibility("default")))
50 |
51 | #endif // COMPILER_GCC
52 |
53 | #if defined(OS_WIN)
54 | #define CEF_CALLBACK __stdcall
55 | #else
56 | #define CEF_CALLBACK
57 | #endif
58 |
59 | #endif // CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
60 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/internal/cef_logging_internal.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 |
30 | #ifndef CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
31 | #define CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
32 | #pragma once
33 |
34 | #include
35 |
36 | #include "include/internal/cef_export.h"
37 |
38 | #ifdef __cplusplus
39 | extern "C" {
40 | #endif
41 |
42 | // See include/base/cef_logging.h for macros and intended usage.
43 |
44 | ///
45 | // Gets the current log level.
46 | ///
47 | CEF_EXPORT int cef_get_min_log_level();
48 |
49 | ///
50 | // Gets the current vlog level for the given file (usually taken from
51 | // __FILE__). Note that |N| is the size *with* the null terminator.
52 | ///
53 | CEF_EXPORT int cef_get_vlog_level(const char* file_start, size_t N);
54 |
55 | ///
56 | // Add a log message. See the LogSeverity defines for supported |severity|
57 | // values.
58 | ///
59 | CEF_EXPORT void cef_log(const char* file,
60 | int line,
61 | int severity,
62 | const char* message);
63 |
64 | #ifdef __cplusplus
65 | }
66 | #endif // __cplusplus
67 |
68 | #endif // CEF_INCLUDE_INTERNAL_CEF_LOGGING_INTERNAL_H_
69 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/views/cef_button_delegate.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_view_delegate.h"
42 |
43 | class CefButton;
44 |
45 | ///
46 | // Implement this interface to handle Button events. The methods of this class
47 | // will be called on the browser process UI thread unless otherwise indicated.
48 | ///
49 | /*--cef(source=client)--*/
50 | class CefButtonDelegate : public CefViewDelegate {
51 | public:
52 | ///
53 | // Called when |button| is pressed.
54 | ///
55 | /*--cef()--*/
56 | virtual void OnButtonPressed(CefRefPtr button) = 0;
57 |
58 | ///
59 | // Called when the state of |button| changes.
60 | ///
61 | /*--cef()--*/
62 | virtual void OnButtonStateChanged(CefRefPtr button) {}
63 | };
64 |
65 | #endif // CEF_INCLUDE_VIEWS_CEF_BUTTON_DELEGATE_H_
66 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/views/cef_fill_layout.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_layout.h"
42 |
43 | ///
44 | // A simple Layout that causes the associated Panel's one child to be sized to
45 | // match the bounds of its parent. Methods must be called on the browser process
46 | // UI thread unless otherwise indicated.
47 | ///
48 | /*--cef(source=library)--*/
49 | class CefFillLayout : public CefLayout {};
50 |
51 | #endif // CEF_INCLUDE_VIEWS_CEF_FILL_LAYOUT_H_
52 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF/Win/include/views/cef_panel_delegate.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved.
2 | //
3 | // Redistribution and use in source and binary forms, with or without
4 | // modification, are permitted provided that the following conditions are
5 | // met:
6 | //
7 | // * Redistributions of source code must retain the above copyright
8 | // notice, this list of conditions and the following disclaimer.
9 | // * Redistributions in binary form must reproduce the above
10 | // copyright notice, this list of conditions and the following disclaimer
11 | // in the documentation and/or other materials provided with the
12 | // distribution.
13 | // * Neither the name of Google Inc. nor the name Chromium Embedded
14 | // Framework nor the names of its contributors may be used to endorse
15 | // or promote products derived from this software without specific prior
16 | // written permission.
17 | //
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | //
30 | // ---------------------------------------------------------------------------
31 | //
32 | // The contents of this file must follow a specific format in order to
33 | // support the CEF translator tool. See the translator.README.txt file in the
34 | // tools directory for more information.
35 | //
36 |
37 | #ifndef CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
38 | #define CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
39 | #pragma once
40 |
41 | #include "include/views/cef_view_delegate.h"
42 |
43 | ///
44 | // Implement this interface to handle Panel events. The methods of this class
45 | // will be called on the browser process UI thread unless otherwise indicated.
46 | ///
47 | /*--cef(source=client)--*/
48 | class CefPanelDelegate : public CefViewDelegate {};
49 |
50 | #endif // CEF_INCLUDE_VIEWS_CEF_PANEL_DELEGATE_H_
51 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CEF3SimpleSample.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 | Source Files
23 |
24 |
25 | Source Files
26 |
27 |
28 | Source Files
29 |
30 |
31 |
32 |
33 | Source Files
34 |
35 |
36 | Source Files
37 |
38 |
39 | Source Files
40 |
41 |
42 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/ClientApp.cpp:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2013 Álan Crístoffer
3 | *
4 | * Permission is hereby granted, free of charge, to any person obtaining a
5 | * copy of this software and associated documentation files (the "Software"),
6 | * to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | * and/or sell copies of the Software, and to permit persons to whom the
9 | * Software is furnished to do so, subject to the following conditions:
10 | *
11 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | * DEALINGS IN THE SOFTWARE.
18 | ******************************************************************************/
19 |
20 | #include "ClientApp.h"
21 |
22 | #include "ClientHandler.h"
23 | #include "ClientV8ExtensionHandler.h"
24 | #include "include/wrapper/cef_helpers.h"
25 |
26 | ClientApp::ClientApp()
27 | {
28 | }
29 |
30 | void ClientApp::OnWebKitInitialized()
31 | {
32 | std::string app_code =
33 | "var app;"
34 | "if (!app)"
35 | " app = {};"
36 | "(function() {"
37 | " app.ChangeTextInJS = function(text) {"
38 | " native function ChangeTextInJS();"
39 | " return ChangeTextInJS(text);"
40 | " };"
41 | "})();";
42 |
43 | CefRegisterExtension("v8/app", app_code,
44 | new ClientV8ExtensionHandler(this));
45 | }
46 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/ClientApp.h:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2013 Álan Crístoffer
3 | *
4 | * Permission is hereby granted, free of charge, to any person obtaining a
5 | * copy of this software and associated documentation files (the "Software"),
6 | * to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | * and/or sell copies of the Software, and to permit persons to whom the
9 | * Software is furnished to do so, subject to the following conditions:
10 | *
11 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | * DEALINGS IN THE SOFTWARE.
18 | ******************************************************************************/
19 |
20 | #ifndef __CEF3SimpleSample__ClientHandler__
21 | #define __CEF3SimpleSample__ClientHandler__
22 |
23 | #include "include/cef_app.h"
24 | #include "include/cef_client.h"
25 |
26 | class ClientApp : public CefApp, public CefRenderProcessHandler {
27 | public:
28 | ClientApp();
29 |
30 | CefRefPtr GetRenderProcessHandler() OVERRIDE
31 | {
32 | return this;
33 | }
34 |
35 | void OnWebKitInitialized() OVERRIDE;
36 |
37 | IMPLEMENT_REFCOUNTING(ClientApp);
38 | };
39 |
40 | #endif /* defined(__CEF3SimpleSample__ClientHandler__) */
41 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/ClientHandler.cpp:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2013 Álan Crístoffer
3 | *
4 | * Permission is hereby granted, free of charge, to any person obtaining a
5 | * copy of this software and associated documentation files (the "Software"),
6 | * to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | * and/or sell copies of the Software, and to permit persons to whom the
9 | * Software is furnished to do so, subject to the following conditions:
10 | *
11 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | * DEALINGS IN THE SOFTWARE.
18 | ******************************************************************************/
19 |
20 | #include "ClientHandler.h"
21 |
22 | #include "include/cef_app.h"
23 | #include "include/cef_base.h"
24 | #include "include/cef_client.h"
25 | #include "include/cef_command_line.h"
26 | #include "include/cef_frame.h"
27 | #include "include/cef_web_plugin.h"
28 |
29 | ClientHandler::ClientHandler()
30 | {
31 | }
32 |
33 | bool ClientHandler::DoClose(CefRefPtr browser)
34 | {
35 | return false;
36 | }
37 |
38 | void ClientHandler::OnAfterCreated(CefRefPtr browser)
39 | {
40 | if (!m_Browser.get()) {
41 | // We need to keep the main child window, but not popup windows
42 | m_Browser = browser;
43 | m_BrowserHandle = browser->GetHost()->GetWindowHandle();
44 | }
45 | }
46 |
47 | void ClientHandler::OnBeforeClose(CefRefPtr browser)
48 | {
49 | if (m_BrowserHandle == browser->GetHost()->GetWindowHandle()) {
50 | // Free the browser pointer so that the browser can be destroyed
51 | m_Browser = NULL;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/ClientHandler.h:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2013 Álan Crístoffer
3 | *
4 | * Permission is hereby granted, free of charge, to any person obtaining a
5 | * copy of this software and associated documentation files (the "Software"),
6 | * to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | * and/or sell copies of the Software, and to permit persons to whom the
9 | * Software is furnished to do so, subject to the following conditions:
10 | *
11 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | * DEALINGS IN THE SOFTWARE.
18 | ******************************************************************************/
19 |
20 | #ifndef __CEFSimpleSample__ClientHandler__
21 | #define __CEFSimpleSample__ClientHandler__
22 |
23 | #include "include/cef_render_process_handler.h"
24 | #include "include/cef_client.h"
25 | #include "include/cef_v8.h"
26 | #include "include/cef_browser.h"
27 |
28 | class ClientHandler : public CefClient, public CefLifeSpanHandler {
29 | public:
30 | ClientHandler();
31 |
32 | CefRefPtr GetBrowser()
33 | {
34 | return m_Browser;
35 | }
36 |
37 | CefWindowHandle GetBrowserHwnd()
38 | {
39 | return m_BrowserHandle;
40 | }
41 |
42 | // CefClient methods
43 | virtual CefRefPtr GetLifeSpanHandler() OVERRIDE
44 | {
45 | return this;
46 | }
47 |
48 | // Virtual on CefLifeSpanHandler
49 | virtual bool DoClose(CefRefPtr browser) OVERRIDE;
50 | virtual void OnAfterCreated(CefRefPtr browser) OVERRIDE;
51 | virtual void OnBeforeClose(CefRefPtr browser) OVERRIDE;
52 |
53 | protected:
54 | // The child browser window
55 | CefRefPtr m_Browser;
56 |
57 | // The child browser window handle
58 | CefWindowHandle m_BrowserHandle;
59 |
60 | // /
61 | // Macro that provides a reference counting implementation for classes
62 | // extending CefBase.
63 | // /
64 | IMPLEMENT_REFCOUNTING(ClientHandler);
65 | };
66 |
67 | #endif /* defined(__CEFSimpleSample__ClientHandler__) */
68 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/ClientV8ExtensionHandler.cpp:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2013 Álan Crístoffer
3 | *
4 | * Permission is hereby granted, free of charge, to any person obtaining a
5 | * copy of this software and associated documentation files (the "Software"),
6 | * to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | * and/or sell copies of the Software, and to permit persons to whom the
9 | * Software is furnished to do so, subject to the following conditions:
10 | *
11 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | * DEALINGS IN THE SOFTWARE.
18 | ******************************************************************************/
19 |
20 | #include "ClientV8ExtensionHandler.h"
21 |
22 | ClientV8ExtensionHandler::ClientV8ExtensionHandler(CefRefPtr app)
23 | {
24 | this->app = app;
25 | }
26 |
27 | bool ClientV8ExtensionHandler::Execute(const CefString &name,
28 | CefRefPtr object,
29 | const CefV8ValueList &arguments,
30 | CefRefPtr &retval,
31 | CefString &exception)
32 | {
33 | if ( name == "ChangeTextInJS" ) {
34 | if ( (arguments.size() == 1) && arguments[0]->IsString() ) {
35 | CefString text = arguments[0]->GetStringValue();
36 | CefRefPtr frame =
37 | CefV8Context::GetCurrentContext()->GetBrowser()
38 | ->
39 | GetMainFrame();
40 | std::string jscall = "ChangeText('";
41 | jscall += text;
42 | jscall += "');";
43 | frame->ExecuteJavaScript(jscall, frame->GetURL(), 0);
44 | /*
45 | * If you want your method to return a value, just use
46 | * retval, like this:
47 | * retval = CefV8Value::CreateString("Hello World!");
48 | * you can use any CefV8Value, what means you can return
49 | * arrays, objects or whatever you can create with
50 | * CefV8Value::Create* methods
51 | */
52 | return true;
53 | }
54 | }
55 |
56 | return false;
57 | }
58 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/ClientV8ExtensionHandler.h:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2013 Álan Crístoffer
3 | *
4 | * Permission is hereby granted, free of charge, to any person obtaining a
5 | * copy of this software and associated documentation files (the "Software"),
6 | * to deal in the Software without restriction, including without limitation
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | * and/or sell copies of the Software, and to permit persons to whom the
9 | * Software is furnished to do so, subject to the following conditions:
10 | *
11 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
17 | * DEALINGS IN THE SOFTWARE.
18 | ******************************************************************************/
19 |
20 | #ifndef __CEF3SimpleSample__ClientV8ExtensionHandler__
21 | #define __CEF3SimpleSample__ClientV8ExtensionHandler__
22 |
23 | #include "include/cef_app.h"
24 |
25 | struct ClientV8ExtensionHandler : public CefV8Handler {
26 | ClientV8ExtensionHandler(CefRefPtr app);
27 |
28 | bool Execute(const CefString &name,
29 | CefRefPtr object,
30 | const CefV8ValueList &arguments,
31 | CefRefPtr &retval,
32 | CefString &exception) OVERRIDE;
33 |
34 | private:
35 | CefRefPtr app;
36 |
37 | IMPLEMENT_REFCOUNTING(ClientV8ExtensionHandler);
38 | };
39 |
40 | #endif /* defined(__CEF3SimpleSample__ClientV8ExtensionHandler__) */
41 |
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/app.css:
--------------------------------------------------------------------------------
1 | * {
2 | margin: 0;
3 | padding: 0;
4 | }
5 |
6 | body {
7 | width: 100%;
8 | height: 100%;
9 | background: url(../img/bg.png) repeat-y top left;
10 | }
11 |
12 | #container {
13 | text-align: center;
14 | }
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_flat_0_333333_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_flat_0_333333_40x100.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_flat_65_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_flat_65_ffffff_40x100.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_flat_75_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_flat_75_ffffff_40x100.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-icons_004276_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-icons_004276_256x240.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-icons_cc0000_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-icons_cc0000_256x240.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-icons_ffffff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/css/blitzer/images/ui-icons_ffffff_256x240.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/acristoffers/CEF3SimpleSample/c2b23c3cadab3a58c723346cbf32d2ab3164ca3b/CEF3SimpleSample/CrossPlatform/html/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/CEF3SimpleSample/CrossPlatform/html/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CEFSimpleApplication
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |