Add initial Mac implementation files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@123 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2010-10-23 17:00:47 +00:00
parent d4004fc57e
commit c6be988e89
17 changed files with 1139 additions and 27 deletions

View File

@@ -112,7 +112,7 @@ public:
BrowserWebViewDelegate* GetWebViewDelegate() const {
return delegate_.get();
}
CefWindowHandle GetWebViewWndHandle() const {
gfx::NativeView GetWebViewWndHandle() const {
return webviewhost_->view_handle();
}
WebKit::WebWidget* GetPopup() const {
@@ -124,17 +124,10 @@ public:
BrowserWebViewDelegate* GetPopupDelegate() const {
return popup_delegate_.get();
}
CefWindowHandle GetPopupWndHandle() const {
gfx::NativeView GetPopupWndHandle() const {
return popuphost_->view_handle();
}
CefWindowHandle GetMainWndHandle() const {
#if defined(OS_WIN)
return window_info_.m_hWnd;
#else
return 0;
#endif
}
gfx::NativeWindow GetMainWndHandle() const;
////////////////////////////////////////////////////////////
// ALL UIT_* METHODS MUST ONLY BE CALLED ON THE UI THREAD //