Skip to content

Commit

Permalink
Updates Windows to CEF 90.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Álan Crístoffer committed May 6, 2021
1 parent 68846a6 commit 3190e79
Show file tree
Hide file tree
Showing 196 changed files with 9,707 additions and 7,947 deletions.
4 changes: 2 additions & 2 deletions CEF3SimpleSample.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Global
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D9C85260-CDF2-43B4-A72F-CAB727CB6297}.Release|x64.ActiveCfg = Release|x64
{D9C85260-CDF2-43B4-A72F-CAB727CB6297}.Release|x64.Build.0 = Release|x64
{D9C85260-CDF2-43B4-A72F-CAB727CB6297}.Release|x64.ActiveCfg = Release|Win32
{D9C85260-CDF2-43B4-A72F-CAB727CB6297}.Release|x64.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file removed CEF3SimpleSample/CEF/Win/Resources/cef.pak
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/icudtl.dat
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/am.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ar.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/bg.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/bn.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ca.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/cs.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/da.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/de.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/el.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/en-GB.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/en-US.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/es-419.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/es.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/et.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/fa.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/fi.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/fil.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/fr.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/gu.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/he.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/hi.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/hr.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/hu.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/id.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/it.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ja.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/kn.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ko.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/lt.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/lv.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ml.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/mr.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ms.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/nb.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/nl.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/pl.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/pt-BR.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/pt-PT.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ro.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ru.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/sk.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/sl.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/sr.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/sv.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/sw.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/ta.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/te.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/th.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/tr.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/uk.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/vi.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/zh-CN.pak
Binary file not shown.
Binary file modified CEF3SimpleSample/CEF/Win/Resources/locales/zh-TW.pak
Binary file not shown.
6 changes: 3 additions & 3 deletions CEF3SimpleSample/CEF/Win/include/base/cef_atomicops.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
// Include our platform specific implementation.
#if defined(OS_WIN) && defined(COMPILER_MSVC) && defined(ARCH_CPU_X86_FAMILY)
#include "include/base/internal/cef_atomicops_x86_msvc.h"
#elif defined(OS_WIN) && defined(__ARM_ARCH_ISA_A64)
#elif defined(OS_WIN) && (defined(__ARM_ARCH_ISA_A64) || defined(_M_ARM64))
#include "include/base/internal/cef_atomicops_arm64_msvc.h"
#elif defined(OS_MACOSX)
#elif defined(OS_MAC)
#include "include/base/internal/cef_atomicops_mac.h"
#elif defined(COMPILER_GCC) && defined(ARCH_CPU_X86_FAMILY)
#include "include/base/internal/cef_atomicops_x86_gcc.h"
Expand All @@ -194,7 +194,7 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);

// On some platforms we need additional declarations to make
// AtomicWord compatible with our other Atomic* types.
#if defined(OS_MACOSX) || defined(OS_OPENBSD)
#if defined(OS_MAC) || defined(OS_OPENBSD)
#include "include/base/internal/cef_atomicops_atomicword_compat.h"
#endif

Expand Down
2 changes: 1 addition & 1 deletion CEF3SimpleSample/CEF/Win/include/base/cef_basictypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
//
// On Mac OS X, |long long| is used for 64-bit types for compatibility with
// <inttypes.h> format macros even in the LP64 model.
#if defined(__LP64__) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
#if defined(__LP64__) && !defined(OS_MAC) && !defined(OS_OPENBSD)
typedef long int64;
typedef unsigned long uint64;
#else
Expand Down
12 changes: 10 additions & 2 deletions CEF3SimpleSample/CEF/Win/include/base/cef_build.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@
#define OS_WIN 1
#endif
#elif defined(__APPLE__)
// New platform defines after https://crbug.com/1105907.
#ifndef OS_MAC
#define OS_MAC 1
#endif
#ifndef OS_APPLE
#define OS_APPLE 1
#endif
// Old platform defines retained for backwards compatibility.
#ifndef OS_MACOSX
#define OS_MACOSX 1
#endif
Expand All @@ -57,7 +65,7 @@

