mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Update generated files for check C API structure sizes (fixes issue #3238)
This commit is contained in:
		
				
					committed by
					
						
						Marshall Greenblatt
					
				
			
			
				
	
			
			
			
						parent
						
							5c0895e27f
						
					
				
				
					commit
					ce891b57e1
				
			@@ -9,7 +9,7 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=ed2a9f38555ed559f342f6fd39f21192611771ee$
 | 
			
		||||
// $hash=3c4be7d7450ee803b69453ae8b32dd37d95c921a$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/cpptoc/views/browser_view_cpptoc.h"
 | 
			
		||||
@@ -26,6 +26,7 @@
 | 
			
		||||
#include "libcef_dll/ctocpp/views/browser_view_delegate_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/view_delegate_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/shutdown_checker.h"
 | 
			
		||||
#include "libcef_dll/template_util.h"
 | 
			
		||||
 | 
			
		||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
 | 
			
		||||
 | 
			
		||||
@@ -44,6 +45,10 @@ CEF_EXPORT cef_browser_view_t* cef_browser_view_create(
 | 
			
		||||
  DCHECK(settings);
 | 
			
		||||
  if (!settings)
 | 
			
		||||
    return NULL;
 | 
			
		||||
  if (!template_util::has_valid_size(settings)) {
 | 
			
		||||
    NOTREACHED() << "invalid settings->[base.]size";
 | 
			
		||||
    return NULL;
 | 
			
		||||
  }
 | 
			
		||||
  // Unverified params: client, url, extra_info, request_context, delegate
 | 
			
		||||
 | 
			
		||||
  // Translate param: settings; type: struct_byref_const
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=8f3129779912a325240795e05610d6190997e028$
 | 
			
		||||
// $hash=18d85c2997264af0f94976650eaf931805fa352e$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/cpptoc/views/browser_view_delegate_cpptoc.h"
 | 
			
		||||
@@ -18,6 +18,7 @@
 | 
			
		||||
#include "libcef_dll/ctocpp/views/browser_view_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/view_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/shutdown_checker.h"
 | 
			
		||||
#include "libcef_dll/template_util.h"
 | 
			
		||||
 | 
			
		||||
namespace {
 | 
			
		||||
 | 
			
		||||
@@ -97,6 +98,10 @@ browser_view_delegate_get_delegate_for_popup_browser_view(
 | 
			
		||||
  DCHECK(settings);
 | 
			
		||||
  if (!settings)
 | 
			
		||||
    return NULL;
 | 
			
		||||
  if (!template_util::has_valid_size(settings)) {
 | 
			
		||||
    NOTREACHED() << "invalid settings->[base.]size";
 | 
			
		||||
    return NULL;
 | 
			
		||||
  }
 | 
			
		||||
  // Verify param: client; type: refptr_same
 | 
			
		||||
  DCHECK(client);
 | 
			
		||||
  if (!client)
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=fbec1a9b566580497409a7dbd3382e7c51db61ae$
 | 
			
		||||
// $hash=4d101afc4f559c6f0375ad4016e5575ab88bf61f$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/cpptoc/views/panel_cpptoc.h"
 | 
			
		||||
@@ -25,6 +25,7 @@
 | 
			
		||||
#include "libcef_dll/ctocpp/views/panel_delegate_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/view_delegate_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/shutdown_checker.h"
 | 
			
		||||
#include "libcef_dll/template_util.h"
 | 
			
		||||
 | 
			
		||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
 | 
			
		||||
 | 
			
		||||
@@ -95,6 +96,10 @@ panel_set_to_box_layout(struct _cef_panel_t* self,
 | 
			
		||||
  DCHECK(settings);
 | 
			
		||||
  if (!settings)
 | 
			
		||||
    return NULL;
 | 
			
		||||
  if (!template_util::has_valid_size(settings)) {
 | 
			
		||||
    NOTREACHED() << "invalid settings->[base.]size";
 | 
			
		||||
    return NULL;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Translate param: settings; type: struct_byref_const
 | 
			
		||||
  CefBoxLayoutSettings settingsObj;
 | 
			
		||||
 
 | 
			
		||||
@@ -9,13 +9,14 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=0009ced13fa9f1e26064455df0c9f5043d7618cf$
 | 
			
		||||
// $hash=1a7a3f0cd61dab86aae86ca54e5554671d1850b7$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/cpptoc/views/textfield_delegate_cpptoc.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/textfield_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/view_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/shutdown_checker.h"
 | 
			
		||||
#include "libcef_dll/template_util.h"
 | 
			
		||||
 | 
			
		||||
namespace {
 | 
			
		||||
 | 
			
		||||
@@ -40,6 +41,10 @@ textfield_delegate_on_key_event(struct _cef_textfield_delegate_t* self,
 | 
			
		||||
  DCHECK(event);
 | 
			
		||||
  if (!event)
 | 
			
		||||
    return 0;
 | 
			
		||||
  if (!template_util::has_valid_size(event)) {
 | 
			
		||||
    NOTREACHED() << "invalid event->[base.]size";
 | 
			
		||||
    return 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Translate param: event; type: struct_byref_const
 | 
			
		||||
  CefKeyEvent eventObj;
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=360b248f7f43cd62a111f59a79fc81b40f8d4023$
 | 
			
		||||
// $hash=cf3e61b4caedb8689bcc3a0a5b21b1897eef5220$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/cpptoc/views/window_cpptoc.h"
 | 
			
		||||
@@ -29,6 +29,7 @@
 | 
			
		||||
#include "libcef_dll/ctocpp/views/view_delegate_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/window_delegate_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/shutdown_checker.h"
 | 
			
		||||
#include "libcef_dll/template_util.h"
 | 
			
		||||
 | 
			
		||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
 | 
			
		||||
 | 
			
		||||
@@ -702,6 +703,10 @@ window_set_to_box_layout(struct _cef_panel_t* self,
 | 
			
		||||
  DCHECK(settings);
 | 
			
		||||
  if (!settings)
 | 
			
		||||
    return NULL;
 | 
			
		||||
  if (!template_util::has_valid_size(settings)) {
 | 
			
		||||
    NOTREACHED() << "invalid settings->[base.]size";
 | 
			
		||||
    return NULL;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Translate param: settings; type: struct_byref_const
 | 
			
		||||
  CefBoxLayoutSettings settingsObj;
 | 
			
		||||
 
 | 
			
		||||
@@ -9,13 +9,14 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=9a65c4a9e35ba40f01a3d27c772ef9b736eb75ea$
 | 
			
		||||
// $hash=6639552a1a56f42d7f73ffec99d28fb98173dbd1$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/cpptoc/views/window_delegate_cpptoc.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/view_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/ctocpp/views/window_ctocpp.h"
 | 
			
		||||
#include "libcef_dll/shutdown_checker.h"
 | 
			
		||||
#include "libcef_dll/template_util.h"
 | 
			
		||||
 | 
			
		||||
namespace {
 | 
			
		||||
 | 
			
		||||
@@ -311,6 +312,10 @@ window_delegate_on_key_event(struct _cef_window_delegate_t* self,
 | 
			
		||||
  DCHECK(event);
 | 
			
		||||
  if (!event)
 | 
			
		||||
    return 0;
 | 
			
		||||
  if (!template_util::has_valid_size(event)) {
 | 
			
		||||
    NOTREACHED() << "invalid event->[base.]size";
 | 
			
		||||
    return 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Translate param: event; type: struct_byref_const
 | 
			
		||||
  CefKeyEvent eventObj;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user