mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Modifications due to underlying chromium changes.
- Change gfx::WindowHandle to gfx::NativeWindow and gfx::ViewHandle to gfx::NativeView. - Add proxy support to BrowserWebViewDelegate. - Add webkit\port\platform\graphics\skia path to libcef_webkit_includes.vsprops due to relocation of PlatformContextSkia.h. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@4 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -24,15 +24,15 @@ class WebWidgetHost {
|
||||
// The new instance is deleted once the associated ViewHandle is destroyed.
|
||||
// The newly created window should be resized after it is created, using the
|
||||
// MoveWindow (or equivalent) function.
|
||||
static WebWidgetHost* Create(gfx::WindowHandle parent_window,
|
||||
static WebWidgetHost* Create(gfx::NativeWindow parent_window,
|
||||
WebWidgetDelegate* delegate);
|
||||
|
||||
static WebWidgetHost* FromWindow(gfx::WindowHandle view);
|
||||
static WebWidgetHost* FromWindow(gfx::NativeWindow view);
|
||||
#if defined(OS_MACOSX)
|
||||
static void HandleEvent(gfx::WindowHandle window, NSEvent *event);
|
||||
static void HandleEvent(gfx::NativeWindow window, NSEvent *event);
|
||||
#endif
|
||||
|
||||
gfx::ViewHandle window_handle() const { return view_; }
|
||||
gfx::NativeView window_handle() const { return view_; }
|
||||
WebWidget* webwidget() const { return webwidget_; }
|
||||
|
||||
void DidInvalidateRect(const gfx::Rect& rect);
|
||||
@@ -83,7 +83,7 @@ class WebWidgetHost {
|
||||
// parent: a GtkBox to pack the new widget at the end of
|
||||
// host: a pointer to a WebWidgetHost (or subclass thereof)
|
||||
// ---------------------------------------------------------------------------
|
||||
static gfx::WindowHandle CreateWindow(gfx::WindowHandle parent, void* host);
|
||||
static gfx::NativeWindow CreateWindow(gfx::NativeWindow parent, void* host);
|
||||
void WindowDestroyed();
|
||||
void Resize(const gfx::Size& size);
|
||||
#endif
|
||||
@@ -98,7 +98,7 @@ class WebWidgetHost {
|
||||
#endif
|
||||
}
|
||||
|
||||
gfx::ViewHandle view_;
|
||||
gfx::NativeView view_;
|
||||
WebWidget* webwidget_;
|
||||
scoped_ptr<gfx::PlatformCanvas> canvas_;
|
||||
|
||||
|
Reference in New Issue
Block a user