init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_color_model_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Print job color mode values.
|
||||
/// </summary>
|
||||
public enum CefColorModel
|
||||
{
|
||||
Unknown = 0,
|
||||
Gray,
|
||||
Color,
|
||||
Cmyk,
|
||||
Cmy,
|
||||
Kcmy,
|
||||
Cmy_K, // CMY_K represents CMY+K.
|
||||
Black,
|
||||
Grayscale,
|
||||
Rgb,
|
||||
Rgb16,
|
||||
Rgba,
|
||||
|
||||
ColorMode_Color, // Used in samsung printer ppds.
|
||||
ColorMode_Monochrome, // Used in samsung printer ppds.
|
||||
|
||||
HP_Color_Color, // Used in HP color printer ppds.
|
||||
HP_Color_Black, // Used in HP color printer ppds.
|
||||
|
||||
PrintoutMode_Normal, // Used in foomatic ppds.
|
||||
PrintoutMode_Normal_Gray, // Used in foomatic ppds.
|
||||
|
||||
ProcessColorModel_Cmyk, // Used in canon printer ppds.
|
||||
ProcessColorModel_Greyscale, // Used in canon printer ppds.
|
||||
ProcessColorModel_Rgb, // Used in canon printer ppds
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_context_menu_edit_state_flags_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Supported context menu edit state bit flags.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefContextMenuEditStateFlags
|
||||
{
|
||||
None = 0,
|
||||
CanUndo = 1 << 0,
|
||||
CanRedo = 1 << 1,
|
||||
CanCut = 1 << 2,
|
||||
CanCopy = 1 << 3,
|
||||
CanPaste = 1 << 4,
|
||||
CanDelete = 1 << 5,
|
||||
CanSelectAll = 1 << 6,
|
||||
CanTranslate = 1 << 7,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_context_menu_media_state_flags_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Supported context menu media state bit flags.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefContextMenuMediaStateFlags
|
||||
{
|
||||
None = 0,
|
||||
Error = 1 << 0,
|
||||
Paused = 1 << 1,
|
||||
Muted = 1 << 2,
|
||||
Loop = 1 << 3,
|
||||
CanSave = 1 << 4,
|
||||
HasAudio = 1 << 5,
|
||||
HasVideo = 1 << 6,
|
||||
ControlRootElement = 1 << 7,
|
||||
CanPrint = 1 << 8,
|
||||
CanRotate = 1 << 9,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_context_menu_media_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Supported context menu media types.
|
||||
/// </summary>
|
||||
public enum CefContextMenuMediaType
|
||||
{
|
||||
/// <summary>
|
||||
/// No special node is in context.
|
||||
/// </summary>
|
||||
None,
|
||||
|
||||
/// <summary>
|
||||
/// An image node is selected.
|
||||
/// </summary>
|
||||
Image,
|
||||
|
||||
/// <summary>
|
||||
/// A video node is selected.
|
||||
/// </summary>
|
||||
Video,
|
||||
|
||||
/// <summary>
|
||||
/// An audio node is selected.
|
||||
/// </summary>
|
||||
Audio,
|
||||
|
||||
/// <summary>
|
||||
/// A file node is selected.
|
||||
/// </summary>
|
||||
File,
|
||||
|
||||
/// <summary>
|
||||
/// A plugin node is selected.
|
||||
/// </summary>
|
||||
Plugin,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_context_menu_type_flags_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Supported context menu type flags.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefContextMenuTypeFlags
|
||||
{
|
||||
/// <summary>
|
||||
/// No node is selected.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The top page is selected.
|
||||
/// </summary>
|
||||
Page = 1 << 0,
|
||||
|
||||
/// <summary>
|
||||
/// A subframe page is selected.
|
||||
/// </summary>
|
||||
Frame = 1 << 1,
|
||||
|
||||
/// <summary>
|
||||
/// A link is selected.
|
||||
/// </summary>
|
||||
Link = 1 << 2,
|
||||
|
||||
/// <summary>
|
||||
/// A media node is selected.
|
||||
/// </summary>
|
||||
Media = 1 << 3,
|
||||
|
||||
/// <summary>
|
||||
/// There is a textual or mixed selection that is selected.
|
||||
/// </summary>
|
||||
Selection = 1 << 4,
|
||||
|
||||
/// <summary>
|
||||
/// An editable element is selected.
|
||||
/// </summary>
|
||||
Editable = 1 << 5
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// CEF offers two context safety implementations with different performance characteristics.
|
||||
/// </summary>
|
||||
public enum CefContextSafetyImplementation : int
|
||||
{
|
||||
/// <summary>
|
||||
/// The default implementation (value of 0) uses a map of hash values and should provide
|
||||
/// better performance in situations with a small number contexts.
|
||||
/// </summary>
|
||||
SafeDefault = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The alternate implementation (value of 1) uses a hidden value attached to each context
|
||||
/// and should provide better performance in situations with a large number of contexts.
|
||||
/// </summary>
|
||||
SafeAlternate = 1,
|
||||
|
||||
/// <summary>
|
||||
/// If you need better performance in the creation of V8 references and you
|
||||
/// plan to manually track context lifespan you can disable context safety by
|
||||
/// specifying a value of -1.
|
||||
/// </summary>
|
||||
Disabled = -1,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_cursor_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
/// <summary>
|
||||
/// Cursor type values.
|
||||
/// </summary>
|
||||
public enum CefCursorType
|
||||
{
|
||||
Pointer = 0,
|
||||
Cross,
|
||||
Hand,
|
||||
IBeam,
|
||||
Wait,
|
||||
Help,
|
||||
EastResize,
|
||||
NorthResize,
|
||||
NorthEastResize,
|
||||
NorthWestResize,
|
||||
SouthResize,
|
||||
SouthEastResize,
|
||||
SouthWestResize,
|
||||
WestResize,
|
||||
NorthSouthResize,
|
||||
EastWestResize,
|
||||
NorthEastSouthWestResize,
|
||||
NorthWestSouthEastResize,
|
||||
ColumnResize,
|
||||
RowResize,
|
||||
MiddlePanning,
|
||||
EastPanning,
|
||||
NorthPanning,
|
||||
NorthEastPanning,
|
||||
NorthWestPanning,
|
||||
SouthPanning,
|
||||
SouthEastPanning,
|
||||
SouthWestPanning,
|
||||
WestPanning,
|
||||
Move,
|
||||
VerticalText,
|
||||
Cell,
|
||||
ContextMenu,
|
||||
Alias,
|
||||
Progress,
|
||||
NoDrop,
|
||||
Copy,
|
||||
None,
|
||||
NotAllowed,
|
||||
ZoomIn,
|
||||
ZoomOut,
|
||||
Grab,
|
||||
Grabbing,
|
||||
Custom,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_dom_document_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// DOM document types.
|
||||
/// </summary>
|
||||
public enum CefDomDocumentType
|
||||
{
|
||||
Unknown = 0,
|
||||
Html,
|
||||
Xhtml,
|
||||
Plugin,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_dom_event_category_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// DOM event category flags.
|
||||
/// </summary>
|
||||
public enum CefDomEventCategory
|
||||
{
|
||||
Unknown = 0x0,
|
||||
UI = 0x1,
|
||||
Mouse = 0x2,
|
||||
Mutation = 0x4,
|
||||
Keyboard = 0x8,
|
||||
Text = 0x10,
|
||||
Composition = 0x20,
|
||||
Drag = 0x40,
|
||||
Clipboard = 0x80,
|
||||
Message = 0x100,
|
||||
Wheel = 0x200,
|
||||
BeforeTextInserted = 0x400,
|
||||
Overflow = 0x800,
|
||||
PageTransition = 0x1000,
|
||||
PopState = 0x2000,
|
||||
Progress = 0x4000,
|
||||
XmlHttpRequestProgress = 0x8000,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_dom_event_phase_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// DOM event processing phases.
|
||||
/// </summary>
|
||||
public enum CefDomEventPhase
|
||||
{
|
||||
Unknown = 0,
|
||||
Capturing,
|
||||
AtTarget,
|
||||
Bubbling,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_dom_node_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// DOM node types.
|
||||
/// </summary>
|
||||
public enum CefDomNodeType
|
||||
{
|
||||
Unsupported = 0,
|
||||
Element,
|
||||
Attribute,
|
||||
Text,
|
||||
CDataSection,
|
||||
ProcessingInstruction,
|
||||
Comment,
|
||||
Document,
|
||||
DocumentType,
|
||||
DocumentFragment,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_drag_operations_mask.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// "Verb" of a drag-and-drop operation as negotiated between the source and
|
||||
/// destination. These constants match their equivalents in WebCore's
|
||||
/// DragActions.h and should not be renumbered.
|
||||
/// </summary>
|
||||
public enum CefDragOperationsMask : uint
|
||||
{
|
||||
None = 0,
|
||||
Copy = 1,
|
||||
Link = 2,
|
||||
Generic = 4,
|
||||
Private = 8,
|
||||
Move = 16,
|
||||
Delete = 32,
|
||||
Every = UInt32.MaxValue,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_duplex_mode_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Print job duplex mode values.
|
||||
/// </summary>
|
||||
public enum CefDuplexMode
|
||||
{
|
||||
Unknown = -1,
|
||||
Simplex,
|
||||
LongEdge,
|
||||
ShortEdge,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_handler_errorcode_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported error code values.
|
||||
/// </summary>
|
||||
public enum CefErrorCode
|
||||
{
|
||||
None = 0,
|
||||
|
||||
Failed = -2,
|
||||
Aborted = -3,
|
||||
InvalidArgument = -4,
|
||||
InvalidHandle = -5,
|
||||
FileNotFound = -6,
|
||||
TimedOut = -7,
|
||||
FileTooBig = -8,
|
||||
Unexpected = -9,
|
||||
AccessDenied = -10,
|
||||
NotImplemented = -11,
|
||||
|
||||
ConnectionClosed = -100,
|
||||
ConnectionReset = -101,
|
||||
ConnectionRefused = -102,
|
||||
ConnectionAborted = -103,
|
||||
ConnectionFailed = -104,
|
||||
NameNotResolved = -105,
|
||||
InternetDisconnected = -106,
|
||||
SslProtocolError = -107,
|
||||
AddressInvalid = -108,
|
||||
AddressUnreachable = -109,
|
||||
SslClientAuthCertNeeded = -110,
|
||||
TunnelConnectionFailed = -111,
|
||||
NoSslVersionsEnabled = -112,
|
||||
SslVersionOrCipherMismatch = -113,
|
||||
SslRenegotiationRequested = -114,
|
||||
|
||||
CertCommonNameInvalid = -200,
|
||||
CertDateInvalid = -201,
|
||||
CertAuthorityInvalid = -202,
|
||||
CertContainsErrors = -203,
|
||||
CertNoRevocationMechanism = -204,
|
||||
CertUnableToCheckRevocation = -205,
|
||||
CertRevoked = -206,
|
||||
CertInvalid = -207,
|
||||
CertEnd = -208,
|
||||
|
||||
InvalidUrl = -300,
|
||||
DisallowedUrlScheme = -301,
|
||||
UnknownUrlScheme = -302,
|
||||
TooManyRedirects = -310,
|
||||
UnsafeRedirect = -311,
|
||||
UnsafePort = -312,
|
||||
InvalidResponse = -320,
|
||||
InvalidChunkedEncoding = -321,
|
||||
MethodNotSupported = -322,
|
||||
UnexpectedProxyAuth = -323,
|
||||
EmptyResponse = -324,
|
||||
ResponseHeadersTooBig = -325,
|
||||
|
||||
CacheMiss = -400,
|
||||
|
||||
InsecureResponse = -501,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_event_flags_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Supported event bit flags.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefEventFlags : uint
|
||||
{
|
||||
None = 0,
|
||||
|
||||
CapsLockOn = 1 << 0,
|
||||
|
||||
ShiftDown = 1 << 1,
|
||||
ControlDown = 1 << 2,
|
||||
AltDown = 1 << 3,
|
||||
|
||||
LeftMouseButton = 1 << 4,
|
||||
MiddleMouseButton = 1 << 5,
|
||||
RightMouseButton = 1 << 6,
|
||||
|
||||
/// <summary>
|
||||
/// Mac OS-X command key.
|
||||
/// </summary>
|
||||
CommandDown = 1 << 7,
|
||||
|
||||
NumLockOn = 1 << 8,
|
||||
IsKeyPad = 1 << 9,
|
||||
IsLeft = 1 << 10,
|
||||
IsRight = 1 << 11,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_file_dialog_mode_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Supported file dialog modes.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefFileDialogMode
|
||||
{
|
||||
/// <summary>
|
||||
/// Requires that the file exists before allowing the user to pick it.
|
||||
/// </summary>
|
||||
Open = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Like Open, but allows picking multiple files to open.
|
||||
/// </summary>
|
||||
OpenMultiple,
|
||||
|
||||
/// <summary>
|
||||
/// Like Open, but selects a folder to open.
|
||||
/// </summary>
|
||||
OpenFolder,
|
||||
|
||||
/// <summary>
|
||||
/// Allows picking a nonexistent file, and prompts to overwrite if the file
|
||||
/// already exists.
|
||||
/// </summary>
|
||||
Save,
|
||||
|
||||
/// <summary>
|
||||
/// General mask defining the bits used for the type values.
|
||||
/// </summary>
|
||||
TypeMask = 0xFF,
|
||||
|
||||
// Qualifiers.
|
||||
// Any of the type values above can be augmented by one or more qualifiers.
|
||||
// These qualifiers further define the dialog behavior.
|
||||
|
||||
/// <summary>
|
||||
/// Prompt to overwrite if the user selects an existing file with the Save
|
||||
/// dialog.
|
||||
/// </summary>
|
||||
OverwritePromptFlag = 0x01000000,
|
||||
|
||||
/// <summary>
|
||||
/// Do not display read-only files.
|
||||
/// </summary>
|
||||
HideReadOnlyFlag = 0x02000000,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Focus sources.
|
||||
/// </summary>
|
||||
public enum CefFocusSource
|
||||
{
|
||||
/// <summary>
|
||||
/// The source is explicit navigation via the API (LoadURL(), etc).
|
||||
/// </summary>
|
||||
Navigation = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The source is a system-generated focus event.
|
||||
/// </summary>
|
||||
System,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_geoposition_error_code_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Geoposition error codes.
|
||||
/// </summary>
|
||||
public enum CefGeopositionErrorCode
|
||||
{
|
||||
None = 0,
|
||||
PermissionDenied,
|
||||
PositionUnavailable,
|
||||
Timeout,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_jsdialog_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported JavaScript dialog types.
|
||||
/// </summary>
|
||||
public enum CefJSDialogType
|
||||
{
|
||||
Alert = 0,
|
||||
Confirm,
|
||||
Prompt,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_json_parser_error_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Error codes that can be returned from CefParseJSONAndReturnError.
|
||||
/// </summary>
|
||||
public enum CefJsonParserError
|
||||
{
|
||||
NoError = 0,
|
||||
InvalidEscape,
|
||||
SyntaxError,
|
||||
UnexpectedToken,
|
||||
TrailingComma,
|
||||
TooMuchNesting,
|
||||
UnexpectedDataAfterRoot,
|
||||
UnsupportedEncoding,
|
||||
UnquotedDictionaryKey,
|
||||
ParseErrorCount,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_json_parser_options_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Options that can be passed to CefParseJSON.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefJsonParserOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Parses the input strictly according to RFC 4627. See comments in Chromium's
|
||||
/// base/json/json_reader.h file for known limitations/deviations from the RFC.
|
||||
/// </summary>
|
||||
Rfc = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Allows commas to exist after the last element in structures.
|
||||
/// </summary>
|
||||
AllowTrailingCommas = 1 << 0,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_json_writer_options_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Options that can be passed to CefWriteJSON.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefJsonWriterOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Default behavior.
|
||||
/// </summary>
|
||||
Default = 0,
|
||||
|
||||
/// <summary>
|
||||
/// This option instructs the writer that if a Binary value is encountered,
|
||||
/// the value (and key if within a dictionary) will be omitted from the
|
||||
/// output, and success will be returned. Otherwise, if a binary value is
|
||||
/// encountered, failure will be returned.
|
||||
/// </summary>
|
||||
OmitBinaryValues = 1 << 0,
|
||||
|
||||
/// <summary>
|
||||
/// This option instructs the writer to write doubles that have no fractional
|
||||
/// part as a normal integer (i.e., without using exponential notation
|
||||
/// or appending a '.0') as long as the value is within the range of a
|
||||
/// 64-bit int.
|
||||
/// </summary>
|
||||
OmitDoubleTypePreservation = 1 << 1,
|
||||
|
||||
/// <summary>
|
||||
/// Return a slightly nicer formatted json string (pads with whitespace to
|
||||
/// help with readability).
|
||||
/// </summary>
|
||||
PrettyPrint = 1 << 2,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Key event types.
|
||||
/// </summary>
|
||||
public enum CefKeyEventType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Notification that a key transitioned from "up" to "down".
|
||||
/// </summary>
|
||||
RawKeyDown = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Notification that a key was pressed. This does not necessarily correspond
|
||||
/// to a character depending on the key and language. Use KEYEVENT_CHAR for
|
||||
/// character input.
|
||||
/// </summary>
|
||||
KeyDown,
|
||||
|
||||
/// <summary>
|
||||
/// Notification that a key was released.
|
||||
/// </summary>
|
||||
KeyUp,
|
||||
|
||||
/// <summary>
|
||||
/// Notification that a character was typed. Use this for text input. Key
|
||||
/// down events may generate 0, 1, or more than one character event depending
|
||||
/// on the key, locale, and operating system.
|
||||
/// </summary>
|
||||
Char,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_log_severity_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Log severity levels.
|
||||
/// </summary>
|
||||
public enum CefLogSeverity
|
||||
{
|
||||
/// <summary>
|
||||
/// Default logging (currently INFO logging).
|
||||
/// </summary>
|
||||
Default,
|
||||
|
||||
/// <summary>
|
||||
/// Verbose logging.
|
||||
/// </summary>
|
||||
Verbose,
|
||||
|
||||
/// <summary>
|
||||
/// INFO logging.
|
||||
/// </summary>
|
||||
Info,
|
||||
|
||||
/// <summary>
|
||||
/// WARNING logging.
|
||||
/// </summary>
|
||||
Warning,
|
||||
|
||||
/// <summary>
|
||||
/// ERROR logging.
|
||||
/// </summary>
|
||||
Error,
|
||||
|
||||
/// <summary>
|
||||
/// ERROR_REPORT logging.
|
||||
/// </summary>
|
||||
ErrorReport,
|
||||
|
||||
/// <summary>
|
||||
/// Completely disable logging.
|
||||
/// </summary>
|
||||
Disable = 99,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_menu_id_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported menu IDs. Non-English translations can be provided for the
|
||||
/// IDS_MENU_* strings in CefResourceBundleHandler::GetLocalizedString().
|
||||
/// </summary>
|
||||
public enum CefMenuId
|
||||
{
|
||||
// Navigation.
|
||||
Back = 100,
|
||||
Forward = 101,
|
||||
Reload = 102,
|
||||
ReloadNoCache = 103,
|
||||
StopLoad = 104,
|
||||
|
||||
// Editing.
|
||||
Undo = 110,
|
||||
Redo = 111,
|
||||
Cut = 112,
|
||||
Copy = 113,
|
||||
Paste = 114,
|
||||
Delete = 115,
|
||||
SelectAll = 116,
|
||||
|
||||
// Miscellaneous.
|
||||
Find = 130,
|
||||
Print = 131,
|
||||
ViewSource = 132,
|
||||
|
||||
// Spell checking word correction suggestions.
|
||||
SpellcheckSuggestion0 = 200,
|
||||
SpellcheckSuggestion1 = 201,
|
||||
SpellcheckSuggestion2 = 202,
|
||||
SpellcheckSuggestion3 = 203,
|
||||
SpellcheckSuggestion4 = 204,
|
||||
SpellcheckSuggestionLast = 204,
|
||||
NoSpellingSuggestions = 205,
|
||||
AddToDictionary = 206,
|
||||
|
||||
// All user-defined menu IDs should come between MENU_ID_USER_FIRST and
|
||||
// MENU_ID_USER_LAST to avoid overlapping the Chromium and CEF ID ranges
|
||||
// defined in the tools/gritsettings/resource_ids file.
|
||||
UserFirst = 26500,
|
||||
UserLast = 28500,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_menu_item_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported menu item types.
|
||||
/// </summary>
|
||||
public enum CefMenuItemType
|
||||
{
|
||||
None,
|
||||
Command,
|
||||
Check,
|
||||
Radio,
|
||||
Separator,
|
||||
SubMenu,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_mouse_button_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Mouse button types.
|
||||
/// </summary>
|
||||
public enum CefMouseButtonType
|
||||
{
|
||||
Left = 0,
|
||||
Middle,
|
||||
Right,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_log_severity_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
public enum CefNavigationType
|
||||
{
|
||||
LinkClicked = 0,
|
||||
FormSubmitted,
|
||||
BackForward,
|
||||
Reload,
|
||||
FormResubmitted,
|
||||
Other,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_paint_element_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Paint element types.
|
||||
/// </summary>
|
||||
public enum CefPaintElementType
|
||||
{
|
||||
View = 0,
|
||||
Popup,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_path_key_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Path key values.
|
||||
/// </summary>
|
||||
public enum CefPathKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Current directory.
|
||||
/// </summary>
|
||||
Current,
|
||||
|
||||
/// <summary>
|
||||
/// Directory containing PK_FILE_EXE.
|
||||
/// </summary>
|
||||
DirExe,
|
||||
|
||||
/// <summary>
|
||||
/// Directory containing PK_FILE_MODULE.
|
||||
/// </summary>
|
||||
DirModule,
|
||||
|
||||
/// <summary>
|
||||
/// Temporary directory.
|
||||
/// </summary>
|
||||
DirTemp,
|
||||
|
||||
/// <summary>
|
||||
/// Path and filename of the current executable.
|
||||
/// </summary>
|
||||
FileExe,
|
||||
|
||||
/// <summary>
|
||||
/// Path and filename of the module containing the CEF code (usually the libcef
|
||||
/// module).
|
||||
/// </summary>
|
||||
FileModule,
|
||||
|
||||
/// <summary>
|
||||
/// "Local Settings\Application Data" directory under the user profile
|
||||
/// directory on Windows.
|
||||
/// </summary>
|
||||
LocalAppData,
|
||||
|
||||
/// <summary>
|
||||
/// "Application Data" directory under the user profile directory on Windows
|
||||
/// and "~/Library/Application Support" directory on Mac OS X.
|
||||
/// </summary>
|
||||
UserData,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_pdf_print_margin_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Margin type for PDF printing.
|
||||
/// </summary>
|
||||
public enum CefPdfPrintMarginType
|
||||
{
|
||||
/// <summary>
|
||||
/// Default margins.
|
||||
/// </summary>
|
||||
Default,
|
||||
|
||||
/// <summary>
|
||||
/// No margins.
|
||||
/// </summary>
|
||||
None,
|
||||
|
||||
/// <summary>
|
||||
/// Minimum margins.
|
||||
/// </summary>
|
||||
Minimum,
|
||||
|
||||
/// <summary>
|
||||
/// Custom margins using the |margin_*| values from cef_pdf_print_settings_t.
|
||||
/// </summary>
|
||||
Custom,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_postdataelement_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Post data elements may represent either bytes or files.
|
||||
/// </summary>
|
||||
public enum CefPostDataElementType
|
||||
{
|
||||
Empty = 0,
|
||||
Bytes,
|
||||
File,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_process_id_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Existing process IDs.
|
||||
/// </summary>
|
||||
public enum CefProcessId
|
||||
{
|
||||
Browser,
|
||||
Renderer,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_resource_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Resource type for a request.
|
||||
/// </summary>
|
||||
public enum CefResourceType
|
||||
{
|
||||
/// <summary>
|
||||
/// Top level page.
|
||||
/// </summary>
|
||||
MainFrame = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Frame or iframe.
|
||||
/// </summary>
|
||||
SubFrame,
|
||||
|
||||
/// <summary>
|
||||
/// CSS stylesheet.
|
||||
/// </summary>
|
||||
Stylesheet,
|
||||
|
||||
/// <summary>
|
||||
/// External script.
|
||||
/// </summary>
|
||||
Script,
|
||||
|
||||
/// <summary>
|
||||
/// Image (jpg/gif/png/etc).
|
||||
/// </summary>
|
||||
Image,
|
||||
|
||||
/// <summary>
|
||||
/// Font.
|
||||
/// </summary>
|
||||
FontResource,
|
||||
|
||||
/// <summary>
|
||||
/// Some other subresource. This is the default type if the actual type is
|
||||
/// unknown.
|
||||
/// </summary>
|
||||
SubResource,
|
||||
|
||||
/// <summary>
|
||||
/// Object (or embed) tag for a plugin, or a resource that a plugin requested.
|
||||
/// </summary>
|
||||
Object,
|
||||
|
||||
/// <summary>
|
||||
/// Media resource.
|
||||
/// </summary>
|
||||
Media,
|
||||
|
||||
/// <summary>
|
||||
/// Main resource of a dedicated worker.
|
||||
/// </summary>
|
||||
Worker,
|
||||
|
||||
/// <summary>
|
||||
/// Main resource of a shared worker.
|
||||
/// </summary>
|
||||
SharedWorker,
|
||||
|
||||
/// <summary>
|
||||
/// Explicitly requested prefetch.
|
||||
/// </summary>
|
||||
Prefetch,
|
||||
|
||||
/// <summary>
|
||||
/// Favicon.
|
||||
/// </summary>
|
||||
Favicon,
|
||||
|
||||
/// <summary>
|
||||
/// XMLHttpRequest.
|
||||
/// </summary>
|
||||
Xhr,
|
||||
|
||||
/// <summary>
|
||||
/// A request for a <ping>.
|
||||
/// </summary>
|
||||
Ping,
|
||||
|
||||
/// <summary>
|
||||
/// Main resource of a service worker.
|
||||
/// </summary>
|
||||
ServiceWorker,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_return_value_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Return value types.
|
||||
/// </summary>
|
||||
public enum CefReturnValue
|
||||
{
|
||||
/// <summary>
|
||||
/// Cancel immediately.
|
||||
/// </summary>
|
||||
Cancel = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Continue immediately.
|
||||
/// </summary>
|
||||
Continue,
|
||||
|
||||
/// <summary>
|
||||
/// Continue asynchronously (usually via a callback).
|
||||
/// </summary>
|
||||
ContinueAsync,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_state_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the state of a setting.
|
||||
/// </summary>
|
||||
public enum CefState : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Use the default state for the setting.
|
||||
/// </summary>
|
||||
Default = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Enable or allow the setting.
|
||||
/// </summary>
|
||||
Enabled,
|
||||
|
||||
/// <summary>
|
||||
/// Disable or disallow the setting.
|
||||
/// </summary>
|
||||
Disabled,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_storage_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage types.
|
||||
/// </summary>
|
||||
public enum CefStorageType
|
||||
{
|
||||
Local = 0,
|
||||
Session,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_termination_status_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Process termination status values.
|
||||
/// </summary>
|
||||
public enum CefTerminationStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// Non-zero exit status.
|
||||
/// </summary>
|
||||
Termination,
|
||||
|
||||
/// <summary>
|
||||
/// SIGKILL or task manager kill.
|
||||
/// </summary>
|
||||
WasKilled,
|
||||
|
||||
/// <summary>
|
||||
/// Segmentation fault.
|
||||
/// </summary>
|
||||
ProcessCrashed,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_thread_id_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Existing thread IDs.
|
||||
/// </summary>
|
||||
public enum CefThreadId
|
||||
{
|
||||
// BROWSER PROCESS THREADS -- Only available in the browser process.
|
||||
|
||||
/// <summary>
|
||||
/// The main thread in the browser. This will be the same as the main
|
||||
/// application thread if CefInitialize() is called with a
|
||||
/// CefSettings.multi_threaded_message_loop value of false.
|
||||
/// </summary>
|
||||
UI,
|
||||
|
||||
/// <summary>
|
||||
/// Used to interact with the database.
|
||||
/// </summary>
|
||||
DB,
|
||||
|
||||
/// <summary>
|
||||
/// Used to interact with the file system.
|
||||
/// </summary>
|
||||
File,
|
||||
|
||||
/// <summary>
|
||||
/// Used for file system operations that block user interactions.
|
||||
/// Responsiveness of this thread affects users.
|
||||
/// </summary>
|
||||
FileUserBlocking,
|
||||
|
||||
/// <summary>
|
||||
/// Used to launch and terminate browser processes.
|
||||
/// </summary>
|
||||
ProcessLauncher,
|
||||
|
||||
/// <summary>
|
||||
/// Used to handle slow HTTP cache operations.
|
||||
/// </summary>
|
||||
Cache,
|
||||
|
||||
/// <summary>
|
||||
/// Used to process IPC and network messages.
|
||||
/// </summary>
|
||||
IO,
|
||||
|
||||
// RENDER PROCESS THREADS -- Only available in the render process.
|
||||
|
||||
/// <summary>
|
||||
/// The main thread in the renderer. Used for all WebKit and V8 interaction.
|
||||
/// </summary>
|
||||
Renderer,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_resource_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Transition type for a request. Made up of one source value and 0 or more
|
||||
/// qualifiers.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefTransitionType : uint
|
||||
{
|
||||
/// <summary>
|
||||
/// Source is a link click or the JavaScript window.open function. This is
|
||||
/// also the default value for requests like sub-resource loads that are not
|
||||
/// navigations.
|
||||
/// </summary>
|
||||
Link = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Source is some other "explicit" navigation action such as creating a new
|
||||
/// browser or using the LoadURL function. This is also the default value
|
||||
/// for navigations where the actual type is unknown.
|
||||
/// </summary>
|
||||
Explicit = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Source is a subframe navigation. This is any content that is automatically
|
||||
/// loaded in a non-toplevel frame. For example, if a page consists of several
|
||||
/// frames containing ads, those ad URLs will have this transition type.
|
||||
/// The user may not even realize the content in these pages is a separate
|
||||
/// frame, so may not care about the URL.
|
||||
/// </summary>
|
||||
AutoSubframe = 3,
|
||||
|
||||
/// <summary>
|
||||
/// Source is a subframe navigation explicitly requested by the user that will
|
||||
/// generate new navigation entries in the back/forward list. These are
|
||||
/// probably more important than frames that were automatically loaded in
|
||||
/// the background because the user probably cares about the fact that this
|
||||
/// link was loaded.
|
||||
/// </summary>
|
||||
ManualSubframe = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Source is a form submission by the user. NOTE: In some situations
|
||||
/// submitting a form does not result in this transition type. This can happen
|
||||
/// if the form uses a script to submit the contents.
|
||||
/// </summary>
|
||||
FormSubmit = 7,
|
||||
|
||||
/// <summary>
|
||||
/// Source is a "reload" of the page via the Reload function or by re-visiting
|
||||
/// the same URL. NOTE: This is distinct from the concept of whether a
|
||||
/// particular load uses "reload semantics" (i.e. bypasses cached data).
|
||||
/// </summary>
|
||||
Reload = 8,
|
||||
|
||||
/// <summary>
|
||||
/// General mask defining the bits used for the source values.
|
||||
/// </summary>
|
||||
SourceMask = 0xFF,
|
||||
|
||||
// Qualifiers.
|
||||
// Any of the core values above can be augmented by one or more qualifiers.
|
||||
// These qualifiers further define the transition.
|
||||
|
||||
/// <summary>
|
||||
/// Attempted to visit a URL but was blocked.
|
||||
/// </summary>
|
||||
BlockedFlag = 0x00800000,
|
||||
|
||||
/// <summary>
|
||||
/// Used the Forward or Back function to navigate among browsing history.
|
||||
/// </summary>
|
||||
ForwardBackFlag = 0x01000000,
|
||||
|
||||
/// <summary>
|
||||
/// The beginning of a navigation chain.
|
||||
/// </summary>
|
||||
ChainStartFlag = 0x10000000,
|
||||
|
||||
/// <summary>
|
||||
/// The last transition in a redirect chain.
|
||||
/// </summary>
|
||||
ChainEndFlag = 0x20000000,
|
||||
|
||||
/// <summary>
|
||||
/// Redirects caused by JavaScript or a meta refresh tag on the page.
|
||||
/// </summary>
|
||||
ClientRedirectFlag = 0x40000000,
|
||||
|
||||
/// <summary>
|
||||
/// Redirects sent from the server by HTTP headers.
|
||||
/// </summary>
|
||||
ServerRedirectFlag = 0x80000000,
|
||||
|
||||
/// <summary>
|
||||
/// Used to test whether a transition involves a redirect.
|
||||
/// </summary>
|
||||
IsRedirectMask = 0xC0000000,
|
||||
|
||||
/// <summary>
|
||||
/// General mask defining the bits used for the qualifiers.
|
||||
/// </summary>
|
||||
QualifierMask = 0xFFFFFF00,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_uri_unescape_rule_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// URI unescape rules passed to CefURIDecode().
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefUriUnescapeRules
|
||||
{
|
||||
/// <summary>
|
||||
/// Don't unescape anything at all.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Don't unescape anything special, but all normal unescaping will happen.
|
||||
/// This is a placeholder and can't be combined with other flags (since it's
|
||||
/// just the absence of them). All other unescape rules imply "normal" in
|
||||
/// addition to their special meaning. Things like escaped letters, digits,
|
||||
/// and most symbols will get unescaped with this mode.
|
||||
/// </summary>
|
||||
Normal = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Convert %20 to spaces. In some places where we're showing URLs, we may
|
||||
/// want this. In places where the URL may be copied and pasted out, then
|
||||
/// you wouldn't want this since it might not be interpreted in one piece
|
||||
/// by other applications.
|
||||
/// </summary>
|
||||
Spaces = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Unescapes various characters that will change the meaning of URLs,
|
||||
/// including '%', '+', '&', '/', '#'. If we unescaped these characters, the
|
||||
/// resulting URL won't be the same as the source one. This flag is used when
|
||||
/// generating final output like filenames for URLs where we won't be
|
||||
/// interpreting as a URL and want to do as much unescaping as possible.
|
||||
/// </summary>
|
||||
UrlSpecialChars = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Unescapes control characters such as %01. This INCLUDES NULLs. This is
|
||||
/// used for rare cases such as data: URL decoding where the result is binary
|
||||
/// data. This flag also unescapes BiDi control characters.
|
||||
///
|
||||
/// DO NOT use CONTROL_CHARS if the URL is going to be displayed in the UI
|
||||
/// for security reasons.
|
||||
/// </summary>
|
||||
ControlChars = 8,
|
||||
|
||||
/// <summary>
|
||||
/// URL queries use "+" for space. This flag controls that replacement.
|
||||
/// </summary>
|
||||
ReplacePlusWithSpace = 16,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_urlrequest_flags_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
[Flags]
|
||||
public enum CefUrlRequestOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Default behavior.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// If set the cache will be skipped when handling the request.
|
||||
/// </summary>
|
||||
SkipCache = 1 << 0,
|
||||
|
||||
/// <summary>
|
||||
/// If set user name, password, and cookies may be sent with the request, and
|
||||
/// cookies may be saved from the response.
|
||||
/// </summary>
|
||||
AllowCachedCredentials = 1 << 1,
|
||||
|
||||
/// <summary>
|
||||
/// If set upload progress events will be generated when a request has a body.
|
||||
/// </summary>
|
||||
ReportUploadProgress = 1 << 3,
|
||||
|
||||
/// <summary>
|
||||
/// If set the headers sent and received for the request will be recorded.
|
||||
/// </summary>
|
||||
ReportRawHeaders = 1 << 5,
|
||||
|
||||
/// <summary>
|
||||
/// If set the <c>CefUrlRequestClient.OnDownloadData</c> method will not be called.
|
||||
/// </summary>
|
||||
NoDownloadData = 1 << 6,
|
||||
|
||||
/// <summary>
|
||||
/// If set 5XX redirect errors will be propagated to the observer instead of
|
||||
/// automatically re-tried. This currently only applies for requests
|
||||
/// originated in the browser process.
|
||||
/// </summary>
|
||||
NoRetryOn5XX = 1 << 7,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_urlrequest_flags_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
public enum CefUrlRequestStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// Unknown status.
|
||||
/// </summary>
|
||||
Unknown = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Request succeeded.
|
||||
/// </summary>
|
||||
Success,
|
||||
|
||||
/// <summary>
|
||||
/// An IO request is pending, and the caller will be informed when it is
|
||||
/// completed.
|
||||
/// </summary>
|
||||
IOPending,
|
||||
|
||||
/// <summary>
|
||||
/// Request was canceled programatically.
|
||||
/// </summary>
|
||||
Canceled,
|
||||
|
||||
/// <summary>
|
||||
/// Request failed for some reason.
|
||||
/// </summary>
|
||||
Failed,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_v8_accesscontrol_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// V8 access control values.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefV8AccessControl
|
||||
{
|
||||
Default = 0,
|
||||
AllCanRead = 1,
|
||||
AllCanWrite = 1 << 1,
|
||||
ProhibitsOverwriting = 1 << 2,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_v8_propertyattribute_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// V8 property attribute values.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CefV8PropertyAttribute
|
||||
{
|
||||
None = 0,
|
||||
ReadOnly = 1 << 0,
|
||||
DontEnum = 1 << 1,
|
||||
DontDelete = 1 << 2,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_value_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported value types.
|
||||
/// </summary>
|
||||
public enum CefValueType
|
||||
{
|
||||
Invalid = 0,
|
||||
Null,
|
||||
Bool,
|
||||
Int,
|
||||
Double,
|
||||
String,
|
||||
Binary,
|
||||
Dictionary,
|
||||
List,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_window_open_disposition_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// The manner in which a link click should be opened.
|
||||
/// </summary>
|
||||
public enum CefWindowOpenDisposition
|
||||
{
|
||||
Unknown,
|
||||
SuppressOpen,
|
||||
CurrentTab,
|
||||
SingletonTab,
|
||||
NewForegroundTab,
|
||||
NewBackgroundTab,
|
||||
NewPopup,
|
||||
NewWindow,
|
||||
SaveToDisk,
|
||||
OffTheRecord,
|
||||
IgnoreAction,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_xml_encoding_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported XML encoding types. The parser supports ASCII, ISO-8859-1, and
|
||||
/// UTF16 (LE and BE) by default. All other types must be translated to UTF8
|
||||
/// before being passed to the parser. If a BOM is detected and the correct
|
||||
/// decoder is available then that decoder will be used automatically.
|
||||
/// </summary>
|
||||
public enum CefXmlEncoding
|
||||
{
|
||||
None = 0,
|
||||
Utf8,
|
||||
Utf16LE,
|
||||
Utf16BE,
|
||||
Ascii,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
// C API name: cef_xml_node_type_t.
|
||||
//
|
||||
namespace Cef3
|
||||
{
|
||||
/// <summary>
|
||||
/// XML node types.
|
||||
/// </summary>
|
||||
public enum CefXmlNodeType
|
||||
{
|
||||
Unsupported = 0,
|
||||
ProcessingInstruction,
|
||||
DocumentType,
|
||||
ElementStart,
|
||||
ElementEnd,
|
||||
Attribute,
|
||||
Text,
|
||||
CData,
|
||||
EntityReference,
|
||||
WhiteSpace,
|
||||
Comment,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user