]>
git.saurik.com Git - apple/javascriptcore.git/blob - inspector/remote/RemoteInspectorConstants.h
647b22e1291945c3947107dd6de1f36f9dc13fc6
2 * Copyright (C) 2011 Apple Inc. All Rights Reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 #ifndef RemoteInspectorConstants_h
27 #define RemoteInspectorConstants_h
29 // WIRConstants are "Web Inspector Relay" constants shared between
30 // the WebInspector framework on the OS X side, webinspectord, and
31 // iOS WebKit on the device side.
33 #define WIRSimulatorTCPPortNumber 27753
34 #define WIRXPCMachPortName "com.apple.webinspector"
35 #define WIRXPCDebuggerServiceName "com.apple.webinspector.debugger"
36 #define WIRServiceAvailableNotification "com.apple.webinspectord.available"
37 #define WIRServiceAvailabilityCheckNotification "com.apple.webinspectord.availability_check"
38 #define WIRServiceEnabledNotification "com.apple.webinspectord.enabled"
39 #define WIRServiceDisabledNotification "com.apple.webinspectord.disabled"
42 #define WIRApplicationIdentifierKey @"WIRApplicationIdentifierKey"
43 #define WIRApplicationBundleIdentifierKey @"WIRApplicationBundleIdentifierKey"
44 #define WIRApplicationNameKey @"WIRApplicationNameKey"
45 #define WIRIsApplicationProxyKey @"WIRIsApplicationProxyKey"
46 #define WIRHostApplicationIdentifierKey @"WIRHostApplicationIdentifierKey"
47 #define WIRHostApplicationNameKey @"WIRHostApplicationNameKey"
48 #define WIRConnectionIdentifierKey @"WIRConnectionIdentifierKey"
49 #define WIRPageIdentifierKey @"WIRPageIdentifierKey"
50 #define WIRHasLocalDebuggerKey @"WIRHasLocalDebuggerKey"
51 #define WIRTitleKey @"WIRTitleKey"
52 #define WIRURLKey @"WIRURLKey"
53 #define WIRUserInfoKey @"WIRUserInfoKey"
54 #define WIRApplicationDictionaryKey @"WIRApplicationDictionaryKey"
55 #define WIRMessageDataKey @"WIRMessageDataKey"
56 #define WIRApplicationGetListingMessage @"WIRApplicationGetListingMessage"
57 #define WIRIndicateMessage @"WIRIndicateMessage"
58 #define WIRIndicateEnabledKey @"WIRIndicateEnabledKey"
59 #define WIRSenderKey @"WIRSenderKey"
60 #define WIRSocketDataKey @"WIRSocketDataKey"
61 #define WIRSocketDataMessage @"WIRSocketDataMessage"
62 #define WIRSocketSetupMessage @"WIRSocketSetupMessage"
63 #define WIRWebPageCloseMessage @"WIRWebPageCloseMessage"
64 #define WIRRawDataMessage @"WIRRawDataMessage"
65 #define WIRRawDataKey @"WIRRawDataKey"
66 #define WIRListingMessage @"WIRListingMessage"
67 #define WIRListingKey @"WIRListingKey"
68 #define WIRDestinationKey @"WIRDestinationKey"
69 #define WIRConnectionDiedMessage @"WIRConnectionDiedMessage"
70 #define WIRTypeKey @"WIRTypeKey"
71 #define WIRTypeJavaScript @"WIRTypeJavaScript"
72 #define WIRTypeWeb @"WIRTypeWeb"
74 // These definitions are shared with a Simulator webinspectord and
75 // OS X process communicating with it.
77 #define WIRSimulatorBuildKey @"WIRSimulatorBuildKey"
78 #define WIRSimulatorProductVersionKey @"WIRSimulatorProductVersionKey"
79 #define WIRSimulatorNameKey @"WIRSimulatorNameKey"
81 // These definitions are shared between webinspectord and WebKit.
83 #define WIRPermissionDenied @"WIRPermissionDenied"
84 #define WIRProxyApplicationParentPIDKey @"WIRProxyApplicationParentPID"
85 #define WIRProxyApplicationParentAuditDataKey @"WIRProxyApplicationParentAuditData"
86 #define WIRProxyApplicationSetupMessage @"WIRProxyApplicationSetupMessage"
87 #define WIRProxyApplicationSetupResponseMessage @"WIRProxyApplicationSetupResponseMessage"