Window Class Hierarchy in CEF and Chrome Browser

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Window Class Hierarchy in CEF and Chrome Browser

Postby sijusamuel » Thu Aug 07, 2014 4:16 pm

When using CEfclient (cef_binary_3.1750.1738_windows32), noticed the following windows hierarchy CEFCLIENT->CefBrowserWindow->Chrome_WidgetWin_0->Chrome_RendererWidgetHOSTHWND. Similarly when using google chrome (36.0.1985.125 ) it is Chrome_WidgetWin_1->Chrome_RendererWidgetHOSTHWND. What could be reason for this difference Chrome_WidgetWin_0 vs Chrome_WidgetWin_1 although cef builds is relatively new. I see some software relying on Window class name and level in its processing logic.
sijusamuel
Techie
 
Posts: 10
Joined: Fri Oct 25, 2013 4:21 pm

Re: Window Class Hierarchy in CEF and Chrome Browser

Postby magreenblatt » Fri Aug 08, 2014 3:41 am

It depends on the number of registered window classes. Chrome creates more/different window types from CEF. See ClassRegistrar::RetrieveClassAtom.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 43 guests