jramosd / javachromiumembedded

Automatically exported from code.google.com/p/javachromiumembedded
0 stars 0 forks source link

Added additional handler CefCloadHandler #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue is an enhancement of JCEF (patch 4 of 10) 
----------------------------------------------------
Purpose: Added additional handler CefCloadHandler

This patch relies on the attached patch file of issue #47. 
If you want to try these code changes, add the patch of issue #47 first and 
afterwards add the patch file attached to this issue. Otherwise you'll get some 
patch-errors.

With this patch, an additional cef handler 
- CefLoadHandler 
is forwarded to jcef as well.

For CefLoadHandler an adapter class is provided which methods are empty. 
- CefLoadHandlerAdapter
This class exists as convenience for creating handler objects.

CefClientHandler is extended by the methods
- abstract method getLoadHandler() (called by JNI)
- protected method removeLoadHandler() (forwarded to JNI)

CefClient is extended by the methods
- addLoadHandler(CefLoadHandler handler)
- removeLoadHandler()
to add and remove the handler implementation to the client.

Please see attached patch file for further informations.

Original issue reported on code.google.com by k...@censhare.de on 8 Mar 2014 at 7:57

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 12 Mar 2014 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 12 Mar 2014 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 12 Mar 2014 at 9:52

GoogleCodeExporter commented 9 years ago
Added in revision 35. For the purposes of efficiency the below issues will be 
addressed in a follow-up change.

1. List CefClient implements classes in alphabetical order. Same with 
CefClient.finalize() remove method calls and CefClientHandler method 
declarations.

Original comment by magreenb...@gmail.com on 28 Mar 2014 at 12:26

GoogleCodeExporter commented 9 years ago
@comment#4: Done in revision 60.

Original comment by magreenb...@gmail.com on 29 Apr 2014 at 11:13