]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/linux/include/capi/cef_keyboard_handler_capi.h
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / linux / include / capi / cef_keyboard_handler_capi.h
similarity index 97%
rename from dependencies64/cef/include/capi/cef_keyboard_handler_capi.h
rename to dependencies64/cef/linux/include/capi/cef_keyboard_handler_capi.h
index d56b57bef26928c6e3ba66a823c6ffd4ff7e498c..1e1ee70889e8769cdf7d75d3f19b27ef53295dfa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2014 Marshall A. Greenblatt. All rights reserved.
+// 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
@@ -54,13 +54,15 @@ typedef struct _cef_keyboard_handler_t {
   ///
   // Base structure.
   ///
-  cef_base_t base;
+  cef_base_ref_counted_t base;
 
+  ///
   // Called before a keyboard event is sent to the renderer. |event| contains
   // information about the keyboard event. |os_event| is the operating system
   // event message, if any. Return true (1) if the event was handled or false
   // (0) otherwise. If the event will be handled in on_key_event() as a keyboard
   // shortcut set |is_keyboard_shortcut| to true (1) and return false (0).
+  ///
   int (CEF_CALLBACK *on_pre_key_event)(struct _cef_keyboard_handler_t* self,
       struct _cef_browser_t* browser, const struct _cef_key_event_t* event,
       cef_event_handle_t os_event, int* is_keyboard_shortcut);