yueying0083 / javachromiumembedded

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

Added CefResourceHandler to be able to deal with resource requests #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue is an enhancement of JCEF - STEP 3  (patch 3 of 10) 
--------------------------------------------------------------
Please see issue 55 for the overall plan.

Purpose: Added CefResourceHandler to be able to deal with resource requests

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

Brief overview (only important changes are listed):
---------------------------------------------------
This patch adds the following classes to JCEF:
  package org.cef.callback
    CefCallback

  package org.cef.handler
    CefResourceHandler

  package org.cef.network
    CefCookie
    CefResponse

And adds the following methods to existing classes:    
  package org.cef.handler
    CefRequestHandler
      CefResourceHandler getResourceHandler(CefBrowser browser, CefRequest request);

Added Tests to MainFrame example application:
---------------------------------------------
- Menu > Bookmarks > Resource-Handler Test

Original issue reported on code.google.com by k...@censhare.de on 14 May 2014 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 23 May 2014 at 6:31

GoogleCodeExporter commented 9 years ago
Added in revision 63.

Original comment by magreenb...@gmail.com on 23 May 2014 at 6:55