Skip to content

Commit

Permalink
3.3440.1806.g65046b7
Browse files Browse the repository at this point in the history
  • Loading branch information
sanwer committed Oct 12, 2018
1 parent 90d425b commit 74253bc
Show file tree
Hide file tree
Showing 587 changed files with 98,477 additions and 9,516 deletions.
20 changes: 11 additions & 9 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Chromium Embedded Framework (CEF) Standard Binary Distribution for Windows
-------------------------------------------------------------------------------

Date: July 19, 2017
Date: August 29, 2018

CEF Version: 3.3071.1649.g98725e6
CEF Version: 3.3440.1806.g65046b7
CEF URL: https://bitbucket.org/chromiumembedded/cef.git
@98725e6b177f5e647430500971aa780ee9157d49
@65046b745b52fbca82c989eb537b0fc57ab896be

Chromium Verison: 59.0.3071.109
Chromium Version: 68.0.3440.106
Chromium URL: https://chromium.googlesource.com/chromium/src.git
@9f4b44b898b326679817ee5a327256f8fac6ee75
@6e80b8a378765b0e699e6f23ad6dd2588e060b02

This distribution contains all components necessary to build and distribute an
application using CEF on the Windows platform. Please see the LICENSING
Expand Down Expand Up @@ -91,6 +91,7 @@ The following components are required. CEF will not function without them.
* V8 snapshot data.
* natives_blob.bin
* snapshot_blob.bin
* v8_context_snapshot.bin

Optional components:

Expand Down Expand Up @@ -138,10 +139,11 @@ run but any related functionality may become broken or disabled.
Without these files HTML5 accelerated content like 2D canvas, 3D CSS and WebGL
will not function.

* Widevine CDM support.
* widevinecdmadapter.dll
Without this file playback of Widevine projected content will not function.
See the CefRegisterWidevineCdm() function in cef_web_plugin.h for usage.
* SwiftShader support.
* swiftshader/libEGL.dll
* swiftshader/libGLESv2.dll
Without these files WebGL will not function in software-only mode when the GPU
is not available or disabled.


LICENSING
Expand Down
51 changes: 45 additions & 6 deletions include/base/cef_atomic_ref_count.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,49 @@
#define CEF_INCLUDE_BASE_CEF_ATOMIC_REF_COUNT_H_
#pragma once

#if defined(BASE_ATOMIC_REF_COUNT_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)
#if defined(USING_CHROMIUM_INCLUDES)
// When building CEF include the Chromium header directly.
#include "base/atomic_ref_count.h"

// Used when declaring a base::AtomicRefCount value. This is an object type with
// Chromium headers.
#define ATOMIC_DECLARATION (0)

// Maintaining compatibility with AtompicRefCount* functions that were removed
// from Chromium in http://crrev.com/ee96d561.
namespace base {

// Increment a reference count by 1.
inline void AtomicRefCountInc(volatile AtomicRefCount* ptr) {
const_cast<AtomicRefCount*>(ptr)->Increment();
}

// Decrement a reference count by 1 and return whether the result is non-zero.
// Insert barriers to ensure that state written before the reference count
// became zero will be visible to a thread that has just made the count zero.
inline bool AtomicRefCountDec(volatile AtomicRefCount* ptr) {
return const_cast<AtomicRefCount*>(ptr)->Decrement();
}

// Return whether the reference count is one. If the reference count is used
// in the conventional way, a refrerence count of 1 implies that the current
// thread owns the reference and no other thread shares it. This call performs
// the test for a reference count of one, and performs the memory barrier
// needed for the owning thread to act on the object, knowing that it has
// exclusive access to the object.
inline bool AtomicRefCountIsOne(volatile AtomicRefCount* ptr) {
return const_cast<AtomicRefCount*>(ptr)->IsOne();
}

// Return whether the reference count is zero. With conventional object
// referencing counting, the object will be destroyed, so the reference count
// should never be zero. Hence this is generally used for a debug check.
inline bool AtomicRefCountIsZero(volatile AtomicRefCount* ptr) {
return const_cast<AtomicRefCount*>(ptr)->IsZero();
}

} // namespace base

#else // !USING_CHROMIUM_INCLUDES
// The following is substantially similar to the Chromium implementation.
// If the Chromium implementation diverges the below implementation should be
Expand All @@ -58,6 +93,10 @@
#define ANNOTATE_HAPPENS_BEFORE(obj) /* empty */
#define ANNOTATE_HAPPENS_AFTER(obj) /* empty */

// Used when declaring a base::AtomicRefCount value. This is an integer/ptr type
// with CEF headers.
#define ATOMIC_DECLARATION = 0

