mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Compare commits
196 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
7001d56090 | ||
|
90eb8ccacc | ||
|
e7846f4305 | ||
|
7cb6de3925 | ||
|
52be333cfa | ||
|
76634e9b50 | ||
|
8856ee4a5a | ||
|
2429af4e57 | ||
|
8de6b17541 | ||
|
162fdec77b | ||
|
f2ecb89741 | ||
|
ad428f3212 | ||
|
00e6af45f8 | ||
|
89261260df | ||
|
628f8107a7 | ||
|
ce42c133d3 | ||
|
42873cd85b | ||
|
25f55fbb74 | ||
|
4f99f5d329 | ||
|
a6a4e9f051 | ||
|
0f098accaf | ||
|
c024311399 | ||
|
988e669b75 | ||
|
b98524a59d | ||
|
beb1c7ba80 | ||
|
ffdd705602 | ||
|
c8fd3de01a | ||
|
b246d8420d | ||
|
e1b0be6437 | ||
|
0e1d6c6906 | ||
|
28d24e22d6 | ||
|
6df612a597 | ||
|
91a1286d52 | ||
|
3e06fa8271 | ||
|
f5a3fd6430 | ||
|
7ea19d740d | ||
|
919ae45b0f | ||
|
285dbb1ce6 | ||
|
bb5fe57984 | ||
|
1e0c248044 | ||
|
a7e997e524 | ||
|
07f57223a8 | ||
|
315b57e9f7 | ||
|
f9ebe693e4 | ||
|
15fad89839 | ||
|
e4ae534754 | ||
|
49c149c20b | ||
|
c64898f9fc | ||
|
1928572b52 | ||
|
da53451f97 | ||
|
a2bf177a32 | ||
|
dead08bf52 | ||
|
8a055593d6 | ||
|
48dabc9143 | ||
|
e6a3a5b72d | ||
|
1e6b870af0 | ||
|
713eebcafc | ||
|
09afa3a843 | ||
|
64cd460c73 | ||
|
b9c10cb46e | ||
|
c7d2891058 | ||
|
275af5e972 | ||
|
3a91ccd940 | ||
|
bb61775b61 | ||
|
3cdc29aa53 | ||
|
8aa4b7aaae | ||
|
c7d187a512 | ||
|
f97a241126 | ||
|
0401e6b912 | ||
|
869efa155f | ||
|
116859456e | ||
|
0abd08b6cc | ||
|
e8e0f1f6c6 | ||
|
a64237bcb0 | ||
|
ea0e213bef | ||
|
a659b48fd1 | ||
|
4cc3a221c3 | ||
|
dec98a5534 | ||
|
fcad76b405 | ||
|
0fb03e7aa1 | ||
|
7f3c21b64a | ||
|
339ce47575 | ||
|
7d09642925 | ||
|
fad6aec5d0 | ||
|
96bd993d99 | ||
|
8e9d736cda | ||
|
6a76bdb040 | ||
|
cf5b322efc | ||
|
7139f01103 | ||
|
0d12959a50 | ||
|
10c01ff43e | ||
|
66b5dc3d55 | ||
|
f12ad6b634 | ||
|
5bf4d4febd | ||
|
448a112352 | ||
|
9229cdd0eb | ||
|
9e22c975fa | ||
|
6301e06c8a | ||
|
123324f5f9 | ||
|
eb3325a9ae | ||
|
2d48a07bec | ||
|
669e8673ce | ||
|
b03c54bfbe | ||
|
35830c88e5 | ||
|
3c3045a5cb | ||
|
b25374c8e7 | ||
|
4f28c5ffff | ||
|
12043b16e7 | ||
|
d9ebd4c50f | ||
|
f6f2c9a0ca | ||
|
21310e4374 | ||
|
08ff72fa20 | ||
|
12cc069b69 | ||
|
cd27cbc802 | ||
|
a9f0fa9dfe | ||
|
240ba800ed | ||
|
84e2286995 | ||
|
58413e16b1 | ||
|
58e2e4b23d | ||
|
77dc8157d0 | ||
|
8426da0de6 | ||
|
66484d799e | ||
|
dcf533cc3c | ||
|
67708d07f2 | ||
|
d1d4f7a3ef | ||
|
46e8152b6d | ||
|
1f4f8f4af7 | ||
|
f24f885eeb | ||
|
a3c55f1d26 | ||
|
f6c9a96a12 | ||
|
4b33c17533 | ||
|
0677d0d9de | ||
|
64d86a7397 | ||
|
87e33b1692 | ||
|
4315f3b724 | ||
|
bb28b85bdd | ||
|
90863b8c5d | ||
|
c3f5e6463c | ||
|
b220672c42 | ||
|
acb0922500 | ||
|
b44919e3c5 | ||
|
a1f47abaf6 | ||
|
ff8aa46e5e | ||
|
d4ec164297 | ||
|
e312a35ef3 | ||
|
3018e1866b | ||
|
7a59914f97 | ||
|
4fb6e1ba29 | ||
|
e030236c36 | ||
|
a98c6b1f52 | ||
|
5b136976e9 | ||
|
56bbee8efb | ||
|
cd6ff760dd | ||
|
5caccda56c | ||
|
3b499d3d11 | ||
|
cca0bcc8e0 | ||
|
39ccd85d77 | ||
|
0ac37cefa1 | ||
|
36668efc2f | ||
|
a5a5e7ff08 | ||
|
57b9cf9ddd | ||
|
57fb011377 | ||
|
9e644b7538 | ||
|
ac86b61139 | ||
|
c3f2c2e91c | ||
|
de1bd286f8 | ||
|
98de8e79db | ||
|
d34d3d1b3b | ||
|
d7e1312e9d | ||
|
a2f430c6f3 | ||
|
128fbfb2d6 | ||
|
6006f77bd9 | ||
|
232f6bc427 | ||
|
50ca6928c3 | ||
|
1c7391b70a | ||
|
0cd8169125 | ||
|
6e457d6bb1 | ||
|
8b4b6ac2ed | ||
|
3750c59aaa | ||
|
7b3d7b8575 | ||
|
e5d0cfe639 | ||
|
f02e7b54b3 | ||
|
accf1f1613 | ||
|
a724e90d52 | ||
|
4ddff77339 | ||
|
54a015f785 | ||
|
f052e282dd | ||
|
2fe9f7bd31 | ||
|
cafa5954dc | ||
|
d8bc3d8372 | ||
|
4c5ccce85f | ||
|
552a3bf353 | ||
|
c04652d193 | ||
|
56557833d9 | ||
|
6a9a51222e | ||
|
14c030174e |
350
BUILD.gn
350
BUILD.gn
@@ -13,14 +13,14 @@
|
|||||||
# Optionally configure GN by setting the `GN_DEFINES` and/or `GN_ARGUMENTS`
|
# Optionally configure GN by setting the `GN_DEFINES` and/or `GN_ARGUMENTS`
|
||||||
# environment variables.
|
# environment variables.
|
||||||
#
|
#
|
||||||
# Example A: Use /DEBUG:FASTLINK on Windows:
|
# Example A: Create an official build on Windows:
|
||||||
#
|
#
|
||||||
# > set GN_DEFINES=is_win_fastlink=true
|
# > set GN_DEFINES=is_official_build=true
|
||||||
#
|
#
|
||||||
# Example B: Generate VS2015 project files in addition to the default Ninja
|
# Example B: Generate VS2017 project files in addition to the default Ninja
|
||||||
# build files on Windows:
|
# build files on Windows:
|
||||||
#
|
#
|
||||||
# > set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
|
# > set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
|
||||||
#
|
#
|
||||||
# After completing the "GN Automated Build" or "GN Manual Build" section
|
# After completing the "GN Automated Build" or "GN Manual Build" section
|
||||||
# open "out\<build_dir>\cef.sln" for editing and debugging. Building must
|
# open "out\<build_dir>\cef.sln" for editing and debugging. Building must
|
||||||
@@ -100,29 +100,32 @@ import("//build/config/sanitizers/sanitizers.gni")
|
|||||||
import("//build/config/ui.gni")
|
import("//build/config/ui.gni")
|
||||||
import("//cef/cef_repack_locales.gni")
|
import("//cef/cef_repack_locales.gni")
|
||||||
import("//chrome/common/features.gni")
|
import("//chrome/common/features.gni")
|
||||||
import("//extensions/features/features.gni")
|
import("//extensions/buildflags/buildflags.gni")
|
||||||
import("//media/media_options.gni")
|
import("//media/media_options.gni")
|
||||||
import("//mojo/public/tools/bindings/mojom.gni")
|
import("//mojo/public/tools/bindings/mojom.gni")
|
||||||
import("//ppapi/features/features.gni")
|
import("//ppapi/buildflags/buildflags.gni")
|
||||||
import("//printing/features/features.gni")
|
import("//printing/buildflags/buildflags.gni")
|
||||||
import("//services/catalog/public/tools/catalog.gni")
|
import("//services/catalog/public/tools/catalog.gni")
|
||||||
import("//services/service_manager/public/service_manifest.gni")
|
import("//services/service_manager/public/service_manifest.gni")
|
||||||
import("//third_party/icu/config.gni")
|
import("//third_party/icu/config.gni")
|
||||||
import("//third_party/widevine/cdm/widevine.gni")
|
import("//third_party/widevine/cdm/widevine.gni")
|
||||||
import("//tools/grit/repack.gni")
|
import("//tools/grit/repack.gni")
|
||||||
import("//tools/grit/grit_rule.gni")
|
import("//tools/grit/grit_rule.gni")
|
||||||
|
import("//tools/v8_context_snapshot/v8_context_snapshot.gni")
|
||||||
|
import("//ui/gl/features.gni")
|
||||||
import("//v8/gni/v8.gni")
|
import("//v8/gni/v8.gni")
|
||||||
if (is_clang) {
|
if (is_clang) {
|
||||||
import("//build/config/clang/clang.gni")
|
import("//build/config/clang/clang.gni")
|
||||||
}
|
}
|
||||||
if (is_linux) {
|
if (is_linux) {
|
||||||
import("//build/config/linux/pkg_config.gni")
|
import("//build/config/linux/pkg_config.gni")
|
||||||
|
import("//third_party/fontconfig/fontconfig.gni")
|
||||||
}
|
}
|
||||||
if (is_mac) {
|
if (is_mac) {
|
||||||
import("//build/config/mac/rules.gni")
|
import("//build/config/mac/rules.gni")
|
||||||
import("//build/mac/tweak_info_plist.gni")
|
import("//build/mac/tweak_info_plist.gni")
|
||||||
import("//build/util/version.gni")
|
import("//build/util/version.gni")
|
||||||
import("//media/cdm/ppapi/cdm_paths.gni")
|
import("//media/cdm/library_cdm/cdm_paths.gni")
|
||||||
}
|
}
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
import("//build/config/win/console_app.gni")
|
import("//build/config/win/console_app.gni")
|
||||||
@@ -147,6 +150,12 @@ if (is_clang) {
|
|||||||
assert(!clang_use_chrome_plugins)
|
assert(!clang_use_chrome_plugins)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_linux) {
|
||||||
|
# Use system fontconfig. This avoids a startup hang on Ubuntu 16.04.4 (see
|
||||||
|
# issue #2424).
|
||||||
|
assert(!use_bundled_fontconfig)
|
||||||
|
}
|
||||||
|
|
||||||
if (is_mac) {
|
if (is_mac) {
|
||||||
# Always generate dSYM files. The make_distrib script will fail if
|
# Always generate dSYM files. The make_distrib script will fail if
|
||||||
# enable_dsyms=true is not explicitly set when is_official_build=false.
|
# enable_dsyms=true is not explicitly set when is_official_build=false.
|
||||||
@@ -164,7 +173,7 @@ if (is_mac) {
|
|||||||
[ rebase_path("//cef", root_build_dir) ],
|
[ rebase_path("//cef", root_build_dir) ],
|
||||||
"trim string", [])
|
"trim string", [])
|
||||||
|
|
||||||
cef_version_file = "//cef/VERSION"
|
cef_version_file = "//cef/VERSION.in"
|
||||||
|
|
||||||
# The tweak_info_plist.py script requires a version number with 4 parts. CEF
|
# The tweak_info_plist.py script requires a version number with 4 parts. CEF
|
||||||
# uses a version number with 3 parts so just set the last part to 0.
|
# uses a version number with 3 parts so just set the last part to 0.
|
||||||
@@ -203,11 +212,11 @@ if (is_mac) {
|
|||||||
# Read file lists from gypi files. The gypi_to_gn.py script does not support
|
# Read file lists from gypi files. The gypi_to_gn.py script does not support
|
||||||
# variable references so all required variables must be explicitly specified in
|
# variable references so all required variables must be explicitly specified in
|
||||||
# the below configurations.
|
# the below configurations.
|
||||||
gypi_paths = exec_script("//build/gypi_to_gn.py",
|
gypi_paths = exec_script("//cef/tools/gypi_to_gn.py",
|
||||||
[ rebase_path("cef_paths.gypi") ],
|
[ rebase_path("cef_paths.gypi") ],
|
||||||
"scope",
|
"scope",
|
||||||
[ "cef_paths.gypi" ])
|
[ "cef_paths.gypi" ])
|
||||||
gypi_paths2 = exec_script("//build/gypi_to_gn.py",
|
gypi_paths2 = exec_script("//cef/tools/gypi_to_gn.py",
|
||||||
[ rebase_path("cef_paths2.gypi") ],
|
[ rebase_path("cef_paths2.gypi") ],
|
||||||
"scope",
|
"scope",
|
||||||
[ "cef_paths2.gypi" ])
|
[ "cef_paths2.gypi" ])
|
||||||
@@ -231,47 +240,6 @@ group("cef") {
|
|||||||
# libcef static target.
|
# libcef static target.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Target for building code that accesses Blink internals. Included from the
|
|
||||||
# //third_party/WebKit/Source/web target.
|
|
||||||
source_set("webkit_set") {
|
|
||||||
sources = [
|
|
||||||
"libcef/renderer/webkit_glue.cc",
|
|
||||||
"libcef/renderer/webkit_glue.h",
|
|
||||||
]
|
|
||||||
|
|
||||||
configs += [
|
|
||||||
"libcef/features:config",
|
|
||||||
"//build/config:precompiled_headers",
|
|
||||||
|
|
||||||
# Blink-internal include paths.
|
|
||||||
"//third_party/WebKit/Source/core:core_include_dirs",
|
|
||||||
]
|
|
||||||
|
|
||||||
include_dirs = [
|
|
||||||
# Blink code uses paths relative to these directories. We need them because
|
|
||||||
# we include Blink headers.
|
|
||||||
"//third_party/WebKit",
|
|
||||||
"//third_party/WebKit/public/platform",
|
|
||||||
"//third_party/WebKit/public/web",
|
|
||||||
"//third_party/WebKit/Source",
|
|
||||||
"$root_gen_dir/blink",
|
|
||||||
"$root_gen_dir/third_party/WebKit",
|
|
||||||
]
|
|
||||||
|
|
||||||
defines = [
|
|
||||||
# Blink-internal defines.
|
|
||||||
"BLINK_IMPLEMENTATION=1",
|
|
||||||
"INSIDE_BLINK",
|
|
||||||
]
|
|
||||||
|
|
||||||
deps = [
|
|
||||||
"//skia",
|
|
||||||
"//third_party/icu",
|
|
||||||
"//third_party/boringssl",
|
|
||||||
"//v8",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
# Target for building code that accesses chrome_elf internals. Included from
|
# Target for building code that accesses chrome_elf internals. Included from
|
||||||
# the //chrome_elf:crash target. Defined as a static_library instead of a
|
# the //chrome_elf:crash target. Defined as a static_library instead of a
|
||||||
@@ -304,12 +272,12 @@ if (is_win) {
|
|||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"//components/crash/core/common", # crash_keys
|
"//components/crash/core/common", # crash_keys
|
||||||
"//gpu/config:crash_keys",
|
|
||||||
|
|
||||||
# Required by chrome_switches.cc
|
# Required by chrome_switches.cc
|
||||||
"//chrome/common:features",
|
"//chrome/common:buildflags",
|
||||||
"//ppapi/features:features",
|
"//ppapi/buildflags:buildflags",
|
||||||
"//printing/features:features",
|
"//printing/buildflags:buildflags",
|
||||||
|
"//ui/base:ui_features",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -321,6 +289,8 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/browser_context.h",
|
"libcef/browser/browser_context.h",
|
||||||
"libcef/browser/browser_context_impl.cc",
|
"libcef/browser/browser_context_impl.cc",
|
||||||
"libcef/browser/browser_context_impl.h",
|
"libcef/browser/browser_context_impl.h",
|
||||||
|
"libcef/browser/browser_context_keyed_service_factories.cc",
|
||||||
|
"libcef/browser/browser_context_keyed_service_factories.h",
|
||||||
"libcef/browser/browser_context_proxy.cc",
|
"libcef/browser/browser_context_proxy.cc",
|
||||||
"libcef/browser/browser_context_proxy.h",
|
"libcef/browser/browser_context_proxy.h",
|
||||||
"libcef/browser/browser_host_impl.cc",
|
"libcef/browser/browser_host_impl.cc",
|
||||||
@@ -370,8 +340,6 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/extensions/api/storage/sync_value_store_cache.h",
|
"libcef/browser/extensions/api/storage/sync_value_store_cache.h",
|
||||||
"libcef/browser/extensions/api/tabs/tabs_api.cc",
|
"libcef/browser/extensions/api/tabs/tabs_api.cc",
|
||||||
"libcef/browser/extensions/api/tabs/tabs_api.h",
|
"libcef/browser/extensions/api/tabs/tabs_api.h",
|
||||||
"libcef/browser/extensions/browser_context_keyed_service_factories.cc",
|
|
||||||
"libcef/browser/extensions/browser_context_keyed_service_factories.h",
|
|
||||||
"libcef/browser/extensions/browser_extensions_util.cc",
|
"libcef/browser/extensions/browser_extensions_util.cc",
|
||||||
"libcef/browser/extensions/browser_extensions_util.h",
|
"libcef/browser/extensions/browser_extensions_util.h",
|
||||||
"libcef/browser/extensions/browser_platform_delegate_background.cc",
|
"libcef/browser/extensions/browser_platform_delegate_background.cc",
|
||||||
@@ -382,6 +350,8 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/extensions/component_extension_resource_manager.h",
|
"libcef/browser/extensions/component_extension_resource_manager.h",
|
||||||
"libcef/browser/extensions/extensions_api_client.cc",
|
"libcef/browser/extensions/extensions_api_client.cc",
|
||||||
"libcef/browser/extensions/extensions_api_client.h",
|
"libcef/browser/extensions/extensions_api_client.h",
|
||||||
|
"libcef/browser/extensions/extensions_browser_api_provider.cc",
|
||||||
|
"libcef/browser/extensions/extensions_browser_api_provider.h",
|
||||||
"libcef/browser/extensions/extensions_browser_client.cc",
|
"libcef/browser/extensions/extensions_browser_client.cc",
|
||||||
"libcef/browser/extensions/extensions_browser_client.h",
|
"libcef/browser/extensions/extensions_browser_client.h",
|
||||||
"libcef/browser/extensions/extension_background_host.cc",
|
"libcef/browser/extensions/extension_background_host.cc",
|
||||||
@@ -413,7 +383,6 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/file_dialog_manager.h",
|
"libcef/browser/file_dialog_manager.h",
|
||||||
"libcef/browser/frame_host_impl.cc",
|
"libcef/browser/frame_host_impl.cc",
|
||||||
"libcef/browser/frame_host_impl.h",
|
"libcef/browser/frame_host_impl.h",
|
||||||
"libcef/browser/geolocation_impl.cc",
|
|
||||||
"libcef/browser/image_impl.cc",
|
"libcef/browser/image_impl.cc",
|
||||||
"libcef/browser/image_impl.h",
|
"libcef/browser/image_impl.h",
|
||||||
"libcef/browser/javascript_dialog_runner.h",
|
"libcef/browser/javascript_dialog_runner.h",
|
||||||
@@ -436,6 +405,8 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/net/chrome_scheme_handler.h",
|
"libcef/browser/net/chrome_scheme_handler.h",
|
||||||
"libcef/browser/net/cookie_store_proxy.cc",
|
"libcef/browser/net/cookie_store_proxy.cc",
|
||||||
"libcef/browser/net/cookie_store_proxy.h",
|
"libcef/browser/net/cookie_store_proxy.h",
|
||||||
|
"libcef/browser/net/cookie_store_source.cc",
|
||||||
|
"libcef/browser/net/cookie_store_source.h",
|
||||||
"libcef/browser/net/crlset_file_util_impl.cc",
|
"libcef/browser/net/crlset_file_util_impl.cc",
|
||||||
"libcef/browser/net/devtools_scheme_handler.cc",
|
"libcef/browser/net/devtools_scheme_handler.cc",
|
||||||
"libcef/browser/net/devtools_scheme_handler.h",
|
"libcef/browser/net/devtools_scheme_handler.h",
|
||||||
@@ -482,12 +453,6 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/osr/web_contents_view_osr.cc",
|
"libcef/browser/osr/web_contents_view_osr.cc",
|
||||||
"libcef/browser/osr/web_contents_view_osr.h",
|
"libcef/browser/osr/web_contents_view_osr.h",
|
||||||
"libcef/browser/path_util_impl.cc",
|
"libcef/browser/path_util_impl.cc",
|
||||||
"libcef/browser/permissions/permission_context.cc",
|
|
||||||
"libcef/browser/permissions/permission_context.h",
|
|
||||||
"libcef/browser/permissions/permission_manager.cc",
|
|
||||||
"libcef/browser/permissions/permission_manager.h",
|
|
||||||
"libcef/browser/permissions/permission_util.cc",
|
|
||||||
"libcef/browser/permissions/permission_util.h",
|
|
||||||
"libcef/browser/plugins/plugin_service_filter.cc",
|
"libcef/browser/plugins/plugin_service_filter.cc",
|
||||||
"libcef/browser/plugins/plugin_service_filter.h",
|
"libcef/browser/plugins/plugin_service_filter.h",
|
||||||
"libcef/browser/prefs/browser_prefs.cc",
|
"libcef/browser/prefs/browser_prefs.cc",
|
||||||
@@ -559,6 +524,8 @@ static_library("libcef_static") {
|
|||||||
"libcef/common/drag_data_impl.h",
|
"libcef/common/drag_data_impl.h",
|
||||||
"libcef/common/extensions/chrome_generated_schemas.cc",
|
"libcef/common/extensions/chrome_generated_schemas.cc",
|
||||||
"libcef/common/extensions/chrome_generated_schemas.h",
|
"libcef/common/extensions/chrome_generated_schemas.h",
|
||||||
|
"libcef/common/extensions/extensions_api_provider.cc",
|
||||||
|
"libcef/common/extensions/extensions_api_provider.h",
|
||||||
"libcef/common/extensions/extensions_client.cc",
|
"libcef/common/extensions/extensions_client.cc",
|
||||||
"libcef/common/extensions/extensions_client.h",
|
"libcef/common/extensions/extensions_client.h",
|
||||||
"libcef/common/extensions/extensions_util.cc",
|
"libcef/common/extensions/extensions_util.cc",
|
||||||
@@ -674,9 +641,7 @@ static_library("libcef_static") {
|
|||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
# Generate pack files and associated CEF header files.
|
":cef_make_headers",
|
||||||
":make_pack_header_resources",
|
|
||||||
":make_pack_header_strings",
|
|
||||||
|
|
||||||
# Generate API bindings for extensions.
|
# Generate API bindings for extensions.
|
||||||
# TODO(cef): Enable if/when CEF exposes its own Mojo APIs. See
|
# TODO(cef): Enable if/when CEF exposes its own Mojo APIs. See
|
||||||
@@ -694,8 +659,10 @@ static_library("libcef_static") {
|
|||||||
"//chrome/child",
|
"//chrome/child",
|
||||||
"//chrome/common",
|
"//chrome/common",
|
||||||
"//chrome/renderer",
|
"//chrome/renderer",
|
||||||
|
"//chrome/services/printing:lib",
|
||||||
"//chrome/utility",
|
"//chrome/utility",
|
||||||
"//components/cdm/renderer",
|
"//components/cdm/renderer",
|
||||||
|
"//components/certificate_transparency",
|
||||||
"//components/content_settings/core/browser",
|
"//components/content_settings/core/browser",
|
||||||
"//components/content_settings/core/common",
|
"//components/content_settings/core/common",
|
||||||
"//components/crx_file",
|
"//components/crx_file",
|
||||||
@@ -712,11 +679,12 @@ static_library("libcef_static") {
|
|||||||
"//components/printing/browser",
|
"//components/printing/browser",
|
||||||
"//components/printing/common",
|
"//components/printing/common",
|
||||||
"//components/printing/renderer",
|
"//components/printing/renderer",
|
||||||
"//components/printing/service:pdf_compositor_manifest",
|
|
||||||
"//components/printing/service/public/cpp:factory",
|
|
||||||
"//components/printing/service/public/interfaces",
|
|
||||||
"//components/proxy_config",
|
"//components/proxy_config",
|
||||||
"//components/ssl_config",
|
"//components/safe_browsing/db:test_database_manager",
|
||||||
|
"//components/services/pdf_compositor:pdf_compositor_manifest",
|
||||||
|
"//components/services/pdf_compositor/public/cpp:factory",
|
||||||
|
"//components/services/pdf_compositor/public/interfaces",
|
||||||
|
"//components/tracing",
|
||||||
"//components/update_client",
|
"//components/update_client",
|
||||||
"//components/url_formatter",
|
"//components/url_formatter",
|
||||||
"//components/user_prefs",
|
"//components/user_prefs",
|
||||||
@@ -731,46 +699,42 @@ static_library("libcef_static") {
|
|||||||
"//content/public/child",
|
"//content/public/child",
|
||||||
"//content/public/common",
|
"//content/public/common",
|
||||||
"//content/public/gpu",
|
"//content/public/gpu",
|
||||||
"//content/public/network",
|
|
||||||
"//content/public/renderer",
|
"//content/public/renderer",
|
||||||
"//content/public/utility",
|
"//content/public/utility",
|
||||||
"//crypto",
|
"//crypto",
|
||||||
"//device/base",
|
"//device/base",
|
||||||
"//device/geolocation",
|
|
||||||
"//device/geolocation/public/interfaces",
|
|
||||||
"//extensions/browser",
|
"//extensions/browser",
|
||||||
"//extensions/browser/api:api_registration",
|
"//extensions/browser:core_api_provider",
|
||||||
|
"//extensions/buildflags",
|
||||||
"//extensions/common/api",
|
"//extensions/common/api",
|
||||||
"//extensions/features",
|
"//extensions/common:core_api_provider",
|
||||||
"//extensions/renderer",
|
"//extensions/renderer",
|
||||||
"//extensions/utility",
|
|
||||||
"//gpu",
|
"//gpu",
|
||||||
"//ipc",
|
"//ipc",
|
||||||
"//media",
|
"//media",
|
||||||
"//media/blink",
|
"//media/blink",
|
||||||
"//net",
|
"//net",
|
||||||
"//net:net_browser_services",
|
|
||||||
"//net:net_utility_services",
|
|
||||||
"//net:net_with_v8",
|
"//net:net_with_v8",
|
||||||
"//pdf",
|
"//pdf",
|
||||||
"//ppapi/features",
|
"//ppapi/buildflags",
|
||||||
"//printing/features",
|
"//printing/buildflags",
|
||||||
|
"//services/network:network_service",
|
||||||
|
"//services/network/public/cpp",
|
||||||
"//services/service_manager/embedder",
|
"//services/service_manager/embedder",
|
||||||
"//services/service_manager/public/interfaces",
|
"//services/service_manager/public/cpp",
|
||||||
"//services/service_manager/runner/common",
|
"//services/service_manager/runner/common",
|
||||||
"//skia",
|
"//skia",
|
||||||
"//storage/browser",
|
"//storage/browser",
|
||||||
|
"//third_party/blink/public:blink",
|
||||||
"//third_party/brotli:dec",
|
"//third_party/brotli:dec",
|
||||||
"//third_party/cld_3/src/src:cld_3",
|
"//third_party/cld_3/src/src:cld_3",
|
||||||
"//third_party/hunspell",
|
"//third_party/hunspell",
|
||||||
"//third_party/leveldatabase",
|
"//third_party/leveldatabase",
|
||||||
"//third_party/libxml",
|
"//third_party/libxml",
|
||||||
"//third_party/WebKit/public:blink",
|
|
||||||
"//third_party/widevine/cdm:headers",
|
"//third_party/widevine/cdm:headers",
|
||||||
"//third_party/widevine/cdm:widevinecdmadapter",
|
"//third_party/widevine/cdm",
|
||||||
"//third_party/icu",
|
"//third_party/icu",
|
||||||
"//third_party/zlib:minizip",
|
"//third_party/zlib:minizip",
|
||||||
"//tools/v8_context_snapshot:v8_context_snapshot",
|
|
||||||
"//ui/base",
|
"//ui/base",
|
||||||
"//ui/base/ime",
|
"//ui/base/ime",
|
||||||
"//ui/events:events_base",
|
"//ui/events:events_base",
|
||||||
@@ -803,8 +767,6 @@ static_library("libcef_static") {
|
|||||||
"libcef/browser/osr/browser_platform_delegate_osr_win.cc",
|
"libcef/browser/osr/browser_platform_delegate_osr_win.cc",
|
||||||
"libcef/browser/osr/browser_platform_delegate_osr_win.h",
|
"libcef/browser/osr/browser_platform_delegate_osr_win.h",
|
||||||
"libcef/browser/osr/render_widget_host_view_osr_win.cc",
|
"libcef/browser/osr/render_widget_host_view_osr_win.cc",
|
||||||
"libcef/common/crash_reporting_win.cc",
|
|
||||||
"libcef/common/crash_reporting_win.h",
|
|
||||||
|
|
||||||
# Part of //chrome/utility.
|
# Part of //chrome/utility.
|
||||||
"//chrome/utility/printing_handler.cc",
|
"//chrome/utility/printing_handler.cc",
|
||||||
@@ -812,6 +774,7 @@ static_library("libcef_static") {
|
|||||||
]
|
]
|
||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
|
"//chrome/install_static:secondary_module",
|
||||||
"//chrome_elf",
|
"//chrome_elf",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -821,6 +784,8 @@ static_library("libcef_static") {
|
|||||||
|
|
||||||
libs = [
|
libs = [
|
||||||
"comctl32.lib",
|
"comctl32.lib",
|
||||||
|
# For D3D11_DECODER_PROFILE_H264_VLD_NOFGT.
|
||||||
|
"dxguid.lib",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -841,7 +806,6 @@ static_library("libcef_static") {
|
|||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
"//build/config/freetype",
|
"//build/config/freetype",
|
||||||
"//services/ui:lib",
|
|
||||||
"//third_party/fontconfig",
|
"//third_party/fontconfig",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -873,12 +837,21 @@ static_library("libcef_static") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_posix && !is_mac) {
|
if (is_posix && !is_mac) {
|
||||||
|
sources += [
|
||||||
|
"libcef/common/cef_crash_report_utils.cc",
|
||||||
|
"libcef/common/cef_crash_report_utils.h",
|
||||||
|
]
|
||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
"//components/crash/content/app",
|
"//components/crash/content/app",
|
||||||
"//components/crash/content/browser",
|
"//components/crash/content/browser",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (v8_use_external_startup_data && use_v8_context_snapshot) {
|
||||||
|
deps += [ "//tools/v8_context_snapshot" ]
|
||||||
|
}
|
||||||
|
|
||||||
if (use_aura) {
|
if (use_aura) {
|
||||||
sources += [
|
sources += [
|
||||||
"libcef/browser/native/window_delegate_view.cc",
|
"libcef/browser/native/window_delegate_view.cc",
|
||||||
@@ -1036,6 +1009,10 @@ static_library("libcef_dll_wrapper") {
|
|||||||
gypi_paths2.libcef_dll_wrapper_sources_common +
|
gypi_paths2.libcef_dll_wrapper_sources_common +
|
||||||
gypi_paths.autogen_client_side
|
gypi_paths.autogen_client_side
|
||||||
|
|
||||||
|
if (is_mac) {
|
||||||
|
sources += gypi_paths2.libcef_dll_wrapper_sources_mac
|
||||||
|
}
|
||||||
|
|
||||||
defines = [ "WRAPPING_CEF_SHARED" ]
|
defines = [ "WRAPPING_CEF_SHARED" ]
|
||||||
|
|
||||||
configs += [ ":libcef_dll_wrapper_config" ]
|
configs += [ ":libcef_dll_wrapper_config" ]
|
||||||
@@ -1056,6 +1033,15 @@ if (is_win) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_mac) {
|
||||||
|
static_library("cef_sandbox") {
|
||||||
|
sources = [ "libcef_dll/sandbox/sandbox_mac.mm" ]
|
||||||
|
# CEF sources use include paths relative to the CEF root directory.
|
||||||
|
include_dirs = [ "." ]
|
||||||
|
deps = [ "//sandbox/mac:seatbelt" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Service manifests.
|
# Service manifests.
|
||||||
@@ -1063,7 +1049,10 @@ if (is_win) {
|
|||||||
|
|
||||||
cef_packaged_services = [
|
cef_packaged_services = [
|
||||||
"//chrome/app:chrome_manifest", # For spell checking.
|
"//chrome/app:chrome_manifest", # For spell checking.
|
||||||
|
"//chrome/app:chrome_renderer_manifest", # For spell checking.
|
||||||
|
"//chrome/services/printing:manifest",
|
||||||
"//services/metrics:manifest",
|
"//services/metrics:manifest",
|
||||||
|
"//services/proxy_resolver:proxy_resolver_manifest",
|
||||||
]
|
]
|
||||||
|
|
||||||
service_manifest("cef_packaged_services_manifest_overlay") {
|
service_manifest("cef_packaged_services_manifest_overlay") {
|
||||||
@@ -1105,11 +1094,11 @@ template("cef_pak_scaled") {
|
|||||||
# Each input pak file should also have a deps line for completeness.
|
# Each input pak file should also have a deps line for completeness.
|
||||||
# Add associated .h files in the make_pack_header("resources") target.
|
# Add associated .h files in the make_pack_header("resources") target.
|
||||||
sources = [
|
sources = [
|
||||||
"$root_gen_dir/blink/public/resources/blink_scaled_resources_${percent}_percent.pak",
|
|
||||||
"$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak",
|
"$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak",
|
||||||
"$root_gen_dir/components/components_resources_${percent}_percent.pak",
|
"$root_gen_dir/components/components_resources_${percent}_percent.pak",
|
||||||
"$root_gen_dir/content/app/resources/content_resources_${percent}_percent.pak",
|
"$root_gen_dir/content/app/resources/content_resources_${percent}_percent.pak",
|
||||||
"$root_gen_dir/extensions/extensions_browser_resources_${percent}_percent.pak",
|
"$root_gen_dir/extensions/extensions_browser_resources_${percent}_percent.pak",
|
||||||
|
"$root_gen_dir/third_party/blink/public/resources/blink_scaled_resources_${percent}_percent.pak",
|
||||||
"$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak",
|
"$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -1117,18 +1106,18 @@ template("cef_pak_scaled") {
|
|||||||
# the libcef_static target. Grit deps that generate .cc files must be
|
# the libcef_static target. Grit deps that generate .cc files must be
|
||||||
# listed both here and in the libcef_static target.
|
# listed both here and in the libcef_static target.
|
||||||
public_deps = [
|
public_deps = [
|
||||||
"//third_party/WebKit/public:scaled_resources",
|
|
||||||
"//chrome/renderer:resources",
|
"//chrome/renderer:resources",
|
||||||
"//components/resources:components_scaled_resources",
|
"//components/resources:components_scaled_resources",
|
||||||
"//content/app/resources",
|
"//content/app/resources",
|
||||||
"//extensions:extensions_browser_resources",
|
"//extensions:extensions_browser_resources",
|
||||||
|
"//third_party/blink/public:scaled_resources",
|
||||||
"//ui/resources:ui_resources_grd",
|
"//ui/resources:ui_resources_grd",
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
# This repack target generates the blink_scaled_resources_*_percent.pak
|
# This repack target generates the blink_scaled_resources_*_percent.pak
|
||||||
# file but doesn't expose the public_deps required by make_pack_header.
|
# file but doesn't expose the public_deps required by make_pack_header.
|
||||||
"//third_party/WebKit/public:scaled_resources_${percent}_percent",
|
"//third_party/blink/public:scaled_resources_${percent}_percent",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (toolkit_views) {
|
if (toolkit_views) {
|
||||||
@@ -1245,7 +1234,6 @@ repack("pak") {
|
|||||||
# Each input pak file should also have a deps line for completeness.
|
# Each input pak file should also have a deps line for completeness.
|
||||||
# Add associated .h files in the make_pack_header("resources") target.
|
# Add associated .h files in the make_pack_header("resources") target.
|
||||||
sources = [
|
sources = [
|
||||||
"$root_gen_dir/blink/public/resources/blink_resources.pak",
|
|
||||||
"$root_gen_dir/chrome/browser_resources.pak",
|
"$root_gen_dir/chrome/browser_resources.pak",
|
||||||
"$root_gen_dir/chrome/net_internals_resources.pak",
|
"$root_gen_dir/chrome/net_internals_resources.pak",
|
||||||
"$root_gen_dir/chrome/common_resources.pak",
|
"$root_gen_dir/chrome/common_resources.pak",
|
||||||
@@ -1254,13 +1242,13 @@ repack("pak") {
|
|||||||
"$root_gen_dir/content/browser/tracing/tracing_resources.pak",
|
"$root_gen_dir/content/browser/tracing/tracing_resources.pak",
|
||||||
"$root_gen_dir/content/content_resources.pak",
|
"$root_gen_dir/content/content_resources.pak",
|
||||||
"$root_gen_dir/net/net_resources.pak",
|
"$root_gen_dir/net/net_resources.pak",
|
||||||
|
"$root_gen_dir/third_party/blink/public/resources/blink_resources.pak",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Use public_deps so that generated grit headers are discoverable from
|
# Use public_deps so that generated grit headers are discoverable from
|
||||||
# the libcef_static target. Grit deps that generate .cc files must be
|
# the libcef_static target. Grit deps that generate .cc files must be
|
||||||
# listed both here and in the libcef_static target.
|
# listed both here and in the libcef_static target.
|
||||||
public_deps = [
|
public_deps = [
|
||||||
"//third_party/WebKit/public:resources_grit",
|
|
||||||
"//chrome/browser:resources",
|
"//chrome/browser:resources",
|
||||||
"//chrome/browser/resources:net_internals_resources",
|
"//chrome/browser/resources:net_internals_resources",
|
||||||
"//chrome/common:resources",
|
"//chrome/common:resources",
|
||||||
@@ -1269,6 +1257,7 @@ repack("pak") {
|
|||||||
"//content/browser/tracing:resources",
|
"//content/browser/tracing:resources",
|
||||||
"//content:resources",
|
"//content:resources",
|
||||||
"//net:net_resources",
|
"//net:net_resources",
|
||||||
|
"//third_party/blink/public:resources",
|
||||||
]
|
]
|
||||||
|
|
||||||
output = "$root_out_dir/cef.pak"
|
output = "$root_out_dir/cef.pak"
|
||||||
@@ -1305,9 +1294,6 @@ template("make_pack_header") {
|
|||||||
make_pack_header("resources") {
|
make_pack_header("resources") {
|
||||||
header = "$root_out_dir/includes/include/cef_pack_resources.h"
|
header = "$root_out_dir/includes/include/cef_pack_resources.h"
|
||||||
inputs = [
|
inputs = [
|
||||||
"$root_gen_dir/blink/public/resources/grit/media_controls_resources.h",
|
|
||||||
"$root_gen_dir/blink/public/resources/grit/blink_image_resources.h",
|
|
||||||
"$root_gen_dir/blink/public/resources/grit/blink_resources.h",
|
|
||||||
"$root_gen_dir/cef/grit/cef_resources.h",
|
"$root_gen_dir/cef/grit/cef_resources.h",
|
||||||
"$root_gen_dir/chrome/grit/browser_resources.h",
|
"$root_gen_dir/chrome/grit/browser_resources.h",
|
||||||
"$root_gen_dir/chrome/grit/common_resources.h",
|
"$root_gen_dir/chrome/grit/common_resources.h",
|
||||||
@@ -1322,6 +1308,7 @@ make_pack_header("resources") {
|
|||||||
"$root_gen_dir/extensions/grit/extensions_renderer_resources.h",
|
"$root_gen_dir/extensions/grit/extensions_renderer_resources.h",
|
||||||
"$root_gen_dir/extensions/grit/extensions_resources.h",
|
"$root_gen_dir/extensions/grit/extensions_resources.h",
|
||||||
"$root_gen_dir/net/grit/net_resources.h",
|
"$root_gen_dir/net/grit/net_resources.h",
|
||||||
|
"$root_gen_dir/third_party/blink/public/resources/grit/blink_resources.h",
|
||||||
"$root_gen_dir/ui/resources/grit/ui_resources.h",
|
"$root_gen_dir/ui/resources/grit/ui_resources.h",
|
||||||
"$root_gen_dir/ui/resources/grit/webui_resources.h",
|
"$root_gen_dir/ui/resources/grit/webui_resources.h",
|
||||||
"$root_gen_dir/ui/views/resources/grit/views_resources.h",
|
"$root_gen_dir/ui/views/resources/grit/views_resources.h",
|
||||||
@@ -1344,6 +1331,14 @@ make_pack_header("strings") {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Generate pack files and associated CEF header files.
|
||||||
|
group("cef_make_headers") {
|
||||||
|
deps = [
|
||||||
|
":make_pack_header_resources",
|
||||||
|
":make_pack_header_strings",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# libcef dll/framework target.
|
# libcef dll/framework target.
|
||||||
@@ -1387,8 +1382,6 @@ if (is_mac) {
|
|||||||
"$root_out_dir/cef_200_percent.pak",
|
"$root_out_dir/cef_200_percent.pak",
|
||||||
"$root_out_dir/cef_extensions.pak",
|
"$root_out_dir/cef_extensions.pak",
|
||||||
"$root_out_dir/devtools_resources.pak",
|
"$root_out_dir/devtools_resources.pak",
|
||||||
"$root_out_dir/v8_context_snapshot.bin",
|
|
||||||
"$root_out_dir/$widevine_cdm_path/widevinecdmadapter.plugin",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
public_deps = [
|
public_deps = [
|
||||||
@@ -1397,8 +1390,6 @@ if (is_mac) {
|
|||||||
":pak_200_percent",
|
":pak_200_percent",
|
||||||
":pak_devtools",
|
":pak_devtools",
|
||||||
":pak_extensions",
|
":pak_extensions",
|
||||||
"//third_party/widevine/cdm:widevinecdmadapter",
|
|
||||||
"//tools/v8_context_snapshot:v8_context_snapshot",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if (icu_use_data_file) {
|
if (icu_use_data_file) {
|
||||||
@@ -1412,6 +1403,10 @@ if (is_mac) {
|
|||||||
"$root_out_dir/snapshot_blob.bin",
|
"$root_out_dir/snapshot_blob.bin",
|
||||||
]
|
]
|
||||||
public_deps += [ "//v8" ]
|
public_deps += [ "//v8" ]
|
||||||
|
if (use_v8_context_snapshot) {
|
||||||
|
sources += [ "$root_out_dir/v8_context_snapshot.bin" ]
|
||||||
|
public_deps += [ "//tools/v8_context_snapshot" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
@@ -1419,9 +1414,61 @@ if (is_mac) {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (use_egl) {
|
||||||
|
# Add the ANGLE .dylibs in the MODULE_DIR of the Framework app bundle.
|
||||||
|
bundle_data("cef_framework_angle_binaries") {
|
||||||
|
sources = [
|
||||||
|
"$root_out_dir/egl_intermediates/libEGL.dylib",
|
||||||
|
"$root_out_dir/egl_intermediates/libGLESv2.dylib",
|
||||||
|
]
|
||||||
|
outputs = [
|
||||||
|
"{{bundle_contents_dir}}/Libraries/{{source_file_part}}",
|
||||||
|
]
|
||||||
|
public_deps = [
|
||||||
|
"//ui/gl:angle_library_copy",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
# Add the SwiftShader .dylibs in the MODULE_DIR of the Framework app bundle.
|
||||||
|
bundle_data("cef_framework_swiftshader_binaries") {
|
||||||
|
sources = [
|
||||||
|
"$root_out_dir/egl_intermediates/libswiftshader_libEGL.dylib",
|
||||||
|
"$root_out_dir/egl_intermediates/libswiftshader_libGLESv2.dylib",
|
||||||
|
]
|
||||||
|
outputs = [
|
||||||
|
"{{bundle_contents_dir}}/Libraries/{{source_file_part}}",
|
||||||
|
]
|
||||||
|
public_deps = [
|
||||||
|
"//ui/gl:swiftshader_library_copy",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
group("cef_framework_angle_library") {
|
||||||
|
if (use_egl) {
|
||||||
|
deps = [
|
||||||
|
":cef_framework_angle_binaries",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
group("cef_framework_swiftshader_library") {
|
||||||
|
if (use_egl) {
|
||||||
|
deps = [
|
||||||
|
":cef_framework_swiftshader_binaries",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mac_framework_bundle("cef_framework") {
|
mac_framework_bundle("cef_framework") {
|
||||||
output_name = cef_framework_name
|
output_name = cef_framework_name
|
||||||
|
|
||||||
|
framework_version = "A"
|
||||||
|
framework_contents = [
|
||||||
|
"Libraries",
|
||||||
|
"Resources",
|
||||||
|
]
|
||||||
|
|
||||||
sources = gypi_paths2.includes_common +
|
sources = gypi_paths2.includes_common +
|
||||||
gypi_paths2.includes_mac +
|
gypi_paths2.includes_mac +
|
||||||
gypi_paths.autogen_cpp_includes +
|
gypi_paths.autogen_cpp_includes +
|
||||||
@@ -1435,19 +1482,16 @@ if (is_mac) {
|
|||||||
# - crash_report_sender.app
|
# - crash_report_sender.app
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
":cef_framework_angle_library",
|
||||||
":cef_framework_locales",
|
":cef_framework_locales",
|
||||||
":cef_framework_resources",
|
":cef_framework_resources",
|
||||||
|
":cef_framework_swiftshader_library",
|
||||||
":libcef_static",
|
":libcef_static",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Both the main app executable and helper executables need to link the
|
# We don't link the framework so just use the path from the main executable.
|
||||||
# framework. Because they are at different directory depths, using
|
|
||||||
# @executable_path as the install_name would require using install_name_tool
|
|
||||||
# on one of the executables. However install_name_tool only operates
|
|
||||||
# in-place, which is problematic to express in GN. Instead, use rpath-based
|
|
||||||
# loading.
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-Wl,-install_name,@rpath/Frameworks/$output_name.framework/$output_name",
|
"-Wl,-install_name,@executable_path/../Frameworks/$output_name.framework/$output_name",
|
||||||
"-compatibility_version",
|
"-compatibility_version",
|
||||||
cef_dylib_version,
|
cef_dylib_version,
|
||||||
"-current_version",
|
"-current_version",
|
||||||
@@ -1457,11 +1501,11 @@ if (is_mac) {
|
|||||||
if (is_component_build) {
|
if (is_component_build) {
|
||||||
# Set up the rpath for the framework so that it can find dylibs in the
|
# Set up the rpath for the framework so that it can find dylibs in the
|
||||||
# root output directory. The framework is at
|
# root output directory. The framework is at
|
||||||
# $app_name.app/Contents/Frameworks/$output_name.framework/$output_name
|
# $app_name.app/Contents/Frameworks/$output_name.framework/Versions/A/$output_name
|
||||||
# so use loader_path to go back to the root output directory.
|
# so use loader_path to go back to the root output directory.
|
||||||
ldflags += [
|
ldflags += [
|
||||||
"-rpath",
|
"-rpath",
|
||||||
"@loader_path/../../../..",
|
"@loader_path/../../../../../..",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1498,9 +1542,12 @@ if (is_mac) {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_linux && !is_debug && !using_sanitizer && use_allocator=="none") {
|
if (is_linux && !is_debug && use_allocator=="none") {
|
||||||
# Only export necessary symbols from libcef.so.
|
# Only export necessary symbols from libcef.so.
|
||||||
# Don't do this in Debug builds because it causes the resulting application to crash.
|
# Don't do this in Debug builds because it causes the resulting
|
||||||
|
# application to crash.
|
||||||
|
# Also need to do this for ASAN builds to work around
|
||||||
|
# https://crbug.com/832808.
|
||||||
ldflags = [ "-Wl,--version-script=" +
|
ldflags = [ "-Wl,--version-script=" +
|
||||||
rebase_path("//cef/libcef_dll/libcef.lst") ]
|
rebase_path("//cef/libcef_dll/libcef.lst") ]
|
||||||
}
|
}
|
||||||
@@ -1543,7 +1590,8 @@ if (is_mac) {
|
|||||||
sources = invoker.helper_sources
|
sources = invoker.helper_sources
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":cef_framework+link",
|
":cef_make_headers",
|
||||||
|
":cef_sandbox",
|
||||||
":libcef_dll_wrapper",
|
":libcef_dll_wrapper",
|
||||||
]
|
]
|
||||||
if (defined(invoker.helper_deps)) {
|
if (defined(invoker.helper_deps)) {
|
||||||
@@ -1552,12 +1600,16 @@ if (is_mac) {
|
|||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
# The helper is in $app_name.app/Contents/Frameworks/$app_name Helper.app/Contents/MacOS/
|
# The helper is in $app_name.app/Contents/Frameworks/$app_name Helper.app/Contents/MacOS/
|
||||||
# so set rpath up to Contents/ so that the loader can find Frameworks/.
|
# so set rpath up to the base.
|
||||||
"-rpath",
|
"-rpath",
|
||||||
"@executable_path/../../../..",
|
"@executable_path/../../../../../..",
|
||||||
]
|
]
|
||||||
|
|
||||||
info_plist_target = ":${app_name}_helper_plist"
|
info_plist_target = ":${app_name}_helper_plist"
|
||||||
|
|
||||||
|
if (defined(invoker.helper_defines)) {
|
||||||
|
defines = invoker.helper_defines
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle_data("${app_name}_framework_bundle_data") {
|
bundle_data("${app_name}_framework_bundle_data") {
|
||||||
@@ -1568,7 +1620,7 @@ if (is_mac) {
|
|||||||
]
|
]
|
||||||
|
|
||||||
public_deps = [
|
public_deps = [
|
||||||
":cef_framework+link",
|
":cef_framework",
|
||||||
":${app_name}_helper_app",
|
":${app_name}_helper_app",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -1594,6 +1646,7 @@ if (is_mac) {
|
|||||||
sources = invoker.sources
|
sources = invoker.sources
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
":libcef_dll_wrapper",
|
||||||
":${app_name}_framework_bundle_data",
|
":${app_name}_framework_bundle_data",
|
||||||
]
|
]
|
||||||
if (defined(invoker.deps)) {
|
if (defined(invoker.deps)) {
|
||||||
@@ -1604,12 +1657,9 @@ if (is_mac) {
|
|||||||
libs = invoker.libs
|
libs = invoker.libs
|
||||||
}
|
}
|
||||||
|
|
||||||
ldflags = [
|
if (defined(invoker.defines)) {
|
||||||
# The main app is at $app_name.app/Contents/MacOS/$app_name
|
defines = invoker.defines
|
||||||
# so set rpath up to Contents/ so that the loader can find Frameworks/.
|
}
|
||||||
"-rpath",
|
|
||||||
"@executable_path/../",
|
|
||||||
]
|
|
||||||
|
|
||||||
info_plist_target = ":${app_name}_plist"
|
info_plist_target = ":${app_name}_plist"
|
||||||
}
|
}
|
||||||
@@ -1661,19 +1711,21 @@ if (is_mac) {
|
|||||||
helper_sources = gypi_paths2.includes_mac +
|
helper_sources = gypi_paths2.includes_mac +
|
||||||
gypi_paths2.includes_common +
|
gypi_paths2.includes_common +
|
||||||
gypi_paths2.includes_wrapper +
|
gypi_paths2.includes_wrapper +
|
||||||
|
gypi_paths2.includes_wrapper_mac +
|
||||||
gypi_paths2.shared_sources_common +
|
gypi_paths2.shared_sources_common +
|
||||||
gypi_paths2.shared_sources_renderer +
|
gypi_paths2.shared_sources_renderer +
|
||||||
gypi_paths2.shared_sources_mac_helper +
|
gypi_paths2.shared_sources_mac_helper +
|
||||||
gypi_paths2.cefclient_sources_common +
|
gypi_paths2.cefclient_sources_common +
|
||||||
gypi_paths2.cefclient_sources_renderer
|
gypi_paths2.cefclient_sources_renderer
|
||||||
helper_deps = [
|
helper_defines = [
|
||||||
":libcef_dll_wrapper",
|
"CEF_USE_SANDBOX",
|
||||||
]
|
]
|
||||||
|
|
||||||
info_plist = "tests/cefclient/resources/mac/Info.plist"
|
info_plist = "tests/cefclient/resources/mac/Info.plist"
|
||||||
sources = gypi_paths2.includes_mac +
|
sources = gypi_paths2.includes_mac +
|
||||||
gypi_paths2.includes_common +
|
gypi_paths2.includes_common +
|
||||||
gypi_paths2.includes_wrapper +
|
gypi_paths2.includes_wrapper +
|
||||||
|
gypi_paths2.includes_wrapper_mac +
|
||||||
gypi_paths2.shared_sources_browser +
|
gypi_paths2.shared_sources_browser +
|
||||||
gypi_paths2.shared_sources_common +
|
gypi_paths2.shared_sources_common +
|
||||||
gypi_paths2.shared_sources_mac +
|
gypi_paths2.shared_sources_mac +
|
||||||
@@ -1685,12 +1737,14 @@ if (is_mac) {
|
|||||||
":cefclient_resources_bundle_data_extensions_set_page_color",
|
":cefclient_resources_bundle_data_extensions_set_page_color",
|
||||||
":cefclient_resources_bundle_data_english",
|
":cefclient_resources_bundle_data_english",
|
||||||
":cefclient_xibs",
|
":cefclient_xibs",
|
||||||
":libcef_dll_wrapper",
|
|
||||||
]
|
]
|
||||||
libs = [
|
libs = [
|
||||||
"AppKit.framework",
|
"AppKit.framework",
|
||||||
"OpenGL.framework",
|
"OpenGL.framework",
|
||||||
]
|
]
|
||||||
|
defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1731,22 +1785,26 @@ if (is_mac) {
|
|||||||
helper_sources = gypi_paths2.includes_mac +
|
helper_sources = gypi_paths2.includes_mac +
|
||||||
gypi_paths2.includes_common +
|
gypi_paths2.includes_common +
|
||||||
gypi_paths2.includes_wrapper +
|
gypi_paths2.includes_wrapper +
|
||||||
|
gypi_paths2.includes_wrapper_mac +
|
||||||
gypi_paths2.cefsimple_sources_mac_helper
|
gypi_paths2.cefsimple_sources_mac_helper
|
||||||
helper_deps = [
|
helper_defines = [
|
||||||
":libcef_dll_wrapper",
|
"CEF_USE_SANDBOX",
|
||||||
]
|
]
|
||||||
|
|
||||||
info_plist = "tests/cefsimple/mac/Info.plist"
|
info_plist = "tests/cefsimple/mac/Info.plist"
|
||||||
sources = gypi_paths2.includes_mac +
|
sources = gypi_paths2.includes_mac +
|
||||||
gypi_paths2.includes_common +
|
gypi_paths2.includes_common +
|
||||||
gypi_paths2.includes_wrapper +
|
gypi_paths2.includes_wrapper +
|
||||||
|
gypi_paths2.includes_wrapper_mac +
|
||||||
gypi_paths2.cefsimple_sources_common +
|
gypi_paths2.cefsimple_sources_common +
|
||||||
gypi_paths2.cefsimple_sources_mac
|
gypi_paths2.cefsimple_sources_mac
|
||||||
deps = [
|
deps = [
|
||||||
":cefsimple_resources_bundle_data",
|
":cefsimple_resources_bundle_data",
|
||||||
":cefsimple_resources_bundle_data_english",
|
":cefsimple_resources_bundle_data_english",
|
||||||
":cefsimple_xibs",
|
":cefsimple_xibs",
|
||||||
":libcef_dll_wrapper",
|
]
|
||||||
|
defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1792,14 +1850,17 @@ if (is_mac) {
|
|||||||
gypi_paths2.shared_sources_mac_helper +
|
gypi_paths2.shared_sources_mac_helper +
|
||||||
gypi_paths2.ceftests_sources_mac_helper
|
gypi_paths2.ceftests_sources_mac_helper
|
||||||
helper_deps = [
|
helper_deps = [
|
||||||
":libcef_dll_wrapper",
|
|
||||||
"//testing/gtest",
|
"//testing/gtest",
|
||||||
]
|
]
|
||||||
|
helper_defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
|
]
|
||||||
|
|
||||||
info_plist = "tests/ceftests/resources/mac/Info.plist"
|
info_plist = "tests/ceftests/resources/mac/Info.plist"
|
||||||
sources = gypi_paths2.includes_mac +
|
sources = gypi_paths2.includes_mac +
|
||||||
gypi_paths2.includes_common +
|
gypi_paths2.includes_common +
|
||||||
gypi_paths2.includes_wrapper +
|
gypi_paths2.includes_wrapper +
|
||||||
|
gypi_paths2.includes_wrapper_mac +
|
||||||
gypi_paths2.shared_sources_browser +
|
gypi_paths2.shared_sources_browser +
|
||||||
gypi_paths2.shared_sources_common +
|
gypi_paths2.shared_sources_common +
|
||||||
gypi_paths2.shared_sources_mac +
|
gypi_paths2.shared_sources_mac +
|
||||||
@@ -1809,12 +1870,14 @@ if (is_mac) {
|
|||||||
":ceftests_resources_bundle_data",
|
":ceftests_resources_bundle_data",
|
||||||
":ceftests_resources_bundle_data_english",
|
":ceftests_resources_bundle_data_english",
|
||||||
":ceftests_xibs",
|
":ceftests_xibs",
|
||||||
":libcef_dll_wrapper",
|
|
||||||
"//testing/gtest",
|
"//testing/gtest",
|
||||||
]
|
]
|
||||||
libs = [
|
libs = [
|
||||||
"AppKit.framework",
|
"AppKit.framework",
|
||||||
]
|
]
|
||||||
|
defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#
|
#
|
||||||
@@ -1869,7 +1932,10 @@ if (is_mac) {
|
|||||||
deps = [
|
deps = [
|
||||||
":libcef",
|
":libcef",
|
||||||
":libcef_dll_wrapper",
|
":libcef_dll_wrapper",
|
||||||
"//build/config:exe_and_shlib_deps",
|
]
|
||||||
|
|
||||||
|
defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
@@ -1881,9 +1947,8 @@ if (is_mac) {
|
|||||||
configs -= [ "//build/config/win:console" ]
|
configs -= [ "//build/config/win:console" ]
|
||||||
configs += [ "//build/config/win:windowed" ]
|
configs += [ "//build/config/win:windowed" ]
|
||||||
|
|
||||||
defines = [
|
defines += [
|
||||||
"CEF_USE_ATL",
|
"CEF_USE_ATL",
|
||||||
"CEF_USE_SANDBOX",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
@@ -1893,6 +1958,7 @@ if (is_mac) {
|
|||||||
|
|
||||||
libs = [
|
libs = [
|
||||||
"comctl32.lib",
|
"comctl32.lib",
|
||||||
|
"d3d11.lib",
|
||||||
"glu32.lib",
|
"glu32.lib",
|
||||||
"imm32.lib",
|
"imm32.lib",
|
||||||
"oleacc.lib",
|
"oleacc.lib",
|
||||||
@@ -1943,7 +2009,10 @@ if (is_mac) {
|
|||||||
deps = [
|
deps = [
|
||||||
":libcef",
|
":libcef",
|
||||||
":libcef_dll_wrapper",
|
":libcef_dll_wrapper",
|
||||||
"//build/config:exe_and_shlib_deps",
|
]
|
||||||
|
|
||||||
|
defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
@@ -1954,10 +2023,6 @@ if (is_mac) {
|
|||||||
configs -= [ "//build/config/win:console" ]
|
configs -= [ "//build/config/win:console" ]
|
||||||
configs += [ "//build/config/win:windowed" ]
|
configs += [ "//build/config/win:windowed" ]
|
||||||
|
|
||||||
defines = [
|
|
||||||
"CEF_USE_SANDBOX",
|
|
||||||
]
|
|
||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
":cef_sandbox",
|
":cef_sandbox",
|
||||||
"//build/win:default_exe_manifest",
|
"//build/win:default_exe_manifest",
|
||||||
@@ -2012,18 +2077,17 @@ if (is_mac) {
|
|||||||
deps = [
|
deps = [
|
||||||
":libcef",
|
":libcef",
|
||||||
":libcef_dll_wrapper",
|
":libcef_dll_wrapper",
|
||||||
"//build/config:exe_and_shlib_deps",
|
|
||||||
"//testing/gtest",
|
"//testing/gtest",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
defines = [
|
||||||
|
"CEF_USE_SANDBOX",
|
||||||
|
]
|
||||||
|
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
sources += gypi_paths2.shared_sources_win +
|
sources += gypi_paths2.shared_sources_win +
|
||||||
gypi_paths2.ceftests_sources_win
|
gypi_paths2.ceftests_sources_win
|
||||||
|
|
||||||
defines = [
|
|
||||||
"CEF_USE_SANDBOX",
|
|
||||||
]
|
|
||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
":cef_sandbox",
|
":cef_sandbox",
|
||||||
"//build/win:default_exe_manifest",
|
"//build/win:default_exe_manifest",
|
||||||
|
@@ -7,5 +7,5 @@
|
|||||||
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
||||||
|
|
||||||
{
|
{
|
||||||
'chromium_checkout': '5fdc0fab22ce7efd32532ee989b223fa12f8171e',
|
'chromium_checkout': 'refs/tags/72.0.3626.121',
|
||||||
}
|
}
|
||||||
|
73
CHROMIUM_UPDATE.txt
Normal file
73
CHROMIUM_UPDATE.txt
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
# The Chromium Embedded Framework (CEF) project is built on top of the Chromium
|
||||||
|
# project source tree. When updating Chromium to a new version certain files and
|
||||||
|
# patterns should be observed for changes. If changes are detected then the CEF
|
||||||
|
# source code or patch files will likely need to be updated.
|
||||||
|
#
|
||||||
|
# Add `--log-chromium-changes` to the automate-git.py command-line to output
|
||||||
|
# the following files in the <download-dir>:
|
||||||
|
#
|
||||||
|
# * chromium_update_changes.diff
|
||||||
|
# Files in the chromium/src directory that have changed. See the 'files'
|
||||||
|
# section below.
|
||||||
|
#
|
||||||
|
# * chromium_update_patterns.txt
|
||||||
|
# Files in the chromium/src directory that contain invalid/unexpected
|
||||||
|
# patterns. See the 'patterns' section below. Failure of this step is
|
||||||
|
# considered a fatal error during update.
|
||||||
|
#
|
||||||
|
# * chromium_update_patches.txt
|
||||||
|
# Output from attempting to update existing Chromium patch files using the
|
||||||
|
# patch_updater.py tool. Failure of this step is considered a fatal error
|
||||||
|
# during update.
|
||||||
|
#
|
||||||
|
# For complete update instructions see:
|
||||||
|
# https://bitbucket.org/chromiumembedded/cef/wiki/ChromiumUpdate.md
|
||||||
|
|
||||||
|
{
|
||||||
|
# Files in the chromium/src directory that should be evaluated for changes.
|
||||||
|
# Similar changes may need to be applied to the CEF source code.
|
||||||
|
'files': [
|
||||||
|
'chrome/browser/browser_process.h',
|
||||||
|
'chrome/browser/extensions/api/tabs/tabs_api.*',
|
||||||
|
'chrome/browser/extensions/chrome_component_extension_resource_manager.*',
|
||||||
|
'chrome/browser/extensions/chrome_extension_web_contents_observer.*',
|
||||||
|
'chrome/browser/extensions/component_loader.*',
|
||||||
|
'chrome/browser/extensions/extension_service.*',
|
||||||
|
'chrome/browser/printing/print_view_manager*',
|
||||||
|
'chrome/browser/printing/printing_message_filter*',
|
||||||
|
'chrome/browser/profiles/profile.h',
|
||||||
|
'chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.*',
|
||||||
|
'chrome/common/extensions/api/*_features.json',
|
||||||
|
'chrome/renderer/chrome_content_renderer_client.*',
|
||||||
|
'chrome/renderer/extensions/chrome_extensions_renderer_client.*',
|
||||||
|
'content/browser/renderer_host/render_widget_host_view_base.*',
|
||||||
|
'content/public/browser/content_browser_client.*',
|
||||||
|
'content/public/browser/render_widget_host_view.h',
|
||||||
|
'content/public/browser/storage_partition.h',
|
||||||
|
'content/public/browser/web_contents_delegate.h',
|
||||||
|
'content/public/common/content_features.cc',
|
||||||
|
'content/shell/BUILD.gn',
|
||||||
|
'content/shell/app/*',
|
||||||
|
'content/shell/browser/shell_*',
|
||||||
|
'content/shell/browser/renderer_host/shell_*',
|
||||||
|
'content/shell/common/shell_*',
|
||||||
|
'content/shell/gpu/shell_*',
|
||||||
|
'content/shell/renderer/shell_*',
|
||||||
|
'content/shell/utility/shell_*',
|
||||||
|
'extensions/shell/*',
|
||||||
|
'net/cookies/cookie_store.h',
|
||||||
|
],
|
||||||
|
# Patterns that should not be found in the chromium/src directory after
|
||||||
|
# applying patch files.
|
||||||
|
'patterns': [
|
||||||
|
{
|
||||||
|
# New instances of this static_cast are added to the Chromium sources with
|
||||||
|
# some regularity. If unfixed they will result in runtime crashes.
|
||||||
|
'pattern': 'static_cast<StoragePartitionImpl\*>(',
|
||||||
|
'exclude_matches': '^(.+?)test(.+?):',
|
||||||
|
'message': 'New instances in non-test files should be converted to ' +\
|
||||||
|
'call StoragePartition methods.' +\
|
||||||
|
'\nSee storage_partition_1973.patch.',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
@@ -199,7 +199,7 @@ add_subdirectory(${CEF_LIBCEF_DLL_WRAPPER_PATH} libcef_dll_wrapper)
|
|||||||
# Include application targets.
|
# Include application targets.
|
||||||
# Comes from the <target>/CMakeLists.txt file in the current directory.
|
# Comes from the <target>/CMakeLists.txt file in the current directory.
|
||||||
# TODO: Change these lines to match your project target when you copy this file.
|
# TODO: Change these lines to match your project target when you copy this file.
|
||||||
if(EXISTS tests)
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
|
||||||
add_subdirectory(tests/cefclient)
|
add_subdirectory(tests/cefclient)
|
||||||
add_subdirectory(tests/cefsimple)
|
add_subdirectory(tests/cefsimple)
|
||||||
add_subdirectory(tests/gtest)
|
add_subdirectory(tests/gtest)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights
|
# Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights
|
||||||
# reserved. Use of this source code is governed by a BSD-style license that
|
# reserved. Use of this source code is governed by a BSD-style license that
|
||||||
# can be found in the LICENSE file.
|
# can be found in the LICENSE file.
|
||||||
#
|
#
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
# by hand. See the translator.README.txt file in the tools directory for
|
# by hand. See the translator.README.txt file in the tools directory for
|
||||||
# more information.
|
# more information.
|
||||||
#
|
#
|
||||||
# $hash=a508906eb96c55e83eda7f17639a9ddcc0632f45$
|
# $hash=ebb10ec8232ea37044d01a4522248b5055f5c1fc$
|
||||||
#
|
#
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -38,8 +38,6 @@
|
|||||||
'include/cef_find_handler.h',
|
'include/cef_find_handler.h',
|
||||||
'include/cef_focus_handler.h',
|
'include/cef_focus_handler.h',
|
||||||
'include/cef_frame.h',
|
'include/cef_frame.h',
|
||||||
'include/cef_geolocation.h',
|
|
||||||
'include/cef_geolocation_handler.h',
|
|
||||||
'include/cef_image.h',
|
'include/cef_image.h',
|
||||||
'include/cef_jsdialog_handler.h',
|
'include/cef_jsdialog_handler.h',
|
||||||
'include/cef_keyboard_handler.h',
|
'include/cef_keyboard_handler.h',
|
||||||
@@ -131,8 +129,6 @@
|
|||||||
'include/capi/cef_find_handler_capi.h',
|
'include/capi/cef_find_handler_capi.h',
|
||||||
'include/capi/cef_focus_handler_capi.h',
|
'include/capi/cef_focus_handler_capi.h',
|
||||||
'include/capi/cef_frame_capi.h',
|
'include/capi/cef_frame_capi.h',
|
||||||
'include/capi/cef_geolocation_capi.h',
|
|
||||||
'include/capi/cef_geolocation_handler_capi.h',
|
|
||||||
'include/capi/cef_image_capi.h',
|
'include/capi/cef_image_capi.h',
|
||||||
'include/capi/cef_jsdialog_handler_capi.h',
|
'include/capi/cef_jsdialog_handler_capi.h',
|
||||||
'include/capi/cef_keyboard_handler_capi.h',
|
'include/capi/cef_keyboard_handler_capi.h',
|
||||||
@@ -286,14 +282,8 @@
|
|||||||
'libcef_dll/ctocpp/focus_handler_ctocpp.h',
|
'libcef_dll/ctocpp/focus_handler_ctocpp.h',
|
||||||
'libcef_dll/cpptoc/frame_cpptoc.cc',
|
'libcef_dll/cpptoc/frame_cpptoc.cc',
|
||||||
'libcef_dll/cpptoc/frame_cpptoc.h',
|
'libcef_dll/cpptoc/frame_cpptoc.h',
|
||||||
'libcef_dll/cpptoc/geolocation_callback_cpptoc.cc',
|
|
||||||
'libcef_dll/cpptoc/geolocation_callback_cpptoc.h',
|
|
||||||
'libcef_dll/ctocpp/geolocation_handler_ctocpp.cc',
|
|
||||||
'libcef_dll/ctocpp/geolocation_handler_ctocpp.h',
|
|
||||||
'libcef_dll/cpptoc/get_extension_resource_callback_cpptoc.cc',
|
'libcef_dll/cpptoc/get_extension_resource_callback_cpptoc.cc',
|
||||||
'libcef_dll/cpptoc/get_extension_resource_callback_cpptoc.h',
|
'libcef_dll/cpptoc/get_extension_resource_callback_cpptoc.h',
|
||||||
'libcef_dll/ctocpp/get_geolocation_callback_ctocpp.cc',
|
|
||||||
'libcef_dll/ctocpp/get_geolocation_callback_ctocpp.h',
|
|
||||||
'libcef_dll/cpptoc/image_cpptoc.cc',
|
'libcef_dll/cpptoc/image_cpptoc.cc',
|
||||||
'libcef_dll/cpptoc/image_cpptoc.h',
|
'libcef_dll/cpptoc/image_cpptoc.h',
|
||||||
'libcef_dll/cpptoc/jsdialog_callback_cpptoc.cc',
|
'libcef_dll/cpptoc/jsdialog_callback_cpptoc.cc',
|
||||||
@@ -442,6 +432,8 @@
|
|||||||
'libcef_dll/ctocpp/urlrequest_client_ctocpp.h',
|
'libcef_dll/ctocpp/urlrequest_client_ctocpp.h',
|
||||||
'libcef_dll/ctocpp/v8accessor_ctocpp.cc',
|
'libcef_dll/ctocpp/v8accessor_ctocpp.cc',
|
||||||
'libcef_dll/ctocpp/v8accessor_ctocpp.h',
|
'libcef_dll/ctocpp/v8accessor_ctocpp.h',
|
||||||
|
'libcef_dll/ctocpp/v8array_buffer_release_callback_ctocpp.cc',
|
||||||
|
'libcef_dll/ctocpp/v8array_buffer_release_callback_ctocpp.h',
|
||||||
'libcef_dll/cpptoc/v8context_cpptoc.cc',
|
'libcef_dll/cpptoc/v8context_cpptoc.cc',
|
||||||
'libcef_dll/cpptoc/v8context_cpptoc.h',
|
'libcef_dll/cpptoc/v8context_cpptoc.h',
|
||||||
'libcef_dll/cpptoc/v8exception_cpptoc.cc',
|
'libcef_dll/cpptoc/v8exception_cpptoc.cc',
|
||||||
@@ -572,14 +564,8 @@
|
|||||||
'libcef_dll/cpptoc/focus_handler_cpptoc.h',
|
'libcef_dll/cpptoc/focus_handler_cpptoc.h',
|
||||||
'libcef_dll/ctocpp/frame_ctocpp.cc',
|
'libcef_dll/ctocpp/frame_ctocpp.cc',
|
||||||
'libcef_dll/ctocpp/frame_ctocpp.h',
|
'libcef_dll/ctocpp/frame_ctocpp.h',
|
||||||
'libcef_dll/ctocpp/geolocation_callback_ctocpp.cc',
|
|
||||||
'libcef_dll/ctocpp/geolocation_callback_ctocpp.h',
|
|
||||||
'libcef_dll/cpptoc/geolocation_handler_cpptoc.cc',
|
|
||||||
'libcef_dll/cpptoc/geolocation_handler_cpptoc.h',
|
|
||||||
'libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.cc',
|
'libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.cc',
|
||||||
'libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.h',
|
'libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.h',
|
||||||
'libcef_dll/cpptoc/get_geolocation_callback_cpptoc.cc',
|
|
||||||
'libcef_dll/cpptoc/get_geolocation_callback_cpptoc.h',
|
|
||||||
'libcef_dll/ctocpp/image_ctocpp.cc',
|
'libcef_dll/ctocpp/image_ctocpp.cc',
|
||||||
'libcef_dll/ctocpp/image_ctocpp.h',
|
'libcef_dll/ctocpp/image_ctocpp.h',
|
||||||
'libcef_dll/ctocpp/jsdialog_callback_ctocpp.cc',
|
'libcef_dll/ctocpp/jsdialog_callback_ctocpp.cc',
|
||||||
@@ -728,6 +714,8 @@
|
|||||||
'libcef_dll/cpptoc/urlrequest_client_cpptoc.h',
|
'libcef_dll/cpptoc/urlrequest_client_cpptoc.h',
|
||||||
'libcef_dll/cpptoc/v8accessor_cpptoc.cc',
|
'libcef_dll/cpptoc/v8accessor_cpptoc.cc',
|
||||||
'libcef_dll/cpptoc/v8accessor_cpptoc.h',
|
'libcef_dll/cpptoc/v8accessor_cpptoc.h',
|
||||||
|
'libcef_dll/cpptoc/v8array_buffer_release_callback_cpptoc.cc',
|
||||||
|
'libcef_dll/cpptoc/v8array_buffer_release_callback_cpptoc.h',
|
||||||
'libcef_dll/ctocpp/v8context_ctocpp.cc',
|
'libcef_dll/ctocpp/v8context_ctocpp.cc',
|
||||||
'libcef_dll/ctocpp/v8context_ctocpp.h',
|
'libcef_dll/ctocpp/v8context_ctocpp.h',
|
||||||
'libcef_dll/ctocpp/v8exception_ctocpp.cc',
|
'libcef_dll/ctocpp/v8exception_ctocpp.cc',
|
||||||
|
@@ -26,7 +26,6 @@
|
|||||||
'include/base/cef_string16.h',
|
'include/base/cef_string16.h',
|
||||||
'include/base/cef_template_util.h',
|
'include/base/cef_template_util.h',
|
||||||
'include/base/cef_thread_checker.h',
|
'include/base/cef_thread_checker.h',
|
||||||
'include/base/cef_thread_collision_warner.h',
|
|
||||||
'include/base/cef_trace_event.h',
|
'include/base/cef_trace_event.h',
|
||||||
'include/base/cef_tuple.h',
|
'include/base/cef_tuple.h',
|
||||||
'include/base/cef_weak_ptr.h',
|
'include/base/cef_weak_ptr.h',
|
||||||
@@ -66,6 +65,9 @@
|
|||||||
'include/wrapper/cef_xml_object.h',
|
'include/wrapper/cef_xml_object.h',
|
||||||
'include/wrapper/cef_zip_archive.h',
|
'include/wrapper/cef_zip_archive.h',
|
||||||
],
|
],
|
||||||
|
'includes_wrapper_mac': [
|
||||||
|
'include/wrapper/cef_library_loader.h',
|
||||||
|
],
|
||||||
'includes_win': [
|
'includes_win': [
|
||||||
'include/base/internal/cef_atomicops_x86_msvc.h',
|
'include/base/internal/cef_atomicops_x86_msvc.h',
|
||||||
'include/base/internal/cef_bind_internal_win.h',
|
'include/base/internal/cef_bind_internal_win.h',
|
||||||
@@ -77,6 +79,7 @@
|
|||||||
'include/base/internal/cef_atomicops_atomicword_compat.h',
|
'include/base/internal/cef_atomicops_atomicword_compat.h',
|
||||||
'include/base/internal/cef_atomicops_mac.h',
|
'include/base/internal/cef_atomicops_mac.h',
|
||||||
'include/cef_application_mac.h',
|
'include/cef_application_mac.h',
|
||||||
|
'include/cef_sandbox_mac.h',
|
||||||
'include/internal/cef_mac.h',
|
'include/internal/cef_mac.h',
|
||||||
'include/internal/cef_types_mac.h',
|
'include/internal/cef_types_mac.h',
|
||||||
],
|
],
|
||||||
@@ -115,7 +118,6 @@
|
|||||||
'libcef_dll/base/cef_ref_counted.cc',
|
'libcef_dll/base/cef_ref_counted.cc',
|
||||||
'libcef_dll/base/cef_string16.cc',
|
'libcef_dll/base/cef_string16.cc',
|
||||||
'libcef_dll/base/cef_thread_checker_impl.cc',
|
'libcef_dll/base/cef_thread_checker_impl.cc',
|
||||||
'libcef_dll/base/cef_thread_collision_warner.cc',
|
|
||||||
'libcef_dll/base/cef_weak_ptr.cc',
|
'libcef_dll/base/cef_weak_ptr.cc',
|
||||||
],
|
],
|
||||||
'libcef_dll_wrapper_sources_common': [
|
'libcef_dll_wrapper_sources_common': [
|
||||||
@@ -143,6 +145,10 @@
|
|||||||
'libcef_dll/wrapper/libcef_dll_wrapper.cc',
|
'libcef_dll/wrapper/libcef_dll_wrapper.cc',
|
||||||
'libcef_dll/wrapper/libcef_dll_wrapper2.cc',
|
'libcef_dll/wrapper/libcef_dll_wrapper2.cc',
|
||||||
],
|
],
|
||||||
|
'libcef_dll_wrapper_sources_mac': [
|
||||||
|
'libcef_dll/wrapper/cef_library_loader_mac.mm',
|
||||||
|
'libcef_dll/wrapper/libcef_dll_dylib.cc',
|
||||||
|
],
|
||||||
'shared_sources_browser': [
|
'shared_sources_browser': [
|
||||||
'tests/shared/browser/client_app_browser.cc',
|
'tests/shared/browser/client_app_browser.cc',
|
||||||
'tests/shared/browser/client_app_browser.h',
|
'tests/shared/browser/client_app_browser.h',
|
||||||
@@ -159,7 +165,6 @@
|
|||||||
'tests/shared/browser/main_message_loop_std.cc',
|
'tests/shared/browser/main_message_loop_std.cc',
|
||||||
'tests/shared/browser/main_message_loop_std.h',
|
'tests/shared/browser/main_message_loop_std.h',
|
||||||
'tests/shared/browser/resource_util.h',
|
'tests/shared/browser/resource_util.h',
|
||||||
'tests/shared/browser/resource_util.h',
|
|
||||||
],
|
],
|
||||||
'shared_sources_common': [
|
'shared_sources_common': [
|
||||||
'tests/shared/common/client_app.cc',
|
'tests/shared/common/client_app.cc',
|
||||||
@@ -228,6 +233,7 @@
|
|||||||
'tests/cefclient/browser/osr_dragdrop_events.h',
|
'tests/cefclient/browser/osr_dragdrop_events.h',
|
||||||
'tests/cefclient/browser/osr_renderer.h',
|
'tests/cefclient/browser/osr_renderer.h',
|
||||||
'tests/cefclient/browser/osr_renderer.cc',
|
'tests/cefclient/browser/osr_renderer.cc',
|
||||||
|
'tests/cefclient/browser/osr_renderer_settings.h',
|
||||||
'tests/cefclient/browser/preferences_test.cc',
|
'tests/cefclient/browser/preferences_test.cc',
|
||||||
'tests/cefclient/browser/preferences_test.h',
|
'tests/cefclient/browser/preferences_test.h',
|
||||||
'tests/cefclient/browser/resource.h',
|
'tests/cefclient/browser/resource.h',
|
||||||
@@ -311,6 +317,14 @@
|
|||||||
'tests/cefclient/browser/osr_dragdrop_win.h',
|
'tests/cefclient/browser/osr_dragdrop_win.h',
|
||||||
'tests/cefclient/browser/osr_ime_handler_win.cc',
|
'tests/cefclient/browser/osr_ime_handler_win.cc',
|
||||||
'tests/cefclient/browser/osr_ime_handler_win.h',
|
'tests/cefclient/browser/osr_ime_handler_win.h',
|
||||||
|
'tests/cefclient/browser/osr_d3d11_win.cc',
|
||||||
|
'tests/cefclient/browser/osr_d3d11_win.h',
|
||||||
|
'tests/cefclient/browser/osr_render_handler_win.cc',
|
||||||
|
'tests/cefclient/browser/osr_render_handler_win.h',
|
||||||
|
'tests/cefclient/browser/osr_render_handler_win_d3d11.cc',
|
||||||
|
'tests/cefclient/browser/osr_render_handler_win_d3d11.h',
|
||||||
|
'tests/cefclient/browser/osr_render_handler_win_gl.cc',
|
||||||
|
'tests/cefclient/browser/osr_render_handler_win_gl.h',
|
||||||
'tests/cefclient/browser/osr_window_win.cc',
|
'tests/cefclient/browser/osr_window_win.cc',
|
||||||
'tests/cefclient/browser/osr_window_win.h',
|
'tests/cefclient/browser/osr_window_win.h',
|
||||||
'tests/cefclient/browser/resource_util_win_idmap.cc',
|
'tests/cefclient/browser/resource_util_win_idmap.cc',
|
||||||
@@ -371,6 +385,8 @@
|
|||||||
'tests/cefclient/browser/dialog_handler_gtk.cc',
|
'tests/cefclient/browser/dialog_handler_gtk.cc',
|
||||||
'tests/cefclient/browser/dialog_handler_gtk.h',
|
'tests/cefclient/browser/dialog_handler_gtk.h',
|
||||||
'tests/cefclient/browser/main_context_impl_posix.cc',
|
'tests/cefclient/browser/main_context_impl_posix.cc',
|
||||||
|
'tests/cefclient/browser/main_message_loop_multithreaded_gtk.cc',
|
||||||
|
'tests/cefclient/browser/main_message_loop_multithreaded_gtk.h',
|
||||||
'tests/cefclient/browser/print_handler_gtk.cc',
|
'tests/cefclient/browser/print_handler_gtk.cc',
|
||||||
'tests/cefclient/browser/print_handler_gtk.h',
|
'tests/cefclient/browser/print_handler_gtk.h',
|
||||||
'tests/cefclient/browser/resource_util_linux.cc',
|
'tests/cefclient/browser/resource_util_linux.cc',
|
||||||
@@ -380,6 +396,8 @@
|
|||||||
'tests/cefclient/browser/root_window_views.h',
|
'tests/cefclient/browser/root_window_views.h',
|
||||||
'tests/cefclient/browser/temp_window_x11.cc',
|
'tests/cefclient/browser/temp_window_x11.cc',
|
||||||
'tests/cefclient/browser/temp_window_x11.h',
|
'tests/cefclient/browser/temp_window_x11.h',
|
||||||
|
'tests/cefclient/browser/util_gtk.cc',
|
||||||
|
'tests/cefclient/browser/util_gtk.h',
|
||||||
'tests/cefclient/browser/views_menu_bar.cc',
|
'tests/cefclient/browser/views_menu_bar.cc',
|
||||||
'tests/cefclient/browser/views_menu_bar.h',
|
'tests/cefclient/browser/views_menu_bar.h',
|
||||||
'tests/cefclient/browser/views_style.cc',
|
'tests/cefclient/browser/views_style.cc',
|
||||||
@@ -442,7 +460,6 @@
|
|||||||
'tests/ceftests/extensions/view_unittest.cc',
|
'tests/ceftests/extensions/view_unittest.cc',
|
||||||
'tests/ceftests/file_util_unittest.cc',
|
'tests/ceftests/file_util_unittest.cc',
|
||||||
'tests/ceftests/frame_unittest.cc',
|
'tests/ceftests/frame_unittest.cc',
|
||||||
'tests/ceftests/geolocation_unittest.cc',
|
|
||||||
'tests/ceftests/image_unittest.cc',
|
'tests/ceftests/image_unittest.cc',
|
||||||
'tests/ceftests/image_util.cc',
|
'tests/ceftests/image_util.cc',
|
||||||
'tests/ceftests/image_util.h',
|
'tests/ceftests/image_util.h',
|
||||||
|
@@ -31,10 +31,11 @@ macro(PRINT_CEF_CONFIG)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OS_WINDOWS)
|
if(OS_WINDOWS)
|
||||||
message(STATUS "CEF Windows sandbox: ${USE_SANDBOX}")
|
|
||||||
message(STATUS "Visual Studio ATL support: ${USE_ATL}")
|
message(STATUS "Visual Studio ATL support: ${USE_ATL}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
message(STATUS "CEF sandbox: ${USE_SANDBOX}")
|
||||||
|
|
||||||
set(_libraries ${CEF_STANDARD_LIBS})
|
set(_libraries ${CEF_STANDARD_LIBS})
|
||||||
if(OS_WINDOWS AND USE_SANDBOX)
|
if(OS_WINDOWS AND USE_SANDBOX)
|
||||||
list(APPEND _libraries ${CEF_SANDBOX_STANDARD_LIBS})
|
list(APPEND _libraries ${CEF_SANDBOX_STANDARD_LIBS})
|
||||||
@@ -185,22 +186,6 @@ endif(OS_LINUX)
|
|||||||
|
|
||||||
if(OS_MACOSX)
|
if(OS_MACOSX)
|
||||||
|
|
||||||
# Fix the framework rpath in the helper executable.
|
|
||||||
macro(FIX_MACOSX_HELPER_FRAMEWORK_RPATH target)
|
|
||||||
# The helper is in $app_name.app/Contents/Frameworks/$app_name Helper.app/Contents/MacOS/
|
|
||||||
# so set rpath up to Contents/ so that the loader can find Frameworks/.
|
|
||||||
set_target_properties(${target} PROPERTIES INSTALL_RPATH "@executable_path/../../../..")
|
|
||||||
set_target_properties(${target} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
# Fix the framework rpath in the main executable.
|
|
||||||
macro(FIX_MACOSX_MAIN_FRAMEWORK_RPATH target)
|
|
||||||
# The main app is at $app_name.app/Contents/MacOS/$app_name
|
|
||||||
# so set rpath up to Contents/ so that the loader can find Frameworks/.
|
|
||||||
set_target_properties(${target} PROPERTIES INSTALL_RPATH "@executable_path/..")
|
|
||||||
set_target_properties(${target} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
# Manually process and copy over resource files.
|
# Manually process and copy over resource files.
|
||||||
macro(COPY_MACOSX_RESOURCES resource_list prefix_list target source_dir app_path)
|
macro(COPY_MACOSX_RESOURCES resource_list prefix_list target source_dir app_path)
|
||||||
foreach(FILENAME ${resource_list})
|
foreach(FILENAME ${resource_list})
|
||||||
|
@@ -66,6 +66,10 @@ list(APPEND CEF_COMPILER_DEFINES
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# Configure use of the sandbox.
|
||||||
|
option(USE_SANDBOX "Enable or disable use of the sandbox." ON)
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Linux configuration.
|
# Linux configuration.
|
||||||
#
|
#
|
||||||
@@ -86,6 +90,8 @@ if(OS_LINUX)
|
|||||||
-Werror # Treat warnings as errors
|
-Werror # Treat warnings as errors
|
||||||
-Wno-missing-field-initializers # Don't warn about missing field initializers
|
-Wno-missing-field-initializers # Don't warn about missing field initializers
|
||||||
-Wno-unused-parameter # Don't warn about unused parameters
|
-Wno-unused-parameter # Don't warn about unused parameters
|
||||||
|
-Wno-error=comment # Don't warn about code in comments
|
||||||
|
-Wno-comment # Don't warn about code in comments
|
||||||
)
|
)
|
||||||
list(APPEND CEF_C_COMPILER_FLAGS
|
list(APPEND CEF_C_COMPILER_FLAGS
|
||||||
-std=c99 # Use the C99 language standard
|
-std=c99 # Use the C99 language standard
|
||||||
@@ -197,9 +203,12 @@ if(OS_LINUX)
|
|||||||
set(CEF_BINARY_FILES
|
set(CEF_BINARY_FILES
|
||||||
chrome-sandbox
|
chrome-sandbox
|
||||||
libcef.so
|
libcef.so
|
||||||
|
libEGL.so
|
||||||
|
libGLESv2.so
|
||||||
natives_blob.bin
|
natives_blob.bin
|
||||||
snapshot_blob.bin
|
snapshot_blob.bin
|
||||||
v8_context_snapshot.bin
|
v8_context_snapshot.bin
|
||||||
|
swiftshader
|
||||||
)
|
)
|
||||||
|
|
||||||
# List of CEF resource files.
|
# List of CEF resource files.
|
||||||
@@ -212,6 +221,12 @@ if(OS_LINUX)
|
|||||||
icudtl.dat
|
icudtl.dat
|
||||||
locales
|
locales
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(USE_SANDBOX)
|
||||||
|
list(APPEND CEF_COMPILER_DEFINES
|
||||||
|
CEF_USE_SANDBOX # Used by apps to test if the sandbox is enabled
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
@@ -309,9 +324,15 @@ if(OS_MACOSX)
|
|||||||
set(CEF_BINARY_DIR_DEBUG "${_CEF_ROOT}/Debug")
|
set(CEF_BINARY_DIR_DEBUG "${_CEF_ROOT}/Debug")
|
||||||
set(CEF_BINARY_DIR_RELEASE "${_CEF_ROOT}/Release")
|
set(CEF_BINARY_DIR_RELEASE "${_CEF_ROOT}/Release")
|
||||||
|
|
||||||
# CEF library paths.
|
if(USE_SANDBOX)
|
||||||
set(CEF_LIB_DEBUG "${CEF_BINARY_DIR_DEBUG}/Chromium Embedded Framework.framework/Chromium Embedded Framework")
|
list(APPEND CEF_COMPILER_DEFINES
|
||||||
set(CEF_LIB_RELEASE "${CEF_BINARY_DIR_RELEASE}/Chromium Embedded Framework.framework/Chromium Embedded Framework")
|
CEF_USE_SANDBOX # Used by apps to test if the sandbox is enabled
|
||||||
|
)
|
||||||
|
|
||||||
|
# CEF sandbox library paths.
|
||||||
|
set(CEF_SANDBOX_LIB_DEBUG "${CEF_BINARY_DIR_DEBUG}/cef_sandbox.a")
|
||||||
|
set(CEF_SANDBOX_LIB_RELEASE "${CEF_BINARY_DIR_RELEASE}/cef_sandbox.a")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
@@ -328,15 +349,18 @@ if(OS_WINDOWS)
|
|||||||
set(CMAKE_CXX_FLAGS_RELEASE "")
|
set(CMAKE_CXX_FLAGS_RELEASE "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Configure use of the sandbox.
|
|
||||||
option(USE_SANDBOX "Enable or disable use of the sandbox." ON)
|
|
||||||
if(USE_SANDBOX)
|
if(USE_SANDBOX)
|
||||||
# Check if the current MSVC version is compatible with the cef_sandbox.lib
|
# Check if the current MSVC version is compatible with the cef_sandbox.lib
|
||||||
# static library.
|
# static library. For a list of all version numbers see
|
||||||
|
# https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering
|
||||||
list(APPEND supported_msvc_versions
|
list(APPEND supported_msvc_versions
|
||||||
1900 # VS2015
|
1900 # VS2015 and updates 1, 2, & 3
|
||||||
1910 # VS2017 <= 15.2
|
1910 # VS2017 version 15.1 & 15.2
|
||||||
1911 # VS2017 >= 15.3
|
1911 # VS2017 version 15.3 & 15.4
|
||||||
|
1912 # VS2017 version 15.5
|
||||||
|
1913 # VS2017 version 15.6
|
||||||
|
1914 # VS2017 version 15.7
|
||||||
|
1915 # VS2017 version 15.8
|
||||||
)
|
)
|
||||||
list(FIND supported_msvc_versions ${MSVC_VERSION} _index)
|
list(FIND supported_msvc_versions ${MSVC_VERSION} _index)
|
||||||
if (${_index} EQUAL -1)
|
if (${_index} EQUAL -1)
|
||||||
@@ -348,6 +372,13 @@ if(OS_WINDOWS)
|
|||||||
# Consumers who run into LNK4099 warnings can pass /Z7 instead (see issue #385).
|
# Consumers who run into LNK4099 warnings can pass /Z7 instead (see issue #385).
|
||||||
set(CEF_DEBUG_INFO_FLAG "/Zi" CACHE STRING "Optional flag specifying specific /Z flag to use")
|
set(CEF_DEBUG_INFO_FLAG "/Zi" CACHE STRING "Optional flag specifying specific /Z flag to use")
|
||||||
|
|
||||||
|
# Consumers using different runtime types may want to pass different flags
|
||||||
|
set(CEF_RUNTIME_LIBRARY_FLAG "/MT" CACHE STRING "Optional flag specifying which runtime to use")
|
||||||
|
if (CEF_RUNTIME_LIBRARY_FLAG)
|
||||||
|
list(APPEND CEF_COMPILER_FLAGS_DEBUG ${CEF_RUNTIME_LIBRARY_FLAG}d)
|
||||||
|
list(APPEND CEF_COMPILER_FLAGS_RELEASE ${CEF_RUNTIME_LIBRARY_FLAG})
|
||||||
|
endif()
|
||||||
|
|
||||||
# Platform-specific compiler/linker flags.
|
# Platform-specific compiler/linker flags.
|
||||||
set(CEF_LIBTYPE STATIC)
|
set(CEF_LIBTYPE STATIC)
|
||||||
list(APPEND CEF_COMPILER_FLAGS
|
list(APPEND CEF_COMPILER_FLAGS
|
||||||
@@ -367,12 +398,10 @@ if(OS_WINDOWS)
|
|||||||
${CEF_DEBUG_INFO_FLAG}
|
${CEF_DEBUG_INFO_FLAG}
|
||||||
)
|
)
|
||||||
list(APPEND CEF_COMPILER_FLAGS_DEBUG
|
list(APPEND CEF_COMPILER_FLAGS_DEBUG
|
||||||
/MTd # Multithreaded debug runtime
|
|
||||||
/RTC1 # Disable optimizations
|
/RTC1 # Disable optimizations
|
||||||
/Od # Enable basic run-time checks
|
/Od # Enable basic run-time checks
|
||||||
)
|
)
|
||||||
list(APPEND CEF_COMPILER_FLAGS_RELEASE
|
list(APPEND CEF_COMPILER_FLAGS_RELEASE
|
||||||
/MT # Multithreaded release runtime
|
|
||||||
/O2 # Optimize for maximum speed
|
/O2 # Optimize for maximum speed
|
||||||
/Ob2 # Inline any suitable function
|
/Ob2 # Inline any suitable function
|
||||||
/GF # Enable string pooling
|
/GF # Enable string pooling
|
||||||
@@ -450,6 +479,7 @@ if(OS_WINDOWS)
|
|||||||
dbghelp.lib
|
dbghelp.lib
|
||||||
psapi.lib
|
psapi.lib
|
||||||
version.lib
|
version.lib
|
||||||
|
wbemuuid.lib
|
||||||
winmm.lib
|
winmm.lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -162,6 +162,16 @@
|
|||||||
#define ALLOW_UNUSED_LOCAL(x) false ? (void)x : (void)0
|
#define ALLOW_UNUSED_LOCAL(x) false ? (void)x : (void)0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Sanitizers annotations.
|
||||||
|
#if defined(__has_attribute)
|
||||||
|
#if __has_attribute(no_sanitize)
|
||||||
|
#define NO_SANITIZE(what) __attribute__((no_sanitize(what)))
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if !defined(NO_SANITIZE)
|
||||||
|
#define NO_SANITIZE(what)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !USING_CHROMIUM_INCLUDES
|
#endif // !USING_CHROMIUM_INCLUDES
|
||||||
|
|
||||||
// Annotate a virtual method indicating it must be overriding a virtual method
|
// Annotate a virtual method indicating it must be overriding a virtual method
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
#include "include/base/cef_atomic_ref_count.h"
|
#include "include/base/cef_atomic_ref_count.h"
|
||||||
#include "include/base/cef_build.h"
|
#include "include/base/cef_build.h"
|
||||||
#include "include/base/cef_logging.h"
|
#include "include/base/cef_logging.h"
|
||||||
#include "include/base/cef_thread_collision_warner.h"
|
#include "include/base/cef_macros.h"
|
||||||
|
|
||||||
namespace base {
|
namespace base {
|
||||||
|
|
||||||
@@ -60,6 +60,7 @@ namespace cef_subtle {
|
|||||||
class RefCountedBase {
|
class RefCountedBase {
|
||||||
public:
|
public:
|
||||||
bool HasOneRef() const { return ref_count_ == 1; }
|
bool HasOneRef() const { return ref_count_ == 1; }
|
||||||
|
bool HasAtLeastOneRef() const { return ref_count_ >= 1; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
RefCountedBase()
|
RefCountedBase()
|
||||||
@@ -78,10 +79,6 @@ class RefCountedBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AddRef() const {
|
void AddRef() const {
|
||||||
// TODO(maruel): Add back once it doesn't assert 500 times/sec.
|
|
||||||
// Current thread books the critical section "AddRelease"
|
|
||||||
// without release it.
|
|
||||||
// DFAKE_SCOPED_LOCK_THREAD_LOCKED(add_release_);
|
|
||||||
#if DCHECK_IS_ON()
|
#if DCHECK_IS_ON()
|
||||||
DCHECK(!in_dtor_);
|
DCHECK(!in_dtor_);
|
||||||
#endif
|
#endif
|
||||||
@@ -90,10 +87,6 @@ class RefCountedBase {
|
|||||||
|
|
||||||
// Returns true if the object should self-delete.
|
// Returns true if the object should self-delete.
|
||||||
bool Release() const {
|
bool Release() const {
|
||||||
// TODO(maruel): Add back once it doesn't assert 500 times/sec.
|
|
||||||
// Current thread books the critical section "AddRelease"
|
|
||||||
// without release it.
|
|
||||||
// DFAKE_SCOPED_LOCK_THREAD_LOCKED(add_release_);
|
|
||||||
#if DCHECK_IS_ON()
|
#if DCHECK_IS_ON()
|
||||||
DCHECK(!in_dtor_);
|
DCHECK(!in_dtor_);
|
||||||
#endif
|
#endif
|
||||||
@@ -112,14 +105,13 @@ class RefCountedBase {
|
|||||||
mutable bool in_dtor_;
|
mutable bool in_dtor_;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DFAKE_MUTEX(add_release_);
|
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(RefCountedBase);
|
DISALLOW_COPY_AND_ASSIGN(RefCountedBase);
|
||||||
};
|
};
|
||||||
|
|
||||||
class RefCountedThreadSafeBase {
|
class RefCountedThreadSafeBase {
|
||||||
public:
|
public:
|
||||||
bool HasOneRef() const;
|
bool HasOneRef() const;
|
||||||
|
bool HasAtLeastOneRef() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
RefCountedThreadSafeBase();
|
RefCountedThreadSafeBase();
|
||||||
|
@@ -86,6 +86,7 @@ typedef std::char_traits<wchar_t> string16_char_traits;
|
|||||||
|
|
||||||
#include "include/base/cef_macros.h"
|
#include "include/base/cef_macros.h"
|
||||||
|
|
||||||
|
namespace cef {
|
||||||
namespace base {
|
namespace base {
|
||||||
|
|
||||||
typedef uint16_t char16;
|
typedef uint16_t char16;
|
||||||
@@ -156,7 +157,15 @@ struct string16_char_traits {
|
|||||||
static int_type eof() { return static_cast<int_type>(EOF); }
|
static int_type eof() { return static_cast<int_type>(EOF); }
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::basic_string<char16, base::string16_char_traits> string16;
|
typedef std::basic_string<char16, string16_char_traits> string16;
|
||||||
|
|
||||||
|
} // namespace base
|
||||||
|
} // namespace cef
|
||||||
|
|
||||||
|
namespace base {
|
||||||
|
|
||||||
|
typedef cef::base::char16 char16;
|
||||||
|
typedef cef::base::string16 string16;
|
||||||
|
|
||||||
extern std::ostream& operator<<(std::ostream& out, const string16& str);
|
extern std::ostream& operator<<(std::ostream& out, const string16& str);
|
||||||
|
|
||||||
@@ -204,8 +213,8 @@ extern void PrintTo(const string16& str, std::ostream* out);
|
|||||||
//
|
//
|
||||||
// TODO(mark): File this bug with Apple and update this note with a bug number.
|
// TODO(mark): File this bug with Apple and update this note with a bug number.
|
||||||
|
|
||||||
extern template class std::basic_string<base::char16,
|
extern template class std::basic_string<cef::base::char16,
|
||||||
base::string16_char_traits>;
|
cef::base::string16_char_traits>;
|
||||||
|
|
||||||
#endif // WCHAR_T_IS_UTF32
|
#endif // WCHAR_T_IS_UTF32
|
||||||
|
|
||||||
|
@@ -1,276 +0,0 @@
|
|||||||
// Copyright (c) 2014 Marshall A. Greenblatt. Portions copyright (c) 2012
|
|
||||||
// Google Inc. All rights reserved.
|
|
||||||
//
|
|
||||||
// Redistribution and use in source and binary forms, with or without
|
|
||||||
// modification, are permitted provided that the following conditions are
|
|
||||||
// met:
|
|
||||||
//
|
|
||||||
// * Redistributions of source code must retain the above copyright
|
|
||||||
// notice, this list of conditions and the following disclaimer.
|
|
||||||
// * Redistributions in binary form must reproduce the above
|
|
||||||
// copyright notice, this list of conditions and the following disclaimer
|
|
||||||
// in the documentation and/or other materials provided with the
|
|
||||||
// distribution.
|
|
||||||
// * Neither the name of Google Inc. nor the name Chromium Embedded
|
|
||||||
// Framework nor the names of its contributors may be used to endorse
|
|
||||||
// or promote products derived from this software without specific prior
|
|
||||||
// written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_BASE_CEF_THREAD_COLLISION_WARNER_H_
|
|
||||||
#define CEF_INCLUDE_BASE_CEF_THREAD_COLLISION_WARNER_H_
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if defined(BASE_THREADING_THREAD_COLLISION_WARNER_H_)
|
|
||||||
// Do nothing if the Chromium header has already been included.
|
|
||||||
// This can happen in cases where Chromium code is used directly by the
|
|
||||||
// client application. When using Chromium code directly always include
|
|
||||||
// the Chromium header first to avoid type conflicts.
|
|
||||||
#elif defined(USING_CHROMIUM_INCLUDES)
|
|
||||||
// When building CEF include the Chromium header directly.
|
|
||||||
#include "base/threading/thread_collision_warner.h"
|
|
||||||
#else // !USING_CHROMIUM_INCLUDES
|
|
||||||
// The following is substantially similar to the Chromium implementation.
|
|
||||||
// If the Chromium implementation diverges the below implementation should be
|
|
||||||
// updated to match.
|
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
#include "include/base/cef_atomicops.h"
|
|
||||||
#include "include/base/cef_basictypes.h"
|
|
||||||
#include "include/base/cef_build.h"
|
|
||||||
#include "include/base/cef_logging.h"
|
|
||||||
#include "include/base/cef_macros.h"
|
|
||||||
|
|
||||||
// A helper class alongside macros to be used to verify assumptions about thread
|
|
||||||
// safety of a class.
|
|
||||||
//
|
|
||||||
// Example: Queue implementation non thread-safe but still usable if clients
|
|
||||||
// are synchronized somehow.
|
|
||||||
//
|
|
||||||
// In this case the macro DFAKE_SCOPED_LOCK has to be
|
|
||||||
// used, it checks that if a thread is inside the push/pop then
|
|
||||||
// noone else is still inside the pop/push
|
|
||||||
//
|
|
||||||
// class NonThreadSafeQueue {
|
|
||||||
// public:
|
|
||||||
// ...
|
|
||||||
// void push(int) { DFAKE_SCOPED_LOCK(push_pop_); ... }
|
|
||||||
// int pop() { DFAKE_SCOPED_LOCK(push_pop_); ... }
|
|
||||||
// ...
|
|
||||||
// private:
|
|
||||||
// DFAKE_MUTEX(push_pop_);
|
|
||||||
// };
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Example: Queue implementation non thread-safe but still usable if clients
|
|
||||||
// are synchronized somehow, it calls a method to "protect" from
|
|
||||||
// a "protected" method
|
|
||||||
//
|
|
||||||
// In this case the macro DFAKE_SCOPED_RECURSIVE_LOCK
|
|
||||||
// has to be used, it checks that if a thread is inside the push/pop
|
|
||||||
// then noone else is still inside the pop/push
|
|
||||||
//
|
|
||||||
// class NonThreadSafeQueue {
|
|
||||||
// public:
|
|
||||||
// void push(int) {
|
|
||||||
// DFAKE_SCOPED_LOCK(push_pop_);
|
|
||||||
// ...
|
|
||||||
// }
|
|
||||||
// int pop() {
|
|
||||||
// DFAKE_SCOPED_RECURSIVE_LOCK(push_pop_);
|
|
||||||
// bar();
|
|
||||||
// ...
|
|
||||||
// }
|
|
||||||
// void bar() { DFAKE_SCOPED_RECURSIVE_LOCK(push_pop_); ... }
|
|
||||||
// ...
|
|
||||||
// private:
|
|
||||||
// DFAKE_MUTEX(push_pop_);
|
|
||||||
// };
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Example: Queue implementation not usable even if clients are synchronized,
|
|
||||||
// so only one thread in the class life cycle can use the two members
|
|
||||||
// push/pop.
|
|
||||||
//
|
|
||||||
// In this case the macro DFAKE_SCOPED_LOCK_THREAD_LOCKED pins the
|
|
||||||
// specified
|
|
||||||
// critical section the first time a thread enters push or pop, from
|
|
||||||
// that time on only that thread is allowed to execute push or pop.
|
|
||||||
//
|
|
||||||
// class NonThreadSafeQueue {
|
|
||||||
// public:
|
|
||||||
// ...
|
|
||||||
// void push(int) { DFAKE_SCOPED_LOCK_THREAD_LOCKED(push_pop_); ... }
|
|
||||||
// int pop() { DFAKE_SCOPED_LOCK_THREAD_LOCKED(push_pop_); ... }
|
|
||||||
// ...
|
|
||||||
// private:
|
|
||||||
// DFAKE_MUTEX(push_pop_);
|
|
||||||
// };
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Example: Class that has to be contructed/destroyed on same thread, it has
|
|
||||||
// a "shareable" method (with external synchronization) and a not
|
|
||||||
// shareable method (even with external synchronization).
|
|
||||||
//
|
|
||||||
// In this case 3 Critical sections have to be defined
|
|
||||||
//
|
|
||||||
// class ExoticClass {
|
|
||||||
// public:
|
|
||||||
// ExoticClass() { DFAKE_SCOPED_LOCK_THREAD_LOCKED(ctor_dtor_); ... }
|
|
||||||
// ~ExoticClass() { DFAKE_SCOPED_LOCK_THREAD_LOCKED(ctor_dtor_); ... }
|
|
||||||
//
|
|
||||||
// void Shareable() { DFAKE_SCOPED_LOCK(shareable_section_); ... }
|
|
||||||
// void NotShareable() { DFAKE_SCOPED_LOCK_THREAD_LOCKED(ctor_dtor_); ... }
|
|
||||||
// ...
|
|
||||||
// private:
|
|
||||||
// DFAKE_MUTEX(ctor_dtor_);
|
|
||||||
// DFAKE_MUTEX(shareable_section_);
|
|
||||||
// };
|
|
||||||
|
|
||||||
#if DCHECK_IS_ON()
|
|
||||||
|
|
||||||
// Defines a class member that acts like a mutex. It is used only as a
|
|
||||||
// verification tool.
|
|
||||||
#define DFAKE_MUTEX(obj) mutable base::ThreadCollisionWarner obj
|
|
||||||
// Asserts the call is never called simultaneously in two threads. Used at
|
|
||||||
// member function scope.
|
|
||||||
#define DFAKE_SCOPED_LOCK(obj) \
|
|
||||||
base::ThreadCollisionWarner::ScopedCheck s_check_##obj(&obj)
|
|
||||||
// Asserts the call is never called simultaneously in two threads. Used at
|
|
||||||
// member function scope. Same as DFAKE_SCOPED_LOCK but allows recursive locks.
|
|
||||||
#define DFAKE_SCOPED_RECURSIVE_LOCK(obj) \
|
|
||||||
base::ThreadCollisionWarner::ScopedRecursiveCheck sr_check_##obj(&obj)
|
|
||||||
// Asserts the code is always executed in the same thread.
|
|
||||||
#define DFAKE_SCOPED_LOCK_THREAD_LOCKED(obj) \
|
|
||||||
base::ThreadCollisionWarner::Check check_##obj(&obj)
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#define DFAKE_MUTEX(obj) typedef void InternalFakeMutexType##obj
|
|
||||||
#define DFAKE_SCOPED_LOCK(obj) ((void)0)
|
|
||||||
#define DFAKE_SCOPED_RECURSIVE_LOCK(obj) ((void)0)
|
|
||||||
#define DFAKE_SCOPED_LOCK_THREAD_LOCKED(obj) ((void)0)
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace base {
|
|
||||||
|
|
||||||
// The class ThreadCollisionWarner uses an Asserter to notify the collision
|
|
||||||
// AsserterBase is the interfaces and DCheckAsserter is the default asserter
|
|
||||||
// used. During the unit tests is used another class that doesn't "DCHECK"
|
|
||||||
// in case of collision (check thread_collision_warner_unittests.cc)
|
|
||||||
struct AsserterBase {
|
|
||||||
virtual ~AsserterBase() {}
|
|
||||||
virtual void warn() = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct DCheckAsserter : public AsserterBase {
|
|
||||||
virtual ~DCheckAsserter() {}
|
|
||||||
virtual void warn() OVERRIDE;
|
|
||||||
};
|
|
||||||
|
|
||||||
class ThreadCollisionWarner {
|
|
||||||
public:
|
|
||||||
// The parameter asserter is there only for test purpose
|
|
||||||
explicit ThreadCollisionWarner(AsserterBase* asserter = new DCheckAsserter())
|
|
||||||
: valid_thread_id_(0), counter_(0), asserter_(asserter) {}
|
|
||||||
|
|
||||||
~ThreadCollisionWarner() { delete asserter_; }
|
|
||||||
|
|
||||||
// This class is meant to be used through the macro
|
|
||||||
// DFAKE_SCOPED_LOCK_THREAD_LOCKED
|
|
||||||
// it doesn't leave the critical section, as opposed to ScopedCheck,
|
|
||||||
// because the critical section being pinned is allowed to be used only
|
|
||||||
// from one thread
|
|
||||||
class Check {
|
|
||||||
public:
|
|
||||||
explicit Check(ThreadCollisionWarner* warner) : warner_(warner) {
|
|
||||||
warner_->EnterSelf();
|
|
||||||
}
|
|
||||||
|
|
||||||
~Check() {}
|
|
||||||
|
|
||||||
private:
|
|
||||||
ThreadCollisionWarner* warner_;
|
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(Check);
|
|
||||||
};
|
|
||||||
|
|
||||||
// This class is meant to be used through the macro
|
|
||||||
// DFAKE_SCOPED_LOCK
|
|
||||||
class ScopedCheck {
|
|
||||||
public:
|
|
||||||
explicit ScopedCheck(ThreadCollisionWarner* warner) : warner_(warner) {
|
|
||||||
warner_->Enter();
|
|
||||||
}
|
|
||||||
|
|
||||||
~ScopedCheck() { warner_->Leave(); }
|
|
||||||
|
|
||||||
private:
|
|
||||||
ThreadCollisionWarner* warner_;
|
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(ScopedCheck);
|
|
||||||
};
|
|
||||||
|
|
||||||
// This class is meant to be used through the macro
|
|
||||||
// DFAKE_SCOPED_RECURSIVE_LOCK
|
|
||||||
class ScopedRecursiveCheck {
|
|
||||||
public:
|
|
||||||
explicit ScopedRecursiveCheck(ThreadCollisionWarner* warner)
|
|
||||||
: warner_(warner) {
|
|
||||||
warner_->EnterSelf();
|
|
||||||
}
|
|
||||||
|
|
||||||
~ScopedRecursiveCheck() { warner_->Leave(); }
|
|
||||||
|
|
||||||
private:
|
|
||||||
ThreadCollisionWarner* warner_;
|
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(ScopedRecursiveCheck);
|
|
||||||
};
|
|
||||||
|
|
||||||
private:
|
|
||||||
// This method stores the current thread identifier and does a DCHECK
|
|
||||||
// if a another thread has already done it, it is safe if same thread
|
|
||||||
// calls this multiple time (recursion allowed).
|
|
||||||
void EnterSelf();
|
|
||||||
|
|
||||||
// Same as EnterSelf but recursion is not allowed.
|
|
||||||
void Enter();
|
|
||||||
|
|
||||||
// Removes the thread_id stored in order to allow other threads to
|
|
||||||
// call EnterSelf or Enter.
|
|
||||||
void Leave();
|
|
||||||
|
|
||||||
// This stores the thread id that is inside the critical section, if the
|
|
||||||
// value is 0 then no thread is inside.
|
|
||||||
volatile subtle::Atomic32 valid_thread_id_;
|
|
||||||
|
|
||||||
// Counter to trace how many time a critical section was "pinned"
|
|
||||||
// (when allowed) in order to unpin it when counter_ reaches 0.
|
|
||||||
volatile subtle::Atomic32 counter_;
|
|
||||||
|
|
||||||
// Here only for class unit tests purpose, during the test I need to not
|
|
||||||
// DCHECK but notify the collision with something else.
|
|
||||||
AsserterBase* asserter_;
|
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(ThreadCollisionWarner);
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace base
|
|
||||||
|
|
||||||
#endif // !USING_CHROMIUM_INCLUDES
|
|
||||||
|
|
||||||
#endif // CEF_INCLUDE_BASE_CEF_THREAD_COLLISION_WARNER_H_
|
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=ade29136d75b33f63cf65db4b91de9cd66114562$
|
// $hash=05029efef860f52da671d55b0afa3df43e016045$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_ACCESSIBILITY_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_ACCESSIBILITY_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=52ce63b881a6e3d2d13a39b81ad2626f366fc130$
|
// $hash=a386eaf81574ae85a4f522afd4287742f778e78d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_APP_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_APP_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=639d58245ecd39624d39ee8b49e0e4e056d1c4ed$
|
// $hash=9f05ee0596b82355ba8c07dcd8244a761b95df58$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_
|
||||||
|
@@ -69,6 +69,11 @@ typedef struct _cef_base_ref_counted_t {
|
|||||||
// Returns true (1) if the current reference count is 1.
|
// Returns true (1) if the current reference count is 1.
|
||||||
///
|
///
|
||||||
int(CEF_CALLBACK* has_one_ref)(struct _cef_base_ref_counted_t* self);
|
int(CEF_CALLBACK* has_one_ref)(struct _cef_base_ref_counted_t* self);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Returns true (1) if the current reference count is at least 1.
|
||||||
|
///
|
||||||
|
int(CEF_CALLBACK* has_at_least_one_ref)(struct _cef_base_ref_counted_t* self);
|
||||||
} cef_base_ref_counted_t;
|
} cef_base_ref_counted_t;
|
||||||
|
|
||||||
///
|
///
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=a4831deeb05bc0a022c1a0ee6f1c484b338c741c$
|
// $hash=faac9d17d7efae3a72c4cc44474071027596c843$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_CAPI_H_
|
||||||
@@ -571,6 +571,13 @@ typedef struct _cef_browser_host_t {
|
|||||||
void(CEF_CALLBACK* invalidate)(struct _cef_browser_host_t* self,
|
void(CEF_CALLBACK* invalidate)(struct _cef_browser_host_t* self,
|
||||||
cef_paint_element_type_t type);
|
cef_paint_element_type_t type);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Issue a BeginFrame request to Chromium. Only valid when
|
||||||
|
// cef_window_tInfo::external_begin_frame_enabled is set to true (1).
|
||||||
|
///
|
||||||
|
void(CEF_CALLBACK* send_external_begin_frame)(
|
||||||
|
struct _cef_browser_host_t* self);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Send a key event to the browser.
|
// Send a key event to the browser.
|
||||||
///
|
///
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=0868c7d129e35c38b207b1066fd5eba0c1eef45c$
|
// $hash=372bc8b015110d2849eb1d8c16b616871e2d9320$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_PROCESS_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_PROCESS_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=68de2255fd429696d62115786fc480f1d5f9882b$
|
// $hash=7419140aa82db2a86a5eca062193ac8bde9f5d40$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_CALLBACK_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_CALLBACK_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=7f554250e73537ece3f8f67310c23e718f91d41b$
|
// $hash=318ad8428256c2ef980f2f594ace2469001e59bd$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_CLIENT_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_CLIENT_CAPI_H_
|
||||||
@@ -48,7 +48,6 @@
|
|||||||
#include "include/capi/cef_drag_handler_capi.h"
|
#include "include/capi/cef_drag_handler_capi.h"
|
||||||
#include "include/capi/cef_find_handler_capi.h"
|
#include "include/capi/cef_find_handler_capi.h"
|
||||||
#include "include/capi/cef_focus_handler_capi.h"
|
#include "include/capi/cef_focus_handler_capi.h"
|
||||||
#include "include/capi/cef_geolocation_handler_capi.h"
|
|
||||||
#include "include/capi/cef_jsdialog_handler_capi.h"
|
#include "include/capi/cef_jsdialog_handler_capi.h"
|
||||||
#include "include/capi/cef_keyboard_handler_capi.h"
|
#include "include/capi/cef_keyboard_handler_capi.h"
|
||||||
#include "include/capi/cef_life_span_handler_capi.h"
|
#include "include/capi/cef_life_span_handler_capi.h"
|
||||||
@@ -115,13 +114,6 @@ typedef struct _cef_client_t {
|
|||||||
struct _cef_focus_handler_t*(CEF_CALLBACK* get_focus_handler)(
|
struct _cef_focus_handler_t*(CEF_CALLBACK* get_focus_handler)(
|
||||||
struct _cef_client_t* self);
|
struct _cef_client_t* self);
|
||||||
|
|
||||||
///
|
|
||||||
// Return the handler for geolocation permissions requests. If no handler is
|
|
||||||
// provided geolocation access will be denied by default.
|
|
||||||
///
|
|
||||||
struct _cef_geolocation_handler_t*(CEF_CALLBACK* get_geolocation_handler)(
|
|
||||||
struct _cef_client_t* self);
|
|
||||||
|
|
||||||
///
|
///
|
||||||
// Return the handler for JavaScript dialogs. If no handler is provided the
|
// Return the handler for JavaScript dialogs. If no handler is provided the
|
||||||
// default implementation will be used.
|
// default implementation will be used.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=b917030321dc11ddfc8d8939239dda7952d2f955$
|
// $hash=540c73b297f3b0843058881c5a9a7433dc346fd2$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_COMMAND_LINE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_COMMAND_LINE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=2e295ba277083061103147a400bc30f78e6a94f5$
|
// $hash=75b5bd826645fabb12c16c938b2fc30ec1642b1c$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_CONTEXT_MENU_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_CONTEXT_MENU_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=c2bf8084385f3c795ae7494da6970a0a61b96ac6$
|
// $hash=8e5c27c998b6aabcaf43a4cc7f97064d49eaf8b9$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_COOKIE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_COOKIE_CAPI_H_
|
||||||
@@ -159,6 +159,16 @@ typedef struct _cef_cookie_manager_t {
|
|||||||
CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_global_manager(
|
CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_global_manager(
|
||||||
struct _cef_completion_callback_t* callback);
|
struct _cef_completion_callback_t* callback);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Returns a cookie manager that neither stores nor retrieves cookies. All usage
|
||||||
|
// of cookies will be blocked including cookies accessed via the network
|
||||||
|
// (request/response headers), via JavaScript (document.cookie), and via
|
||||||
|
// cef_cookie_manager_t functions. No cookies will be displayed in DevTools. If
|
||||||
|
// you wish to only block cookies sent via the network use the
|
||||||
|
// cef_request_tHandler CanGetCookies and CanSetCookie functions instead.
|
||||||
|
///
|
||||||
|
CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_blocking_manager();
|
||||||
|
|
||||||
///
|
///
|
||||||
// Creates a new cookie manager. If |path| is NULL data will be stored in memory
|
// Creates a new cookie manager. If |path| is NULL data will be stored in memory
|
||||||
// only. Otherwise, data will be stored at the specified |path|. To persist
|
// only. Otherwise, data will be stored at the specified |path|. To persist
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=8b7354f5a1ad6b255d77e477c64374b927f4fe28$
|
// $hash=d8c4816346fdf48b987c88a94c51c9d67624abe0$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_CRASH_UTIL_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_CRASH_UTIL_CAPI_H_
|
||||||
@@ -129,14 +129,12 @@ extern "C" {
|
|||||||
//
|
//
|
||||||
// CrashKeys section:
|
// CrashKeys section:
|
||||||
//
|
//
|
||||||
// Any number of crash keys can be specified for use by the application. Crash
|
// A maximum of 26 crash keys of each size can be specified for use by the
|
||||||
// key values will be truncated based on the specified size (small = 63 bytes,
|
// application. Crash key values will be truncated based on the specified size
|
||||||
// medium = 252 bytes, large = 1008 bytes). The value of crash keys can be set
|
// (small = 64 bytes, medium = 256 bytes, large = 1024 bytes). The value of
|
||||||
// from any thread or process using the CefSetCrashKeyValue function. These
|
// crash keys can be set from any thread or process using the
|
||||||
// key/value pairs will be sent to the crash server along with the crash dump
|
// CefSetCrashKeyValue function. These key/value pairs will be sent to the crash
|
||||||
// file. Medium and large values will be chunked for submission. For example, if
|
// server along with the crash dump file.
|
||||||
// your key is named "mykey" then the value will be broken into ordered chunks
|
|
||||||
// and submitted using keys named "mykey-1", "mykey-2", etc.
|
|
||||||
///
|
///
|
||||||
CEF_EXPORT int cef_crash_reporting_enabled();
|
CEF_EXPORT int cef_crash_reporting_enabled();
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=b8a44f4f624ba51107d06ff3d1a7934e83765786$
|
// $hash=23627ca4a51e3256889c05360f3fe143172f4ad6$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DIALOG_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DIALOG_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=979968e494e9d7c4d5117a1753acade5d0e79215$
|
// $hash=f6998cb056849c4d73f47142988bd4900784e0c6$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DISPLAY_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DISPLAY_HANDLER_CAPI_H_
|
||||||
@@ -118,6 +118,7 @@ typedef struct _cef_display_handler_t {
|
|||||||
///
|
///
|
||||||
int(CEF_CALLBACK* on_console_message)(struct _cef_display_handler_t* self,
|
int(CEF_CALLBACK* on_console_message)(struct _cef_display_handler_t* self,
|
||||||
struct _cef_browser_t* browser,
|
struct _cef_browser_t* browser,
|
||||||
|
cef_log_severity_t level,
|
||||||
const cef_string_t* message,
|
const cef_string_t* message,
|
||||||
const cef_string_t* source,
|
const cef_string_t* source,
|
||||||
int line);
|
int line);
|
||||||
@@ -131,6 +132,15 @@ typedef struct _cef_display_handler_t {
|
|||||||
int(CEF_CALLBACK* on_auto_resize)(struct _cef_display_handler_t* self,
|
int(CEF_CALLBACK* on_auto_resize)(struct _cef_display_handler_t* self,
|
||||||
struct _cef_browser_t* browser,
|
struct _cef_browser_t* browser,
|
||||||
const cef_size_t* new_size);
|
const cef_size_t* new_size);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Called when the overall page loading progress has changed. |progress|
|
||||||
|
// ranges from 0.0 to 1.0.
|
||||||
|
///
|
||||||
|
void(CEF_CALLBACK* on_loading_progress_change)(
|
||||||
|
struct _cef_display_handler_t* self,
|
||||||
|
struct _cef_browser_t* browser,
|
||||||
|
double progress);
|
||||||
} cef_display_handler_t;
|
} cef_display_handler_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=db82ff508cb1b4a03001b8b30bc5126186ee1bd2$
|
// $hash=b8d77a12530d3da606587bf97eacf9169cae0710$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DOM_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DOM_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=4475f7e48898bdef8051c849873fb2528320cd9c$
|
// $hash=52e904750160e4056c422794565956ae8161b50d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DOWNLOAD_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DOWNLOAD_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=cc669703d613f5a6a5bae95030835dc99f55a6fa$
|
// $hash=2893ea0d3375b93d2b28ac6fdcd6cdae75df544e$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DOWNLOAD_ITEM_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DOWNLOAD_ITEM_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=a4b5264c1e685cad86203772631460684ee7820d$
|
// $hash=c083246c8f51462b31039ce5e7031ca6c13ea071$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DRAG_DATA_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DRAG_DATA_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=c557dad9522f4bd4c6b3295d149c6b893fc18d52$
|
// $hash=22ebb1d811a4e0a834eb115859d797c72a5c4ca3$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_DRAG_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_DRAG_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=aef2f0bc7a2491b5745b5eae8d02e2e8bd7335af$
|
// $hash=09d865515163b7b61509e7a5fd849a446ea2ac9d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=b6311a69fc01fa19d3c49230f412a5963633ce27$
|
// $hash=490353d0ad05316191a2eae5ec19f1cde468f2d2$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=1c02b57893a3f78c436bc2ab66c63753edfb174a$
|
// $hash=251816adec28cbfbda5c8a5b1f4fbf363e41ba77$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_FILE_UTIL_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_FILE_UTIL_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=975114b079fa271fecbf31ef160974941faed8a4$
|
// $hash=96984f8a723fb277d084540d12fae2946c217c8a$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_FIND_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_FIND_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=bed1f7b94e060b83e3f22eb84ce1274f2d10b3e6$
|
// $hash=5c01736fece19b53de45098e409cb8c65e5caf6e$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_FOCUS_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_FOCUS_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=c1457ef21c14c40422b19b681121283eae3e9d70$
|
// $hash=d3fcf9a928adb588443a52d82a48c188a67d3231$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_FRAME_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_FRAME_CAPI_H_
|
||||||
|
@@ -1,79 +0,0 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
|
||||||
//
|
|
||||||
// Redistribution and use in source and binary forms, with or without
|
|
||||||
// modification, are permitted provided that the following conditions are
|
|
||||||
// met:
|
|
||||||
//
|
|
||||||
// * Redistributions of source code must retain the above copyright
|
|
||||||
// notice, this list of conditions and the following disclaimer.
|
|
||||||
// * Redistributions in binary form must reproduce the above
|
|
||||||
// copyright notice, this list of conditions and the following disclaimer
|
|
||||||
// in the documentation and/or other materials provided with the
|
|
||||||
// distribution.
|
|
||||||
// * Neither the name of Google Inc. nor the name Chromium Embedded
|
|
||||||
// Framework nor the names of its contributors may be used to endorse
|
|
||||||
// or promote products derived from this software without specific prior
|
|
||||||
// written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// ---------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// This file was generated by the CEF translator tool and should not edited
|
|
||||||
// by hand. See the translator.README.txt file in the tools directory for
|
|
||||||
// more information.
|
|
||||||
//
|
|
||||||
// $hash=3ae57ba897d73f3fcccc955c827379746b6203af$
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_GEOLOCATION_CAPI_H_
|
|
||||||
#define CEF_INCLUDE_CAPI_CEF_GEOLOCATION_CAPI_H_
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "include/capi/cef_base_capi.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
///
|
|
||||||
// Implement this structure to receive geolocation updates. The functions of
|
|
||||||
// this structure will be called on the browser process UI thread.
|
|
||||||
///
|
|
||||||
typedef struct _cef_get_geolocation_callback_t {
|
|
||||||
///
|
|
||||||
// Base structure.
|
|
||||||
///
|
|
||||||
cef_base_ref_counted_t base;
|
|
||||||
|
|
||||||
///
|
|
||||||
// Called with the 'best available' location information or, if the location
|
|
||||||
// update failed, with error information.
|
|
||||||
///
|
|
||||||
void(CEF_CALLBACK* on_location_update)(
|
|
||||||
struct _cef_get_geolocation_callback_t* self,
|
|
||||||
const struct _cef_geoposition_t* position);
|
|
||||||
} cef_get_geolocation_callback_t;
|
|
||||||
|
|
||||||
///
|
|
||||||
// Request a one-time geolocation update. This function bypasses any user
|
|
||||||
// permission checks so should only be used by code that is allowed to access
|
|
||||||
// location information.
|
|
||||||
///
|
|
||||||
CEF_EXPORT int cef_get_geolocation(cef_get_geolocation_callback_t* callback);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // CEF_INCLUDE_CAPI_CEF_GEOLOCATION_CAPI_H_
|
|
@@ -1,106 +0,0 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
|
||||||
//
|
|
||||||
// Redistribution and use in source and binary forms, with or without
|
|
||||||
// modification, are permitted provided that the following conditions are
|
|
||||||
// met:
|
|
||||||
//
|
|
||||||
// * Redistributions of source code must retain the above copyright
|
|
||||||
// notice, this list of conditions and the following disclaimer.
|
|
||||||
// * Redistributions in binary form must reproduce the above
|
|
||||||
// copyright notice, this list of conditions and the following disclaimer
|
|
||||||
// in the documentation and/or other materials provided with the
|
|
||||||
// distribution.
|
|
||||||
// * Neither the name of Google Inc. nor the name Chromium Embedded
|
|
||||||
// Framework nor the names of its contributors may be used to endorse
|
|
||||||
// or promote products derived from this software without specific prior
|
|
||||||
// written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// ---------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// This file was generated by the CEF translator tool and should not edited
|
|
||||||
// by hand. See the translator.README.txt file in the tools directory for
|
|
||||||
// more information.
|
|
||||||
//
|
|
||||||
// $hash=ec60811fcefbe02348f14ecddbe5778ce836bf53$
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_GEOLOCATION_HANDLER_CAPI_H_
|
|
||||||
#define CEF_INCLUDE_CAPI_CEF_GEOLOCATION_HANDLER_CAPI_H_
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "include/capi/cef_base_capi.h"
|
|
||||||
#include "include/capi/cef_browser_capi.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
///
|
|
||||||
// Callback structure used for asynchronous continuation of geolocation
|
|
||||||
// permission requests.
|
|
||||||
///
|
|
||||||
typedef struct _cef_geolocation_callback_t {
|
|
||||||
///
|
|
||||||
// Base structure.
|
|
||||||
///
|
|
||||||
cef_base_ref_counted_t base;
|
|
||||||
|
|
||||||
///
|
|
||||||
// Call to allow or deny geolocation access.
|
|
||||||
///
|
|
||||||
void(CEF_CALLBACK* cont)(struct _cef_geolocation_callback_t* self, int allow);
|
|
||||||
} cef_geolocation_callback_t;
|
|
||||||
|
|
||||||
///
|
|
||||||
// Implement this structure to handle events related to geolocation permission
|
|
||||||
// requests. The functions of this structure will be called on the browser
|
|
||||||
// process UI thread.
|
|
||||||
///
|
|
||||||
typedef struct _cef_geolocation_handler_t {
|
|
||||||
///
|
|
||||||
// Base structure.
|
|
||||||
///
|
|
||||||
cef_base_ref_counted_t base;
|
|
||||||
|
|
||||||
///
|
|
||||||
// Called when a page requests permission to access geolocation information.
|
|
||||||
// |requesting_url| is the URL requesting permission and |request_id| is the
|
|
||||||
// unique ID for the permission request. Return true (1) and call
|
|
||||||
// cef_geolocation_callback_t::cont() either in this function or at a later
|
|
||||||
// time to continue or cancel the request. Return false (0) to cancel the
|
|
||||||
// request immediately.
|
|
||||||
///
|
|
||||||
int(CEF_CALLBACK* on_request_geolocation_permission)(
|
|
||||||
struct _cef_geolocation_handler_t* self,
|
|
||||||
struct _cef_browser_t* browser,
|
|
||||||
const cef_string_t* requesting_url,
|
|
||||||
int request_id,
|
|
||||||
struct _cef_geolocation_callback_t* callback);
|
|
||||||
|
|
||||||
///
|
|
||||||
// Called when a geolocation access request is canceled. |request_id| is the
|
|
||||||
// unique ID for the permission request.
|
|
||||||
///
|
|
||||||
void(CEF_CALLBACK* on_cancel_geolocation_permission)(
|
|
||||||
struct _cef_geolocation_handler_t* self,
|
|
||||||
struct _cef_browser_t* browser,
|
|
||||||
int request_id);
|
|
||||||
} cef_geolocation_handler_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // CEF_INCLUDE_CAPI_CEF_GEOLOCATION_HANDLER_CAPI_H_
|
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=60f904f2f77ce6d89f9fceeeda0050273a3c9e6d$
|
// $hash=2dce975084deacbed701faebcb978ab5bb21e98c$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_IMAGE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_IMAGE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=351cff5a52f29b54d1854d5dfbb1733c8a62797d$
|
// $hash=285ab7e25111cb0d69b3291720ee84ecaf7d48f4$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_JSDIALOG_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_JSDIALOG_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=07c2a01bb9975fa52fdb287712f8f369557ba755$
|
// $hash=f27c19f216ad8296bdcb2c64b613a7814790189a$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_KEYBOARD_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_KEYBOARD_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=fe38af40efe76e5d6babf0644d7d4af679a4ca6f$
|
// $hash=a1648c803a6d72e004e523cd4c02530702635d1e$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_LIFE_SPAN_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_LIFE_SPAN_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=d8fa87bb47ec889cab864fe96f94e07bf1deb0f6$
|
// $hash=2699b967d059195fcbd82ce55f9dec896637bd77$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_LOAD_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_LOAD_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=295f7f55ebe6d548aba1476e67efb2c88ab10ca5$
|
// $hash=fd64c7e3f77df321539f89469c4c8e33947a2c55$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_MENU_MODEL_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_MENU_MODEL_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=74f40f20f94ce3a6e7f3c879a3834a7108099ed4$
|
// $hash=2b154560c6a617cd562f47899e062e82e308c364$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_MENU_MODEL_DELEGATE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_MENU_MODEL_DELEGATE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=a862d0004de2a1bdf4c214fe87278badd90562a7$
|
// $hash=253f506585bbf7babd2f3f90ce8af44c89aa2b6f$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_NAVIGATION_ENTRY_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_NAVIGATION_ENTRY_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=2e5afff3277384ea9f3f74ef509c018f6d307dc4$
|
// $hash=a9a43f89dba782108ec1f79b69a41ef59570e983$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_ORIGIN_WHITELIST_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_ORIGIN_WHITELIST_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=d2f01fbfc3ae72a86c03399606088054b3a9337f$
|
// $hash=39203e63ce8dfe82a7b0ebac53ec55d9ccf6c1a8$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_PARSER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_PARSER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=fbb817705137a12b4718950ff696396c30057007$
|
// $hash=c57e44085a88acfdd107e40a76c88aaf92e64b4a$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_PATH_UTIL_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=897f5b1ec6ed7430fff156f47b4ce6371d5db6f2$
|
// $hash=2b89bd952c0d591fb0361fabf9ff3aedb7fe3fbf$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_PRINT_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_PRINT_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=5b26ebd2d8e1e65a25fa0c08317b8994887c0498$
|
// $hash=e4acb9c80e79f3e0784c1dc44f5ce885a8fb7fff$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_PRINT_SETTINGS_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_PRINT_SETTINGS_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=c2ee22474637f9aed7673670fb10c960ae621535$
|
// $hash=2681670cc875605b22cc618cbb1817e5a0778e93$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_PROCESS_MESSAGE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_PROCESS_MESSAGE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=aad07da2d500b8d31e02a75331bdb68f16d4c662$
|
// $hash=bcae364ba4ab461e0d35e690e22484aa39fe9527$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_PROCESS_UTIL_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_PROCESS_UTIL_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=5d20fc88dea8dad8691f05bfb7e8c1ce5cf2bbc1$
|
// $hash=cf5dc6f6d2c64d5dc706edd5adc5cf6c7c752750$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RENDER_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RENDER_HANDLER_CAPI_H_
|
||||||
@@ -68,7 +68,8 @@ typedef struct _cef_render_handler_t {
|
|||||||
|
|
||||||
///
|
///
|
||||||
// Called to retrieve the root window rectangle in screen coordinates. Return
|
// Called to retrieve the root window rectangle in screen coordinates. Return
|
||||||
// true (1) if the rectangle was provided.
|
// true (1) if the rectangle was provided. If this function returns false (0)
|
||||||
|
// the rectangle from GetViewRect will be used.
|
||||||
///
|
///
|
||||||
int(CEF_CALLBACK* get_root_screen_rect)(struct _cef_render_handler_t* self,
|
int(CEF_CALLBACK* get_root_screen_rect)(struct _cef_render_handler_t* self,
|
||||||
struct _cef_browser_t* browser,
|
struct _cef_browser_t* browser,
|
||||||
@@ -76,9 +77,9 @@ typedef struct _cef_render_handler_t {
|
|||||||
|
|
||||||
///
|
///
|
||||||
// Called to retrieve the view rectangle which is relative to screen
|
// Called to retrieve the view rectangle which is relative to screen
|
||||||
// coordinates. Return true (1) if the rectangle was provided.
|
// coordinates. This function must always provide a non-NULL rectangle.
|
||||||
///
|
///
|
||||||
int(CEF_CALLBACK* get_view_rect)(struct _cef_render_handler_t* self,
|
void(CEF_CALLBACK* get_view_rect)(struct _cef_render_handler_t* self,
|
||||||
struct _cef_browser_t* browser,
|
struct _cef_browser_t* browser,
|
||||||
cef_rect_t* rect);
|
cef_rect_t* rect);
|
||||||
|
|
||||||
@@ -130,7 +131,8 @@ typedef struct _cef_render_handler_t {
|
|||||||
// contains the pixel data for the whole image. |dirtyRects| contains the set
|
// contains the pixel data for the whole image. |dirtyRects| contains the set
|
||||||
// of rectangles in pixel coordinates that need to be repainted. |buffer| will
|
// of rectangles in pixel coordinates that need to be repainted. |buffer| will
|
||||||
// be |width|*|height|*4 bytes in size and represents a BGRA image with an
|
// be |width|*|height|*4 bytes in size and represents a BGRA image with an
|
||||||
// upper-left origin.
|
// upper-left origin. This function is only called when
|
||||||
|
// cef_window_tInfo::shared_texture_enabled is set to false (0).
|
||||||
///
|
///
|
||||||
void(CEF_CALLBACK* on_paint)(struct _cef_render_handler_t* self,
|
void(CEF_CALLBACK* on_paint)(struct _cef_render_handler_t* self,
|
||||||
struct _cef_browser_t* browser,
|
struct _cef_browser_t* browser,
|
||||||
@@ -141,6 +143,22 @@ typedef struct _cef_render_handler_t {
|
|||||||
int width,
|
int width,
|
||||||
int height);
|
int height);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Called when an element has been rendered to the shared texture handle.
|
||||||
|
// |type| indicates whether the element is the view or the popup widget.
|
||||||
|
// |dirtyRects| contains the set of rectangles in pixel coordinates that need
|
||||||
|
// to be repainted. |shared_handle| is the handle for a D3D11 Texture2D that
|
||||||
|
// can be accessed via ID3D11Device using the OpenSharedResource function.
|
||||||
|
// This function is only called when cef_window_tInfo::shared_texture_enabled
|
||||||
|
// is set to true (1), and is currently only supported on Windows.
|
||||||
|
///
|
||||||
|
void(CEF_CALLBACK* on_accelerated_paint)(struct _cef_render_handler_t* self,
|
||||||
|
struct _cef_browser_t* browser,
|
||||||
|
cef_paint_element_type_t type,
|
||||||
|
size_t dirtyRectsCount,
|
||||||
|
cef_rect_t const* dirtyRects,
|
||||||
|
void* shared_handle);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
|
// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
|
||||||
// |custom_cursor_info| will be populated with the custom cursor information.
|
// |custom_cursor_info| will be populated with the custom cursor information.
|
||||||
@@ -202,6 +220,17 @@ typedef struct _cef_render_handler_t {
|
|||||||
const cef_range_t* selected_range,
|
const cef_range_t* selected_range,
|
||||||
size_t character_boundsCount,
|
size_t character_boundsCount,
|
||||||
cef_rect_t const* character_bounds);
|
cef_rect_t const* character_bounds);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Called when text selection has changed for the specified |browser|.
|
||||||
|
// |selected_text| is the currently selected text and |selected_range| is the
|
||||||
|
// character range.
|
||||||
|
///
|
||||||
|
void(CEF_CALLBACK* on_text_selection_changed)(
|
||||||
|
struct _cef_render_handler_t* self,
|
||||||
|
struct _cef_browser_t* browser,
|
||||||
|
const cef_string_t* selected_text,
|
||||||
|
const cef_range_t* selected_range);
|
||||||
} cef_render_handler_t;
|
} cef_render_handler_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=04ddf8c8cc5e09610a6cd6dbee96194eb6567b41$
|
// $hash=63544b02e263d0aeb2f6553bf40c52bcf72d9f0b$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RENDER_PROCESS_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RENDER_PROCESS_HANDLER_CAPI_H_
|
||||||
@@ -102,19 +102,6 @@ typedef struct _cef_render_process_handler_t {
|
|||||||
struct _cef_load_handler_t*(CEF_CALLBACK* get_load_handler)(
|
struct _cef_load_handler_t*(CEF_CALLBACK* get_load_handler)(
|
||||||
struct _cef_render_process_handler_t* self);
|
struct _cef_render_process_handler_t* self);
|
||||||
|
|
||||||
///
|
|
||||||
// Called before browser navigation. Return true (1) to cancel the navigation
|
|
||||||
// or false (0) to allow the navigation to proceed. The |request| object
|
|
||||||
// cannot be modified in this callback.
|
|
||||||
///
|
|
||||||
int(CEF_CALLBACK* on_before_navigation)(
|
|
||||||
struct _cef_render_process_handler_t* self,
|
|
||||||
struct _cef_browser_t* browser,
|
|
||||||
struct _cef_frame_t* frame,
|
|
||||||
struct _cef_request_t* request,
|
|
||||||
cef_navigation_type_t navigation_type,
|
|
||||||
int is_redirect);
|
|
||||||
|
|
||||||
///
|
///
|
||||||
// Called immediately after the V8 context for a frame has been created. To
|
// Called immediately after the V8 context for a frame has been created. To
|
||||||
// retrieve the JavaScript 'window' object use the
|
// retrieve the JavaScript 'window' object use the
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=e4d28f171862beea61f00e46d7acb8ee4154b077$
|
// $hash=580e0e91bf4052f0e996dc42f63079ca1a6390cf$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CAPI_H_
|
||||||
@@ -158,7 +158,7 @@ typedef struct _cef_request_t {
|
|||||||
void(CEF_CALLBACK* set_flags)(struct _cef_request_t* self, int flags);
|
void(CEF_CALLBACK* set_flags)(struct _cef_request_t* self, int flags);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Set the URL to the first party for cookies used in combination with
|
// Get the URL to the first party for cookies used in combination with
|
||||||
// cef_urlrequest_t.
|
// cef_urlrequest_t.
|
||||||
///
|
///
|
||||||
// The resulting string must be freed by calling cef_string_userfree_free().
|
// The resulting string must be freed by calling cef_string_userfree_free().
|
||||||
@@ -166,7 +166,7 @@ typedef struct _cef_request_t {
|
|||||||
struct _cef_request_t* self);
|
struct _cef_request_t* self);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Get the URL to the first party for cookies used in combination with
|
// Set the URL to the first party for cookies used in combination with
|
||||||
// cef_urlrequest_t.
|
// cef_urlrequest_t.
|
||||||
///
|
///
|
||||||
void(CEF_CALLBACK* set_first_party_for_cookies)(struct _cef_request_t* self,
|
void(CEF_CALLBACK* set_first_party_for_cookies)(struct _cef_request_t* self,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=35342e59ba48fc8b9783fae8e04ddc36448f72d2$
|
// $hash=cd2b70b906b9f07923d69d9ec0b32488125b0af3$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=5a72321dd65325d93c1f920b08fc6bd462e74bdf$
|
// $hash=03c829d89f0b5b7ab12634fa2f11c4903cd8edb2$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=b6cbe39a8124a961036205864e7e6b2e1eb0bf6b$
|
// $hash=64631c0b1776a951da838f8b08a4c71ef33a15cc$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_HANDLER_CAPI_H_
|
||||||
@@ -112,12 +112,15 @@ typedef struct _cef_request_handler_t {
|
|||||||
// If the navigation is allowed cef_load_handler_t::OnLoadStart and
|
// If the navigation is allowed cef_load_handler_t::OnLoadStart and
|
||||||
// cef_load_handler_t::OnLoadEnd will be called. If the navigation is canceled
|
// cef_load_handler_t::OnLoadEnd will be called. If the navigation is canceled
|
||||||
// cef_load_handler_t::OnLoadError will be called with an |errorCode| value of
|
// cef_load_handler_t::OnLoadError will be called with an |errorCode| value of
|
||||||
// ERR_ABORTED.
|
// ERR_ABORTED. The |user_gesture| value will be true (1) if the browser
|
||||||
|
// navigated via explicit user gesture (e.g. clicking a link) or false (0) if
|
||||||
|
// it navigated automatically (e.g. via the DomContentLoaded event).
|
||||||
///
|
///
|
||||||
int(CEF_CALLBACK* on_before_browse)(struct _cef_request_handler_t* self,
|
int(CEF_CALLBACK* on_before_browse)(struct _cef_request_handler_t* self,
|
||||||
struct _cef_browser_t* browser,
|
struct _cef_browser_t* browser,
|
||||||
struct _cef_frame_t* frame,
|
struct _cef_frame_t* frame,
|
||||||
struct _cef_request_t* request,
|
struct _cef_request_t* request,
|
||||||
|
int user_gesture,
|
||||||
int is_redirect);
|
int is_redirect);
|
||||||
|
|
||||||
///
|
///
|
||||||
@@ -247,6 +250,29 @@ typedef struct _cef_request_handler_t {
|
|||||||
const cef_string_t* scheme,
|
const cef_string_t* scheme,
|
||||||
struct _cef_auth_callback_t* callback);
|
struct _cef_auth_callback_t* callback);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Called on the IO thread before sending a network request with a "Cookie"
|
||||||
|
// request header. Return true (1) to allow cookies to be included in the
|
||||||
|
// network request or false (0) to block cookies. The |request| object should
|
||||||
|
// not be modified in this callback.
|
||||||
|
///
|
||||||
|
int(CEF_CALLBACK* can_get_cookies)(struct _cef_request_handler_t* self,
|
||||||
|
struct _cef_browser_t* browser,
|
||||||
|
struct _cef_frame_t* frame,
|
||||||
|
struct _cef_request_t* request);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Called on the IO thread when receiving a network request with a "Set-
|
||||||
|
// Cookie" response header value represented by |cookie|. Return true (1) to
|
||||||
|
// allow the cookie to be stored or false (0) to block the cookie. The
|
||||||
|
// |request| object should not be modified in this callback.
|
||||||
|
///
|
||||||
|
int(CEF_CALLBACK* can_set_cookie)(struct _cef_request_handler_t* self,
|
||||||
|
struct _cef_browser_t* browser,
|
||||||
|
struct _cef_frame_t* frame,
|
||||||
|
struct _cef_request_t* request,
|
||||||
|
const struct _cef_cookie_t* cookie);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Called on the IO thread when JavaScript requests a specific storage quota
|
// Called on the IO thread when JavaScript requests a specific storage quota
|
||||||
// size via the webkitStorageInfo.requestQuota function. |origin_url| is the
|
// size via the webkitStorageInfo.requestQuota function. |origin_url| is the
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=82f2ce6f2ea3a8268ac69e33d304ace1a0e192b2$
|
// $hash=48daeee5c2103ec69535dc0376255878c3d69e9b$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_BUNDLE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_BUNDLE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=cd94d8670c26bf17082629e5297407a716f01503$
|
// $hash=fe5830fe27ce758f4d0a6b2e37f11f5e702aba41$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_BUNDLE_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_BUNDLE_HANDLER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=cd9c4ed153ad4425ff43d640a81693e3c83817d2$
|
// $hash=706e3ebbdb4e3b01f3f3bb18eb85c1897c8b5ade$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_HANDLER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_HANDLER_CAPI_H_
|
||||||
@@ -80,8 +80,12 @@ typedef struct _cef_resource_handler_t {
|
|||||||
// (0) or the specified number of bytes have been read. Use the |response|
|
// (0) or the specified number of bytes have been read. Use the |response|
|
||||||
// object to set the mime type, http status code and other optional header
|
// object to set the mime type, http status code and other optional header
|
||||||
// values. To redirect the request to a new URL set |redirectUrl| to the new
|
// values. To redirect the request to a new URL set |redirectUrl| to the new
|
||||||
// URL. If an error occured while setting up the request you can call
|
// URL. |redirectUrl| can be either a relative or fully qualified URL. It is
|
||||||
// set_error() on |response| to indicate the error condition.
|
// also possible to set |response| to a redirect http status code and pass the
|
||||||
|
// new URL via a Location header. Likewise with |redirectUrl| it is valid to
|
||||||
|
// set a relative or fully qualified URL as the Location header value. If an
|
||||||
|
// error occured while setting up the request you can call set_error() on
|
||||||
|
// |response| to indicate the error condition.
|
||||||
///
|
///
|
||||||
void(CEF_CALLBACK* get_response_headers)(struct _cef_resource_handler_t* self,
|
void(CEF_CALLBACK* get_response_headers)(struct _cef_resource_handler_t* self,
|
||||||
struct _cef_response_t* response,
|
struct _cef_response_t* response,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=3f0ed89d2320677780c2fd526be7fe6312580cd8$
|
// $hash=0c99415ddb1bf7d10135545c7b0ccfb7eec2264d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RESPONSE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RESPONSE_CAPI_H_
|
||||||
@@ -127,6 +127,18 @@ typedef struct _cef_response_t {
|
|||||||
///
|
///
|
||||||
void(CEF_CALLBACK* set_header_map)(struct _cef_response_t* self,
|
void(CEF_CALLBACK* set_header_map)(struct _cef_response_t* self,
|
||||||
cef_string_multimap_t headerMap);
|
cef_string_multimap_t headerMap);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Get the resolved URL after redirects or changed as a result of HSTS.
|
||||||
|
///
|
||||||
|
// The resulting string must be freed by calling cef_string_userfree_free().
|
||||||
|
cef_string_userfree_t(CEF_CALLBACK* get_url)(struct _cef_response_t* self);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Set the resolved URL after redirects or changed as a result of HSTS.
|
||||||
|
///
|
||||||
|
void(CEF_CALLBACK* set_url)(struct _cef_response_t* self,
|
||||||
|
const cef_string_t* url);
|
||||||
} cef_response_t;
|
} cef_response_t;
|
||||||
|
|
||||||
///
|
///
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=c7126418fc448f9f75e770fda8434613eed0930d$
|
// $hash=1df02e283ece4871afe6de29c398a389dca76ef1$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_RESPONSE_FILTER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_RESPONSE_FILTER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=a920e25c5ca348dcc45965d53389c16a8a29b0ed$
|
// $hash=f83c72ec43f10f19eba82d9d3c284cc436cdbd23$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_SCHEME_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_SCHEME_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=92c646f789ec75664bf0c9f6bc21a44ff75686cf$
|
// $hash=44d7621507ab855307ae6ce7319cc2e4ff576bb5$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_SERVER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_SERVER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=7489f3078e15407c3984f0b2393df3b0ddc045b0$
|
// $hash=9c9e2d87b54564137f970081f25d09157c5903d2$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_SSL_INFO_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_SSL_INFO_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=2aa604a0520a802ae3b10f5922d4a7ca48078785$
|
// $hash=7a0704801e06ead071214fd71374ea1735d25620$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_SSL_STATUS_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_SSL_STATUS_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=4e127106e9b5fada6bf05ea6e29bc502bb2a1e0d$
|
// $hash=d86a0071df587cc4fb291133e8b8c4df325d9455$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_STREAM_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_STREAM_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=2e8edddfd49aea615c7adf8d0d092a4865b79229$
|
// $hash=555bbaa1c85c0dc4d3e2e8fe4865fd5731731c66$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_STRING_VISITOR_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=344ba415349b4cc305f51cb9e22563b232433e25$
|
// $hash=6ff55aa6d2a955b54068ad1893c49f0b9100ac69$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_TASK_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_TASK_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=d844086fc675680bfae12c3fa12a6886cc804816$
|
// $hash=e1160bd7ab8ad37245aea183b8c0cd989dd32385$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_THREAD_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_THREAD_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=2684497985a960a8699e6c24aeb17370cf318e88$
|
// $hash=8657a52064f1a797858cd46e6588c8ae01eb7778$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_TRACE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_TRACE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=d0ac53d1df275f9ea9cf19a6a07f8dce88f2b151$
|
// $hash=fa6b1185c566277ff593e7e537dff2b8085d1f3a$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_URLREQUEST_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_URLREQUEST_CAPI_H_
|
||||||
@@ -99,6 +99,12 @@ typedef struct _cef_urlrequest_t {
|
|||||||
struct _cef_response_t*(CEF_CALLBACK* get_response)(
|
struct _cef_response_t*(CEF_CALLBACK* get_response)(
|
||||||
struct _cef_urlrequest_t* self);
|
struct _cef_urlrequest_t* self);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Returns true (1) if the response body was served from the cache. This
|
||||||
|
// includes responses for which revalidation was required.
|
||||||
|
///
|
||||||
|
int(CEF_CALLBACK* response_was_cached)(struct _cef_urlrequest_t* self);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Cancel the request.
|
// Cancel the request.
|
||||||
///
|
///
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=aecaacd4f1b5294258f4e78883bcfec0a5c5677f$
|
// $hash=ba359f7c3faeafa668121552940293317f51da20$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_V8_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_V8_CAPI_H_
|
||||||
@@ -355,6 +355,25 @@ typedef struct _cef_v8exception_t {
|
|||||||
int(CEF_CALLBACK* get_end_column)(struct _cef_v8exception_t* self);
|
int(CEF_CALLBACK* get_end_column)(struct _cef_v8exception_t* self);
|
||||||
} cef_v8exception_t;
|
} cef_v8exception_t;
|
||||||
|
|
||||||
|
///
|
||||||
|
// Callback structure that is passed to cef_v8value_t::CreateArrayBuffer.
|
||||||
|
///
|
||||||
|
typedef struct _cef_v8array_buffer_release_callback_t {
|
||||||
|
///
|
||||||
|
// Base structure.
|
||||||
|
///
|
||||||
|
cef_base_ref_counted_t base;
|
||||||
|
|
||||||
|
///
|
||||||
|
// Called to release |buffer| when the ArrayBuffer JS object is garbage
|
||||||
|
// collected. |buffer| is the value that was passed to CreateArrayBuffer along
|
||||||
|
// with this object.
|
||||||
|
///
|
||||||
|
void(CEF_CALLBACK* release_buffer)(
|
||||||
|
struct _cef_v8array_buffer_release_callback_t* self,
|
||||||
|
void* buffer);
|
||||||
|
} cef_v8array_buffer_release_callback_t;
|
||||||
|
|
||||||
///
|
///
|
||||||
// Structure representing a V8 value handle. V8 handles can only be accessed
|
// Structure representing a V8 value handle. V8 handles can only be accessed
|
||||||
// from the thread on which they are created. Valid threads for creating a V8
|
// from the thread on which they are created. Valid threads for creating a V8
|
||||||
@@ -425,6 +444,11 @@ typedef struct _cef_v8value_t {
|
|||||||
///
|
///
|
||||||
int(CEF_CALLBACK* is_array)(struct _cef_v8value_t* self);
|
int(CEF_CALLBACK* is_array)(struct _cef_v8value_t* self);
|
||||||
|
|
||||||
|
///
|
||||||
|
// True if the value type is an ArrayBuffer.
|
||||||
|
///
|
||||||
|
int(CEF_CALLBACK* is_array_buffer)(struct _cef_v8value_t* self);
|
||||||
|
|
||||||
///
|
///
|
||||||
// True if the value type is function.
|
// True if the value type is function.
|
||||||
///
|
///
|
||||||
@@ -639,6 +663,25 @@ typedef struct _cef_v8value_t {
|
|||||||
///
|
///
|
||||||
int(CEF_CALLBACK* get_array_length)(struct _cef_v8value_t* self);
|
int(CEF_CALLBACK* get_array_length)(struct _cef_v8value_t* self);
|
||||||
|
|
||||||
|
// ARRAY BUFFER METHODS - These functions are only available on ArrayBuffers.
|
||||||
|
|
||||||
|
///
|
||||||
|
// Returns the ReleaseCallback object associated with the ArrayBuffer or NULL
|
||||||
|
// if the ArrayBuffer was not created with CreateArrayBuffer.
|
||||||
|
///
|
||||||
|
struct _cef_v8array_buffer_release_callback_t*(
|
||||||
|
CEF_CALLBACK* get_array_buffer_release_callback)(
|
||||||
|
struct _cef_v8value_t* self);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Prevent the ArrayBuffer from using it's memory block by setting the length
|
||||||
|
// to zero. This operation cannot be undone. If the ArrayBuffer was created
|
||||||
|
// with CreateArrayBuffer then
|
||||||
|
// cef_v8array_buffer_release_callback_t::ReleaseBuffer will be called to
|
||||||
|
// release the underlying buffer.
|
||||||
|
///
|
||||||
|
int(CEF_CALLBACK* neuter_array_buffer)(struct _cef_v8value_t* self);
|
||||||
|
|
||||||
// FUNCTION METHODS - These functions are only available on functions.
|
// FUNCTION METHODS - These functions are only available on functions.
|
||||||
|
|
||||||
///
|
///
|
||||||
@@ -751,6 +794,21 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_object(
|
|||||||
///
|
///
|
||||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_array(int length);
|
CEF_EXPORT cef_v8value_t* cef_v8value_create_array(int length);
|
||||||
|
|
||||||
|
///
|
||||||
|
// Create a new cef_v8value_t object of type ArrayBuffer which wraps the
|
||||||
|
// provided |buffer| of size |length| bytes. The ArrayBuffer is externalized,
|
||||||
|
// meaning that it does not own |buffer|. The caller is responsible for freeing
|
||||||
|
// |buffer| when requested via a call to cef_v8array_buffer_release_callback_t::
|
||||||
|
// ReleaseBuffer. This function should only be called from within the scope of a
|
||||||
|
// cef_render_process_handler_t, cef_v8handler_t or cef_v8accessor_t callback,
|
||||||
|
// or in combination with calling enter() and exit() on a stored cef_v8context_t
|
||||||
|
// reference.
|
||||||
|
///
|
||||||
|
CEF_EXPORT cef_v8value_t* cef_v8value_create_array_buffer(
|
||||||
|
void* buffer,
|
||||||
|
size_t length,
|
||||||
|
cef_v8array_buffer_release_callback_t* release_callback);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Create a new cef_v8value_t object of type function. This function should only
|
// Create a new cef_v8value_t object of type function. This function should only
|
||||||
// be called from within the scope of a cef_render_process_handler_t,
|
// be called from within the scope of a cef_render_process_handler_t,
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=4119ecd62e8c308a5876e6a7ac92cf3ff7df6425$
|
// $hash=cc8995c8ae5c1336941b95770f8a07dc273fb2f1$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_VALUES_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_VALUES_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=a8fdbd327fff7769353b0aba47c74cba61333144$
|
// $hash=0b6c2af0341961398b8cc1b67143ff5632a8a719$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_WAITABLE_EVENT_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_WAITABLE_EVENT_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=95dbecaa1c2b67c99e32d29e7bcd3aff4d126baf$
|
// $hash=1b004b5701d21996ea83edc81523f5cf9b0c46dc$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_WEB_PLUGIN_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_WEB_PLUGIN_CAPI_H_
|
||||||
@@ -202,9 +202,6 @@ CEF_EXPORT void cef_is_web_plugin_unstable(
|
|||||||
// 2. widevinecdm file from the CDM binary distribution (e.g.
|
// 2. widevinecdm file from the CDM binary distribution (e.g.
|
||||||
// widevinecdm.dll on on Windows, libwidevinecdm.dylib on OS X,
|
// widevinecdm.dll on on Windows, libwidevinecdm.dylib on OS X,
|
||||||
// libwidevinecdm.so on Linux).
|
// libwidevinecdm.so on Linux).
|
||||||
// 3. widevidecdmadapter file from the CEF binary distribution (e.g.
|
|
||||||
// widevinecdmadapter.dll on Windows, widevinecdmadapter.plugin on OS X,
|
|
||||||
// libwidevinecdmadapter.so on Linux).
|
|
||||||
//
|
//
|
||||||
// If any of these files are missing or if the manifest file has incorrect
|
// If any of these files are missing or if the manifest file has incorrect
|
||||||
// contents the registration will fail and |callback| will receive a |result|
|
// contents the registration will fail and |callback| will receive a |result|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=9eccfa7e4ebd9ccd0d3d7e0424a9595053e6febe$
|
// $hash=836a001b9a1c8282387d5fd2e34170bcb3743e1b$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_X509_CERTIFICATE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_X509_CERTIFICATE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=8356c87c40363434391cc18f509b580860db4404$
|
// $hash=984dbef3999ba44fc3c963053cba9e3fb2ff1625$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_XML_READER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_XML_READER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=fec66a36497e467f3da1d2b86d0ae66b8cf709b7$
|
// $hash=af5f798c94fdf2c307f32b05cfc271de4393bacb$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_CEF_ZIP_READER_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_CEF_ZIP_READER_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=a43c32d6951dd8f125f87d21948798f4d596768e$
|
// $hash=d61ec60c05868c98d2823f6fcc6cf9a5153eb01d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TEST_HELPERS_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=ec043910c391a84dda3b85cf01ea11cd44f37c1f$
|
// $hash=ae3b4b169b668985a8f641af215b7db7c26f964b$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=acbfe00533fba6a55e9a0d0d0c6a317f54dbf887$
|
// $hash=fff80271c2a16d7857c8928b6495cba30d6f1afb$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BOX_LAYOUT_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BOX_LAYOUT_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=0ba6628b63ed6641097a1714d4facf5343cf2252$
|
// $hash=c499099d6f628e58d2eed207537817758161af5d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BROWSER_VIEW_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BROWSER_VIEW_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=08193b1ef781224bf7664c5bf407af8674ad2362$
|
// $hash=4b44091d8bcdbf6899d812f1fee7db04c8cc3df0$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BROWSER_VIEW_DELEGATE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BROWSER_VIEW_DELEGATE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=f785be05a42d3490ac2e625470befa7d4f77befb$
|
// $hash=b7c0ee873547fdeb6d403693b3e87ec16646757d$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BUTTON_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BUTTON_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=eb5e428e07fbad33c7da94735969b0ff4dd6fb9f$
|
// $hash=f63985088a498b2b0a7568adfc960eba1794a6c9$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BUTTON_DELEGATE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BUTTON_DELEGATE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=20e9f8cdab0325b3d860128a946f3120563fa08e$
|
// $hash=320aba1a1c7775a60858e8304ee25a8a5ef16ff9$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_DISPLAY_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_DISPLAY_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=32d7f76955b00935902e954344c76efe864eabf4$
|
// $hash=eddaab99fd0b1eedbc43417515e2e9cd2b3724e6$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_FILL_LAYOUT_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=ff20922a0e73fdb84b0cb1864f35911a1a725f8a$
|
// $hash=81babf6211a1e99886028bfc4fb9107ef7517c1f$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_LABEL_BUTTON_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_LABEL_BUTTON_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=0fd9d445840558956dbe281f1d5d20ec003684d1$
|
// $hash=9217854fae0d6439ce459bdb28c9df5d1f3974b9$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_LAYOUT_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_LAYOUT_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=cf3b867dfc26e13b96f2e20fe8b974a38d28119e$
|
// $hash=f375009823015557083997f5a1c2033739de9c22$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_MENU_BUTTON_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_MENU_BUTTON_CAPI_H_
|
||||||
@@ -85,14 +85,12 @@ typedef struct _cef_menu_button_t {
|
|||||||
// have a visible frame at all times, center alignment, additional padding and a
|
// have a visible frame at all times, center alignment, additional padding and a
|
||||||
// default minimum size of 70x33 DIP. If |with_frame| is false (0) the button
|
// default minimum size of 70x33 DIP. If |with_frame| is false (0) the button
|
||||||
// will only have a visible frame on hover/press, left alignment, less padding
|
// will only have a visible frame on hover/press, left alignment, less padding
|
||||||
// and no default minimum size. If |with_menu_marker| is true (1) a menu marker
|
// and no default minimum size.
|
||||||
// will be added to the button.
|
|
||||||
///
|
///
|
||||||
CEF_EXPORT cef_menu_button_t* cef_menu_button_create(
|
CEF_EXPORT cef_menu_button_t* cef_menu_button_create(
|
||||||
struct _cef_menu_button_delegate_t* delegate,
|
struct _cef_menu_button_delegate_t* delegate,
|
||||||
const cef_string_t* text,
|
const cef_string_t* text,
|
||||||
int with_frame,
|
int with_frame);
|
||||||
int with_menu_marker);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=bf895e77fc8bfc4760c17e2ec32d74a5cd9a91a1$
|
// $hash=c3ea0c1048f2a86ba918eeeb5f009d623aaadf8e$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_MENU_BUTTON_DELEGATE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_MENU_BUTTON_DELEGATE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=dd5ea19f73dcec3e4f229920f44c9de6599e4f36$
|
// $hash=e1acb7dc75a856e69aab551a491d1688726d72d9$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=c3aac051e19d368c3c7e415fcb160abb83060011$
|
// $hash=e733c5aedfc8a69c5f36baa0f8aaf8236926bedd$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_PANEL_DELEGATE_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=ec6ad7d358194b055c2c2b5bda3d6b9c6429185a$
|
// $hash=e212c3a9f519aac065270c4a2da707482b70b152$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_SCROLL_VIEW_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_SCROLL_VIEW_CAPI_H_
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
|
// Copyright (c) 2019 Marshall A. Greenblatt. All rights reserved.
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
// modification, are permitted provided that the following conditions are
|
// modification, are permitted provided that the following conditions are
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
// by hand. See the translator.README.txt file in the tools directory for
|
// by hand. See the translator.README.txt file in the tools directory for
|
||||||
// more information.
|
// more information.
|
||||||
//
|
//
|
||||||
// $hash=0dbd10f061bf4d63be22d050b93f5231fd7fb677$
|
// $hash=8517e5b4eeffb254f92069a78da2187811af4da0$
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_TEXTFIELD_CAPI_H_
|
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_TEXTFIELD_CAPI_H_
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user