Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6ed46c9

Browse filesBrowse files
committed
Refactor handlers and extern, and other minor changes.
Update compile.py so that by default after making installer and installing, it runs all examples one after another, and unit tests at the end.
1 parent 10a988b commit 6ed46c9
Copy full SHA for 6ed46c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

54 files changed

+85
-69
lines changed
Open diff view settings
Expand file

‎docs/Build-instructions.md‎

Copy file name to clipboardExpand all lines: docs/Build-instructions.md
+8-2Lines changed: 8 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Collapse file

‎examples/tkinter_.py‎

Copy file name to clipboardExpand all lines: examples/tkinter_.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ def __init__(self, browser_frame):
272272
self.browser_frame = browser_frame
273273

274274
def OnLoadStart(self, browser, _):
275-
self.browser_frame.master.navigation_bar.set_url(browser.GetUrl())
275+
if self.browser_frame.master.navigation_bar:
276+
self.browser_frame.master.navigation_bar.set_url(browser.GetUrl())
276277

277278

278279
class FocusHandler(object):
Collapse file

‎src/cefpython.pyx‎

Copy file name to clipboardExpand all lines: src/cefpython.pyx
+13-13Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -475,40 +475,40 @@ ELIF UNAME_SYSNAME == "Darwin":
475475
include "window_utils_mac.pyx"
476476

477477
include "task.pyx"
478-
479478
include "javascript_bindings.pyx"
480479
include "virtual_keys.pyx"
481-
482480
include "window_info.pyx"
483481
include "process_message_utils.pyx"
484-
include "v8context_handler.pyx"
485-
include "v8function_handler.pyx"
486482
include "javascript_callback.pyx"
487483
include "python_callback.pyx"
488-
include "lifespan_handler.pyx"
489-
include "display_handler.pyx"
490-
include "keyboard_handler.pyx"
491484
include "web_plugin_info.pyx"
492485
include "request.pyx"
493-
include "request_handler.pyx"
494486
include "cookie.pyx"
495487
include "string_visitor.pyx"
496-
include "load_handler.pyx"
497488
include "network_error.pyx"
498-
include "browser_process_handler.pyx"
499489
include "paint_buffer.pyx"
500-
include "render_handler.pyx"
501490
include "callback.pyx"
502-
include "resource_handler.pyx"
503491
include "response.pyx"
504492
include "web_request.pyx"
505493
include "command_line.pyx"
506494
include "app.pyx"
507-
include "javascript_dialog_handler.pyx"
508495
include "drag_data.pyx"
509496
include "helpers.pyx"
510497
include "image.pyx"
498+
499+
# Handlers
500+
include "handlers/browser_process_handler.pyx"
501+
include "handlers/display_handler.pyx"
511502
include "handlers/focus_handler.pyx"
503+
include "handlers/javascript_dialog_handler.pyx"
504+
include "handlers/keyboard_handler.pyx"
505+
include "handlers/lifespan_handler.pyx"
506+
include "handlers/load_handler.pyx"
507+
include "handlers/render_handler.pyx"
508+
include "handlers/resource_handler.pyx"
509+
include "handlers/request_handler.pyx"
510+
include "handlers/v8context_handler.pyx"
511+
include "handlers/v8function_handler.pyx"
512512

513513
# -----------------------------------------------------------------------------
514514
# Utility functions to provide settings to the C++ browser process code.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.