1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef XWALK_EXTENSIONS_PUBLIC_XW_EXTENSION_RUNTIME_H_
6 #define XWALK_EXTENSIONS_PUBLIC_XW_EXTENSION_RUNTIME_H_
8 // NOTE: This file and interfaces marked as internal are not considered stable
9 // and can be modified in incompatible ways between Crosswalk versions.
11 #ifndef XWALK_EXTENSIONS_PUBLIC_XW_EXTENSION_H_
12 #error "You should include XW_Extension.h before this file"
19 #define XW_INTERNAL_RUNTIME_INTERFACE_1 \
20 "XW_Internal_RuntimeInterface_1"
21 #define XW_INTERNAL_RUNTIME_INTERFACE \
22 XW_INTERNAL_RUNTIME_INTERFACE_1
25 // XW_INTERNAL_RUNTIME_INTERFACE: allow extensions to gather information
29 struct XW_Internal_RuntimeInterface_1 {
30 void (*GetRuntimeVariableString)(XW_Extension extension,
33 unsigned int value_len);
36 typedef struct XW_Internal_RuntimeInterface_1
37 XW_Internal_RuntimeInterface;
43 #endif // XWALK_EXTENSIONS_PUBLIC_XW_EXTENSION_RUNTIME_H_