pottermm / javachromiumembedded

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

Added CefRequest to be able to send HTTP-Requests #80

Closed GoogleCodeExporter closed 9 years ago

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

Purpose: Added CefRequest to be able to send HTTP-Requests.

This patch relies on the JCEF svn rev60.
If you want to try these code changes, update to r60 first and 
afterwards add the patch file attached to this issue.

Brief overview (only important changes are listed):
---------------------------------------------------
This patch adds the following classes to JCEF:
  package org.cef.network
    CefPostData
    CefPostDataElement
    CefRequest

And adds the following methods to existing classes:
  package org.cef.browser
    CefBrowser
      public void loadRequest(CefRequest request)

  package org.cef.handler
    CefRequestHandler
      boolean onBeforeBrowse(CefBrowser browser, CefRequest request, boolean is_redirect);
      boolean onBeforeResourceLoad(CefBrowser browser, CefRequest request);

Added Tests to MainFrame example application:
---------------------------------------------
- Menu > Tests > RequestHandler Test
- Menu > Tests > Manual HTTP request

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

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 61. Remember to update make_jar.* when adding Java packages.

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

GoogleCodeExporter commented 9 years ago
@comment#2: And also compile.*.

Original comment by magreenb...@gmail.com on 23 May 2014 at 8:04