Skip to content

Commit 7098805

Browse files
committed
Merge branch 'HEAD' of https://code.google.com/p/cefpython/
2 parents a1fd02e + 1500519 commit 7098805

4 files changed

Lines changed: 16 additions & 12 deletions

File tree

cefpython/cef3/linux/binaries_32bit/wxpython-response.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
# An example of embedding CEF browser in wxPython on Linux.
2+
# Tested with wxPython 2.8.12.1 (gtk2-unicode).
3+
# To install wxPython type "sudo apt-get install python-wxtools".
4+
15
# This example implements a custom "_OnResourceResponse" callback
26
# that emulates reading response by utilizing Resourcehandler
37
# and WebRequest.
48

59
FIX_ENCODING_BUG = True
610
BROWSER_DEFAULT_ENCODING = "utf-8"
711

8-
# An example of embedding CEF browser in wxPython on Linux.
9-
1012
# The official CEF Python binaries come with tcmalloc hook
1113
# disabled. But if you've built custom binaries and kept tcmalloc
1214
# hook enabled, then be aware that in such case it is required

cefpython/cef3/linux/binaries_32bit/wxpython.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# An example of embedding CEF browser in wxPython on Linux.
2+
# Tested with wxPython 2.8.12.1 (gtk2-unicode).
3+
# To install wxPython type "sudo apt-get install python-wxtools".
24

35
# The official CEF Python binaries come with tcmalloc hook
46
# disabled. But if you've built custom binaries and kept tcmalloc
@@ -724,14 +726,12 @@ def GetSources():
724726
# browser, see the call to CreateBrowserSync.
725727
g_browserSettings = {
726728
# "plugins_disabled": True,
727-
"file_access_from_file_urls_allowed": True,
728-
"universal_access_from_file_urls_allowed": True,
729+
# "file_access_from_file_urls_allowed": True,
730+
# "universal_access_from_file_urls_allowed": True,
729731
}
730732

731733
# Command line switches set programmatically
732734
switches = {
733-
"allow-file-access-from-files": "",
734-
"allow-file-access": "",
735735
# "proxy-server": "socks5://127.0.0.1:8888",
736736
# "no-proxy-server": "",
737737
# "enable-media-stream": "",

cefpython/cef3/linux/binaries_64bit/wxpython-response.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
# An example of embedding CEF browser in wxPython on Linux.
2+
# Tested with wxPython 2.8.12.1 (gtk2-unicode).
3+
# To install wxPython type "sudo apt-get install python-wxtools".
4+
15
# This example implements a custom "_OnResourceResponse" callback
26
# that emulates reading response by utilizing Resourcehandler
37
# and WebRequest.
48

59
FIX_ENCODING_BUG = True
610
BROWSER_DEFAULT_ENCODING = "utf-8"
711

8-
# An example of embedding CEF browser in wxPython on Linux.
9-
1012
# The official CEF Python binaries come with tcmalloc hook
1113
# disabled. But if you've built custom binaries and kept tcmalloc
1214
# hook enabled, then be aware that in such case it is required

cefpython/cef3/linux/binaries_64bit/wxpython.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# An example of embedding CEF browser in wxPython on Linux.
2+
# Tested with wxPython 2.8.12.1 (gtk2-unicode).
3+
# To install wxPython type "sudo apt-get install python-wxtools".
24

35
# The official CEF Python binaries come with tcmalloc hook
46
# disabled. But if you've built custom binaries and kept tcmalloc
@@ -724,14 +726,12 @@ def GetSources():
724726
# browser, see the call to CreateBrowserSync.
725727
g_browserSettings = {
726728
# "plugins_disabled": True,
727-
"file_access_from_file_urls_allowed": True,
728-
"universal_access_from_file_urls_allowed": True,
729+
# "file_access_from_file_urls_allowed": True,
730+
# "universal_access_from_file_urls_allowed": True,
729731
}
730732

731733
# Command line switches set programmatically
732734
switches = {
733-
"allow-file-access-from-files": "",
734-
"allow-file-access": "",
735735
# "proxy-server": "socks5://127.0.0.1:8888",
736736
# "no-proxy-server": "",
737737
# "enable-media-stream": "",

0 commit comments

Comments
 (0)