diff --git a/CefSharp/CefSharp.h b/CefSharp/CefSharp.h index 0fa1c7e21..af5cad591 100644 --- a/CefSharp/CefSharp.h +++ b/CefSharp/CefSharp.h @@ -49,7 +49,7 @@ namespace CefSharp { String^ get() { - return "trunk r408"; + return "trunk r414"; } } diff --git a/include/cef.h b/include/cef.h index 4049a74b5..ef66283a4 100644 --- a/include/cef.h +++ b/include/cef.h @@ -122,6 +122,14 @@ void CefDoMessageLoopWork(); /*--cef()--*/ void CefRunMessageLoop(); +/// +// Quit the CEF message loop that was started by calling CefRunMessageLoop(). +// This function should only be called on the main application thread and only +// if CefRunMessageLoop() was used. +/// +/*--cef()--*/ +void CefQuitMessageLoop(); + /// // Register a new V8 extension with the specified JavaScript extension code and // handler. Functions implemented by the handler are prototyped using the @@ -1019,7 +1027,7 @@ public: int startLine) =0; /// - // Returns true if this is the main frame. + // Returns true if this is the main (top-level) frame. /// /*--cef()--*/ virtual bool IsMain() =0; @@ -1032,11 +1040,29 @@ public: virtual bool IsFocused() =0; /// - // Returns this frame's name. + // Returns the name for this frame. If the frame has an assigned name (for + // example, set via the iframe "name" attribute) then that value will be + // returned. Otherwise a unique name will be constructed based on the frame + // parent hierarchy. The main (top-level) frame will always have an empty name + // value. /// /*--cef()--*/ virtual CefString GetName() =0; + /// + // Returns the globally unique identifier for this frame. This method should + // only be called on the UI thread. + /// + /*--cef()--*/ + virtual long long GetIdentifier() =0; + + /// + // Returns the parent of this frame or NULL if this is the main (top-level) + // frame. This method should only be called on the UI thread. + /// + /*--cef()--*/ + virtual CefRefPtr GetParent() =0; + /// // Returns the URL currently loaded in this frame. This method should only be // called on the UI thread. @@ -2663,8 +2689,8 @@ public: /// // Returns true if the object has a value with the specified identifier. /// - /*--cef(capi_name=has_value_byindex)--*/ - virtual bool HasValue(size_t index) =0; + /*--cef(capi_name=has_value_byindex,index_param=index)--*/ + virtual bool HasValue(int index) =0; /// // Delete the value with the specified identifier. @@ -2674,8 +2700,8 @@ public: /// // Delete the value with the specified identifier. /// - /*--cef(capi_name=delete_value_byindex)--*/ - virtual bool DeleteValue(size_t index) =0; + /*--cef(capi_name=delete_value_byindex,index_param=index)--*/ + virtual bool DeleteValue(int index) =0; /// // Returns the value with the specified identifier. @@ -2685,8 +2711,8 @@ public: /// // Returns the value with the specified identifier. /// - /*--cef(capi_name=get_value_byindex)--*/ - virtual CefRefPtr GetValue(size_t index) =0; + /*--cef(capi_name=get_value_byindex,index_param=index)--*/ + virtual CefRefPtr GetValue(int index) =0; /// // Associate a value with the specified identifier. @@ -2697,8 +2723,8 @@ public: /// // Associate a value with the specified identifier. /// - /*--cef(capi_name=set_value_byindex)--*/ - virtual bool SetValue(size_t index, CefRefPtr value) =0; + /*--cef(capi_name=set_value_byindex,index_param=index)--*/ + virtual bool SetValue(int index, CefRefPtr value) =0; /// // Register an identifier whose access will be forwarded to the CefV8Accessor @@ -3137,8 +3163,8 @@ public: /// // Returns the value of the attribute at the specified 0-based index. /// - /*--cef(capi_name=get_attribute_byindex)--*/ - virtual CefString GetAttribute(size_t index) =0; + /*--cef(capi_name=get_attribute_byindex,index_param=index)--*/ + virtual CefString GetAttribute(int index) =0; /// // Returns the value of the attribute with the specified qualified name. @@ -3182,8 +3208,8 @@ public: // Moves the cursor to the attribute at the specified 0-based index. Returns // true if the cursor position was set successfully. /// - /*--cef(capi_name=move_to_attribute_byindex)--*/ - virtual bool MoveToAttribute(size_t index) =0; + /*--cef(capi_name=move_to_attribute_byindex,index_param=index)--*/ + virtual bool MoveToAttribute(int index) =0; /// // Moves the cursor to the attribute with the specified qualified name. diff --git a/libs/Debug/libcef.lib b/libs/Debug/libcef.lib index 7172e4b4c..731a4a68c 100644 Binary files a/libs/Debug/libcef.lib and b/libs/Debug/libcef.lib differ diff --git a/libs/Debug/libcef_dll_wrapper.lib b/libs/Debug/libcef_dll_wrapper.lib index f04f8e123..f85267169 100644 Binary files a/libs/Debug/libcef_dll_wrapper.lib and b/libs/Debug/libcef_dll_wrapper.lib differ diff --git a/libs/Release/libcef.lib b/libs/Release/libcef.lib index cb4cda49b..1ec677536 100644 Binary files a/libs/Release/libcef.lib and b/libs/Release/libcef.lib differ diff --git a/libs/Release/libcef_dll_wrapper.lib b/libs/Release/libcef_dll_wrapper.lib index 22ff48926..5aaa4e6b5 100644 Binary files a/libs/Release/libcef_dll_wrapper.lib and b/libs/Release/libcef_dll_wrapper.lib differ