CefBridgeDataExchange.Tests.BridgeNet.d.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /// <reference path="./bridge.d.ts" />
  2. /// <reference path="./CefBridgeDataExchange.BridgeNet.d.ts" />
  3. declare namespace CefBridgeDataExchange.Tests {
  4. interface App {
  5. }
  6. interface AppFunc extends Function {
  7. prototype: App;
  8. new (): App;
  9. Main(): void;
  10. }
  11. var App: AppFunc;
  12. interface ICefDevService {
  13. CefBridgeDataExchange$Tests$ICefDevService$ShowF12(): void;
  14. ShowF12(): void;
  15. CefBridgeDataExchange$Tests$ICefDevService$Refresh(): void;
  16. Refresh(): void;
  17. }
  18. interface IWindowControlService {
  19. CefBridgeDataExchange$Tests$IWindowControlService$GetWindowState(): CefBridgeDataExchange.Tests.WindowState;
  20. GetWindowState(): CefBridgeDataExchange.Tests.WindowState;
  21. CefBridgeDataExchange$Tests$IWindowControlService$SetWindowState(windowState: CefBridgeDataExchange.Tests.WindowState): void;
  22. SetWindowState(windowState: CefBridgeDataExchange.Tests.WindowState): void;
  23. CefBridgeDataExchange$Tests$IWindowControlService$DragMove(): void;
  24. DragMove(): void;
  25. CefBridgeDataExchange$Tests$IWindowControlService$Close(): void;
  26. Close(): void;
  27. }
  28. enum WindowState {
  29. Normal = 0,
  30. Minimized = 1,
  31. Maximized = 2
  32. }
  33. }