CEF3: Update to Chromium revision 130586.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@578 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-04-04 18:18:09 +00:00
parent 0b3ef6e2cd
commit f94336aade
17 changed files with 124 additions and 132 deletions

View File

@ -129,9 +129,9 @@ LRESULT CALLBACK CefBrowserHostImpl::WndProc(HWND hwnd, UINT message,
case WM_SETFOCUS:
if (browser) {
TabContents* tab_contents = browser->GetTabContents();
if (tab_contents)
tab_contents->Focus();
content::WebContents* web_contents = browser->GetWebContents();
if (web_contents)
web_contents->Focus();
}
return 0;
@ -179,7 +179,7 @@ bool CefBrowserHostImpl::PlatformCreateWindow() {
AddRef();
// Parent the TabContents to the browser window.
SetParent(tab_contents_->GetView()->GetNativeView(), window_info_.window);
SetParent(web_contents_->GetView()->GetNativeView(), window_info_.window);
// Size the web view window to the browser window.
RECT cr;