mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 08:58:48 +00:00
21 lines
462 B
C++
21 lines
462 B
C++
#include "Stdafx.h"
|
|
#pragma once
|
|
|
|
using namespace System;
|
|
|
|
namespace CefSharp
|
|
{
|
|
public enum class KeyType
|
|
{
|
|
RawKeyDown = KEYEVENT_RAWKEYDOWN,
|
|
KeyDown = KEYEVENT_KEYDOWN,
|
|
KeyUp = KEYEVENT_KEYUP,
|
|
Char = KEYEVENT_CHAR,
|
|
};
|
|
|
|
public interface class IKeyboardHandler
|
|
{
|
|
public:
|
|
bool OnKeyEvent(IWebBrowser^ browser, KeyType type, int code, int modifiers, bool isSystemKey, bool isAfterJavaScript);
|
|
};
|
|
} |