google-code-export / javachromiumembedded

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

r40 no longer exposes onPaint or mouse/wheel/keyboard event firing #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Instantiate CefBrowser through the factory in OSR mode
2.
3.

What is the expected output? What do you see instead?

Some kind of public method or handler to override or hook into that allows 
access to the onPaint method, and the ability to send any mouse and key events 
to the CefBrowser class.

What version of the product are you using? On what operating system?

r40, cef build 1750, win7

Please provide any additional information below.

Have attached a changed CefBrowserOsr (as per forum recommendation) with some 
public methods for hooking into onPaint and mouse events. However, it is quite 
hacky and not really in line with the current design :).

Original issue reported on code.google.com by luke.ber...@2bitstudios.com.au on 29 Apr 2014 at 12:27

Attachments:

GoogleCodeExporter commented 9 years ago
Actually, probably not a defect... :p

Original comment by luke.ber...@2bitstudios.com.au on 29 Apr 2014 at 12:29

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
Hi, ok so why doesn't it expose the ByteBuffer data? I want to integrate this 
into a game engine (JMonkey) but I need to get access to the image data to do 
so. I mean, what is the reason why it doesn't expose the ByteBuffer data?

Original comment by phi...@omnistream.co on 3 Jul 2014 at 3:12

GoogleCodeExporter commented 9 years ago
me too
I want crawl web data by chromium headless,just get the render data。
How can I do this with jcef?

Original comment by endy...@gmail.com on 3 Jul 2014 at 4:29