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:
Marshall Greenblatt
2008-12-13 18:42:19 +00:00
parent 166b8524dd
commit d0639c9f4e
12 changed files with 125 additions and 114 deletions

View File

@@ -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_;