// For access to standard POSIXish features, use OS_POSIX instead of a
// more specific macro.
#if defined(OS_MACOSX) || defined(OS_LINUX)
#if defined(OS_MAC) || defined(OS_LINUX)
#ifndef OS_POSIX
#define OS_POSIX 1
#endif
Expand Down Expand Up @@ -95,7 +103,7 @@
#define ARCH_CPU_ARMEL 1
#define ARCH_CPU_32_BITS 1
#define ARCH_CPU_LITTLE_ENDIAN 1
#elif defined(__aarch64__)
#elif defined(__aarch64__) || defined(_M_ARM64)
#define ARCH_CPU_ARM_FAMILY 1
#define ARCH_CPU_ARM64 1
#define ARCH_CPU_64_BITS 1
Expand Down
93 changes: 0 additions & 93 deletions CEF3SimpleSample/CEF/Win/include/base/cef_callback_helpers.h

This file was deleted.

20 changes: 8 additions & 12 deletions CEF3SimpleSample/CEF/Win/include/base/cef_logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,24 @@
#define CEF_INCLUDE_BASE_CEF_LOGGING_H_
#pragma once

#if defined(DCHECK)
#if defined(USING_CHROMIUM_INCLUDES)
// When building CEF include the Chromium header directly.
#include "base/logging.h"
#include "base/notreached.h"
#elif defined(DCHECK)
// Do nothing if the macros provided by this header already exist.
// 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.

// Always define the DCHECK_IS_ON macro which is used from other CEF headers.
#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
#define DCHECK_IS_ON() 0
#define DCHECK_IS_ON() false
#else
#define DCHECK_IS_ON() 1
#define DCHECK_IS_ON() true
#endif

#elif defined(USING_CHROMIUM_INCLUDES)
// When building CEF include the Chromium header directly.
#include "base/logging.h"
#else // !USING_CHROMIUM_INCLUDES
#else // !defined(DCHECK)
// The following is substantially similar to the Chromium implementation.
// If the Chromium implementation diverges the below implementation should be
// updated to match.
Expand Down Expand Up @@ -553,12 +554,7 @@ const LogSeverity LOG_DCHECK = LOG_INFO;
#define DCHECK_GE(val1, val2) DCHECK_OP(GE, >=, val1, val2)
#define DCHECK_GT(val1, val2) DCHECK_OP(GT, >, val1, val2)

#if defined(NDEBUG) && defined(OS_CHROMEOS)
#define NOTREACHED() \
LOG(ERROR) << "NOTREACHED() hit in " << __FUNCTION__ << ". "
#else
#define NOTREACHED() DCHECK(false)
#endif

