CefFrame Class |
Namespace: Internal.Xilium.CefGlue
public sealed class CefFrame : IDisposable
The CefFrame type exposes the following members.
Name | Description | |
---|---|---|
![]() | Browser |
Returns the browser that this frame belongs to.
|
![]() | Identifier |
Returns the globally unique identifier for this frame or < 0 if the
underlying frame does not yet exist.
|
![]() | IsFocused |
Returns true if this is the focused frame.
|
![]() | IsMain |
Returns true if this is the main (top-level) frame.
|
![]() | IsValid |
True if this object is currently attached to a valid frame.
|
![]() | 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.
|
![]() | Parent |
Returns the parent of this frame or NULL if this is the main (top-level)
frame.
|
![]() | Url |
Returns the URL currently loaded in this frame.
|
![]() | V8Context |
Get the V8 context associated with the frame. This method can only be
called from the render process.
|
Name | Description | |
---|---|---|
![]() | Copy |
Execute copy in this frame.
|
![]() | Cut |
Execute cut in this frame.
|
![]() | Delete |
Execute delete in this frame.
|
![]() | Dispose | Releases all resources used by the CefFrame |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExecuteJavaScript |
Execute a string of JavaScript code in this frame. The |script_url|
parameter is the URL where the script in question can be found, if any.
The renderer may request this URL to show the developer the source of the
error. The |start_line| parameter is the base line number to use for error
reporting.
|
![]() | Finalize | (Overrides ObjectFinalize.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetSource |
Retrieve this frame's HTML source as a string sent to the specified
visitor.
|
![]() | GetText |
Retrieve this frame's display text as a string sent to the specified
visitor.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoadRequest |
Load the request represented by the |request| object.
|
![]() | LoadString |
Load the contents of |string_val| with the specified dummy |url|. |url|
should have a standard scheme (for example, http scheme) or behaviors like
link clicks and web security restrictions may not behave as expected.
|
![]() | LoadUrl |
Load the specified |url|.
|
![]() | Paste |
Execute paste in this frame.
|
![]() | Redo |
Execute redo in this frame.
|
![]() | SelectAll |
Execute select all in this frame.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Undo |
Execute undo in this frame.
|
![]() | ViewSource |
Save this frame's HTML source to a temporary file and open it in the
default text viewing application. This method can only be called from the
browser process.
|
![]() | VisitDom |
Visit the DOM document. This method can only be called from the render
process.
|
Name | Description | |
---|---|---|
![]() | MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) |
![]() | PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |