mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for copyright year and bracket style
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=41c06df7feb0288f02c644bd633cce3f1754beba$
|
||||
// $hash=351f3f71bc8fcee33ee063c17f34f7a9e7a99053$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/jsdialog_handler_cpptoc.h"
|
||||
@ -35,20 +35,24 @@ jsdialog_handler_on_jsdialog(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: suppress_message; type: bool_byref
|
||||
DCHECK(suppress_message);
|
||||
if (!suppress_message)
|
||||
if (!suppress_message) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: origin_url, message_text, default_prompt_text
|
||||
|
||||
// Translate param: suppress_message; type: bool_byref
|
||||
@ -62,8 +66,9 @@ jsdialog_handler_on_jsdialog(struct _cef_jsdialog_handler_t* self,
|
||||
CefJSDialogCallbackCToCpp::Wrap(callback), suppress_messageBool);
|
||||
|
||||
// Restore param: suppress_message; type: bool_byref
|
||||
if (suppress_message)
|
||||
if (suppress_message) {
|
||||
*suppress_message = suppress_messageBool ? true : false;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -80,16 +85,19 @@ jsdialog_handler_on_before_unload_dialog(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: message_text
|
||||
|
||||
// Execute
|
||||
@ -109,12 +117,14 @@ jsdialog_handler_on_reset_dialog_state(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefJSDialogHandlerCppToC::Get(self)->OnResetDialogState(
|
||||
@ -129,12 +139,14 @@ jsdialog_handler_on_dialog_closed(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefJSDialogHandlerCppToC::Get(self)->OnDialogClosed(
|
||||
|
Reference in New Issue
Block a user