namespace base {

typedef subtle::Atomic32 AtomicRefCount;
Expand Down
10 changes: 10 additions & 0 deletions include/base/cef_basictypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ typedef int int32;
typedef unsigned int uint32;
#endif

#ifndef _INT16
#define _INT16
typedef short int16;
#endif

#ifndef _UINT16
#define _UINT16
typedef unsigned short uint16;
#endif

// UTF-16 character type.
// This should be kept synchronized with base/strings/string16.h
#ifndef char16
Expand Down
15 changes: 12 additions & 3 deletions include/base/cef_string16.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ typedef std::char_traits<wchar_t> string16_char_traits;

#include "include/base/cef_macros.h"

namespace cef {
namespace base {

typedef uint16_t char16;
Expand Down Expand Up @@ -156,7 +157,15 @@ struct string16_char_traits {
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);

Expand Down Expand Up @@ -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.

extern template class std::basic_string<base::char16,
base::string16_char_traits>;
extern template class std::basic_string<cef::base::char16,
cef::base::string16_char_traits>;

#endif // WCHAR_T_IS_UTF32

Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_accessibility_handler_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=ade29136d75b33f63cf65db4b91de9cd66114562$
// $hash=3e20b926af7550a1dc4000bfdf261332222a64b8$
//

#ifndef CEF_INCLUDE_CAPI_CEF_ACCESSIBILITY_HANDLER_CAPI_H_
Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_app_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=52ce63b881a6e3d2d13a39b81ad2626f366fc130$
// $hash=ca069c86d9b09fb6f939ce72682e15ce95571ead$
//

#ifndef CEF_INCLUDE_CAPI_CEF_APP_CAPI_H_
Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_auth_callback_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=639d58245ecd39624d39ee8b49e0e4e056d1c4ed$
// $hash=899e57614c5810d61b61d182ed823cfbd193b4d4$
//

#ifndef CEF_INCLUDE_CAPI_CEF_AUTH_CALLBACK_CAPI_H_
Expand Down
31 changes: 28 additions & 3 deletions include/capi/cef_browser_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=b6308ab5e97eb9f7af95f1f4c371fd6e7edbf852$
// $hash=ff3ebc51ed5743aabac0be94caf2edeedbd413b7$
//

#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_CAPI_H_
Expand Down Expand Up @@ -115,7 +115,8 @@ typedef struct _cef_browser_t {
void(CEF_CALLBACK* stop_load)(struct _cef_browser_t* self);

///
// Returns the globally unique identifier for this browser.
// Returns the globally unique identifier for this browser. This value is also
// used as the tabId for extension APIs.
///
int(CEF_CALLBACK* get_identifier)(struct _cef_browser_t* self);

Expand Down Expand Up @@ -812,6 +813,30 @@ typedef struct _cef_browser_host_t {
///
void(CEF_CALLBACK* set_accessibility_state)(struct _cef_browser_host_t* self,
cef_state_t accessibility_state);

///
// Enable notifications of auto resize via
// cef_display_handler_t::OnAutoResize. Notifications are disabled by default.
// |min_size| and |max_size| define the range of allowed sizes.
///
void(CEF_CALLBACK* set_auto_resize_enabled)(struct _cef_browser_host_t* self,
int enabled,
const cef_size_t* min_size,
const cef_size_t* max_size);

///
// Returns the extension hosted in this browser or NULL if no extension is
// hosted. See cef_request_tContext::LoadExtension for details.
///
struct _cef_extension_t*(CEF_CALLBACK* get_extension)(
struct _cef_browser_host_t* self);

///
// Returns true (1) if this browser is hosting an extension background script.
// Background hosts do not have a window and are not displayable. See
// cef_request_tContext::LoadExtension for details.
///
int(CEF_CALLBACK* is_background_host)(struct _cef_browser_host_t* self);
} cef_browser_host_t;

///
Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_browser_process_handler_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=0868c7d129e35c38b207b1066fd5eba0c1eef45c$
// $hash=437eae6454931ccf2687f60f8050fcf216966e09$
//

#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_PROCESS_HANDLER_CAPI_H_
Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_callback_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=68de2255fd429696d62115786fc480f1d5f9882b$
// $hash=41c1f253d23f062f96debd7184f3b5e5dac03a89$
//

#ifndef CEF_INCLUDE_CAPI_CEF_CALLBACK_CAPI_H_
Expand Down
12 changes: 2 additions & 10 deletions include/capi/cef_client_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=7f554250e73537ece3f8f67310c23e718f91d41b$
// $hash=1dbb0adf7ac5fd42b5a79d271834781664a7fd47$
//

#ifndef CEF_INCLUDE_CAPI_CEF_CLIENT_CAPI_H_
Expand All @@ -48,7 +48,6 @@
#include "include/capi/cef_drag_handler_capi.h"
#include "include/capi/cef_find_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_keyboard_handler_capi.h"
#include "include/capi/cef_life_span_handler_capi.h"
Expand Down Expand Up @@ -115,13 +114,6 @@ typedef struct _cef_client_t {
struct _cef_focus_handler_t*(CEF_CALLBACK* get_focus_handler)(
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
// default implementation will be used.
Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_command_line_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=b917030321dc11ddfc8d8939239dda7952d2f955$
// $hash=4e9afcf5b6d90535ea4b98c3493e242244373f9e$
//

#ifndef CEF_INCLUDE_CAPI_CEF_COMMAND_LINE_CAPI_H_
Expand Down
4 changes: 2 additions & 2 deletions include/capi/cef_context_menu_handler_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=2e295ba277083061103147a400bc30f78e6a94f5$
// $hash=fdd4de9c81a7b01a94aee020b2c314e519cd8e55$
//

#ifndef CEF_INCLUDE_CAPI_CEF_CONTEXT_MENU_HANDLER_CAPI_H_
Expand Down
14 changes: 12 additions & 2 deletions include/capi/cef_cookie_capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved.
// Copyright (c) 2018 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=c2bf8084385f3c795ae7494da6970a0a61b96ac6$
// $hash=00e6d1aa80d5998d89cc272dcb199cde0add12fa$
//

#ifndef CEF_INCLUDE_CAPI_CEF_COOKIE_CAPI_H_
Expand Down Expand Up @@ -159,6 +159,16 @@ typedef struct _cef_cookie_manager_t {
CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_global_manager(
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
// only. Otherwise, data will be stored at the specified |path|. To persist
Expand Down
Loading

0 comments on commit 74253bc

Please sign in to comment.