Simplify user content in WebKit2 by using WebCore::UserStyleSheet and WebCore::UserSc...
[WebKit-https.git] / Source / WebKit2 / CMakeLists.txt
1 SET(WebKit2_INCLUDE_DIRECTORIES
2     "${WEBKIT2_DIR}"
3     "${WEBKIT2_DIR}/Platform"
4     "${WEBKIT2_DIR}/Platform/CoreIPC"
5     "${WEBKIT2_DIR}/PluginProcess"
6     "${WEBKIT2_DIR}/Shared"
7     "${WEBKIT2_DIR}/Shared/API"
8     "${WEBKIT2_DIR}/Shared/API/c"
9     "${WEBKIT2_DIR}/Shared/CoreIPCSupport"
10     "${WEBKIT2_DIR}/Shared/Plugins"
11     "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
12     "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
13     "${WEBKIT2_DIR}/UIProcess"
14     "${WEBKIT2_DIR}/UIProcess/API"
15     "${WEBKIT2_DIR}/UIProcess/API/C"
16     "${WEBKIT2_DIR}/UIProcess/API/cpp"
17     "${WEBKIT2_DIR}/UIProcess/Authentication"
18     "${WEBKIT2_DIR}/UIProcess/CoordinatedGraphics"
19     "${WEBKIT2_DIR}/UIProcess/Downloads"
20     "${WEBKIT2_DIR}/UIProcess/Launcher"
21     "${WEBKIT2_DIR}/UIProcess/Notifications"
22     "${WEBKIT2_DIR}/UIProcess/Plugins"
23     "${WEBKIT2_DIR}/WebProcess"
24     "${WEBKIT2_DIR}/WebProcess/ApplicationCache"
25     "${WEBKIT2_DIR}/WebProcess/Authentication"
26     "${WEBKIT2_DIR}/WebProcess/Battery"
27     "${WEBKIT2_DIR}/WebProcess/Cookies"
28     "${WEBKIT2_DIR}/WebProcess/Downloads"
29     "${WEBKIT2_DIR}/WebProcess/FullScreen"
30     "${WEBKIT2_DIR}/WebProcess/Geolocation"
31     "${WEBKIT2_DIR}/WebProcess/NetworkInfo"
32     "${WEBKIT2_DIR}/WebProcess/IconDatabase"
33     "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
34     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API"
35     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c"
36     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/DOM"
37     "${WEBKIT2_DIR}/WebProcess/KeyValueStorage"
38     "${WEBKIT2_DIR}/WebProcess/Launching"
39     "${WEBKIT2_DIR}/WebProcess/MediaCache"
40     "${WEBKIT2_DIR}/WebProcess/Notifications"
41     "${WEBKIT2_DIR}/WebProcess/ResourceCache"
42     "${WEBKIT2_DIR}/WebProcess/Plugins"
43     "${WEBKIT2_DIR}/WebProcess/Plugins/Netscape"
44     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport"
45     "${WEBKIT2_DIR}/WebProcess/WebPage"
46     "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
47     "${WEBCORE_DIR}"
48     "${WEBCORE_DIR}/Modules/battery"
49     "${WEBCORE_DIR}/Modules/intents"
50     "${WEBCORE_DIR}/Modules/networkinfo"
51     "${WEBCORE_DIR}/Modules/notifications"
52     "${WEBCORE_DIR}/Modules/vibration"
53     "${WEBCORE_DIR}/accessibility"
54     "${WEBCORE_DIR}/bindings/js"
55     "${WEBCORE_DIR}/bindings"
56     "${WEBCORE_DIR}/bridge"
57     "${WEBCORE_DIR}/bridge/jsc"
58     "${WEBCORE_DIR}/css"
59     "${WEBCORE_DIR}/dom"
60     "${WEBCORE_DIR}/dom/default"
61     "${WEBCORE_DIR}/editing"
62     "${WEBCORE_DIR}/history"
63     "${WEBCORE_DIR}/html"
64     "${WEBCORE_DIR}/html/shadow"
65     "${WEBCORE_DIR}/html/track"
66     "${WEBCORE_DIR}/inspector"
67     "${WEBCORE_DIR}/loader"
68     "${WEBCORE_DIR}/loader/icon"
69     "${WEBCORE_DIR}/loader/cache"
70     "${WEBCORE_DIR}/page"
71     "${WEBCORE_DIR}/page/animation"
72     "${WEBCORE_DIR}/platform"
73     "${WEBCORE_DIR}/platform/animation"
74     "${WEBCORE_DIR}/platform/graphics"
75     "${WEBCORE_DIR}/platform/graphics/filters"
76     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
77     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
78     "${WEBCORE_DIR}/platform/graphics/surfaces"
79     "${WEBCORE_DIR}/platform/graphics/texmap"
80     "${WEBCORE_DIR}/platform/graphics/transforms"
81     "${WEBCORE_DIR}/platform/network"
82     "${WEBCORE_DIR}/platform/sql"
83     "${WEBCORE_DIR}/platform/text"
84     "${WEBCORE_DIR}/plugins"
85     "${WEBCORE_DIR}/rendering"
86     "${WEBCORE_DIR}/rendering/style"
87     "${WEBCORE_DIR}/storage"
88     "${WEBCORE_DIR}/svg"
89     "${WEBCORE_DIR}/svg/properties"
90     "${JAVASCRIPTCORE_DIR}"
91     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
92     "${JAVASCRIPTCORE_DIR}/API"
93     "${JAVASCRIPTCORE_DIR}/assembler"
94     "${JAVASCRIPTCORE_DIR}/bytecode"
95     "${JAVASCRIPTCORE_DIR}/bytecompiler"
96     "${JAVASCRIPTCORE_DIR}/collector/handles"
97     "${JAVASCRIPTCORE_DIR}/dfg"
98     "${JAVASCRIPTCORE_DIR}/disassembler"
99     "${JAVASCRIPTCORE_DIR}/heap"
100     "${JAVASCRIPTCORE_DIR}/interpreter"
101     "${JAVASCRIPTCORE_DIR}/jit"
102     "${JAVASCRIPTCORE_DIR}/parser"
103     "${JAVASCRIPTCORE_DIR}/profiler"
104     "${JAVASCRIPTCORE_DIR}/runtime"
105     "${WTF_DIR}"
106     "${DERIVED_SOURCES_DIR}"
107     "${DERIVED_SOURCES_WEBCORE_DIR}"
108     "${DERIVED_SOURCES_WEBKIT2_DIR}"
109     "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
110     "${CMAKE_BINARY_DIR}"
111     "${CMAKE_SOURCE_DIR}/Source"
112 )
113
114 SET(WebKit2_SOURCES
115     Platform/Logging.cpp
116     Platform/Module.cpp
117     Platform/WorkQueue.cpp
118
119     Platform/CoreIPC/ArgumentCoders.cpp
120     Platform/CoreIPC/ArgumentDecoder.cpp
121     Platform/CoreIPC/ArgumentEncoder.cpp
122     Platform/CoreIPC/Attachment.cpp
123     Platform/CoreIPC/BinarySemaphore.cpp
124     Platform/CoreIPC/Connection.cpp
125     Platform/CoreIPC/DataReference.cpp
126     Platform/CoreIPC/MessageReceiverMap.cpp
127
128     PluginProcess/PluginControllerProxy.cpp
129     PluginProcess/PluginCreationParameters.cpp
130     PluginProcess/PluginProcess.cpp
131     PluginProcess/WebProcessConnection.cpp
132
133     Shared/APIClientTraits.cpp
134     Shared/APIObject.cpp
135     Shared/ChildProcess.cpp
136     Shared/DictionaryPopupInfo.cpp
137     Shared/EditorState.cpp
138     Shared/FontInfo.cpp
139     Shared/ImmutableArray.cpp
140     Shared/ImmutableDictionary.cpp
141     Shared/IntentData.cpp
142     Shared/IntentServiceInfo.cpp
143     Shared/MutableArray.cpp
144     Shared/MutableDictionary.cpp
145     Shared/OriginAndDatabases.cpp
146     Shared/PlatformPopupMenuData.cpp
147     Shared/PrintInfo.cpp
148     Shared/SecurityOriginData.cpp
149     Shared/SessionState.cpp
150     Shared/ShareableBitmap.cpp
151     Shared/ShareableSurface.cpp
152     Shared/StatisticsData.cpp
153     Shared/SurfaceUpdateInfo.cpp
154     Shared/UpdateInfo.cpp
155     Shared/VisitedLinkTable.cpp
156     Shared/WebBackForwardListItem.cpp
157     Shared/WebBatteryStatus.cpp
158     Shared/WebConnection.cpp
159     Shared/WebConnectionClient.cpp
160     Shared/WebContextMenuItem.cpp
161     Shared/WebContextMenuItemData.cpp
162     Shared/WebCoreArgumentCoders.cpp
163     Shared/WebError.cpp
164     Shared/WebEvent.cpp
165     Shared/WebEventConversion.cpp
166     Shared/WebGeolocationPosition.cpp
167     Shared/WebGestureEvent.cpp
168     Shared/WebGraphicsContext.cpp
169     Shared/WebHitTestResult.cpp
170     Shared/WebImage.cpp
171     Shared/WebIntentServiceInfo.cpp
172     Shared/WebKeyboardEvent.cpp
173     Shared/WebLayerTreeInfo.cpp
174     Shared/WebMemorySampler.cpp
175     Shared/WebMouseEvent.cpp
176     Shared/WebNetworkInfo.cpp
177     Shared/WebOpenPanelParameters.cpp
178     Shared/WebPageCreationParameters.cpp
179     Shared/WebPageGroupData.cpp
180     Shared/WebPlatformTouchPoint.cpp
181     Shared/WebPopupItem.cpp
182     Shared/WebPreferencesStore.cpp
183     Shared/WebProcessCreationParameters.cpp
184     Shared/WebRenderLayer.cpp
185     Shared/WebRenderObject.cpp
186     Shared/WebTouchEvent.cpp
187     Shared/WebURLRequest.cpp
188     Shared/WebURLResponse.cpp
189     Shared/WebWheelEvent.cpp
190
191     Shared/API/c/WKArray.cpp
192     Shared/API/c/WKCertificateInfo.cpp
193     Shared/API/c/WKConnectionRef.cpp
194     Shared/API/c/WKContextMenuItem.cpp
195     Shared/API/c/WKData.cpp
196     Shared/API/c/WKDictionary.cpp
197     Shared/API/c/WKError.cpp
198     Shared/API/c/WKGeometry.cpp
199     Shared/API/c/WKGraphicsContext.cpp
200     Shared/API/c/WKImage.cpp
201     Shared/API/c/WKMutableArray.cpp
202     Shared/API/c/WKMutableDictionary.cpp
203     Shared/API/c/WKNumber.cpp
204     Shared/API/c/WKRenderLayer.cpp
205     Shared/API/c/WKRenderObject.cpp
206     Shared/API/c/WKSecurityOrigin.cpp
207     Shared/API/c/WKSerializedScriptValue.cpp
208     Shared/API/c/WKString.cpp
209     Shared/API/c/WKType.cpp
210     Shared/API/c/WKURL.cpp
211     Shared/API/c/WKURLRequest.cpp
212     Shared/API/c/WKURLResponse.cpp
213     Shared/API/c/WKUserContentURLPattern.cpp
214
215     Shared/Plugins/NPIdentifierData.cpp
216     Shared/Plugins/NPObjectMessageReceiver.cpp
217     Shared/Plugins/NPObjectProxy.cpp
218     Shared/Plugins/NPRemoteObjectMap.cpp
219     Shared/Plugins/NPVariantData.cpp
220     Shared/Plugins/PluginModuleInfo.cpp
221     Shared/Plugins/PluginProcessCreationParameters.cpp
222
223     Shared/Plugins/Netscape/NetscapePluginModule.cpp
224     Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
225
226     UIProcess/BackingStore.cpp
227     UIProcess/DrawingAreaProxy.cpp
228     UIProcess/DrawingAreaProxyImpl.cpp
229     UIProcess/FindIndicator.cpp
230     UIProcess/GeolocationPermissionRequestManagerProxy.cpp
231     UIProcess/GeolocationPermissionRequestProxy.cpp
232
233     UIProcess/ResponsivenessTimer.cpp
234     UIProcess/VisitedLinkProvider.cpp
235     UIProcess/WebApplicationCacheManagerProxy.cpp
236     UIProcess/WebBackForwardList.cpp
237     UIProcess/WebBatteryManagerProxy.cpp
238     UIProcess/WebBatteryProvider.cpp
239     UIProcess/WebColorChooserProxy.cpp
240     UIProcess/WebColorPickerResultListenerProxy.cpp
241     UIProcess/WebConnectionToWebProcess.cpp
242     UIProcess/WebContext.cpp
243     UIProcess/WebContextConnectionClient.cpp
244     UIProcess/WebContextInjectedBundleClient.cpp
245     UIProcess/WebContextMenuProxy.cpp
246     UIProcess/WebCookieManagerProxy.cpp
247     UIProcess/WebCookieManagerProxyClient.cpp
248     UIProcess/WebDatabaseManagerProxy.cpp
249     UIProcess/WebDatabaseManagerProxyClient.cpp
250     UIProcess/WebDownloadClient.cpp
251     UIProcess/WebEditCommandProxy.cpp
252     UIProcess/WebFindClient.cpp
253     UIProcess/WebFormClient.cpp
254     UIProcess/WebFormSubmissionListenerProxy.cpp
255     UIProcess/WebFrameListenerProxy.cpp
256     UIProcess/WebFramePolicyListenerProxy.cpp
257     UIProcess/WebFrameProxy.cpp
258     UIProcess/WebFullScreenManagerProxy.cpp
259     UIProcess/WebGeolocationManagerProxy.cpp
260     UIProcess/WebGeolocationProvider.cpp
261     UIProcess/WebGrammarDetail.cpp
262     UIProcess/WebHistoryClient.cpp
263     UIProcess/WebIconDatabase.cpp
264     UIProcess/WebIconDatabaseClient.cpp
265     UIProcess/WebInspectorProxy.cpp
266     UIProcess/WebIntentData.cpp
267     UIProcess/WebKeyValueStorageManagerProxy.cpp
268
269     UIProcess/WebLoaderClient.cpp
270     UIProcess/WebMediaCacheManagerProxy.cpp
271     UIProcess/WebNavigationData.cpp
272     UIProcess/WebNetworkInfoManagerProxy.cpp
273     UIProcess/WebNetworkInfoProvider.cpp
274     UIProcess/WebOpenPanelResultListenerProxy.cpp
275     UIProcess/WebPageContextMenuClient.cpp
276     UIProcess/WebPageGroup.cpp
277     UIProcess/WebPageProxy.cpp
278     UIProcess/WebPolicyClient.cpp
279     UIProcess/WebPreferences.cpp
280     UIProcess/WebProcessProxy.cpp
281     UIProcess/WebResourceCacheManagerProxy.cpp
282     UIProcess/WebResourceLoadClient.cpp
283     UIProcess/WebTextChecker.cpp
284     UIProcess/WebTextCheckerClient.cpp
285     UIProcess/WebUIClient.cpp
286     UIProcess/WebVibrationProvider.cpp
287     UIProcess/WebVibrationProxy.cpp
288
289     UIProcess/API/C/WKApplicationCacheManager.cpp
290     UIProcess/API/C/WKAuthenticationChallenge.cpp
291     UIProcess/API/C/WKAuthenticationDecisionListener.cpp
292     UIProcess/API/C/WKBackForwardList.cpp
293     UIProcess/API/C/WKBackForwardListItem.cpp
294     UIProcess/API/C/WKBatteryManager.cpp
295     UIProcess/API/C/WKBatteryStatus.cpp
296     UIProcess/API/C/WKColorPickerResultListener.cpp
297     UIProcess/API/C/WKContext.cpp
298     UIProcess/API/C/WKCookieManager.cpp
299     UIProcess/API/C/WKCredential.cpp
300     UIProcess/API/C/WKDatabaseManager.cpp
301     UIProcess/API/C/WKDownload.cpp
302     UIProcess/API/C/WKFormSubmissionListener.cpp
303     UIProcess/API/C/WKFrame.cpp
304     UIProcess/API/C/WKFramePolicyListener.cpp
305     UIProcess/API/C/WKGeolocationManager.cpp
306     UIProcess/API/C/WKGeolocationPermissionRequest.cpp
307     UIProcess/API/C/WKGeolocationPosition.cpp
308     UIProcess/API/C/WKGrammarDetail.cpp
309     UIProcess/API/C/WKHitTestResult.cpp
310     UIProcess/API/C/WKIconDatabase.cpp
311     UIProcess/API/C/WKInspector.cpp
312     UIProcess/API/C/WKIntentData.cpp
313     UIProcess/API/C/WKIntentServiceInfo.cpp
314     UIProcess/API/C/WKKeyValueStorageManager.cpp
315     UIProcess/API/C/WKMediaCacheManager.cpp
316     UIProcess/API/C/WKNavigationData.cpp
317     UIProcess/API/C/WKNetworkInfo.cpp
318     UIProcess/API/C/WKNetworkInfoManager.cpp
319     UIProcess/API/C/WKNotification.cpp
320     UIProcess/API/C/WKNotificationManager.cpp
321     UIProcess/API/C/WKNotificationPermissionRequest.cpp
322     UIProcess/API/C/WKOpenPanelParameters.cpp
323     UIProcess/API/C/WKOpenPanelResultListener.cpp
324     UIProcess/API/C/WKPage.cpp
325     UIProcess/API/C/WKPageGroup.cpp
326     UIProcess/API/C/WKPluginSiteDataManager.cpp
327     UIProcess/API/C/WKPreferences.cpp
328     UIProcess/API/C/WKProtectionSpace.cpp
329     UIProcess/API/C/WKResourceCacheManager.cpp
330     UIProcess/API/C/WKTextChecker.cpp
331     UIProcess/API/C/WKVibration.cpp
332
333     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
334     UIProcess/Authentication/AuthenticationDecisionListener.cpp
335     UIProcess/Authentication/WebCredential.cpp
336     UIProcess/Authentication/WebProtectionSpace.cpp
337
338     UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp
339     UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp
340     UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp
341     
342     UIProcess/Downloads/DownloadProxy.cpp
343
344     UIProcess/InspectorServer/WebInspectorServer.cpp
345     UIProcess/InspectorServer/WebSocketServer.cpp
346     UIProcess/InspectorServer/WebSocketServerConnection.cpp
347
348     UIProcess/Launcher/ProcessLauncher.cpp
349
350     UIProcess/Notifications/NotificationPermissionRequest.cpp
351     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
352     UIProcess/Notifications/WebNotification.cpp
353     UIProcess/Notifications/WebNotificationManagerProxy.cpp
354     UIProcess/Notifications/WebNotificationProvider.cpp
355
356     UIProcess/Plugins/PluginInfoStore.cpp
357     UIProcess/Plugins/PluginProcessManager.cpp
358     UIProcess/Plugins/PluginProcessProxy.cpp
359     UIProcess/Plugins/WebPluginSiteDataManager.cpp
360
361     WebProcess/WebConnectionToUIProcess.cpp
362     WebProcess/WebProcess.cpp
363
364     WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
365
366     WebProcess/Authentication/AuthenticationManager.cpp
367
368     WebProcess/Battery/WebBatteryManager.cpp
369
370     WebProcess/Cookies/WebCookieManager.cpp
371
372     WebProcess/Downloads/Download.cpp
373     WebProcess/Downloads/DownloadAuthenticationClient.cpp
374     WebProcess/Downloads/DownloadManager.cpp
375
376     WebProcess/FullScreen/WebFullScreenManager.cpp
377
378     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
379     WebProcess/Geolocation/WebGeolocationManager.cpp
380
381     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
382
383     WebProcess/InjectedBundle/InjectedBundle.cpp
384     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
385     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
386     WebProcess/InjectedBundle/InjectedBundleClient.cpp
387     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
388     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
389     WebProcess/InjectedBundle/InjectedBundleIntent.cpp
390     WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp
391     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
392     WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
393     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
394     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
395     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
396     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
397     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
398     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
399     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
400     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
401     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
402
403     WebProcess/InjectedBundle/API/c/WKBundle.cpp
404     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
405     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
406     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
407     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
408     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
409     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
410     WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp
411     WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
412     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
413     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
414     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
415     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
416     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
417     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
418     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
419
420     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
421     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
422
423     WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp
424
425     WebProcess/MediaCache/WebMediaCacheManager.cpp
426
427     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
428
429     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
430     WebProcess/Notifications/WebNotificationManager.cpp
431
432     WebProcess/Plugins/Plugin.cpp
433     WebProcess/Plugins/PluginProcessConnection.cpp
434     WebProcess/Plugins/PluginProcessConnectionManager.cpp
435     WebProcess/Plugins/PluginProxy.cpp
436     WebProcess/Plugins/PluginView.cpp
437
438     WebProcess/Plugins/Netscape/JSNPMethod.cpp
439     WebProcess/Plugins/Netscape/JSNPObject.cpp
440     WebProcess/Plugins/Netscape/NPJSObject.cpp
441     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
442     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
443     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
444     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
445     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
446     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
447
448     WebProcess/ResourceCache/WebResourceCacheManager.cpp
449
450     WebProcess/WebCoreSupport/WebBatteryClient.cpp
451     WebProcess/WebCoreSupport/WebChromeClient.cpp
452     WebProcess/WebCoreSupport/WebColorChooser.cpp
453     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
454     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
455     WebProcess/WebCoreSupport/WebDragClient.cpp
456     WebProcess/WebCoreSupport/WebEditorClient.cpp
457     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
458     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
459     WebProcess/WebCoreSupport/WebInspectorClient.cpp
460     WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
461     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
462     WebProcess/WebCoreSupport/WebNotificationClient.cpp
463     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
464     WebProcess/WebCoreSupport/WebPopupMenu.cpp
465     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
466     WebProcess/WebCoreSupport/WebVibrationClient.cpp
467
468     WebProcess/WebPage/DecoderAdapter.cpp
469     WebProcess/WebPage/DrawingArea.cpp
470     WebProcess/WebPage/DrawingAreaImpl.cpp
471     WebProcess/WebPage/EncoderAdapter.cpp
472     WebProcess/WebPage/EventDispatcher.cpp
473     WebProcess/WebPage/FindController.cpp
474
475     WebProcess/WebPage/AreaAllocator.cpp
476     WebProcess/WebPage/LayerTreeHost.cpp
477     WebProcess/WebPage/PageOverlay.cpp
478     WebProcess/WebPage/TapHighlightController.cpp
479     WebProcess/WebPage/UpdateAtlas.cpp
480     WebProcess/WebPage/WebBackForwardListProxy.cpp
481     WebProcess/WebPage/WebContextMenu.cpp
482     WebProcess/WebPage/WebFrame.cpp
483     WebProcess/WebPage/WebInspector.cpp
484     WebProcess/WebPage/WebOpenPanelResultListener.cpp
485     WebProcess/WebPage/WebPage.cpp
486     WebProcess/WebPage/WebPageGroupProxy.cpp
487     WebProcess/WebPage/WebUndoStep.cpp
488
489     WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp
490     WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp
491     WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp
492 )
493
494 SET(WebKit2_MESSAGES_IN_FILES
495     PluginProcess/PluginControllerProxy.messages.in
496     PluginProcess/PluginProcess.messages.in
497     PluginProcess/WebProcessConnection.messages.in
498
499     Shared/WebConnection.messages.in
500
501     Shared/Plugins/NPObjectMessageReceiver.messages.in
502
503     UIProcess/DrawingAreaProxy.messages.in
504     UIProcess/WebApplicationCacheManagerProxy.messages.in
505     UIProcess/WebBatteryManagerProxy.messages.in
506     UIProcess/WebContext.messages.in
507     UIProcess/WebCookieManagerProxy.messages.in
508     UIProcess/WebDatabaseManagerProxy.messages.in
509     UIProcess/WebFullScreenManagerProxy.messages.in
510     UIProcess/WebGeolocationManagerProxy.messages.in
511     UIProcess/WebIconDatabase.messages.in
512     UIProcess/WebInspectorProxy.messages.in
513     UIProcess/WebKeyValueStorageManagerProxy.messages.in
514     UIProcess/WebMediaCacheManagerProxy.messages.in
515     UIProcess/WebNetworkInfoManagerProxy.messages.in
516     UIProcess/WebPageProxy.messages.in
517     UIProcess/WebProcessProxy.messages.in
518     UIProcess/WebResourceCacheManagerProxy.messages.in
519     UIProcess/WebVibrationProxy.messages.in
520
521
522     UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in
523     
524     UIProcess/Downloads/DownloadProxy.messages.in
525
526     UIProcess/Notifications/WebNotificationManagerProxy.messages.in
527
528     UIProcess/Plugins/PluginProcessProxy.messages.in
529
530     WebProcess/WebProcess.messages.in
531
532     WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
533
534     WebProcess/Authentication/AuthenticationManager.messages.in
535
536     WebProcess/Battery/WebBatteryManager.messages.in
537
538     WebProcess/Cookies/WebCookieManager.messages.in
539
540     WebProcess/FullScreen/WebFullScreenManager.messages.in
541
542     WebProcess/Geolocation/WebGeolocationManager.messages.in
543
544     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
545
546     WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in
547
548     WebProcess/MediaCache/WebMediaCacheManager.messages.in
549
550     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
551
552     WebProcess/Notifications/WebNotificationManager.messages.in
553
554     WebProcess/Plugins/PluginProcessConnection.messages.in
555     WebProcess/Plugins/PluginProxy.messages.in
556
557     WebProcess/ResourceCache/WebResourceCacheManager.messages.in
558
559     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
560
561     WebProcess/WebPage/DrawingArea.messages.in
562     WebProcess/WebPage/EventDispatcher.messages.in
563     WebProcess/WebPage/WebInspector.messages.in
564     WebProcess/WebPage/WebPage.messages.in
565     WebProcess/WebPage/WebPageGroupProxy.messages.in
566
567     WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.messages.in
568 )
569
570 SET(WebProcess_EXECUTABLE_NAME WebProcess)
571
572 SET(WebProcess_LIBRARIES
573     ${JavaScriptCore_LIBRARY_NAME}
574     ${WebCore_LIBRARY_NAME}
575     ${WebKit2_LIBRARY_NAME}
576 )
577
578 SET(WebKit2_LIBRARIES
579     ${WebCore_LIBRARY_NAME}
580 )
581
582 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
583
584 # Create JavaScript C++ code given an IDL input
585 FOREACH (_file ${WebKit2_MESSAGES_IN_FILES})
586     GET_FILENAME_COMPONENT (_name ${_file} NAME_WE)
587     ADD_CUSTOM_COMMAND(
588         OUTPUT ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
589         MAIN_DEPENDENCY ${_file}
590         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-message-receiver.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp
591         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-messages-header.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
592         WORKING_DIRECTORY ${WEBKIT2_DIR}
593         VERBATIM)
594
595     LIST(APPEND WebKit2_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp)
596 ENDFOREACH ()
597
598 ADD_DEFINITIONS(-DBUILDING_WEBKIT)
599 INCLUDE_DIRECTORIES(${WebKit2_INCLUDE_DIRECTORIES})
600 ADD_LIBRARY(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
601
602 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
603 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingHeaders_NAME})
604 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
605 TARGET_LINK_LIBRARIES(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARIES})
606 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
607 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
608
609 ADD_EXECUTABLE(${WebProcess_EXECUTABLE_NAME} ${WebProcess_SOURCES})
610 TARGET_LINK_LIBRARIES(${WebProcess_EXECUTABLE_NAME} ${WebProcess_LIBRARIES})
611 SET_TARGET_PROPERTIES(${WebProcess_EXECUTABLE_NAME} PROPERTIES FOLDER "WebKit")
612
613 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
614
615 INSTALL(TARGETS ${WebKit2_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")
616 INSTALL(TARGETS ${WebProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")