Fix compile errors.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@545 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-03-22 23:52:16 +00:00
parent bba09e1319
commit 0d485419a7
6 changed files with 8 additions and 8 deletions

View File

@ -1079,7 +1079,7 @@ public:
// Returns the globally unique identifier for this frame. // Returns the globally unique identifier for this frame.
/// ///
/*--cef()--*/ /*--cef()--*/
virtual long long GetIdentifier() =0; virtual int64 GetIdentifier() =0;
/// ///
// Returns the parent of this frame or NULL if this is the main (top-level) // Returns the parent of this frame or NULL if this is the main (top-level)

View File

@ -914,7 +914,7 @@ typedef struct _cef_frame_t
/// ///
// Returns the globally unique identifier for this frame. // Returns the globally unique identifier for this frame.
/// ///
long long (CEF_CALLBACK *get_identifier)(struct _cef_frame_t* self); int64 (CEF_CALLBACK *get_identifier)(struct _cef_frame_t* self);
/// ///
// Returns the parent of this frame or NULL if this is the main (top-level) // Returns the parent of this frame or NULL if this is the main (top-level)

View File

@ -1582,8 +1582,8 @@ CefFrameImpl::CefFrameImpl(CefBrowserImpl* browser,
const CefString& name, const CefString& name,
const CefString& url) const CefString& url)
: browser_(browser), : browser_(browser),
id_(id),
name_(name), name_(name),
id_(id),
url_(url) { url_(url) {
} }

View File

@ -325,7 +325,7 @@ cef_string_userfree_t CEF_CALLBACK frame_get_name(struct _cef_frame_t* self)
} }
long long CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) int64 CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self)
{ {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -334,7 +334,7 @@ long long CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self)
return 0; return 0;
// Execute // Execute
long long _retval = CefFrameCppToC::Get(self)->GetIdentifier(); int64 _retval = CefFrameCppToC::Get(self)->GetIdentifier();
// Return type: simple // Return type: simple
return _retval; return _retval;

View File

@ -314,7 +314,7 @@ CefString CefFrameCToCpp::GetName()
} }
long long CefFrameCToCpp::GetIdentifier() int64 CefFrameCToCpp::GetIdentifier()
{ {
if (CEF_MEMBER_MISSING(struct_, get_identifier)) if (CEF_MEMBER_MISSING(struct_, get_identifier))
return 0; return 0;
@ -322,7 +322,7 @@ long long CefFrameCToCpp::GetIdentifier()
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute // Execute
long long _retval = struct_->get_identifier(struct_); int64 _retval = struct_->get_identifier(struct_);
// Return type: simple // Return type: simple
return _retval; return _retval;

View File

@ -54,7 +54,7 @@ public:
virtual bool IsMain() OVERRIDE; virtual bool IsMain() OVERRIDE;
virtual bool IsFocused() OVERRIDE; virtual bool IsFocused() OVERRIDE;
virtual CefString GetName() OVERRIDE; virtual CefString GetName() OVERRIDE;
virtual long long GetIdentifier() OVERRIDE; virtual int64 GetIdentifier() OVERRIDE;
virtual CefRefPtr<CefFrame> GetParent() OVERRIDE; virtual CefRefPtr<CefFrame> GetParent() OVERRIDE;
virtual CefString GetURL() OVERRIDE; virtual CefString GetURL() OVERRIDE;
virtual CefRefPtr<CefBrowser> GetBrowser() OVERRIDE; virtual CefRefPtr<CefBrowser> GetBrowser() OVERRIDE;