mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
5c95972c21
Only a few methods are implemented, not exposed yet.
58 lines
1.2 KiB
C++
58 lines
1.2 KiB
C++
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
#include "Stdafx.h"
|
|
#include "CefBrowserHostWrapper.h"
|
|
|
|
void CefBrowserHostWrapper::StartDownload(String^ url)
|
|
{
|
|
_browserHost->StartDownload(StringUtils::ToNative(url));
|
|
}
|
|
|
|
void CefBrowserHostWrapper::Print()
|
|
{
|
|
_browserHost->Print();
|
|
}
|
|
|
|
double CefBrowserHostWrapper::GetZoomLevelAsync()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
IntPtr CefBrowserHostWrapper::GetWindowHandle()
|
|
{
|
|
return IntPtr(_browserHost->GetWindowHandle());
|
|
}
|
|
|
|
void CefBrowserHostWrapper::CloseBrowser(bool forceClose)
|
|
{
|
|
_browserHost->CloseBrowser(forceClose);
|
|
}
|
|
|
|
void CefBrowserHostWrapper::ShowDevTools()
|
|
{
|
|
}
|
|
|
|
void CefBrowserHostWrapper::CloseDevTools()
|
|
{
|
|
}
|
|
|
|
void CefBrowserHostWrapper::AddWordToDictionary(String^ word)
|
|
{
|
|
_browserHost->AddWordToDictionary(StringUtils::ToNative(word));
|
|
}
|
|
|
|
void CefBrowserHostWrapper::ReplaceMisspelling(String^ word)
|
|
{
|
|
_browserHost->ReplaceMisspelling(StringUtils::ToNative(word));
|
|
}
|
|
|
|
void CefBrowserHostWrapper::Find(int identifier, String^ searchText, bool forward, bool matchCase, bool findNext)
|
|
{
|
|
}
|
|
|
|
void CefBrowserHostWrapper::StopFinding(bool clearSelection)
|
|
{
|
|
}
|