// Redefine the standard assert to use our nice log files
#undef assert
Expand Down
4 changes: 2 additions & 2 deletions CEF3SimpleSample/CEF/Win/include/base/cef_weak_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ class WeakPtr : public cef_internal::WeakPtrBase {
T* get() const { return ref_.is_valid() ? ptr_ : NULL; }

T& operator*() const {
DCHECK(get() != NULL);
CHECK(ref_.is_valid());
return *get();
}
T* operator->() const {
DCHECK(get() != NULL);
CHECK(ref_.is_valid());
return get();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ NET_ERROR(BLOCKED_BY_RESPONSE, -27)
// requests. Used for NetworkSecurityPolicy on Android.
NET_ERROR(CLEARTEXT_NOT_PERMITTED, -29)

// The request was blocked by a Content Security Policy
NET_ERROR(BLOCKED_BY_CSP, -30)

// The request was blocked because of no H/2 or QUIC session.
NET_ERROR(H2_OR_QUIC_REQUIRED, -31)

// A connection was closed (corresponding to a TCP FIN).
NET_ERROR(CONNECTION_CLOSED, -100)

Expand Down Expand Up @@ -220,8 +226,7 @@ NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126)
// The proxy requested authentication (for tunnel establishment).
NET_ERROR(PROXY_AUTH_REQUESTED, -127)

// The SSL server attempted to use a weak ephemeral Diffie-Hellman key.
NET_ERROR(SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, -129)
// Error -129 was removed (SSL_WEAK_SERVER_EPHEMERAL_DH_KEY).

// Could not create a connection to the proxy server. An error occurred
// either in resolving its name, or in connecting a socket to it.
Expand Down Expand Up @@ -539,13 +544,20 @@ NET_ERROR(CERT_SYMANTEC_LEGACY, -215)
// -216 was QUIC_CERT_ROOT_NOT_KNOWN which has been renumbered to not be in the
// certificate error range.

// The certificate is known to be used for interception by an entity other
// the device owner.
NET_ERROR(CERT_KNOWN_INTERCEPTION_BLOCKED, -217)

// The connection uses an obsolete version of SSL/TLS.
NET_ERROR(SSL_OBSOLETE_VERSION, -218)

// Add new certificate error codes here.
//
// Update the value of CERT_END whenever you add a new certificate error
// code.

// The value immediately past the last certificate error code.
NET_ERROR(CERT_END, -217)
NET_ERROR(CERT_END, -219)

// The URL is invalid.
NET_ERROR(INVALID_URL, -300)
Expand Down Expand Up @@ -784,6 +796,10 @@ NET_ERROR(HTTP_RESPONSE_CODE_FAILURE, -379)
// are allowed.
NET_ERROR(QUIC_CERT_ROOT_NOT_KNOWN, -380)

// A GOAWAY frame has been received indicating that the request has not been
// processed and is therefore safe to retry on a different connection.
NET_ERROR(QUIC_GOAWAY_REQUEST_CAN_BE_RETRIED, -381)

// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)

Expand Down Expand Up @@ -850,8 +866,19 @@ NET_ERROR(ADD_USER_CERT_FAILED, -503)
// An error occurred while handling a signed exchange.
NET_ERROR(INVALID_SIGNED_EXCHANGE, -504)

// An error occurred while handling a bundled-exchanges source.
NET_ERROR(INVALID_BUNDLED_EXCHANGES, -505)
// An error occurred while handling a Web Bundle source.
NET_ERROR(INVALID_WEB_BUNDLE, -505)

// A Trust Tokens protocol operation-executing request failed for one of a
// number of reasons (precondition failure, internal error, bad response).
NET_ERROR(TRUST_TOKEN_OPERATION_FAILED, -506)

// When handling a Trust Tokens protocol operation-executing request, the system
// was able to execute the request's Trust Tokens operation without sending the
// request to its destination: for instance, the results could have been present
// in a local cache (for redemption) or the operation could have been diverted
// to a local provider (for "platform-provided" issuance).
NET_ERROR(TRUST_TOKEN_OPERATION_SUCCESS_WITHOUT_SENDING_REQUEST, -507)

// *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). ***

Expand Down Expand Up @@ -965,5 +992,7 @@ NET_ERROR(DNS_SEARCH_EMPTY, -805)
// Failed to sort addresses according to RFC3484.
NET_ERROR(DNS_SORT_ERROR, -806)

// Failed to resolve over HTTP, fallback to legacy
NET_ERROR(DNS_HTTP_FAILED, -807)
// Error -807 was removed (DNS_HTTP_FAILED)

// Failed to resolve the hostname of a DNS-over-HTTPS server.
NET_ERROR(DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED, -808)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2021 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
Expand Down Expand Up @@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=00d5124d346e3f3cc3f53d67bcb766d1d798bf12$
// $hash=c487e5fd787b1be8224a8981839e0cfdd0ed74f3$
//

#ifndef CEF_INCLUDE_CAPI_CEF_ACCESSIBILITY_HANDLER_CAPI_H_
Expand Down
4 changes: 2 additions & 2 deletions CEF3SimpleSample/CEF/Win/include/capi/cef_app_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2021 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
Expand Down Expand Up @@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=04cfae434fe901644c1c78f1c30c0921518cc666$
// $hash=a4b63e6e7942e3a3961b4f7141a963980178ae6f$
//

#ifndef CEF_INCLUDE_CAPI_CEF_APP_CAPI_H_
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2021 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
Expand Down Expand Up @@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=58be0e24b46373bbdad28031891396ea246f446c$
// $hash=2b9508a328ed0218e2c576af455f8d76e5978545$
//

#ifndef CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_
Expand Down
Loading

0 comments on commit 3190e79

Please sign in to comment.