convert HandlerAdapter -> ClientAdapter

This commit is contained in:
anthony taranto
2011-05-24 15:03:12 -07:00
parent 56c69b5477
commit c6322c43c9
9 changed files with 75 additions and 66 deletions
+14 -2
View File
@@ -1,17 +1,29 @@
#include "stdafx.h"
#include "ClientAdapter.h"
/*
#include "CefWebBrowser.h"
#include "Request.h"
#include "ReturnValue.h"
#include "StreamAdapter.h"
#include "CefSharp.h"
#include "BindingHandler.h"
*/
namespace CefSharp
{
void ClientAdapter::OnAfterCreated(CefRefPtr<CefBrowser> browser)
{
AutoLock lock_scope(this);
if(!browser->IsPopup())
{
_browserHwnd = browser->GetWindowHandle();
_cefBrowser = browser;
_browserControl->OnInitialized();
}
}
/*
CefHandler::RetVal HandlerAdapter::HandleAfterCreated(CefRefPtr<CefBrowser> browser)
{