--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
On Thu, Dec 5, 2013 at 12:22 PM, Marshall Greenblatt <magree...@gmail.com> wrote:
Hi All,I'm migrating Chromium Embedded Framework (CEF) from the old Win32/GTK architecture to the new aura-based architecture. I notice that there are two versions of content shell -- aura and views. It seems like the views-based implementation more closely matches how the Chromium browser is implemented (using files from ui/views/widget/desktop_aura).If I'd like to minimize the re-implementation of platform-specific code in CEF and generally have it behave correctly on desktop platforms (Windows and Linux) am I better off using the views layer instead of using aura directly?Is it possible to parent a views-created widget (views::Widget) to an external native window (HWND or ::Window) and have everything behave correctly?In Aura, there is only HWND for the top level window, so this isn't going to be possible.
Note that we're on track to shipping Aura in M32. When that happens, the plan is to remove all the old non-aura platform code on Windows.
On Thu, Dec 5, 2013 at 3:43 PM, John Abd-El-Malek <j...@chromium.org> wrote:
On Thu, Dec 5, 2013 at 12:22 PM, Marshall Greenblatt <magree...@gmail.com> wrote:
Hi All,I'm migrating Chromium Embedded Framework (CEF) from the old Win32/GTK architecture to the new aura-based architecture. I notice that there are two versions of content shell -- aura and views. It seems like the views-based implementation more closely matches how the Chromium browser is implemented (using files from ui/views/widget/desktop_aura).If I'd like to minimize the re-implementation of platform-specific code in CEF and generally have it behave correctly on desktop platforms (Windows and Linux) am I better off using the views layer instead of using aura directly?Is it possible to parent a views-created widget (views::Widget) to an external native window (HWND or ::Window) and have everything behave correctly?In Aura, there is only HWND for the top level window, so this isn't going to be possible.I assume you mean RootWindow in this case. I think I can parent the underlying RootWindow native handle to an external native window (by adding the WS_CHILD flag on Windows, for example), but I'm not sure if activation, focus, event handling, etc will all work correctly.
On Thu, Dec 5, 2013 at 3:43 PM, John Abd-El-Malek <j...@chromium.org> wrote:
On Thu, Dec 5, 2013 at 12:22 PM, Marshall Greenblatt <magree...@gmail.com> wrote:
Hi All,I'm migrating Chromium Embedded Framework (CEF) from the old Win32/GTK architecture to the new aura-based architecture. I notice that there are two versions of content shell -- aura and views. It seems like the views-based implementation more closely matches how the Chromium browser is implemented (using files from ui/views/widget/desktop_aura).If I'd like to minimize the re-implementation of platform-specific code in CEF and generally have it behave correctly on desktop platforms (Windows and Linux) am I better off using the views layer instead of using aura directly?Is it possible to parent a views-created widget (views::Widget) to an external native window (HWND or ::Window) and have everything behave correctly?In Aura, there is only HWND for the top level window, so this isn't going to be possible.I assume you mean RootWindow in this case. I think I can parent the underlying RootWindow native handle to an external native window (by adding the WS_CHILD flag on Windows, for example), but I'm not sure if activation, focus, event handling, etc will all work correctly.
Note that we're on track to shipping Aura in M32. When that happens, the plan is to remove all the old non-aura platform code on Windows.Does this affect the views + aura implementation in any way?