forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_frame.pxd
More file actions
37 lines (33 loc) · 1.15 KB
/
cef_frame.pxd
File metadata and controls
37 lines (33 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2012 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
include "compile_time_constants.pxi"
from cef_types cimport int64
from cef_string cimport CefString
from libcpp cimport bool as cpp_bool
from cef_ptr cimport CefRefPtr
from cef_browser cimport CefBrowser
from cef_string_visitor cimport CefStringVisitor
cdef extern from "include/cef_frame.h":
cdef cppclass CefFrame:
cpp_bool IsValid()
void ExecuteJavaScript(CefString& jsCode, CefString& scriptUrl, int startLine)
CefString GetURL()
int64 GetIdentifier()
cpp_bool IsMain()
void LoadURL(CefString& url)
void Undo()
void Redo()
void Cut()
void Copy()
void Paste()
void Delete()
void SelectAll()
void ViewSource()
void GetSource(CefRefPtr[CefStringVisitor] visitor)
void GetText(CefRefPtr[CefStringVisitor] visitor)
void LoadString(CefString& string_val, CefString& url)
cpp_bool IsFocused()
CefString GetName()
CefRefPtr[CefFrame] GetParent()
CefRefPtr[CefBrowser] GetBrowser()