[WK2][GTK] REGRESSION (r143463): unit test failure in WebKit2APITests/TestContextMenu
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2013-02-26  Manuel Rego Casasnovas  <rego@igalia.com>
2
3         [WK2][GTK] REGRESSION (r143463): unit test failure in WebKit2APITests/TestContextMenu
4         https://bugs.webkit.org/show_bug.cgi?id=110869
5
6         Reviewed by Martin Robinson.
7
8         Test was failing because of new media controls needs more space to be
9         painted than just 10x10 pixels.
10
11         * UIProcess/API/gtk/tests/TestContextMenu.cpp:
12         (testContextMenuDefaultMenu): Modified test in order to give more space
13         to the media controls.
14
15 2013-02-26  Dean Jackson  <dino@apple.com>
16
17         Draw intermediate snapshots if possible
18         https://bugs.webkit.org/show_bug.cgi?id=110811
19
20         Reviewed by Simon Fraser.
21
22         After http://webkit.org/b/110495 we delayed snapshotting until we've
23         received a nice image, but this made the page look like it is broken.
24         We should draw any intermediate snapshots that we find, which might
25         include content such as progress bars/spinners.
26
27         * WebProcess/Plugins/PluginView.cpp:
28         (WebKit): Reinstate 60 attempts at snapshots before giving up.
29         (WebKit::PluginView::isAcceleratedCompositingEnabled): We do not
30         want accelerated compositing enabled when we are trying to capture
31         snapshots.
32
33 2013-02-26  Andras Becsi  <andras.becsi@digia.com>
34
35         Remove nonexistent StringPairVector.h from Target.pri after r142839
36
37         Unreviewed gardening.
38
39         * Target.pri:
40
41 2013-02-26  Simon Hausmann  <simon.hausmann@digia.com>
42
43         Unreviewed trivial !ENABLE(NETSCAPE_PLUGIN_API) build fix
44
45         Add an intermediate pluginName string variable instead of
46         accessing plugin.info outside the feature #ifdef.
47
48         * UIProcess/WebPageProxy.cpp:
49         (WebKit::WebPageProxy::unavailablePluginButtonClicked):
50
51 2013-02-25  Huang Dongsung  <luxtella@company100.net>
52
53         Coordinated Graphics: remove redundant update of non compositing layer.
54         https://bugs.webkit.org/show_bug.cgi?id=110444
55
56         Reviewed by Noam Rosenthal.
57
58         Currently, we update non compositing layer when the page scrolled. However, it
59         is not needed, because TiledBackingStore can scroll without tile update.
60
61         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
62         (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
63         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
64         (CoordinatedLayerTreeHost):
65
66 2013-02-25  Jer Noble  <jer.noble@apple.com>
67
68         REGRESSION(r143981): Crash in WebFrameLoaderClient::dispatchDidStartProvisionalLoad()
69         https://bugs.webkit.org/show_bug.cgi?id=110848
70
71         Reviewed by Ryosuke Niwa.
72
73         NULL-check the result of document->documentElement().
74
75         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
76         (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
77
78 2013-02-25  Anders Carlsson  <andersca@apple.com>
79
80         Add a new unavailablePluginButtonClicked callback that takes a WKDictionary of plug-in information
81         https://bugs.webkit.org/show_bug.cgi?id=110821
82
83         Reviewed by Beth Dakin.
84
85         * UIProcess/API/C/WKPage.cpp:
86         (WKPageGetPluginInformationPluginspageAttributeURLKey):
87         (WKPageGetPluginInformationPluginURLKey):
88         Add two new API key getters.
89         
90         * UIProcess/API/C/WKPage.h:
91         Add a new callback and deprecate the old callback.
92         
93         * UIProcess/WebLoaderClient.cpp:
94         (WebKit::WebLoaderClient::didFailToInitializePlugin):
95         (WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
96         (WebKit::WebLoaderClient::pluginLoadPolicy):
97         Make the pluginInformationDictionary a static member function of WebPageProxy so it
98         can be called from WebUIClient as well.
99         
100         * UIProcess/WebPageProxy.cpp:
101         (WebKit::WebPageProxy::getPluginPath):
102         Pass the bundle version as well.
103
104         (WebKit::WebPageProxy::pluginInformationPluginspageAttributeURLKey):
105         (WebKit::WebPageProxy::pluginInformationPluginURLKey):
106         Add two new keys.
107
108         (WebKit::WebPageProxy::pluginInformationDictionary):
109         Handle more keys.
110
111         (WebKit::WebPageProxy::unavailablePluginButtonClicked):
112         Get the plug-in bundle identifier and version.
113
114         * UIProcess/WebPageProxy.messages.in:
115         Pass along more information; the frame and page URLs.
116
117         * UIProcess/WebUIClient.cpp:
118         (WebKit::WebUIClient::unavailablePluginButtonClicked):
119         Call the new callback if it's supported.
120
121         * UIProcess/WebUIClient.h:
122         (WebUIClient):
123         * UIProcess/mac/WebInspectorProxyMac.mm:
124         (WebKit::WebInspectorProxy::platformCreateInspectorPage):
125         Update for API changes.
126
127         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
128         (WebKit::WebChromeClient::unavailablePluginButtonClicked):
129         Ensure that the pluginspage attribute is a valid URL.
130
131 2013-02-21  Jeffrey Pfau  <jpfau@apple.com>
132
133         Optionally partition cache to prevent using cache for tracking
134         https://bugs.webkit.org/show_bug.cgi?id=110269
135
136         Reviewed by Maciej Stachowiak.
137
138         Update WKSI bindings and add feature defines.
139
140         * Configurations/FeatureDefines.xcconfig: Add defines for cache partitioning and public suffix list usage
141         * WebCoreSupport/WebSystemInterface.mm:
142         (InitWebCoreSystemInterface):
143
144 2013-02-25  Jer Noble  <jer.noble@apple.com>
145
146         Normalize ENABLE_ENCRYPTED_MEDIA definitions across all FeatureDefines files.
147         https://bugs.webkit.org/show_bug.cgi?id=110806
148
149         Ensure both ENCRYPTED_MEDIA and ENCRYPTED_MEDIA_V2 are enabled on macosx_1090.
150
151         Reviewed by Alexey Proskuryakov.
152
153         * Configurations/FeatureDefines.xcconfig:
154
155 2013-02-25  Jer Noble  <jer.noble@apple.com>
156
157         Full screen mode should not exit when application resigns active state.
158         https://bugs.webkit.org/show_bug.cgi?id=106129
159
160         Reviewed by Darin Adler.
161
162         Now that full screen windows get their own full screen space, there is no reason to exit full
163         screen mode when the application resigns active state. Instead, the windowserver will bring the
164         space containing the newly active application to the foreground. The user can then swipe back
165         to the full screen space (or use Mission Control) to get back to the full screen window.
166
167         * UIProcess/mac/WKFullScreenWindowController.mm:
168         (-[WKFullScreenWindowController windowDidLoad]): Remove the applicationDidResignActive: notification from WKFullScreenWindowController.
169
170 2013-02-25  Jer Noble  <jer.noble@apple.com>
171
172         Safari shows empty window and paints webpage in full-screen background
173         https://bugs.webkit.org/show_bug.cgi?id=103712
174
175         Reviewed by Darin Adler.
176
177         When canceling full screen mode due to a provisional load, exit normally instead of closing the
178         full screen window controller. Additionally, to ensure full screen is cancelled when the enclosing
179         frame around a full screen iframe is navigated, check to see if the navigating document contains
180         a full screen element, rather than checking whether the document itself is full screen.
181
182         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
183         (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
184
185 2013-02-25  Anders Carlsson  <andersca@apple.com>
186
187         Fix build.
188
189         * UIProcess/WebPageProxy.cpp:
190         (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
191
192 2013-02-25  Anders Carlsson  <andersca@apple.com>
193
194         Add a new pluginDidFail callback that takes a WKDictionary of plug-in information
195         https://bugs.webkit.org/show_bug.cgi?id=110793
196         <rdar://problem/13265303>
197
198         Reviewed by Sam Weinig.
199
200         Add a new pluginDidFail callback that takes a WKDictionaryRef and also pass in the
201         frame and page URLs.
202
203         * UIProcess/API/C/WKPage.h:
204         * UIProcess/WebLoaderClient.cpp:
205         (WebKit::pluginInformationDictionary):
206         (WebKit::WebLoaderClient::didFailToInitializePlugin):
207         (WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
208         (WebKit::WebLoaderClient::pluginLoadPolicy):
209         * UIProcess/WebLoaderClient.h:
210         * UIProcess/WebPageProxy.cpp:
211         (WebKit::WebPageProxy::didFailToInitializePlugin):
212         (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
213         * UIProcess/WebPageProxy.h:
214         * UIProcess/WebPageProxy.messages.in:
215         * WebProcess/Plugins/PluginView.cpp:
216         (WebKit::PluginView::didFailToInitializePlugin):
217         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
218         (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
219         * WebProcess/WebPage/WebPage.cpp:
220         (WebKit::WebPage::createPlugin):
221
222 2013-02-25  Tim Horton  <timothy_horton@apple.com>
223
224         PDFPlugin: Tab between text annotations
225         https://bugs.webkit.org/show_bug.cgi?id=106539
226         <rdar://problem/12751789>
227
228         Reviewed by Darin Adler.
229
230         Use [PDFLayerController activateNextAnnotation:] to advance focus when the tab key is hit while inside a PDF form.
231
232         Also, a drive-by fix to make the lifetime of PDFPluginAnnotationEventListener's m_annotation pointer more explicit.
233
234         * WebProcess/Plugins/PDF/PDFLayerControllerDetails.h: Add activateNextAnnotation: SPI.
235         * WebProcess/Plugins/PDF/PDFPlugin.h:
236         (PDFPlugin): Add focus(Next|Previous)Annotation.
237         * WebProcess/Plugins/PDF/PDFPlugin.mm:
238         (WebKit::PDFPlugin::focusNextAnnotation): Ask PDFLayerController to focus the next annotation.
239         (WebKit::PDFPlugin::focusPreviousAnnotation): Ask PDFLayerController to focus the next annotation.
240         * WebProcess/Plugins/PDF/PDFPluginAnnotation.h: Drive-by, initialize m_parent to 0.
241         (WebKit::PDFPluginAnnotation::PDFPluginAnnotationEventListener::setAnnotation): Added.
242         * WebProcess/Plugins/PDF/PDFPluginAnnotation.mm:
243         (WebKit::PDFPluginAnnotation::attach): Use eventNames() instead of string literals.
244         (WebKit::PDFPluginAnnotation::~PDFPluginAnnotation): Clear the event listener's reference to its annotation.
245         (WebKit::PDFPluginAnnotation::PDFPluginAnnotationEventListener::handleEvent): Null-check the event listener's annotation.
246         * WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h:
247         (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotation): Create our PDFPluginTextAnnotationEventListener.
248         (PDFPluginTextAnnotationEventListener): Added an event listener (for keydown events in form fields).
249         (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::create):
250         (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::setTextAnnotation):
251         (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::PDFPluginTextAnnotationEventListener):
252         * WebProcess/Plugins/PDF/PDFPluginTextAnnotation.mm:
253         (WebKit::PDFPluginTextAnnotation::~PDFPluginTextAnnotation): Unregister our keydown event listener.
254         (WebKit::PDFPluginTextAnnotation::createAnnotationElement): Register our keydown event listener.
255         (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::handleEvent): Ask PDFPlugin to focus
256         the next/previous annotation when the tab key is pressed (Shift-Tab goes backwards).
257
258 2013-02-25  Alexey Proskuryakov  <ap@apple.com>
259
260         <rdar://problem/12976385> Remove rule to silence attempts to create the ~/Library/Caches/com.apple.WebKit2.WebProcessService directory
261
262         Reviewed by Anders Carlsson.
263
264         * WebProcess/com.apple.WebProcess.sb.in: Remove the obsolete rule. We no longer
265         have a "WebProcessService".
266
267 2013-02-25  Andras Becsi  <andras.becsi@digia.com>
268
269         [Qt][WK2] Remove unneeded method didResumeContent from PageViewportController clients
270         https://bugs.webkit.org/show_bug.cgi?id=110751
271
272         Reviewed by Jocelyn Turcotte.
273
274         This is a clean-up in the PageViewportController clients that removes leftover
275         code from previous design that is partially unused and unnecessary, to simplify
276         the interaction between PageViewportController and clients.
277
278         * UIProcess/PageViewportController.cpp:
279         (WebKit::PageViewportController::resumeContent):
280         * UIProcess/PageViewportControllerClient.h:
281         (PageViewportControllerClient):
282         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
283         * UIProcess/efl/PageViewportControllerClientEfl.h:
284         (PageViewportControllerClientEfl):
285         * UIProcess/qt/PageViewportControllerClientQt.cpp:
286         (WebKit::PageViewportControllerClientQt::animateContentRectVisible):
287         (WebKit::PageViewportControllerClientQt::flickMoveEnded):
288         (WebKit::PageViewportControllerClientQt::resumeAndUpdateContent):
289         (WebKit::PageViewportControllerClientQt::pinchGestureCancelled):
290         * UIProcess/qt/PageViewportControllerClientQt.h:
291         (PageViewportControllerClientQt):
292
293 2013-02-25  Andreas Kling  <akling@apple.com>
294
295         Reduce amount of code that includes StylePropertySet.h
296         <http://webkit.org/b/101149>
297
298         Reviewed by Antti Koivisto.
299
300         * WebProcess/WebCoreSupport/WebEditorClient.cpp:
301
302 2013-02-24  Andreas Kling  <akling@apple.com>
303
304         Reduce include graph of JSDOMBinding.h
305         <http://webkit.org/b/110709>
306
307         Reviewed by Antti Koivisto.
308
309         * Shared/WebRenderObject.cpp:
310         (WebKit::WebRenderObject::WebRenderObject):
311         * WebProcess/Storage/StorageAreaProxy.cpp:
312
313 2013-02-22  Sam Weinig  <sam@webkit.org>
314
315         Add temporary work around for 32-bit plugins not working in production builds as XPCServices
316         https://bugs.webkit.org/show_bug.cgi?id=110680
317         <rdar://problem/13236883>
318
319         Reviewed by Anders Carlsson.
320
321         * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
322         (WebKit::shouldUseXPC):
323         Temporarily don't use XPC for plug-ins for Safari while we figure out why the
324         32-bit XPCService is being built universal.
325
326 2013-02-22  Tim Horton  <timothy_horton@apple.com>
327
328         [WK2] The root and page overlay layers should be the size of the view, not the content
329         https://bugs.webkit.org/show_bug.cgi?id=110660
330         <rdar://problem/13096456>
331
332         Reviewed by Simon Fraser.
333
334         Use the view size for the size of the root and page overlay layers.
335         For one, we never update these layers' sizes when the content size changes, causing size mismatches.
336         In addition, there's no reason an overlay shouldn't be able to draw outside of the bounds of the content.
337
338         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
339         (WebKit::TiledCoreAnimationDrawingArea::updateGeometry):
340         (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):
341
342 2013-02-22  Anders Carlsson  <andersca@apple.com>
343
344         pluginLoadStrategy should take a WKDictionaryRef for extensibility
345         https://bugs.webkit.org/show_bug.cgi?id=110656
346         <rdar://problem/13265303>
347
348         Reviewed by Jessie Berlin.
349
350         Change pluginLoadStrategy to take a WKDictionaryRef instead of a number of parameters;
351         this lets us add more plug-in information if needed. Also add the page URL and rename documentURL to frameURL.
352
353         * UIProcess/API/C/WKPage.cpp:
354         (WKPageGetPluginInformationBundleIdentifierKey):
355         (WKPageGetPluginInformationBundleVersionKey):
356         (WKPageGetPluginInformationDisplayNameKey):
357         (WKPageGetPluginInformationFrameURLKey):
358         (WKPageGetPluginInformationMIMETypeKey):
359         (WKPageGetPluginInformationPageURLKey):
360         * UIProcess/API/C/WKPage.h:
361         * UIProcess/WebLoaderClient.cpp:
362         (WebKit):
363         (WebKit::WebLoaderClient::pluginLoadPolicy):
364         * UIProcess/WebLoaderClient.h:
365         (WebLoaderClient):
366         * UIProcess/WebPageProxy.cpp:
367         (WebKit::WebPageProxy::getPluginPath):
368         (WebKit::WebPageProxy::pluginInformationBundleIdentifierKey):
369         (WebKit):
370         (WebKit::WebPageProxy::pluginInformationBundleVersionKey):
371         (WebKit::WebPageProxy::pluginInformationDisplayNameKey):
372         (WebKit::WebPageProxy::pluginInformationFrameURLKey):
373         (WebKit::WebPageProxy::pluginInformationMIMETypeKey):
374         (WebKit::WebPageProxy::pluginInformationPageURLKey):
375         * UIProcess/WebPageProxy.h:
376         (WebPageProxy):
377         * UIProcess/WebPageProxy.messages.in:
378         * WebProcess/WebPage/WebPage.cpp:
379         (WebKit::WebPage::createPlugin):
380         (WebKit::WebPage::canPluginHandleResponse):
381
382 2013-02-22  Anders Carlsson  <andersca@apple.com>
383
384         Move pluginLoadPolicy to the page loader client
385         https://bugs.webkit.org/show_bug.cgi?id=110635
386         <rdar://problem/13265303>
387         
388         Reviewed by Sam Weinig.
389
390         Move the pluginLoadPolicy callback to the page loader client where it belongs.
391
392         * UIProcess/API/C/WKPage.h:
393         * UIProcess/WebLoaderClient.cpp:
394         (WebKit::toWKPluginLoadPolicy):
395         (WebKit):
396         (WebKit::toPluginModuleLoadPolicy):
397         (WebKit::WebLoaderClient::pluginLoadPolicy):
398         * UIProcess/WebLoaderClient.h:
399         (WebLoaderClient):
400         * UIProcess/WebPageProxy.cpp:
401         (WebKit::WebPageProxy::getPluginPath):
402         * UIProcess/WebUIClient.cpp:
403         (WebKit):
404         * UIProcess/WebUIClient.h:
405         (WebUIClient):
406         * UIProcess/mac/WebInspectorProxyMac.mm:
407         (WebKit::WebInspectorProxy::platformCreateInspectorPage):
408
409 2013-02-21  Jer Noble  <jer.noble@apple.com>
410
411         Two video contollers appear after exiting the fullscreen video when using menubar to exit.
412         https://bugs.webkit.org/show_bug.cgi?id=110506
413
414         Reviewed by Eric Carlson.
415
416         When we are notified that the fullscreen window is about to exit fullscreen mode unrequested,
417         call requestExitFullScreen(), as that will result in Document::webkitExitFullScreen() correctly
418         tearing down the fullscreen state.
419
420         * UIProcess/mac/WKFullScreenWindowController.mm:
421         (-[WKFullScreenWindowController _startExitFullScreenAnimationWithDuration:]):
422
423 2013-02-22  Balazs Kelemen  <kbalazs@webkit.org>
424
425         Yet another unreviewed buildfix after r143714.
426
427         * UIProcess/efl/WebView.cpp:
428         (WebKit::WebView::paintToCairoSurface):
429
430 2013-02-22  Balazs Kelemen  <kbalazs@webkit.org>
431
432         Unreviewed preventive buildfix after my last commit.
433
434         * UIProcess/API/efl/EwkView.cpp:
435         * UIProcess/efl/WebView.cpp:
436
437 2013-02-22  Balazs Kelemen  <kbalazs@webkit.org>
438
439         [CoordGfx] Minor cleanup in CoordinatedGraphicsScene::paintToGraphicsContext
440         https://bugs.webkit.org/show_bug.cgi?id=109824
441
442         Reviewed by Andreas Kling.
443
444         Avoid ugly ifdefs by using PlatformGraphicsContext.
445
446         * UIProcess/API/efl/EwkView.cpp:
447         (EwkView::displayTimerFired):
448
449 2013-02-22  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
450
451         [WK2][EFL] Remove declaration of non-existent functions from EwkView
452         https://bugs.webkit.org/show_bug.cgi?id=110572
453
454         Reviewed by Kenneth Rohde Christiansen.
455
456         Removed declarations of non-existent EwkView::paintToCurrentGLContext() and
457         EwkView::paintToCairoSurface(cairo_surface_t*) that were accidentally
458         left at r143699.
459
460         * UIProcess/API/efl/EwkView.h:
461         (EwkView):
462
463 2013-02-22  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
464
465         [WK2][EFL] Clean up PageViewportControllerClientEfl class
466         https://bugs.webkit.org/show_bug.cgi?id=110438
467
468         Reviewed by Andreas Kling.
469
470         Cleaned up PageViewportControllerClientEfl class from unused methods
471         and class members, eliminated access to WK2 internals from this class.
472
473         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
474         (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
475         * UIProcess/efl/PageViewportControllerClientEfl.h:
476         (WebKit::PageViewportControllerClientEfl::~PageViewportControllerClientEfl):
477         (PageViewportControllerClientEfl):
478         * UIProcess/efl/WebView.cpp:
479         (WebKit::WebView::WebView):
480         (WebKit::WebView::updateViewportSize):
481
482 2013-02-22  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
483
484         [WK2][EFL][GTK][Qt] Add context menu item tags for C API
485         https://bugs.webkit.org/show_bug.cgi?id=109815
486
487         Reviewed by Anders Carlsson.
488
489         This patch adds context menu item tags used by EFL, GTK and Qt ports, defined in
490         WebCore to WK2 C API.
491
492         * Shared/API/c/WKContextMenuItemTypes.h:
493         * Shared/API/c/WKSharedAPICast.h:
494         (WebKit::toAPI):
495         (WebKit::toImpl):
496
497 2013-02-22  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
498
499         [WK2][EFL] Move AC code from EwkView to WebView
500         https://bugs.webkit.org/show_bug.cgi?id=110216
501
502         Reviewed by Anders Carlsson.
503
504         Accelerated compositing code is moved from EwkView to WebView.
505         Added new WKView API to be used from EwkView instead of direct accessing
506         to coordinated graphics scene.
507
508         * UIProcess/API/C/efl/WKView.cpp:
509         (WKViewSetUserViewportTranslation):
510         (WKViewUserViewportToContents):
511         (WKViewPaintToCurrentGLContext):
512         (WKViewPaintToCairoSurface):
513         * UIProcess/API/C/efl/WKView.h:
514
515             Added WKView API functions.
516
517         * UIProcess/API/efl/EwkView.cpp:
518         (EwkView::EwkView):
519         (EwkView::displayTimerFired):
520         (EwkView::feedTouchEvent):
521         (EwkView::createGLSurface):
522         (EwkView::handleEvasObjectCalculate):
523         (EwkView::handleEwkViewMouseWheel):
524         (EwkView::handleEwkViewMouseDown):
525         (EwkView::handleEwkViewMouseUp):
526         (EwkView::handleEwkViewMouseMove):
527         * UIProcess/API/efl/EwkView.h:
528         (EwkView):
529
530             Using new WKView API.
531
532         * UIProcess/efl/WebView.cpp:
533         (WebKit::WebView::initialize):
534         (WebKit):
535         (WebKit::WebView::paintToCurrentGLContext):
536         (WebKit::WebView::paintToCairoSurface):
537         (WebKit::WebView::userViewportToContents):
538         (WebKit::WebView::transformFromScene):
539         (WebKit::WebView::transformToScene):
540         (WebKit::WebView::coordinatedGraphicsScene):
541         (WebKit::WebView::enterAcceleratedCompositingMode):
542         (WebKit::WebView::exitAcceleratedCompositingMode):
543         * UIProcess/efl/WebView.h:
544         (WebCore):
545         (WebKit::WebView::setUserViewportTranslation):
546         (WebView):
547
548             Added WebView methods to support new WKView API.
549
550 2013-02-21  Dima Gorbik  <dgorbik@apple.com>
551
552         QuickTime plugin doesn't load when accelerated compositing is disabled
553         https://bugs.webkit.org/show_bug.cgi?id=110534
554
555         Reviewed by Anders Carlsson.
556
557         We shouldn't disable accelerated compositing for plugins, because
558         plugins such as QuickTime rely on this and will try to set other drawing
559         models that we don't support.
560
561         * WebProcess/Plugins/PluginView.cpp:
562         (WebKit::PluginView::isAcceleratedCompositingEnabled):
563
564 2013-02-21  Dean Jackson  <dino@apple.com>
565
566         Plug-in snapshotting code always accepts first snapshot
567         https://bugs.webkit.org/show_bug.cgi?id=110495
568
569         Reviewed by Tim Horton.
570
571         When we detect a plugin that can be snapshotted we start capturing
572         images until we find one that we believe isn't blank, or we timeout.
573         I introduced a regression recently where we swap renderers as
574         soon as the snapshot arrives, whether or not is is blank.
575
576         The fix was to have the embedder (currently only WK2) be the one
577         who tells the HTMLPlugInElement to start displaying snapshots.
578
579         * WebProcess/Plugins/PluginView.cpp:
580         (WebKit::PluginView::pluginSnapshotTimerFired): When we find a
581         snapshot that we like, tell the HTMLPlugInElement to move to
582         the snapshot view.
583
584 2013-02-21  Carlos Garcia Campos  <cgarcia@igalia.com>
585
586         Unreviewed. Fix make distcheck.
587
588         * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
589         scanner.
590         * GNUmakefile.list.am: Add missing header to compilation and
591         remove one that no longer exists.
592
593 2013-02-21  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
594
595         [WK2][EFL] Move PageViewportController and PageViewportControllerClientEfl out from WebView
596         https://bugs.webkit.org/show_bug.cgi?id=110345
597
598         Reviewed by Andreas Kling.
599
600         WebView does not need to know about both PageViewportController and 
601         PageViewportControllerClientEfl. Considering the fact that PageViewportController
602         will stop being WK2 internal and will be based on WK2 C API, it 
603         should be owned by EwkView rather than WebView.
604
605         This patch is also a preparation for WKViewClient API extension to cover all
606         the places where PageViewportController and PageViewportControllerClientEfl
607         are accessed directly from WebView at the moment.
608
609         * UIProcess/API/efl/EwkView.cpp:
610         (EwkView::EwkView):
611         * UIProcess/API/efl/EwkView.h:
612         (WebKit):
613         (EwkView::pageViewportControllerClient):
614         (EwkView::pageViewportController):
615         (EwkView):
616         * UIProcess/efl/WebView.cpp:
617         (WebKit::WebView::didCommitLoad):
618         (WebKit::WebView::updateViewportSize):
619         (WebKit::WebView::didChangeContentsSize):
620         (WebKit::WebView::didChangeViewportProperties):
621         (WebKit::WebView::pageDidRequestScroll):
622         (WebKit::WebView::didRenderFrame):
623         (WebKit::WebView::pageTransitionViewportReady):
624         * UIProcess/efl/WebView.h:
625         (WebView):
626
627 2013-02-20  Tim Horton  <timothy_horton@apple.com>
628
629         Provide WKView SPI to defer telling the WebPageProxy and WebProcess about changes in the hosting window
630         https://bugs.webkit.org/show_bug.cgi?id=110415
631         <rdar://problem/13095405>
632
633         Reviewed by Simon Fraser.
634
635         * UIProcess/API/mac/WKView.mm: Add _viewInWindowChangesDeferredCount and _viewInWindowChangeWasDeferred to WKViewData.
636         (-[WKView viewDidMoveToWindow]): If we're deferring window changes, don't include the ViewIsInWindow flag
637         when sending viewStateDidChange. Instead, save the fact that we want to do that later aside.
638         (-[WKView beginDeferringViewInWindowChanges]):
639         (-[WKView endDeferringViewInWindowChanges]): Straightforward begin/end pair. When we exit the last pair and
640         have a pending window change, let the WebPageProxy know. WebPageProxy will do the check to ensure that
641         the in-window state has actually changed.
642         (-[WKView isDeferringViewInWindowChanges]):
643         * UIProcess/API/mac/WKViewPrivate.h: 
644
645 2013-02-20  Kiran Muppala  <cmuppala@apple.com>
646
647         Disable window occlusion notifications for App Store on Mac.
648         https://bugs.webkit.org/show_bug.cgi?id=110417
649
650         Reviewed by Simon Fraser.
651
652         Temporary fix to workaround issues with window occlusion notifications
653         in App Store.
654
655         * UIProcess/API/mac/WKView.mm:
656         (+[WKView _registerWindowOcclusionNotificationHandlers]): Return early
657         if the main bundle identifier matches that of App Store.
658
659 2013-02-20  Mark Rowe  <mrowe@apple.com>
660
661         <https://webkit.org/b/110410> Specify the plug-in process / service entitlements via the Xcode configuration.
662
663         This is the modern mechanism for applying entitlements to production builds,
664         and it simplifies the maintenance of entitlements going forward. It also allows
665         us to fix the new XPC PluginServices to have the same entitlements as PluginProcess.
666
667         Reviewed by Alexey Proskuryakov.
668
669         * Configurations/Base.xcconfig: Ad-hoc sign all WebKit2 components.
670         * Configurations/PluginProcess.xcconfig: Specify the entitlements to use.
671         * Configurations/PluginService.32.xcconfig: Ditto.
672         * Configurations/PluginService.64.xcconfig: Ditto.
673         * Configurations/PluginService.Development.xcconfig: Ditto.
674         * Configurations/PluginService.entitlements: Renamed from Source/WebKit2/PluginProcess/mac/PluginProcess.entitlements.
675         Move the entitlements in to the Configurations directory to make them easier to find.
676         * PluginProcess/mac/add-entitlements.sh: Removed. In my testing the dependency issue mentioned
677         in the script is not an issue with current versions of Xcode. If we see it again we can come
678         up with a workaround that doesn't involve performing the signing via a script phase.
679         * WebKit2.xcodeproj/project.pbxproj:
680
681 2013-02-20  Mark Rowe  <mrowe@apple.com>
682
683         <https://webkit.org/b/110409> Remove duplication between 32- and 64-bit PluginService plists.
684
685         Reviewed by Dan Bernstein.
686
687         The only difference between the plists was the CFBundleIdentifier. Since the values are the
688         same as the product name, we can just use the value of the PRODUCT_NAME configuration setting.
689
690         * Configurations/PluginService.32.xcconfig:
691         * Configurations/PluginService.64.xcconfig:
692         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist: Renamed from Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist.
693         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist: Removed.
694
695 2013-02-20  Simon Fraser  <simon.fraser@apple.com>
696
697         Zoomed, slow-scrolling pages keep recreating tiles when scrolled
698         https://bugs.webkit.org/show_bug.cgi?id=110379
699
700         Reviewed by Tim Horton.
701
702         Make the visible rect and exposed rects passed through
703         the drawing area to the tile cache FloatRects instead of IntRects.
704
705         * UIProcess/API/mac/WKView.mm:
706         (-[WKView setFrameSize:]):
707         (-[WKView _updateWindowAndViewFrames]):
708         (-[WKView enableFrameSizeUpdates]):
709         (-[WKView setMinimumWidthForAutoLayout:]):
710         * UIProcess/WebPageProxy.h:
711         * UIProcess/mac/WebPageProxyMac.mm:
712         (WebKit::WebPageProxy::viewExposedRectChanged):
713         * WebProcess/WebPage/DrawingArea.h:
714         (WebKit::DrawingArea::setExposedRect):
715         * WebProcess/WebPage/WebPage.cpp:
716         (WebKit::WebPage::viewExposedRectChanged):
717         * WebProcess/WebPage/WebPage.h:
718         * WebProcess/WebPage/WebPage.messages.in:
719         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
720         (TiledCoreAnimationDrawingArea):
721         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
722         (WebKit::TiledCoreAnimationDrawingArea::setExposedRect):
723
724 2013-02-20  Dirk Schulze  <krit@webkit.org>
725
726         Enable CANVAS_PATH flag
727         https://bugs.webkit.org/show_bug.cgi?id=108508
728
729         Reviewed by Simon Fraser.
730
731         Enable CANVAS_PATH flag on trunk.
732
733         * Configurations/FeatureDefines.xcconfig:
734
735 2013-02-20  Laszlo Gombos  <l.gombos@samsung.com>
736
737         Remove unnecessary includes for Platform.h from headers
738         https://bugs.webkit.org/show_bug.cgi?id=110300
739
740         Reviewed by Alexey Proskuryakov.
741
742         wtf/Platform.h only need to be included in a few places directly    
743         as it is included in config.h. Remove the unnecessay duplicate as    
744         it can be confusing.
745
746         * Shared/PrintInfo.h:
747
748 2013-02-20  Huang Dongsung  <luxtella@company100.net>
749
750         [WK2] Remove m_viewportSize in WebPage.
751         https://bugs.webkit.org/show_bug.cgi?id=110311
752
753         Reviewed by Anders Carlsson.
754
755         EFL and Qt use m_viewSize as a contents size while Apple use it as a viewport
756         size, so EFL and Qt introduced m_viewportSize to make WebPage know a viewport
757         size.
758
759         EFL and Qt use m_viewSize as a contents size because the size of non compositing
760         layer is contents size, and EFL and Qt mark whole non compositing layer as dirty
761         using m_viewSize. Bug 110299 (http://webkit.org/b/110299) changes that it is not
762         necessary to know m_viewSize when marking whole non compositing layer as dirty.
763         So we can make EFL and Qt use m_viewSize as a viewport size also.
764
765         This patch removes m_viewportSize and related methods to increase readability.
766
767         * UIProcess/API/qt/raw/qrawwebview.cpp:
768         (QRawWebView::setSize):
769         * UIProcess/PageViewportController.cpp:
770         (WebKit::PageViewportController::didChangeViewportSize):
771         * UIProcess/WebPageProxy.cpp:
772         (WebKit):
773         * UIProcess/WebPageProxy.h:
774         (WebPageProxy):
775         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
776         (WebKit::WebChromeClient::pageRect):
777         (WebKit::WebChromeClient::contentsSizeChanged):
778         * WebProcess/WebPage/DrawingAreaImpl.cpp:
779         (WebKit::DrawingAreaImpl::updateBackingStoreState):
780         * WebProcess/WebPage/WebPage.cpp:
781         (WebKit::WebPage::setSize):
782         (WebKit::WebPage::sendViewportAttributesChanged):
783         * WebProcess/WebPage/WebPage.h:
784         (WebPage):
785         * WebProcess/WebPage/WebPage.messages.in:
786
787 2013-02-20  Huang Dongsung  <luxtella@company100.net>
788
789         [WK2] add setNeedsDisplay in DrawingArea to mark whole layer as dirty.
790         https://bugs.webkit.org/show_bug.cgi?id=110299
791
792         Reviewed by Anders Carlsson.
793
794         Currently, we call setNeedsDisplay with the size of WebPage to mark whole
795         backing store as dirty. However, the size of non compositing layer can be
796         inconsistent with the size of WebPage. For example, in Coordinated Graphics, the
797         size of non compositing layer is contents size.
798
799         So, WebPage should not assume the size of non compositing layer, and should just
800         call setNeedsDisplay when marking whole layer as dirty.
801
802         In addition, this patch renames from setNeedsDisplay() with a rect argument to
803         setNeedsDisplayInRect(), which matches to the terms of GraphicsLayer.
804
805         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
806         (WebKit::WebChromeClient::invalidateContentsAndRootView):
807         (WebKit::WebChromeClient::invalidateContentsForSlowScroll):
808         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
809         (WebKit::WebFrameLoaderClient::restoreViewState):
810         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
811         (WebKit::CoordinatedLayerTreeHost::setNonCompositedContentsNeedDisplay):
812         (WebKit):
813         (WebKit::CoordinatedLayerTreeHost::setNonCompositedContentsNeedDisplayInRect):
814         (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
815         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
816         (CoordinatedLayerTreeHost):
817         * WebProcess/WebPage/DrawingArea.h:
818         (DrawingArea):
819         * WebProcess/WebPage/DrawingAreaImpl.cpp:
820         (WebKit::DrawingAreaImpl::setNeedsDisplay):
821         (WebKit):
822         (WebKit::DrawingAreaImpl::setNeedsDisplayInRect):
823         (WebKit::DrawingAreaImpl::scroll):
824         (WebKit::DrawingAreaImpl::forceRepaint):
825         (WebKit::DrawingAreaImpl::didUninstallPageOverlay):
826         (WebKit::DrawingAreaImpl::setPageOverlayNeedsDisplay):
827         (WebKit::DrawingAreaImpl::resumePainting):
828         * WebProcess/WebPage/DrawingAreaImpl.h:
829         (DrawingAreaImpl):
830         * WebProcess/WebPage/LayerTreeHost.h:
831         (LayerTreeHost):
832         * WebProcess/WebPage/WebPage.cpp:
833         (WebKit::WebPage::setSize):
834         (WebKit::WebPage::setDrawsBackground):
835         (WebKit::WebPage::setDrawsTransparentBackground):
836         (WebKit::WebPage::resumeActiveDOMObjectsAndAnimations):
837         * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
838         (WebKit::LayerTreeHostGtk::setNonCompositedContentsNeedDisplay):
839         (WebKit):
840         (WebKit::LayerTreeHostGtk::setNonCompositedContentsNeedDisplayInRect):
841         (WebKit::LayerTreeHostGtk::scrollNonCompositedContents):
842         * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
843         (LayerTreeHostGtk):
844         * WebProcess/WebPage/mac/LayerTreeHostMac.h:
845         (LayerTreeHostMac):
846         * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
847         (WebKit::LayerTreeHostMac::setNonCompositedContentsNeedDisplay):
848         (WebKit):
849         (WebKit::LayerTreeHostMac::setNonCompositedContentsNeedDisplayInRect):
850         (WebKit::LayerTreeHostMac::scrollNonCompositedContents):
851         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
852         (RemoteLayerTreeDrawingArea):
853         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
854         (WebKit::RemoteLayerTreeDrawingArea::setNeedsDisplay):
855         (WebKit):
856         (WebKit::RemoteLayerTreeDrawingArea::setNeedsDisplayInRect):
857         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
858         (TiledCoreAnimationDrawingArea):
859         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
860         (WebKit::TiledCoreAnimationDrawingArea::setNeedsDisplay):
861         (WebKit):
862         (WebKit::TiledCoreAnimationDrawingArea::setNeedsDisplayInRect):
863
864 2013-02-20  Christophe Dumez  <ch.dumez@sisa.samsung.com>
865
866         [EFL][WK2] Port EwkPopupMenuItem to the C API
867         https://bugs.webkit.org/show_bug.cgi?id=108798
868
869         Reviewed by Kenneth Rohde Christiansen.
870
871         Make use of the new WKPopupItem C API inside EwkPopupMenuItem to remove
872         dependency on internal WebPopupItem type. Eina shared string members
873         are now lazily initialized to make the object cheaper to construct.
874
875         * UIProcess/API/efl/ewk_popup_menu.cpp:
876         (EwkPopupMenu::EwkPopupMenu):
877         * UIProcess/API/efl/ewk_popup_menu_item.cpp:
878         (EwkPopupMenuItem::EwkPopupMenuItem):
879         (EwkPopupMenuItem::type):
880         (EwkPopupMenuItem::textDirection):
881         (EwkPopupMenuItem::text):
882         (EwkPopupMenuItem::tooltipText):
883         (EwkPopupMenuItem::accessibilityText):
884         (EwkPopupMenuItem::hasTextDirectionOverride):
885         (EwkPopupMenuItem::isEnabled):
886         (EwkPopupMenuItem::isLabel):
887         (EwkPopupMenuItem::isSelected):
888         * UIProcess/API/efl/ewk_popup_menu_item_private.h:
889         (EwkPopupMenuItem::create):
890         (EwkPopupMenuItem):
891
892 2013-02-19  Tim Horton  <timothy_horton@apple.com>
893
894         Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
895         https://bugs.webkit.org/show_bug.cgi?id=110261
896         <rdar://problem/13196122>
897
898         Reviewed by Simon Fraser.
899
900         * WebProcess/WebPage/WebPage.cpp:
901         (WebKit::WebPage::setIsInWindow):
902         Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
903
904 2013-02-19  Conrad Shultz  <conrad_shultz@apple.com>
905
906         Allow UI clients to handle vertical wheel events.
907         https://bugs.webkit.org/show_bug.cgi?id=110006
908
909         Reviewed by Tim Horton.
910
911         Add API to allow clients to selectively control rubber-banding at vertical page extrema.
912
913         * UIProcess/API/C/WKPage.cpp:
914         (WKPageRubberBandsAtBottom):
915         Proxy for the corresponding function in WebCore::Page.
916         (WKPageSetRubberBandsAtBottom):
917         Ditto.
918         (WKPageRubberBandsAtTop):
919         Ditto.
920         (WKPageSetRubberBandsAtTop):
921         Ditto.
922
923         * UIProcess/API/C/WKPage.h:
924         Declare new API.
925
926         * UIProcess/WebPageProxy.cpp:
927         (WebKit::WebPageProxy::WebPageProxy):
928         Initialize new member variables.
929         (WebKit::WebPageProxy::setRubberBandsAtBottom):
930         New function; dispatches a matching message to the WebKit::WebPage.
931         (WebKit::WebPageProxy::setRubberBandsAtTop):
932         Ditto.
933
934         * UIProcess/WebPageProxy.h:
935         (WebPageProxy):
936         Declare new API.
937         (WebKit::WebPageProxy::rubberBandsAtBottom):
938         New accessor function.
939         (WebKit::WebPageProxy::rubberBandsAtTop):
940         Ditto.
941
942         * WebProcess/WebPage/WebPage.cpp:
943         (WebKit::WebPage::setRubberBandsAtBottom):
944         New function; call the matching function on the associated WebCore::Page.
945         (WebKit::WebPage::setRubberBandsAtTop):
946         Ditto.
947
948         * WebProcess/WebPage/WebPage.h:
949         (WebPage):
950         Declare new rubber-banding API.
951
952         * WebProcess/WebPage/WebPage.messages.in:
953         Declare new rubber-banding API.
954
955 2013-02-19  Anders Carlsson  <andersca@apple.com>
956
957         StorageAreaProxy should know its quota
958         https://bugs.webkit.org/show_bug.cgi?id=110268
959
960         Reviewed by Sam Weinig.
961
962         Begin stubbing out StorageAreaProxy::setItem and add some quota member variables.
963
964         * WebProcess/Storage/StorageAreaProxy.cpp:
965         (WebKit::StorageAreaProxy::StorageAreaProxy):
966         (WebKit::StorageAreaProxy::setItem):
967         * WebProcess/Storage/StorageAreaProxy.h:
968         (StorageAreaProxy):
969         * WebProcess/Storage/StorageNamespaceProxy.cpp:
970         (WebKit::StorageNamespaceProxy::createSessionStorageNamespace):
971         (WebKit::StorageNamespaceProxy::StorageNamespaceProxy):
972         * WebProcess/Storage/StorageNamespaceProxy.h:
973         (WebKit::StorageNamespaceProxy::quota):
974         (StorageNamespaceProxy):
975
976 2013-02-19  Alexey Proskuryakov  <ap@apple.com>
977
978         <rdar://problem/13239119> NetworkProcess generates timeout spindump logs
979
980         Reviewed by Mark Rowe.
981
982         Don't keep a window server connection in processes that don't need it, and don't
983         run an NSApplication run loop.
984
985         * Shared/ChildProcess.h:
986         * Shared/mac/ChildProcessMac.mm: (WebKit::ChildProcess::shutdownWindowServerConnection):
987         Added a function to shut down connections, and to make sure we don't get one in the future.
988
989         * NetworkProcess/mac/NetworkProcessMac.mm:
990         (WebKit::NetworkProcess::initializeProcessName):
991         * OfflineStorageProcess/mac/OfflineStorageProcessMac.mm:
992         (WebKit::OfflineStorageProcess::initializeProcessName):
993         * SharedWorkerProcess/mac/SharedWorkerProcessMac.mm:
994         (WebKit::SharedWorkerProcess::platformInitializeSharedWorkerProcess): Also removed
995         some unused includes and forward declarations.
996
997 2013-02-18  Alexey Proskuryakov  <ap@apple.com>
998
999         [WK2] Cannot load documents with blob urls
1000         https://bugs.webkit.org/show_bug.cgi?id=110160
1001
1002         Reviewed by Sam Weinig.
1003
1004         * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::canHandleRequest):
1005         Added knowledge about blobs.
1006
1007 2013-02-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1008
1009         [GTK] Move the API to get TLS certificate from WebKitURIResponse to WebKitWebView
1010         https://bugs.webkit.org/show_bug.cgi?id=110190
1011
1012         Reviewed by Anders Carlsson.
1013
1014         Add webkit_web_view_get_tls_info() and remove
1015         webkit_uri_response_get_https_status(). This way I can be sure
1016         that when called after load has been committed the certificate
1017         will be available. It also makes the API easier to use.
1018
1019         * UIProcess/API/gtk/WebKitURIResponse.cpp:
1020         * UIProcess/API/gtk/WebKitURIResponse.h:
1021         * UIProcess/API/gtk/WebKitURIResponsePrivate.h:
1022         * UIProcess/API/gtk/WebKitWebView.cpp:
1023         (webkitWebViewLoadChanged):
1024         (mainResourceResponseChangedCallback):
1025         (webkit_web_view_get_tls_info):
1026         * UIProcess/API/gtk/WebKitWebView.h:
1027         * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
1028         * UIProcess/API/gtk/tests/TestSSL.cpp:
1029
1030 2013-02-19  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1031
1032         [WK2][EFL] Eliminate access to WK2 C++ internals from ewk_view functions
1033         https://bugs.webkit.org/show_bug.cgi?id=109794
1034
1035         Reviewed by Anders Carlsson.
1036
1037         * UIProcess/API/C/efl/WKView.cpp:
1038         (WKViewSetShowsAsSource):
1039         (WKViewGetShowsAsSource):
1040
1041             Added new WKView API to wrap WebPageProxy::setMainFrameInViewSourceMode()
1042             and WebPageProxy::mainFrameInViewSourceMode() calls.
1043
1044         (WKViewExitFullScreen):
1045
1046             Added new WKView API to wrap WebFullScreenManagerProxy::exitFullScreen()
1047             calls.
1048
1049         * UIProcess/API/C/efl/WKView.h:
1050         * UIProcess/API/efl/EwkView.cpp:
1051         (EwkView::feedTouchEvent):
1052
1053             Added feedTouchEvent() method so that: at first ewk_view_feed_touch_event()
1054             is not invoked from EwkView class, secondly ewk_view_feed_touch_event() does
1055             not access WebPage instance directly.
1056
1057         (EwkView::feedTouchEvents):
1058         * UIProcess/API/efl/EwkView.h:
1059         (EwkView):
1060         * UIProcess/API/efl/ewk_view.cpp:
1061         (ewk_view_feed_touch_event):
1062         (ewk_view_pagination_mode_set):
1063         (ewk_view_pagination_mode_get):
1064         (ewk_view_fullscreen_exit):
1065         (ewkViewPageContentsCallback):
1066         (ewk_view_page_contents_get):
1067         (ewk_view_source_mode_set):
1068         (ewk_view_source_mode_get):
1069
1070             Those are now using exported C API.
1071
1072         * UIProcess/efl/WebView.cpp:
1073         (WebKit::WebView::setShowsAsSource):
1074         (WebKit):
1075         (WebKit::WebView::showsAsSource):
1076         (WebKit::WebView::exitFullScreen):
1077         * UIProcess/efl/WebView.h:
1078         (WebView):
1079
1080             Added WebView methods to support added WKView API.
1081
1082 2013-02-19  Andras Becsi  <andras.becsi@digia.com>
1083
1084         [Qt][WK2] ASSERT(node) hit in WebPage::findZoomableAreaForPoint if no zoomable area found
1085         https://bugs.webkit.org/show_bug.cgi?id=110220
1086
1087         Reviewed by Allan Sandfeld Jensen.
1088
1089         If EventHandler::bestZoomableAreaForTouchPoint was unsuccessfull, eg.
1090         no node was found for a given point, we hit ASSERT(node).
1091         We should only assert for a valid node if a zoomable area was found.
1092
1093         * WebProcess/WebPage/WebPage.cpp:
1094         (WebKit::WebPage::findZoomableAreaForPoint):
1095
1096 2013-02-19  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1097
1098         Regression(r143273): Caused a lot of tests to time out
1099         https://bugs.webkit.org/show_bug.cgi?id=110212
1100
1101         Reviewed by Anders Carlsson.
1102
1103         StorageManager::destroySessionStorageNamespace() and StorageManager::cloneSessionStorageNamespace()
1104         should call their respective "*Internal" equivalent instead of calling themselves. This lead to
1105         a lot of time outs on our build bots.
1106
1107         * UIProcess/Storage/StorageManager.cpp:
1108         (WebKit::StorageManager::destroySessionStorageNamespace):
1109         (WebKit::StorageManager::cloneSessionStorageNamespace):
1110
1111 2013-02-18  Carlos Garcia Campos  <cgarcia@igalia.com>
1112
1113         [GTK] Remove webkit_web_view_get_subresources from WebKit2 GTK+ API
1114         https://bugs.webkit.org/show_bug.cgi?id=110125
1115
1116         Reviewed by Anders Carlsson.
1117
1118         This API is currently implemented caching all resources in the
1119         WebView which causes some problems in documents loading resources
1120         indefinitely. This API was used in WebKit1 mainly to implement
1121         webkit_web_view_save(), but we already have such API in
1122         WebKit2.
1123
1124         * UIProcess/API/gtk/WebKitInjectedBundleClient.cpp:
1125         (didReceiveWebViewMessageFromInjectedBundle):
1126         * UIProcess/API/gtk/WebKitWebView.cpp:
1127         (_WebKitWebViewPrivate):
1128         (webkitWebViewLoadChanged):
1129         * UIProcess/API/gtk/WebKitWebView.h:
1130         * UIProcess/API/gtk/WebKitWebViewPrivate.h:
1131         * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
1132         * UIProcess/API/gtk/tests/TestResources.cpp:
1133         (testWebViewResources):
1134         (testWebResourceGetData):
1135
1136 2013-02-18  Christophe Dumez  <dchris@gmail.com>
1137
1138         [WK2][EFL] Stop using internal C++ API in ewk_error
1139         https://bugs.webkit.org/show_bug.cgi?id=108796
1140
1141         Reviewed by Benjamin Poulain.
1142
1143         Stop using internal C++ API in ewk_error and use C API instead of avoid
1144         violating API layering.
1145
1146         * UIProcess/API/efl/ewk_error.cpp:
1147         (EwkError::domain):
1148         (EwkError::isCancellation):
1149         (ewk_error_type_get):
1150         * UIProcess/API/efl/ewk_error_private.h:
1151         (EwkError):
1152
1153 2013-02-18  Simon Fraser  <simon.fraser@apple.com>
1154
1155         Clean up the boolean argument to visibleContentRect
1156         https://bugs.webkit.org/show_bug.cgi?id=110167
1157
1158         Reviewed by Simon Fraser.
1159         
1160         Replace the boolean argument to visibleContentRect() with
1161         an enum.
1162
1163         * WebProcess/WebPage/WebFrame.cpp:
1164         (WebKit::WebFrame::visibleContentBounds):
1165         (WebKit::WebFrame::visibleContentBoundsExcludingScrollbars):
1166
1167 2013-02-18  Anders Carlsson  <andersca@apple.com>
1168
1169         Add a DefaultHash for RefPtr<SecurityOrigin>
1170         https://bugs.webkit.org/show_bug.cgi?id=110170
1171
1172         Reviewed by Andreas Kling.
1173
1174         Remove all explicit uses of SecurityOriginHash.
1175
1176         * UIProcess/Storage/StorageManager.cpp:
1177         (StorageManager::SessionStorageNamespace):
1178         * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
1179         (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
1180         * WebProcess/InjectedBundle/InjectedBundle.cpp:
1181         (WebKit::InjectedBundle::originsWithApplicationCache):
1182         * WebProcess/Notifications/NotificationPermissionRequestManager.h:
1183         Include SecurityOriginHash.h. This fixes a bug where m_originToIDMap used pointer-equality
1184         for looking up security origins.
1185
1186         * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
1187         (WebKit::WebResourceCacheManager::clearCacheForOrigin):
1188         This can just take a const reference.
1189
1190         * WebProcess/ResourceCache/WebResourceCacheManager.h:
1191
1192 2013-02-18  Anders Carlsson  <andersca@apple.com>
1193
1194         Begin stubbing out session storage classes
1195         https://bugs.webkit.org/show_bug.cgi?id=110168
1196
1197         Reviewed by Andreas Kling.
1198
1199         * UIProcess/Storage/StorageManager.cpp:
1200         (StorageManager::StorageArea):
1201         (WebKit):
1202         (WebKit::StorageManager::StorageArea::create):
1203         (WebKit::StorageManager::StorageArea::StorageArea):
1204         (WebKit::StorageManager::StorageArea::~StorageArea):
1205         (StorageManager::SessionStorageNamespace):
1206         (WebKit::StorageManager::SessionStorageNamespace::isEmpty):
1207         (WebKit::StorageManager::SessionStorageNamespace::create):
1208         (WebKit::StorageManager::SessionStorageNamespace::SessionStorageNamespace):
1209         (WebKit::StorageManager::SessionStorageNamespace::~SessionStorageNamespace):
1210         (WebKit::StorageManager::SessionStorageNamespace::cloneTo):
1211         (WebKit::StorageManager::createSessionStorageNamespaceInternal):
1212         (WebKit::StorageManager::destroySessionStorageNamespaceInternal):
1213         (WebKit::StorageManager::cloneSessionStorageNamespaceInternal):
1214         * UIProcess/Storage/StorageManager.h:
1215         (StorageManager):
1216
1217 2013-02-18  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1218
1219         [EFL][WK2] Add C API for popup menu and popup item
1220         https://bugs.webkit.org/show_bug.cgi?id=109083
1221
1222         Reviewed by Anders Carlsson.
1223
1224         WK2 EFL delegates display of the popup menu to the browser which causes
1225         us to have a strong interdependency between internal C++ classes
1226         (WebPopupMenuProxyEfl, WebPopupItem) and our EFL API implementation
1227         (EwkView, EwkPopupMenu, EwkPopupMenuItem).
1228
1229         Since we want to remove this interdependency, this patch introduces a
1230         for WebPopupMenuProxyEfl (WKPopupMenuListener) and for WebPopupItem
1231         (WKPopupItem). It also introduces a WKPage client with callbacks for
1232         showPopupMenu and hidePopupMenu.
1233
1234         Note that the popup menu functionality is covered by ewk_popup_menu API
1235         tests and no functionality is lost.
1236
1237         * PlatformEfl.cmake: Add new files to EFL CMake config.
1238         * Shared/API/c/efl/WKBaseEfl.h: Add typedefs for WKPopupItemRef and
1239         WKPopupMenuListenerRef.
1240         * Shared/APIObject.h: Add new TypePopupMenuItem APIObject type for EFL
1241         platform.
1242         * UIProcess/API/C/efl/WKAPICastEfl.h: Add mapping for WKPopupItemRef
1243         and WKPopupMenuListenerRef API types.
1244         (WebKit):
1245         (WebKit::toAPI):
1246         * UIProcess/API/C/efl/WKPageEfl.cpp: Added.
1247         (WKPageSetUIPopupMenuClient): Add new C API to set the UI Popup Menu
1248         client on the page.
1249         * UIProcess/API/C/efl/WKPageEfl.h: Added.
1250         * UIProcess/API/C/efl/WKPopupItem.cpp: Added. Add C API for WebPopupItem.
1251         (WKPopupItemGetType):
1252         (WKPopupItemGetTextDirection):
1253         (WKPopupItemHasTextDirectionOverride):
1254         (WKPopupItemCopyText):
1255         (WKPopupItemCopyToolTipText):
1256         (WKPopupItemCopyAccessibilityText):
1257         (WKPopupItemIsEnabled):
1258         (WKPopupItemIsLabel):
1259         (WKPopupItemIsSelected):
1260         * UIProcess/API/C/efl/WKPopupItem.h: Added.
1261         * UIProcess/API/C/efl/WKPopupMenuListener.cpp: Added. Add C API for
1262         WebPopupMenuListenerEfl (formerly WebPopupMenuProxyEfl) so that the
1263         client can report which popup menu item was selected.
1264         (WKPopupMenuListenerSetSelection):
1265         * UIProcess/API/C/efl/WKPopupMenuListener.h: Added.
1266         * UIProcess/API/efl/EwkView.cpp: Remove dependency on internal C++ types
1267         (WebPopupMenuProxyEfl and WebPopupItem) and use C API types instead.
1268         (EwkView::requestPopupMenu):
1269         * UIProcess/API/efl/EwkView.h:
1270         (WebKit):
1271         (EwkView):
1272         * UIProcess/API/efl/ewk_popup_menu.cpp: Use C API for Popup menu.
1273         (EwkPopupMenu::EwkPopupMenu):
1274         (EwkPopupMenu::setSelectedIndex):
1275         * UIProcess/API/efl/ewk_popup_menu_private.h:
1276         (EwkPopupMenu::create):
1277         (EwkPopupMenu):
1278         * UIProcess/WebPageProxy.cpp: Use WKPageUIPopupMenuClient to show / hide
1279         the popup menu on EFL port instead of asking the WebPopupMenuProxy.
1280         (WebKit::WebPageProxy::close):
1281         (WebKit::WebPageProxy::showPopupMenu):
1282         (WebKit::WebPageProxy::hidePopupMenu):
1283         * UIProcess/WebPageProxy.h: Add new WKPageUIPopupMenuClient member and
1284         corresponding initialization method.
1285         (WebPageProxy):
1286         * UIProcess/WebPopupMenuProxy.h: Disable showPopupMenu / hidePopupMenu
1287         virtual methods on EFL port since we go via WKPageUIPopupMenuClient
1288         for this now.
1289         (WebPopupMenuProxy):
1290         * UIProcess/efl/PageUIClientEfl.cpp:
1291         (WebKit::PageUIClientEfl::PageUIClientEfl): Handle WKPageUIPopupMenuClient
1292         callbacks and call corresponding EwkView methods. Previously, the EwkView
1293         methods were called by the internal WebPageProxyEfl class which is no
1294         longer needed.
1295         (WebKit::PageUIClientEfl::showPopupMenu):
1296         (WebKit):
1297         (WebKit::PageUIClientEfl::hidePopupMenu):
1298         * UIProcess/efl/PageUIClientEfl.h:
1299         (PageUIClientEfl):
1300         * UIProcess/efl/WebPageProxyEfl.cpp:
1301         (WebKit::WebPageProxy::initializeUIPopupMenuClient):
1302         (WebKit):
1303         * UIProcess/efl/WebPopupItemEfl.cpp: Added. Add APIObject wrapper for
1304         WebPopupItem so that we can use it in WKPageUIPopupMenuClient.
1305         (WebKit):
1306         (WebKit::WebPopupItemEfl::WebPopupItemEfl):
1307         (WebKit::WebPopupItemEfl::~WebPopupItemEfl):
1308         * UIProcess/efl/WebPopupItemEfl.h: Added.
1309         (WebKit):
1310         (WebPopupItemEfl):
1311         (WebKit::WebPopupItemEfl::create):
1312         (WebKit::WebPopupItemEfl::data):
1313         (WebKit::WebPopupItemEfl::itemType):
1314         (WebKit::WebPopupItemEfl::text):
1315         (WebKit::WebPopupItemEfl::textDirection):
1316         (WebKit::WebPopupItemEfl::hasTextDirectionOverride):
1317         (WebKit::WebPopupItemEfl::toolTipText):
1318         (WebKit::WebPopupItemEfl::accessibilityText):
1319         (WebKit::WebPopupItemEfl::isEnabled):
1320         (WebKit::WebPopupItemEfl::isLabel):
1321         (WebKit::WebPopupItemEfl::isSelected):
1322         (WebKit::WebPopupItemEfl::type):
1323         * UIProcess/efl/WebPopupMenuListenerEfl.cpp: Renamed from Source/WebKit2/UIProcess/efl/WebPopupMenuProxyEfl.cpp.
1324         Use WebPopupMenuListenerEfl name instead of WebPopupMenuProxyEfl since
1325         it more accurately represents its functionality now.
1326         (WebKit):
1327         (WebKit::WebPopupMenuListenerEfl::WebPopupMenuListenerEfl):
1328         (WebKit::WebPopupMenuListenerEfl::valueChanged):
1329         * UIProcess/efl/WebPopupMenuListenerEfl.h: Renamed from Source/WebKit2/UIProcess/efl/WebPopupMenuProxyEfl.h.
1330         (WebKit):
1331         (WebPopupMenuListenerEfl):
1332         (WebKit::WebPopupMenuListenerEfl::create):
1333         * UIProcess/efl/WebUIPopupMenuClient.cpp: Added.
1334         (WebUIPopupMenuClient::showPopupMenu):
1335         (WebUIPopupMenuClient::hidePopupMenu):
1336         * UIProcess/efl/WebUIPopupMenuClient.h: Added.
1337         (WebKit):
1338         (WebUIPopupMenuClient):
1339         * UIProcess/efl/WebView.cpp:
1340         (WebKit::WebView::createPopupMenuProxy):
1341
1342 2013-02-18  Anders Carlsson  <andersca@apple.com>
1343
1344         Add StorageManager member functions for keeping track of session storage namespaces
1345         https://bugs.webkit.org/show_bug.cgi?id=110163
1346
1347         Reviewed by Andreas Kling.
1348
1349         * UIProcess/Storage/StorageManager.cpp:
1350         (WebKit::StorageManager::createSessionStorageNamespace):
1351         (WebKit):
1352         (WebKit::StorageManager::destroySessionStorageNamespace):
1353         (WebKit::StorageManager::cloneSessionStorageNamespace):
1354         (WebKit::StorageManager::createSessionStorageNamespaceInternal):
1355         (WebKit::StorageManager::destroySessionStorageNamespaceInternal):
1356         (WebKit::StorageManager::cloneSessionStorageNamespaceInternal):
1357         * UIProcess/Storage/StorageManager.h:
1358         (StorageManager):
1359         * UIProcess/WebContext.h:
1360         (WebKit::WebContext::storageManager):
1361         (WebContext):
1362         * UIProcess/WebPageProxy.cpp:
1363         (WebKit::WebPageProxy::WebPageProxy):
1364         (WebKit::WebPageProxy::close):
1365         (WebKit::WebPageProxy::createNewPage):
1366
1367 2013-02-18  Anders Carlsson  <andersca@apple.com>
1368
1369         StorageManager message handlers should take the connection
1370         https://bugs.webkit.org/show_bug.cgi?id=110151
1371
1372         Reviewed by Andreas Kling.
1373
1374         * Platform/CoreIPC/HandleMessage.h:
1375         (CoreIPC):
1376         (CoreIPC::callMemberFunction):
1377         (CoreIPC::handleMessage):
1378         * Scripts/webkit2/messages.py:
1379         (sync_message_statement):
1380         (generate_message_handler):
1381         * UIProcess/Storage/StorageManager.cpp:
1382         (WebKit::StorageManager::createStorageArea):
1383         (WebKit::StorageManager::destroyStorageArea):
1384         (WebKit::StorageManager::getValues):
1385         * UIProcess/Storage/StorageManager.h:
1386         (StorageManager):
1387         * UIProcess/Storage/StorageManager.messages.in:
1388
1389 2013-02-18  Christophe Dumez  <christophe.dumez@intel.com>
1390
1391         [EFL][WK2] Use C API inside ewk_security_origin
1392         https://bugs.webkit.org/show_bug.cgi?id=107923
1393
1394         Reviewed by Alexey Proskuryakov.
1395
1396         Use C API inside ewk_security_origin instead of accessing
1397         directly internal C++ classes, to avoid breaking API
1398         layering.
1399
1400         * UIProcess/API/efl/EwkView.cpp:
1401         (EwkView::enterFullScreen):
1402         * UIProcess/API/efl/ewk_security_origin.cpp:
1403         (EwkSecurityOrigin::EwkSecurityOrigin):
1404         * UIProcess/API/efl/ewk_security_origin_private.h:
1405         (EwkSecurityOrigin::create):
1406         (EwkSecurityOrigin):
1407
1408 2013-01-04  Jer Noble  <jer.noble@apple.com>
1409
1410         pinch-zooming webpage messes up full-screening of embedded video
1411         https://bugs.webkit.org/show_bug.cgi?id=106115
1412
1413         Reviewed by Maciej Stachowiak.
1414
1415         Reset the page scale when entering full screen, and reset to the original scale when exiting.
1416
1417         * UIProcess/mac/WKFullScreenWindowController.h:
1418         * UIProcess/mac/WKFullScreenWindowController.mm:
1419         (-[WKFullScreenWindowController enterFullScreen:]):
1420         (-[WKFullScreenWindowController finishedExitFullScreenAnimation:]):
1421
1422 2013-02-18  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1423
1424         [EFL][WK2] Disable failing API tests
1425         https://bugs.webkit.org/show_bug.cgi?id=110081
1426
1427         Reviewed by Kenneth Rohde Christiansen.
1428
1429         Disable EWK2UnitTestBase.ewk_view_scale API test as it is failing.
1430
1431         * UIProcess/API/efl/tests/test_ewk2_view.cpp:
1432         (TEST_F):
1433
1434 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1435
1436         [Qt][WK2] Support WK2 API tests
1437         https://bugs.webkit.org/show_bug.cgi?id=109843
1438
1439         Reviewed by Jocelyn Turcotte.
1440
1441         * UIProcess/API/qt/qquickwebview_p.h:
1442         (TestWebKitAPI):
1443
1444 2013-02-18  Andras Becsi  <andras.becsi@digia.com>
1445
1446         [Qt][WK2] Changing WebView.contentY and WebView.contentX does not redraw content
1447         https://bugs.webkit.org/show_bug.cgi?id=108337
1448
1449         Reviewed by Jocelyn Turcotte.
1450
1451         We should not ignore content position changes unless pinch zoom or bounce-back
1452         animation is ongoing.
1453         This way we notify the web process about visible rect changes if the contentX
1454         and contentY properties are used to programmatically scroll the content from QML.
1455         One important usecase for this is when implementing scrollbars.
1456
1457         * UIProcess/qt/PageViewportControllerClientQt.cpp:
1458         (WebKit::PageViewportControllerClientQt::PageViewportControllerClientQt):
1459         (WebKit::PageViewportControllerClientQt::flickMoveStarted):
1460         (WebKit::PageViewportControllerClientQt::flickMoveEnded):
1461         (WebKit::PageViewportControllerClientQt::pageItemPositionChanged):
1462         (WebKit::PageViewportControllerClientQt::scaleAnimationStateChanged):
1463         (WebKit::PageViewportControllerClientQt::pinchGestureStarted):
1464
1465 2013-02-18  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
1466
1467         [WK2][EFL] Unified text checker implementation
1468         https://bugs.webkit.org/show_bug.cgi?id=107682
1469
1470         Reviewed by Anders Carlsson.
1471
1472         * UIProcess/efl/TextCheckerEfl.cpp:
1473         (WebKit):
1474         (WebKit::nextWordOffset):
1475         Helper function to determine the word offset to do not call
1476         client's checkSpellingOfString for the word separators.
1477
1478         (WebKit::TextChecker::checkTextOfParagraph):
1479         Allow to check spelling for multiple words,
1480         their misspelling location and length are saved to the vector.
1481
1482         * WebProcess/WebCoreSupport/WebEditorClient.h:
1483         Add UNIFIED_TEXT_CHECKING guard to checkTextOfParagraph.
1484
1485         * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:
1486         (WebKit):
1487         (WebKit::WebEditorClient::checkTextOfParagraph):
1488         As spelling implementation is exposed to UIProcess,
1489         send a meesage to UIProcess to call TextChecker::checkTextOfParagraph.
1490
1491 2013-02-18  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1492
1493         [EFL][WK2] Refactor Ewk_Favicon code and stop relying on internal C++ API
1494         https://bugs.webkit.org/show_bug.cgi?id=108598
1495
1496         Reviewed by Kenneth Rohde Christiansen.
1497
1498         Refactor the Ewk_Favicon code so that it no longer relies on internal
1499         C++ API and so that it is based solely on the C API. The API is changed
1500         a little as well so that the Favicon URL is no longer exposed to the
1501         client. Also the client is now only notified of icon changes once the
1502         favicon data is actually available.
1503
1504         The API is covered by existing API tests and by MiniBrowser which are
1505         both updated accordingly in this patch.
1506
1507         * UIProcess/API/efl/EwkView.cpp:
1508         (EwkView::informURLChange):
1509         (EwkView::createFavicon):
1510         (EwkView::onFaviconChanged):
1511         * UIProcess/API/efl/EwkView.h:
1512         (EwkView):
1513         * UIProcess/API/efl/EwkViewCallbacks.h:
1514         * UIProcess/API/efl/ewk_favicon_database.cpp:
1515         Client are now notified of favicon changes only when the favicon data
1516         becomes available and make API to retrieve a favicon synchronous. NULL
1517         is returned if the favicon data is not available.
1518
1519         (EwkFaviconDatabase::EwkFaviconDatabase):
1520         (EwkFaviconDatabase::getIconSurfaceSynchronously):
1521         (EwkFaviconDatabase::iconDataReadyForPageURL):
1522         (ewk_favicon_database_icon_get):
1523         * UIProcess/API/efl/ewk_favicon_database.h:
1524         * UIProcess/API/efl/ewk_favicon_database_private.h:
1525         (EwkFaviconDatabase):
1526         * UIProcess/API/efl/ewk_view.cpp:
1527         (ewk_view_favicon_get):
1528         * UIProcess/API/efl/ewk_view.h:
1529         Rename 'icon,changed' signal to 'favicon,changed' for clarity and
1530         consistency with the rest of the favicon API. Remove API to retrieve
1531         the favicon URL and replace it by one to retrieve the favicon image as
1532         an Evas_Object instead.
1533
1534         * UIProcess/API/efl/tests/test_ewk2_favicon_database.cpp:
1535         Update API tests to use the new favicon API.
1536
1537 2013-02-17  Jae Hyun Park  <jae.park@company100.net>
1538
1539         Remove unnecessary public method DrawingAreaImpl::createGraphicsContext()
1540         https://bugs.webkit.org/show_bug.cgi?id=109893
1541
1542         Reviewed by Anders Carlsson.
1543
1544         DrawingAreaImpl::createGraphicsContext() is unnecessary since
1545         createGraphicsContext can be called directly using ShareableBitmap.
1546
1547         * WebProcess/WebPage/DrawingAreaImpl.cpp:
1548         (WebKit::DrawingAreaImpl::display):
1549         * WebProcess/WebPage/DrawingAreaImpl.h:
1550         (DrawingAreaImpl):
1551
1552 2013-02-17  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
1553
1554         [WK2][EFL] Remove fullscreen manager proxy as a message receiver on invalidate()
1555         https://bugs.webkit.org/show_bug.cgi?id=109451
1556
1557         Reviewed by Anders Carlsson.
1558
1559         Remove fullscreen manager proxy as a message receiver on invalidate(), like
1560         other ports do after r142160.
1561
1562         * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
1563         (WebKit::WebFullScreenManagerProxy::invalidate):
1564
1565 2013-02-17  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1566
1567         Regression(r143124): Caused plugins/plugin-javascript-access.html to fail
1568         https://bugs.webkit.org/show_bug.cgi?id=110053
1569
1570         Reviewed by Alexey Proskuryakov.
1571
1572         Clear m_plugins in loadPluginsIfNecessary() before populating the
1573         vector again. We get duplicates otherwise.
1574
1575         * UIProcess/Plugins/PluginInfoStore.cpp:
1576         (WebKit::PluginInfoStore::loadPluginsIfNecessary):
1577
1578 2013-02-16  Andreas Kling  <akling@apple.com>
1579
1580         Remove multi-threading gunk from PluginInfoStore.
1581         <http://webkit.org/b/110046>
1582
1583         Reviewed by Alexey Proskuryakov.
1584
1585         PluginInfoStore is never accessed from multiple threads anymore, so remove the Mutex locking
1586         and stop making isolated copies of everything.
1587
1588         * Shared/Plugins/PluginModuleInfo.h:
1589         (PluginModuleInfo):
1590         * UIProcess/Plugins/PluginInfoStore.cpp:
1591         (WebKit::PluginInfoStore::loadPluginsIfNecessary):
1592         (WebKit::PluginInfoStore::plugins):
1593         (WebKit::PluginInfoStore::findPluginForMIMEType):
1594         (WebKit::PluginInfoStore::findPluginForExtension):
1595         (WebKit::PluginInfoStore::findPlugin):
1596         (WebKit::PluginInfoStore::infoForPluginWithPath):
1597         * UIProcess/Plugins/PluginInfoStore.h:
1598         (PluginInfoStore):
1599
1600 2013-02-16  Sam Weinig  <sam@webkit.org>
1601
1602         Fix non-production builds.
1603
1604         * WebKit2.xcodeproj/project.pbxproj:
1605
1606 2013-02-16  Sam Weinig  <sam@webkit.org>
1607
1608         The Plugin.32 target does not build
1609         https://bugs.webkit.org/show_bug.cgi?id=110032
1610
1611         Reviewed by Anders Carlsson.
1612
1613         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm: Removed.
1614         This was meant to be removed already.
1615
1616         * WebKit2.xcodeproj/project.pbxproj:
1617         Add Plugin.32 as dependency in All as it should be.
1618
1619 2013-02-16  Darin Adler  <darin@apple.com>
1620
1621         Fix WKDOMRangePrivate.h mistakes
1622         https://bugs.webkit.org/show_bug.cgi?id=110028
1623
1624         Reviewed by Ryosuke Niwa.
1625
1626         * WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
1627         Added include of WKDOMRangePrivate.h.
1628
1629         * WebProcess/InjectedBundle/API/mac/WKDOMRangePrivate.h:
1630         Fixed class name and include to be WKDOMRange.
1631         Fixed method name, _copyBundleRangeHandleRef, to match the
1632         name in the source file.
1633
1634 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
1635
1636         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
1637         https://bugs.webkit.org/show_bug.cgi?id=109996
1638
1639         Reviewed by Simon Fraser.
1640
1641         * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
1642         (InitWebCoreSystemInterface):
1643
1644 2013-02-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1645
1646         Unreviewed, rolling out r143088.
1647         http://trac.webkit.org/changeset/143088
1648         https://bugs.webkit.org/show_bug.cgi?id=110000
1649
1650         Breaks the build (Requested by dgorbik on #webkit).
1651
1652         * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
1653         (InitWebCoreSystemInterface):
1654
1655 2013-02-15  Kiran Muppala  <cmuppala@apple.com>
1656
1657         Disable sudden termination on Mac
1658         https://bugs.webkit.org/show_bug.cgi?id=109990
1659
1660         Reviewed by Mark Rowe.
1661
1662         Sudden Termination is causing WebContent XPC services to be killed in
1663         response to memory pressure.  Hence, disable it until we can identify
1664         if it is being enabled in error or not.
1665
1666         * Shared/mac/ChildProcessMac.mm:
1667         (WebKit::ChildProcess::platformInitialize): Add call to
1668         [NSProcessInfo disableSuddenTermination].
1669
1670 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
1671
1672         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
1673         https://bugs.webkit.org/show_bug.cgi?id=109996
1674
1675         Reviewed by Simon Fraser.
1676
1677         * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
1678         (InitWebCoreSystemInterface):
1679
1680 2013-02-15  Adenilson Cavalcanti  <cavalcantii@gmail.com>
1681
1682         [Qt][WK2] Crash on window resize if WebProcess is closed/crashed
1683         https://bugs.webkit.org/show_bug.cgi?id=109216
1684
1685         Reviewed by Benjamin Poulain.
1686
1687         Only make calls into DrawingAreaProxy pointer after checking its state.
1688
1689         When the WebProcess was closed or crashed, WebKit::WebPageProxy will set
1690         its DrawingAreaProxy pointer to null. Resize events on UIProcess/client will
1691         try to access the object to update the geometry and forward this information
1692         into the WebProcess. This would create a crash scenario that is fixed by this patch.
1693
1694         * UIProcess/API/qt/qquickwebview.cpp:
1695         (QQuickWebViewPrivate::didRelaunchProcess):
1696         (QQuickWebViewLegacyPrivate::updateViewportSize):
1697
1698 2013-02-15  Anders Carlsson  <andersca@apple.com>
1699
1700         Add HashMap::isValidKey and HashSet::isValidValue
1701         https://bugs.webkit.org/show_bug.cgi?id=109977
1702
1703         Reviewed by Sam Weinig and Darin Adler.
1704
1705         Just call HashMap::isValidKey directly.
1706
1707         * UIProcess/WebProcessProxy.cpp:
1708         (WebKit::generatePageID):
1709         Initialize the id to 0 and use prefix increment.
1710
1711         (WebKit::WebProcessProxy::webFrame):
1712         (WebKit::WebProcessProxy::canCreateFrame):
1713         (WebKit::WebProcessProxy::didDestroyFrame):
1714
1715 2013-02-15  Csaba Osztrogonác  <ossy@webkit.org>
1716
1717         Typo fix after r143064.
1718
1719         * Platform/CoreIPC/win/ConnectionWin.cpp:
1720         (CoreIPC::Connection::sendOutgoingMessage):
1721
1722 2013-02-15  Csaba Osztrogonác  <ossy@webkit.org>
1723
1724         One more buildfix after r143052.
1725
1726         * Platform/CoreIPC/win/ConnectionWin.cpp:
1727         (CoreIPC::Connection::sendOutgoingMessage):
1728
1729 2013-02-15  Csaba Osztrogonác  <ossy@webkit.org>
1730
1731         Unreviewed buildfix after r143052 for Qt/GTK/EFL ports.
1732
1733         * Platform/unix/SharedMemoryUnix.cpp:
1734         (WebKit::SharedMemory::Handle::encode):
1735         * Platform/win/SharedMemoryWin.cpp:
1736         (WebKit::SharedMemory::Handle::encode):
1737         * Shared/Network/NetworkResourceLoadParameters.cpp:
1738         (WebKit::NetworkResourceLoadParameters::encode):
1739         * Shared/WebBatteryStatus.cpp:
1740         (WebKit::WebBatteryStatus::Data::encode):
1741         * Shared/WebNetworkInfo.cpp:
1742         (WebKit::WebNetworkInfo::Data::encode):
1743         * Shared/efl/LayerTreeContextEfl.cpp:
1744         (WebKit::LayerTreeContext::encode):
1745         * Shared/gtk/LayerTreeContextGtk.cpp:
1746         (WebKit::LayerTreeContext::encode):
1747         * Shared/qt/LayerTreeContextQt.cpp:
1748         (WebKit::LayerTreeContext::encode):
1749         * Shared/qt/QtNetworkReplyData.cpp:
1750         (WebKit::QtNetworkReplyData::encode):
1751         * Shared/qt/QtNetworkRequestData.cpp:
1752         (WebKit::QtNetworkRequestData::encode):
1753         * Shared/soup/PlatformCertificateInfo.cpp:
1754         (WebKit::PlatformCertificateInfo::encode):
1755
1756 2013-02-15  Anders Carlsson  <andersca@apple.com>
1757
1758         Make most ArgumentEncoder::encode member functions private
1759         https://bugs.webkit.org/show_bug.cgi?id=109973
1760
1761         Reviewed by Sam Weinig.
1762
1763         Make the encode overloads private; the stream operator should be used instead.
1764
1765         * Platform/CoreIPC/ArgumentEncoder.h:
1766         (ArgumentEncoder):
1767         * Platform/CoreIPC/Arguments.h:
1768         (CoreIPC::Arguments1::encode):
1769         (CoreIPC::Arguments2::encode):
1770         (CoreIPC::Arguments3::encode):
1771         (CoreIPC::Arguments4::encode):
1772         (CoreIPC::Arguments5::encode):
1773         (CoreIPC::Arguments6::encode):
1774         (CoreIPC::Arguments7::encode):
1775         (CoreIPC::Arguments8::encode):
1776         (CoreIPC::Arguments10::encode):
1777         * Platform/CoreIPC/Connection.cpp:
1778         (CoreIPC::Connection::createSyncMessageEncoder):
1779         * Platform/CoreIPC/MessageEncoder.cpp:
1780         (CoreIPC::MessageEncoder::MessageEncoder):
1781         * Scripts/webkit2/messages.py:
1782         (generate_message_handler):
1783         * Scripts/webkit2/messages_unittest.py:
1784         * Shared/Network/NetworkResourceLoadParameters.cpp:
1785         (WebKit::NetworkResourceLoadParameters::encode):
1786         * WebProcess/WebPage/EncoderAdapter.cpp:
1787         (WebKit::EncoderAdapter::EncoderAdapter):
1788         (WebKit::EncoderAdapter::encodeBytes):
1789         (WebKit::EncoderAdapter::encodeBool):
1790         (WebKit::EncoderAdapter::encodeUInt16):
1791         (WebKit::EncoderAdapter::encodeUInt32):
1792         (WebKit::EncoderAdapter::encodeUInt64):
1793         (WebKit::EncoderAdapter::encodeInt32):
1794         (WebKit::EncoderAdapter::encodeInt64):
1795         (WebKit::EncoderAdapter::encodeFloat):
1796         (WebKit::EncoderAdapter::encodeDouble):
1797         (WebKit::EncoderAdapter::encodeString):
1798
1799 2013-02-15  Anders Carlsson  <andersca@apple.com>
1800
1801         Add a synchronous GetValues message to StorageManager
1802         https://bugs.webkit.org/show_bug.cgi?id=109968
1803
1804         Reviewed by Sam Weinig.
1805
1806         * Platform/CoreIPC/Connection.cpp:
1807         (CoreIPC::Connection::dispatchWorkQueueMessageReceiverMessage):
1808         Handle synchronous messages.
1809
1810         (CoreIPC::Connection::processIncomingMessage):
1811         Check for work queue message receivers before doing any other processing.
1812
1813         * UIProcess/Storage/StorageManager.cpp:
1814         (WebKit::StorageManager::getValues):
1815         Add empty stub.
1816
1817         * UIProcess/Storage/StorageManager.h:
1818         * UIProcess/Storage/StorageManager.messages.in:
1819         Add GetValues message.
1820
1821         * WebProcess/Storage/StorageAreaProxy.cpp:
1822         (WebKit::StorageAreaProxy::loadValuesIfNeeded):
1823         Send the GetValues message.
1824
1825 2013-02-15  Anders Carlsson  <andersca@apple.com>
1826
1827         A storage area should know its storage type
1828         https://bugs.webkit.org/show_bug.cgi?id=109964
1829
1830         Reviewed by Andreas Kling.
1831
1832         * WebProcess/Storage/StorageAreaProxy.cpp:
1833         (WebKit::StorageAreaProxy::StorageAreaProxy):
1834         (WebKit::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
1835         * WebProcess/Storage/StorageAreaProxy.h:
1836         (StorageAreaProxy):
1837         * WebProcess/Storage/StorageNamespaceProxy.cpp:
1838         (WebKit::StorageNamespaceProxy::storageType):
1839         (WebKit):
1840         * WebProcess/Storage/StorageNamespaceProxy.h:
1841         (StorageNamespaceProxy):
1842
1843 2013-02-15  Anders Carlsson  <andersca@apple.com>
1844
1845         Implement StorageAreaProxy::length
1846         https://bugs.webkit.org/show_bug.cgi?id=109962
1847
1848         Reviewed by Andreas Kling.
1849
1850         * WebProcess/Storage/StorageAreaProxy.cpp:
1851         (WebKit::StorageAreaProxy::length):
1852         Load the values if needed and then return the length.
1853
1854         (WebKit::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
1855         Add helper function.
1856
1857         (WebKit::StorageAreaProxy::loadValuesIfNeeded):
1858         Just allocate the hash map for now.
1859
1860         * WebProcess/Storage/StorageAreaProxy.h:
1861         (StorageAreaProxy):
1862
1863 2013-02-15  Anders Carlsson  <andersca@apple.com>
1864
1865         Remove const from a bunch of StorageArea member functions
1866         https://bugs.webkit.org/show_bug.cgi?id=109957
1867
1868         Reviewed by Beth Dakin.
1869
1870         Update for WebCore changes.
1871
1872         * WebProcess/Storage/StorageAreaProxy.cpp:
1873         (WebKit::StorageAreaProxy::length):
1874         (WebKit::StorageAreaProxy::key):
1875         (WebKit::StorageAreaProxy::getItem):
1876         (WebKit::StorageAreaProxy::contains):
1877         (WebKit::StorageAreaProxy::canAccessStorage):
1878         (WebKit::StorageAreaProxy::memoryBytesUsedByCache):
1879         * WebProcess/Storage/StorageAreaProxy.h:
1880         (StorageAreaProxy):
1881
1882 2013-02-15  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
1883
1884         [EFL][WK2] Use C API inside BatteryProvider and NetworkInfoProvider
1885         https://bugs.webkit.org/show_bug.cgi?id=107821
1886
1887         Reviewed by Anders Carlsson.
1888
1889         BatteryProvider and NetworkInfoProvider should use C API
1890         instead of accessing the internal C++ classes directly.
1891
1892         * UIProcess/API/efl/ewk_context.cpp:
1893         (EwkContext::EwkContext):
1894         * UIProcess/efl/BatteryProvider.cpp:
1895         (BatteryProvider::~BatteryProvider):
1896         (BatteryProvider::create):
1897         (BatteryProvider::BatteryProvider):
1898         (BatteryProvider::didChangeBatteryStatus):
1899         * UIProcess/efl/BatteryProvider.h:
1900         (BatteryProvider):
1901         * UIProcess/efl/NetworkInfoProvider.cpp:
1902         (NetworkInfoProvider::create):
1903         (NetworkInfoProvider::NetworkInfoProvider):
1904         (NetworkInfoProvider::~NetworkInfoProvider):
1905         * UIProcess/efl/NetworkInfoProvider.h:
1906         (NetworkInfoProvider):
1907
1908 2013-02-15  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1909
1910         [WK2][EFL]REGRESSION (r141978): ewk_view_type_check api test failing
1911         https://bugs.webkit.org/show_bug.cgi?id=109038
1912
1913         Reviewed by Anders Carlsson.
1914
1915         EFL API is defensive by its nature and expects graceful handling of wrong function arguments
1916         whereas webkit implementation code does not. This patch adds new 'toEwkViewChecked' function,
1917         which provides handling of wrong arguments, to be used within EFL API layer code.
1918
1919         * UIProcess/API/efl/EwkView.cpp:
1920         (toEwkView):
1921
1922             EwkView* toEwkView(const Ewk_View_Smart_Data* smartData) is not exported anymore
1923             as it's used within EwkView class only.        
1924
1925         (EwkView::handleTouchMove):
1926         * UIProcess/API/efl/EwkView.h:
1927         * UIProcess/API/efl/ewk_view.cpp:
1928         (toEwkViewChecked):
1929
1930 2013-02-15  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1931
1932         [EFL][WK2] Have WebView subclass PageClient
1933         https://bugs.webkit.org/show_bug.cgi?id=109684
1934
1935         Reviewed by Anders Carlsson.
1936
1937         Stop constructing the PageClient in EwkView. PageClient is an internal
1938         class and we should not use it directly in our Ewk implementation.
1939         Instead, have WebView subclass PageClient. The PageClient implementation
1940         just calls WebView methods otherwise.
1941
1942         * PlatformEfl.cmake:
1943         * UIProcess/API/efl/EwkView.cpp:
1944         (EwkView::EwkView):
1945         (EwkView::setSize):
1946         * UIProcess/API/efl/EwkView.h:
1947         (WebKit):
1948         (EwkView):
1949         (EwkView::webView):
1950         * UIProcess/API/efl/ewk_view.cpp:
1951         * UIProcess/efl/PageClientBase.cpp: Removed.
1952         * UIProcess/efl/PageClientBase.h: Removed.
1953         * UIProcess/efl/PageClientDefaultImpl.cpp: Removed.
1954         * UIProcess/efl/PageClientDefaultImpl.h: Removed.
1955         * UIProcess/efl/PageClientLegacyImpl.cpp: Removed.
1956         * UIProcess/efl/PageClientLegacyImpl.h: Removed.
1957         * UIProcess/efl/PageLoadClientEfl.cpp:
1958         (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
1959         * UIProcess/efl/PageViewportControllerClientEfl.h:
1960         * UIProcess/efl/WebPageProxyEfl.cpp:
1961         (WebKit::WebPageProxy::viewWidget):
1962         * UIProcess/efl/WebView.cpp:
1963         (WebKit::WebView::WebView):
1964         (WebKit::WebView::~WebView):
1965         (WebKit::WebView::initialize):
1966         (WebKit):
1967         (WebKit::WebView::evasObject):
1968         (WebKit::WebView::setThemePath):
1969         (WebKit::WebView::setDrawsBackground):
1970         (WebKit::WebView::drawsBackground):
1971         (WebKit::WebView::setDrawsTransparentBackground):
1972         (WebKit::WebView::drawsTransparentBackground):
1973         (WebKit::WebView::suspendActiveDOMObjectsAndAnimations):
1974         (WebKit::WebView::resumeActiveDOMObjectsAndAnimations):
1975         (WebKit::WebView::didCommitLoad):
1976         (WebKit::WebView::updateViewportSize):
1977         (WebKit::WebView::didChangeContentsSize):
1978         (WebKit::WebView::createDrawingAreaProxy):
1979         (WebKit::WebView::setViewNeedsDisplay):
1980         (WebKit::WebView::displayView):
1981         (WebKit::WebView::scrollView):
1982         (WebKit::WebView::viewSize):
1983         (WebKit::WebView::isViewWindowActive):
1984         (WebKit::WebView::isViewFocused):
1985         (WebKit::WebView::isViewVisible):
1986         (WebKit::WebView::isViewInWindow):
1987         (WebKit::WebView::processDidCrash):
1988         (WebKit::WebView::didRelaunchProcess):
1989         (WebKit::WebView::pageClosed):
1990         (WebKit::WebView::toolTipChanged):
1991         (WebKit::WebView::setCursor):
1992         (WebKit::WebView::setCursorHiddenUntilMouseMoves):
1993         (WebKit::WebView::registerEditCommand):
1994         (WebKit::WebView::clearAllEditCommands):
1995         (WebKit::WebView::canUndoRedo):
1996         (WebKit::WebView::executeUndoRedo):
1997         (WebKit::WebView::screenToWindow):
1998         (WebKit::WebView::windowToScreen):
1999         (WebKit::WebView::doneWithKeyEvent):
2000         (WebKit::WebView::doneWithTouchEvent):
2001         (WebKit::WebView::createPopupMenuProxy):
2002         (WebKit::WebView::createContextMenuProxy):
2003         (WebKit::WebView::createColorChooserProxy):
2004         (WebKit::WebView::setFindIndicator):
2005         (WebKit::WebView::enterAcceleratedCompositingMode):
2006         (WebKit::WebView::exitAcceleratedCompositingMode):
2007         (WebKit::WebView::updateAcceleratedCompositingMode):
2008         (WebKit::WebView::didCommitLoadForMainFrame):
2009         (WebKit::WebView::didFinishLoadingDataForCustomRepresentation):
2010         (WebKit::WebView::customRepresentationZoomFactor):
2011         (WebKit::WebView::setCustomRepresentationZoomFactor):
2012         (WebKit::WebView::flashBackingStoreUpdates):
2013         (WebKit::WebView::findStringInCustomRepresentation):
2014         (WebKit::WebView::countStringMatchesInCustomRepresentation):
2015         (WebKit::WebView::updateTextInputState):
2016         (WebKit::WebView::handleDownloadRequest):
2017         (WebKit::WebView::convertToDeviceSpace):
2018         (WebKit::WebView::convertToUserSpace):
2019         (WebKit::WebView::didChangeViewportProperties):
2020         (WebKit::WebView::pageDidRequestScroll):
2021         (WebKit::WebView::didRenderFrame):
2022         (WebKit::WebView::pageTransitionViewportReady):
2023         * UIProcess/efl/WebView.h:
2024         (WebKit):
2025         (WebView):
2026         (WebKit::WebView::pageRef):
2027         (WebKit::WebView::page):
2028         (WebKit::WebView::canScrollView):
2029
2030 2013-02-15  Milian Wolff  <milian.wolff@kdab.com>
2031
2032         [Qt] Restore URL Scheme Delegates after QtWebProcess crash
2033         https://bugs.webkit.org/show_bug.cgi?id=108808
2034
2035         When the QtWebProcess crashes, the registered URL Scheme
2036         Delegates are not properly restored over IPC in the newly
2037         launched process instance.
2038
2039         Reviewed by Simon Hausmann.
2040
2041         * UIProcess/API/qt/qquickwebview.cpp:
2042         (QQuickWebViewPrivate::didRelaunchProcess):
2043         (QQuickWebViewPrivate::updateSchemeDelegates):
2044         * UIProcess/API/qt/qquickwebview_p_p.h:
2045         (QQuickWebViewPrivate):
2046
2047 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2048
2049         Simplify hitTestResultAtPoint and nodesFromRect APIs
2050         https://bugs.webkit.org/show_bug.cgi?id=95720
2051
2052         Reviewed by Julien Chaffraix and Maciej Stachowiak.
2053
2054         Update calls to new API and update exported symbols.
2055
2056         * WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp:
2057         (WebKit::InjectedBundleNavigationAction::InjectedBundleNavigationAction):
2058         * WebProcess/WebPage/WebFrame.cpp:
2059         (WebKit::WebFrame::hitTest):
2060         * WebProcess/WebPage/WebPage.cpp:
2061         (WebKit::handleContextMenuEvent):
2062         (WebKit::WebPage::highlightPotentialActivation):
2063         (WebKit::WebPage::findZoomableAreaForPoint):
2064         * WebProcess/WebPage/mac/WebPageMac.mm:
2065         (WebKit::WebPage::characterIndexForPoint):
2066         (WebKit::WebPage::performDictionaryLookupAtLocation):
2067         (WebKit::WebPage::shouldDelayWindowOrderingEvent):
2068         (WebKit::WebPage::acceptsFirstMouse):
2069
2070 2013-02-14  Huang Dongsung  <luxtella@company100.net>
2071
2072         [WK2] Rename from scrollOffset to scrollDelta in WebChromeClient.
2073         https://bugs.webkit.org/show_bug.cgi?id=109885
2074
2075         Reviewed by Simon Fraser.
2076
2077         Chrome sends a scroll delta to WebChromeClient but WebChromeClient names it
2078         scrollOffset. So this patch corrects this misnaming.
2079
2080         In addition, all subclasses of LayerTreeHost don't use the misnamed
2081         scrollOffset in scrollNonCompositedContents(), so this patch removes the
2082         scrollOffset argument.
2083
2084         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
2085         (WebKit::WebChromeClient::scroll):
2086         * WebProcess/WebCoreSupport/WebChromeClient.h:
2087         (WebChromeClient):
2088         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
2089         (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
2090         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
2091         (CoordinatedLayerTreeHost):
2092         * WebProcess/WebPage/DrawingArea.h:
2093         (DrawingArea):
2094         * WebProcess/WebPage/DrawingAreaImpl.cpp:
2095         (WebKit::DrawingAreaImpl::scroll):
2096         * WebProcess/WebPage/DrawingAreaImpl.h:
2097         (DrawingAreaImpl):
2098         * WebProcess/WebPage/LayerTreeHost.h:
2099         (LayerTreeHost):
2100         * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
2101         (WebKit::LayerTreeHostGtk::scrollNonCompositedContents):
2102         * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
2103         (LayerTreeHostGtk):
2104         * WebProcess/WebPage/mac/LayerTreeHostMac.h:
2105         (LayerTreeHostMac):
2106         * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
2107         (WebKit::LayerTreeHostMac::scrollNonCompositedContents):
2108         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
2109         (RemoteLayerTreeDrawingArea):
2110         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
2111         (WebKit::RemoteLayerTreeDrawingArea::scroll):
2112         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
2113         (TiledCoreAnimationDrawingArea):
2114         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
2115         (WebKit::TiledCoreAnimationDrawingArea::scroll):
2116
2117 2013-02-14  Alexey Proskuryakov  <ap@apple.com>
2118
2119         <rdar://problem/13161700> REGRESSION: Safari is unable to make SSL connections
2120         when running from recovery partition
2121
2122         Reviewed by Sam Weinig.
2123
2124         * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
2125         * WebProcess/com.apple.WebProcess.sb.in:
2126         Re-added /private/var/db/mds/system rules lost in r141445.
2127
2128 2013-02-14  Anders Carlsson  <andersca@apple.com>
2129
2130         Add WKContextIsPlugInUpdateAvailable
2131         https://bugs.webkit.org/show_bug.cgi?id=109862
2132         <rdar://problem/13173140>
2133
2134         Reviewed by Sam Weinig.
2135
2136         * UIProcess/API/C/mac/WKContextPrivateMac.h:
2137         * UIProcess/API/C/mac/WKContextPrivateMac.mm: Renamed from Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.cpp.
2138         (WKContextGetProcessSuppressionEnabled):
2139         (WKContextSetProcessSuppressionEnabled):
2140         (WKContextIsPlugInUpdateAvailable):
2141         * WebKit2.xcodeproj/project.pbxproj:
2142
2143 2013-02-14  Zan Dobersek  <zdobersek@igalia.com>
2144
2145         [GTK] Errors when building WebKit2 with Clang
2146         https://bugs.webkit.org/show_bug.cgi?id=109603
2147
2148         Reviewed by Alexey Proskuryakov.
2149
2150         * UIProcess/API/gtk/WebKitUIClient.cpp:
2151         (setWindowFrame): Cast the position parameters to the integer type when constructing the GdkRectangle.
2152         * UIProcess/Authentication/WebCredential.cpp: Add an empty implementation of the newly specified destructor.
2153         * UIProcess/Authentication/WebCredential.h: Work around the incomplete WebCertificateInfo type errors thrown in the inline
2154         RefPtr destructor of the m_certificateInfo class member by defining a destructor in the class.
2155         * WebProcess/WebCoreSupport/WebEditorClient.h: The GTK-specific methods are not virtual and as such cannot be overriden.
2156         The OVERRIDE keywords are thus unnecessary.
2157
2158 2013-02-14  David Kilzer  <ddkilzer@apple.com>
2159
2160         [Mac] Clean up WARNING_CFLAGS
2161         <http://webkit.org/b/109747>
2162         <rdar://problem/13208373>
2163
2164         Reviewed by Mark Rowe.
2165
2166         * Configurations/Base.xcconfig: Use
2167         GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
2168         -Wshorten-64-to-32 rather than WARNING_CFLAGS.
2169
2170 2013-02-14  Sam Weinig  <sam@webkit.org>
2171
2172         Add conversions between ObjC and C DOM wrappers
2173         <rdar://problem/13205468>
2174         https://bugs.webkit.org/show_bug.cgi?id=109851
2175
2176         Reviewed by Anders Carlsson.
2177
2178         * WebKit2.xcodeproj/project.pbxproj:
2179         * WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp:
2180         (WKBundleRangeHandleCreate):
2181         * WebProcess/InjectedBundle/API/c/WKBundleRangeHandlePrivate.h: Added.
2182         * WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
2183         (-[WKDOMNode _copyBundleNodeHandleRef]):
2184         * WebProcess/InjectedBundle/API/mac/WKDOMNodePrivate.h: Added.
2185         * WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
2186         (-[WKDOMRange _copyBundleRangeHandleRef]):
2187         * WebProcess/InjectedBundle/API/mac/WKDOMRangePrivate.h: Added.
2188         * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
2189         (WebKit::InjectedBundleRangeHandle::getOrCreate):
2190         * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h:
2191         (InjectedBundleRangeHandle):
2192
2193 2013-02-13  Anders Carlsson  <andersca@apple.com>
2194
2195         Remove StringPairVector
2196         https://bugs.webkit.org/show_bug.cgi?id=109778
2197
2198         Reviewed by Ryosuke Niwa.
2199
2200         Our message generation scripts can handle nested template parameter types now,
2201         so we no longer need to use StringPairVector.
2202
2203         * Shared/StringPairVector.h: Removed.
2204         * UIProcess/WebPageProxy.cpp:
2205         (WebKit::WebPageProxy::willSubmitForm):
2206         * UIProcess/WebPageProxy.h:
2207         (WebPageProxy):
2208         * UIProcess/WebPageProxy.messages.in:
2209         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
2210         (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
2211
2212 2013-02-13  Dean Jackson  <dino@apple.com>
2213
2214         PlugIn Autostart should expire in 30 days, not half a day
2215         https://bugs.webkit.org/show_bug.cgi?id=109767
2216
2217         Reviewed by Brian Weinstein.
2218
2219         We forgot to multiply by 60 seconds in a minute.
2220
2221         * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
2222
2223 2013-02-13  Anders Carlsson  <andersca@apple.com>
2224
2225         Message generation should handle nested templates
2226         https://bugs.webkit.org/show_bug.cgi?id=109771
2227
2228         Reviewed by Ryosuke Niwa.
2229
2230         Make it possible to have nested class template types as message parameters and
2231         correctly gather all the needed headers and argument coder headers.
2232
2233         * Scripts/webkit2/messages.py:
2234         (class_template_headers):
2235         Recursively figure out the types and template headers needed for a given type.
2236
2237         (argument_coder_headers_for_type):
2238         (headers_for_type):
2239         Call class_template_headers.
2240
2241         * Scripts/webkit2/messages_unittest.py:
2242         (CoreIPC):
2243         * Scripts/webkit2/parser.py:
2244         (split_parameters_string):
2245         (parse_parameters_string):
2246
2247 2013-02-13  David Farler  <dfarler@apple.com>
2248
2249         Make WebKit2 Derived Sources work with SDK identifiers too
2250         https://bugs.webkit.org/show_bug.cgi?id=109763
2251
2252         Reviewed by David Kilzer.
2253
2254         * WebKit2.xcodeproj/project.pbxproj: Pass SDKROOT=${SDKROOT} to DerivedSources.make
2255
2256 2013-02-13  Csaba Osztrogonác  <ossy@webkit.org>
2257
2258         One more buildfix for !ENABLE(PLUGIN_PROCESS) platforms.
2259
2260         * WebProcess/WebProcess.cpp:
2261         (WebKit::WebProcess::WebProcess):
2262
2263 2013-02-13  Csaba Osztrogonác  <ossy@webkit.org>
2264
2265         Unreviewed Qt-Mac and Qt-Win buildfix after r142768.
2266
2267         * WebProcess/WebProcess.h:
2268         (WebKit):
2269
2270 2013-02-13  Adam Barth  <abarth@webkit.org>
2271
2272         Remove bogus ASSERT in WebFrameProxy::didStartProvisionalLoad
2273         https://bugs.webkit.org/show_bug.cgi?id=109733
2274
2275         Reviewed by Sam Weinig.
2276
2277         After http://trac.webkit.org/changeset/142555, this ASSERT is
2278         triggering on these tests:
2279
2280         fast/dom/window-load-crash.html
2281         fast/frames/seamless/seamless-hyperlink-named.html
2282         fast/frames/seamless/seamless-hyperlink.html
2283
2284         The ASSERT appears to be bogus. This patch removes it.
2285
2286         * UIProcess/WebFrameProxy.cpp:
2287         (WebKit::WebFrameProxy::didStartProvisionalLoad):
2288
2289 2013-02-13  Sam Weinig  <sam@webkit.org>
2290
2291         Consolidate main functions in WebKit2 now that they are all identical
2292         https://bugs.webkit.org/show_bug.cgi?id=109748
2293
2294         Reviewed by Anders Carlsson.
2295
2296         - Consolidates all the LegacyProcess main functions into ChildProcessMain.mm
2297         - Consolidates all the XPCService main functions into XPCServiceMain.mm and XPCServiceMain.Development.mm
2298         - Rename existing ChildProcessMain.h/mm to ChildProcessEntryPoint.h/mm to match the XPCService ones.
2299         - Switch LegacyProcess to use the "entry point in the plist" idiom, instead of hard coding each one, again
2300           matching the XPCService.
2301
2302         * Configurations/BaseLegacyProcess.xcconfig: Add base configuration to hold common legacy process options.
2303         * Configurations/BaseXPCService.xcconfig:
2304         * Configurations/NetworkProcess.xcconfig:
2305         * Configurations/OfflineStorageProcess.xcconfig:
2306         * Configurations/PluginProcess.xcconfig:
2307         * Configurations/SharedWorkerProcess.xcconfig:
2308         * Configurations/WebContentProcess.xcconfig: Renamed form  WebProcess.xcconfig.
2309         * NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist:
2310         * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm:
2311         * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMainBootstrapper.cpp: Removed.
2312         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm: Removed.
2313         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm: Removed.
2314         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist:
2315         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm:
2316         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Removed.
2317         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Removed.
2318         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Removed.
2319         * PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist:
2320         * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
2321         * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMainBootstrapper.cpp: Removed.
2322         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm: Removed.
2323         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm: Removed.
2324         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h: 
2325         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm: 
2326         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h: Removed.
2327         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm: Replaced.
2328         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMainBootstrapper.h: Removed.
2329         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h: Removed.
2330         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h: Removed.
2331         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm:
2332         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm:
2333         * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/Info.plist:
2334         * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm:
2335         * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMainBootstrapper.cpp: Removed.
2336         * WebProcess/EntryPoint/mac/LegacyProcess/Info.plist:
2337         * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
2338         * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMainBootstrapper.cpp: Removed.
2339         * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm: Removed.
2340         * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm: Removed.
2341         * WebKit2.xcodeproj/project.pbxproj:
2342
2343 2013-02-13  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2344
2345         [EFL][WK2] Stop using WebString in ewk_cookie_manager, ewk_form_submission_request and ewk_text_checker
2346         https://bugs.webkit.org/show_bug.cgi?id=108794
2347
2348         Reviewed by Alexey Proskuryakov.
2349
2350         Stop using WebString in ewk_cookie_manager, ewk_form_submission_request
2351         and ewk_text_checker as it is internal C++ API. WKString and
2352         WKEinaSharedString are used instead.
2353
2354         * UIProcess/API/cpp/efl/WKEinaSharedString.cpp:
2355         (WKEinaSharedString::leakString): Add leakString() method to
2356         WKEinaSharedString so that we can conveniently convert a WKString to a
2357         Eina shared string and take ownership of it.
2358         * UIProcess/API/cpp/efl/WKEinaSharedString.h:
2359         * UIProcess/API/efl/ewk_cookie_manager.cpp:
2360         (getHostnamesWithCookiesCallback):
2361         * UIProcess/API/efl/ewk_form_submission_request.cpp:
2362         (EwkFormSubmissionRequest::copyFieldValue):
2363         (ewk_form_submission_request_field_names_get):
2364         (ewk_form_submission_request_field_value_get):
2365         * UIProcess/API/efl/ewk_form_submission_request_private.h:
2366         (EwkFormSubmissionRequest):
2367         * UIProcess/API/efl/ewk_text_checker.cpp:
2368         (checkSpellingOfString):
2369         (guessesForWord):
2370         (learnWord):
2371         (ignoreWord):
2372         * UIProcess/API/efl/tests/test_ewk2_eina_shared_string.cpp:
2373         (TEST_F): Add API test for new WKEinaSharedString::leakString() method.
2374
2375 2013-02-13  Anders Carlsson  <andersca@apple.com>
2376
2377         Remove Connection::QueueClient
2378         https://bugs.webkit.org/show_bug.cgi?id=109744
2379
2380         Reviewed by Sam Weinig.
2381
2382         * Platform/CoreIPC/Connection.cpp:
2383         (CoreIPC::Connection::processIncomingMessage):
2384         (CoreIPC::Connection::connectionDidClose):
2385         * Platform/CoreIPC/Connection.h:
2386         (Connection):
2387
2388 2013-02-13  Anders Carlsson  <andersca@apple.com>
2389
2390         Try to fix the Lion build.
2391
2392         * WebProcess/WebPage/EventDispatcher.h:
2393         (EventDispatcher):
2394
2395 2013-02-13  Anders Carlsson  <andersca@apple.com>
2396
2397         Remove support for the DispatchOnConnectionQueue message attribute
2398         https://bugs.webkit.org/show_bug.cgi?id=109743
2399
2400         Reviewed by Sam Weinig.
2401
2402         * Platform/CoreIPC/HandleMessage.h:
2403         (CoreIPC):
2404         * Scripts/webkit2/messages.py:
2405         (handler_function):
2406         (generate_message_handler):
2407         * Scripts/webkit2/messages_unittest.py:
2408
2409 2013-02-13  Anders Carlsson  <andersca@apple.com>
2410
2411         StorageManager should be a WorkQueueMessageReceiver
2412         https://bugs.webkit.org/show_bug.cgi?id=109741
2413
2414         Reviewed by Sam Weinig.
2415
2416         * UIProcess/Storage/StorageManager.cpp:
2417         (WebKit::StorageManager::processWillOpenConnection):
2418         (WebKit::StorageManager::processWillCloseConnection):
2419         (WebKit::StorageManager::createStorageArea):
2420         (WebKit::StorageManager::destroyStorageArea):
2421         * UIProcess/Storage/StorageManager.h:
2422         (StorageManager):
2423         * UIProcess/Storage/StorageManager.messages.in:
2424
2425 2013-02-13  Anders Carlsson  <andersca@apple.com>
2426
2427         EventDispatcher should be a WorkQueueMessageReceiver
2428         https://bugs.webkit.org/show_bug.cgi?id=109736
2429
2430         Reviewed by Andreas Kling.
2431
2432         * WebProcess/WebPage/EventDispatcher.cpp:
2433         (WebKit::EventDispatcher::create):
2434         (WebKit):
2435         (WebKit::EventDispatcher::EventDispatcher):
2436         (WebKit::EventDispatcher::initializeConnection):
2437         (WebKit::EventDispatcher::wheelEvent):
2438         (WebKit::EventDispatcher::gestureEvent):
2439         * WebProcess/WebPage/EventDispatcher.h:
2440         (EventDispatcher):
2441         * WebProcess/WebPage/EventDispatcher.messages.in:
2442         * WebProcess/WebProcess.cpp:
2443         (WebKit::WebProcess::WebProcess):
2444         (WebKit::WebProcess::initializeConnection):
2445         * WebProcess/WebProcess.h:
2446         (WebKit):
2447         (WebKit::WebProcess::eventDispatcher):
2448         (WebProcess):
2449
2450 2013-02-13  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2451
2452         Unreviewed build fix after r142768.
2453
2454         r142768 broke the EFL WK2 build due to wrong member initialization
2455         order in the WebProcess constructor initialization list.
2456
2457         * WebProcess/WebProcess.cpp:
2458         (WebKit::WebProcess::WebProcess):
2459
2460 2013-02-13  Anders Carlsson  <andersca@apple.com>
2461
2462         Make PluginProcessConnectionManager a WorkQueueMessageReceiver
2463         https://bugs.webkit.org/show_bug.cgi?id=109727
2464
2465         Reviewed by Andreas Kling.
2466
2467         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
2468         (WebKit::PluginProcessConnectionManager::create):
2469         (WebKit):
2470         (WebKit::PluginProcessConnectionManager::PluginProcessConnectionManager):
2471         (WebKit::PluginProcessConnectionManager::initializeConnection):
2472         (WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
2473         * WebProcess/Plugins/PluginProcessConnectionManager.h:
2474         (PluginProcessConnectionManager):
2475         * WebProcess/Plugins/PluginProcessConnectionManager.messages.in:
2476         * WebProcess/WebProcess.cpp:
2477         (WebKit::WebProcess::WebProcess):
2478         (WebKit::WebProcess::initializeConnection):
2479         (WebKit::WebProcess::pluginProcessConnectionManager):
2480         * WebProcess/WebProcess.h:
2481         (WebKit):
2482         (WebProcess):
2483
2484 2013-02-13  Anders Carlsson  <andersca@apple.com>
2485
2486         Make SecItemShimProxy be a WorkQueueMessageReceiver
2487         https://bugs.webkit.org/show_bug.cgi?id=109719
2488
2489         Reviewed by Sam Weinig.
2490
2491         This adds a WantsConnection message attribute to be used for messages whose handlers
2492         should take the connection the message was delivered to.
2493         
2494         * Platform/CoreIPC/HandleMessage.h:
2495         (CoreIPC::handleMessage):
2496         Add new handleMessage overload.
2497         
2498         * Scripts/webkit2/messages.py:
2499         (async_message_statement):
2500         (generate_message_handler):
2501         Handle the WantsMessage attribute.
2502
2503         * UIProcess/mac/SecItemShimProxy.cpp:
2504         (WebKit::SecItemShimProxy::shared):
2505         Use dispatch_once and adoptRef.
2506
2507         (WebKit::SecItemShimProxy::SecItemShimProxy):
2508         Initialize the queue.
2509
2510         (WebKit::SecItemShimProxy::initializeConnection):
2511         Add the proxy as a work queue message receiver.
2512
2513         (WebKit::SecItemShimProxy::secItemRequest):
2514         This no longer needs to call out to a dispatch queue, it's already on a queue.
2515
2516         * UIProcess/mac/SecItemShimProxy.messages.in:
2517         This doesn't need to be a legacy receiver. Also, add the WantsConnection message.
2518
2519 2013-02-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2520
2521         Unreviewed, rolling out r142736.
2522         http://trac.webkit.org/changeset/142736
2523         https://bugs.webkit.org/show_bug.cgi?id=109716
2524
2525         Broke ABI, nightly builds crash on launch (Requested by ap on
2526         #webkit).
2527
2528         * Shared/APIClientTraits.cpp:
2529         (WebKit):
2530         * Shared/APIClientTraits.h:
2531         * UIProcess/API/C/WKPage.h:
2532         * UIProcess/API/gtk/WebKitLoaderClient.cpp:
2533         (attachLoaderClientToView):
2534         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
2535         * WebProcess/qt/QtBuiltinBundlePage.cpp:
2536         (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
2537
2538 2013-02-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2539
2540         [WK2][EFL] Cleanup of graphics related code in EwkView
2541         https://bugs.webkit.org/show_bug.cgi?id=109377
2542
2543         Reviewed by Anders Carlsson.
2544
2545         * UIProcess/API/efl/EwkView.cpp:
2546         (EwkView::EwkView):
2547
2548             Initialize the evasGL dependencies here and
2549             set m_isAccelerated to false if this fails.
2550
2551             Set the coordinated graphics scene as active
2552             when using fixed layout.
2553
2554         (EwkView::setSize):
2555
2556             Add a method to set the size and user-viewport
2557             transform from the outside. The idea is moving
2558             this to our pure WK C API in the future.
2559
2560         (EwkView::transformFromScene):
2561         (EwkView::transformToScene):
2562
2563             Update the transform methods to use the user-
2564             viewport transform.
2565
2566         (EwkView::paintToCurrentGLContext):
2567         (EwkView::paintToCairoSurface):
2568
2569             Add methods to paint to either the current GL context
2570             or to a given cairo_surface_t (for software fallback
2571             cases).
2572
2573         (EwkView::displayTimerFired):
2574
2575             Clean up and use the two above methods.
2576
2577         (EwkView::scheduleUpdateDisplay):
2578
2579             Use the new size() methods instead of using the 
2580             smart-object data directly.
2581
2582         (EwkView::createGLSurface):
2583
2584             Make this method use size() to query the surface size
2585             and avoid creating the context (done in ctor now).
2586             Also avoid using the smart-object data directly.
2587
2588         (EwkView::enterAcceleratedCompositingMode):
2589         (EwkView::exitAcceleratedCompositingMode):
2590
2591             Turn on/off the use of the coord. graphics scene.
2592
2593         (EwkView::handleEvasObjectCalculate):
2594
2595             Use the new setSize and setUserViewportTransform.
2596
2597         (EwkView::takeSnapshot):
2598         * UIProcess/API/efl/EwkView.h:
2599         (WebCore):
2600         (EwkView):
2601         (EwkView::size):
2602         (EwkView::setUserViewportTransform):
2603         (EwkView::userViewportTransform):
2604
2605             Add the new method definitions and rename isHardwareAccelerated
2606             to isAccelerated which fits better with the naming in WebCore.
2607
2608 2013-02-13  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2609
2610         [EFL][WK2] Introduce WKViewClient C API
2611         https://bugs.webkit.org/show_bug.cgi?id=109559
2612
2613         Reviewed by Anders Carlsson.
2614
2615         This patch introduces the WKViewClient C API for EFL's WKView. The purpose of
2616         this new C API is to eventually remove the interdependency between EFL's
2617         PageClient and EwkView. When completed, PageClient should only interact with
2618         WebView and not be aware of EwkView so that we have a clean separation between
2619         internal WebKit2 classes and our EFL Ewk API implementation.
2620
2621         This patch is only a first step towards this goal as there is a lot of work
2622         to do to achieve complete separation between EwkView and PageClient. The purpose
2623         of this patch is to introduce the needed architecture which will later be
2624         extended by introducing new WKViewClient callbacks.
2625
2626         * PlatformEfl.cmake: Add new ViewClientEfl.cpp and WebViewClient.cpp to EFL's CMake
2627         configuration.
2628         * UIProcess/API/C/efl/WKView.cpp:
2629         (WKViewSetViewClient):
2630         * UIProcess/API/C/efl/WKView.h: Introduce new WKViewClient C API.
2631         * UIProcess/API/efl/EwkView.cpp:
2632         (EwkView::EwkView): Initialize ViewClientEfl.
2633         * UIProcess/API/efl/EwkView.h: Add new ViewClientEfl member.
2634         (WebKit):
2635         (EwkView):
2636         * UIProcess/API/efl/EwkViewCallbacks.h: Update ContentsSizeChanged smart callback to
2637         accept a WKSize in parameter instead of an IntRect.
2638         * UIProcess/efl/PageClientBase.cpp: Start calling WKViewClient callbacks instead of
2639         interacting directly with EwkView to avoid violating API layering.
2640         (WebKit::PageClientBase::view):
2641         (WebKit::PageClientBase::setViewNeedsDisplay):
2642         * UIProcess/efl/PageClientBase.h:
2643         (WebKit):
2644         (PageClientBase):
2645         * UIProcess/efl/PageClientDefaultImpl.cpp: Start calling WKViewClient callbacks instead of
2646         interacting directly with EwkView to avoid violating API layering.
2647         (WebKit::PageClientDefaultImpl::didChangeContentsSize):
2648         * UIProcess/efl/PageClientLegacyImpl.cpp: Start calling WKViewClient callbacks instead of
2649         interacting directly with EwkView to avoid violating API layering.
2650         (WebKit::PageClientLegacyImpl::didChangeContentsSize):
2651         * UIProcess/efl/ViewClientEfl.cpp:
2652         (WebKit):
2653         (WebKit::ViewClientEfl::toEwkView):
2654         (WebKit::ViewClientEfl::viewNeedsDisplay):
2655         (WebKit::ViewClientEfl::didChangeContentsSize):
2656         (WebKit::ViewClientEfl::ViewClientEfl):
2657         (WebKit::ViewClientEfl::~ViewClientEfl):
2658         * UIProcess/efl/ViewClientEfl.h: Introduce new ViewClientEfl which handles WKViewClient callbacks
2659         and interacts with EwkView.
2660         (WebKit):
2661         (ViewClientEfl):
2662         (WebKit::ViewClientEfl::create):
2663         * UIProcess/efl/WebView.cpp:
2664         (WebKit::WebView::initializeClient):
2665         (WebKit):
2666         (WebKit::WebView::setViewNeedsDisplay):
2667         (WebKit::WebView::didChangeContentsSize):
2668         * UIProcess/efl/WebView.h: Add new WebViewClient member and corresponding methods to interact
2669         with it.
2670         (WebView):
2671         * UIProcess/efl/WebViewClient.cpp:
2672         (WebKit):
2673         (WebKit::WebViewClient::viewNeedsDisplay):
2674         (WebKit::WebViewClient::didChangeContentsSize):
2675         * UIProcess/efl/WebViewClient.h: Add new WebViewClient APIClient for WKViewClient.
2676         (WebCore):
2677         (WebKit):
2678
2679 2013-02-13  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2680
2681         [WK2][EFL][WTR] Regression(r141836): WTR crashes on exit
2682         https://bugs.webkit.org/show_bug.cgi?id=109456
2683
2684         Reviewed by Anders Carlsson.
2685
2686         WebView destructor now considers the situation if its WebPageProxy
2687         instance had been closed from outside the class (explicitly
2688         by client code).
2689
2690         * UIProcess/efl/WebView.cpp:
2691         (WebKit::WebView::~WebView):
2692
2693 2013-02-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2694
2695         [WK2] Remove web intents callbacks
2696         https://bugs.webkit.org/show_bug.cgi?id=109654
2697
2698         Reviewed by Benjamin Poulain.
2699
2700         Web intents was removed by r142549.
2701
2702         * Shared/APIClientTraits.cpp:
2703         (WebKit):
2704         * Shared/APIClientTraits.h:
2705         * UIProcess/API/C/WKPage.h:
2706         * UIProcess/API/gtk/WebKitLoaderClient.cpp:
2707         (attachLoaderClientToView):
2708         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
2709         * WebProcess/qt/QtBuiltinBundlePage.cpp:
2710         (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
2711
2712 2013-02-12  Adenilson Cavalcanti  <cavalcantii@gmail.com>
2713
2714         [WK2] Page reloading will crash UIProcess after WebProcess was killed
2715         https://bugs.webkit.org/show_bug.cgi?id=109305
2716
2717         Reviewed by Benjamin Poulain.
2718
2719         Re-initialize the pointer to a WebInspectorProxy object before calling
2720         initializeWebPage().
2721
2722         When the WebProcess crashes, WebPageProxy::processDidCrash() will
2723         set WebInspectorProxy pointer to null, which later is accessed by
2724         initializeWebPage(). This patch avoids a crash scenario where
2725         calls into a null pointer would be made.
2726
2727         * UIProcess/WebPageProxy.cpp:
2728         (WebKit::WebPageProxy::reattachToWebProcess):
2729
2730 2013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
2731
2732         [iOS] Enable PAGE_VISIBILITY_API
2733         https://bugs.webkit.org/show_bug.cgi?id=109399
2734
2735         Reviewed by David Kilzer.
2736
2737         * Configurations/FeatureDefines.xcconfig:
2738
2739 2013-02-12  Brady Eidson  <beidson@apple.com>
2740
2741         Update a comment in NetworkProcess to be more accurate.
2742
2743         Rubberstamped by Sam Weinig.
2744
2745         * NetworkProcess/NetworkProcess.cpp:
2746         (WebKit::NetworkProcess::didClose):
2747
2748 2013-02-12  Anders Carlsson  <andersca@apple.com>
2749
2750         SecItemShim should be a WorkQueueMessageReceiver
2751         https://bugs.webkit.org/show_bug.cgi?id=109636
2752
2753         Reviewed by Sam Weinig.
2754
2755         * Platform/CoreIPC/Connection.cpp:
2756         (CoreIPC::Connection::dispatchWorkQueueMessageReceiverMessage):
2757         Add a helper function for dispatching a work queue message receiver message.
2758
2759         (CoreIPC::Connection::processIncomingMessage):
2760         Check if there are any work queue message receivers registered for this message.
2761
2762         * Shared/mac/SecItemShim.cpp:
2763         (WebKit::SecItemShim::shared):
2764         Use dispatch_once instead of the AtomicallyInitializedStatic macro.
2765
2766         (WebKit::SecItemShim::SecItemShim):
2767         Initialize the queue.
2768
2769         (WebKit::SecItemShim::secItemResponse):
2770         Remove the connection parameter.
2771
2772         (WebKit::SecItemShim::initializeConnection):
2773         Register the shim object as a work queue message receiver.
2774
2775         * Shared/mac/SecItemShim.h:
2776         Inherit from WorkQueueMessageReceiver.
2777
2778         * Shared/mac/SecItemShim.messages.in:
2779         Remove LegacyReceiver and DispatchOnConnectionQueue.
2780
2781 2013-02-12  Sam Weinig  <sam@webkit.org>
2782
2783         Make Plug-in XPC services "join existing sessions"
2784         <rdar://problem/13196448>
2785
2786         Reviewed by Mark Rowe.
2787
2788         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist:
2789         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist:
2790         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
2791
2792 2013-02-12  Sam Weinig  <sam@webkit.org>
2793
2794         Add skeleton of the OfflineStorageProcess
2795         https://bugs.webkit.org/show_bug.cgi?id=109615
2796
2797         Reviewed by Anders Carlsson.
2798
2799         This adds the skeleton of a new process to contain Database and Local Storage
2800         backends in (hence, offline storage). We're adding a new process, rather than
2801         using the Network or UIProcesses, to allow us to tightly sandbox these activities
2802         away from networking and full filesystem access.
2803
2804         * Configurations/OfflineStorageProcess.xcconfig: Added.
2805         * Configurations/OfflineStorageService.Development.xcconfig: Added.
2806         * Configurations/OfflineStorageService.xcconfig: Added.
2807         * DerivedSources.make:
2808         * OfflineStorageProcess: Added.
2809         * OfflineStorageProcess/EntryPoint: Added.
2810         * OfflineStorageProcess/EntryPoint/mac: Added.
2811         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess: Added.
2812         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist: Added.
2813         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm: Added.
2814         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Added.
2815         * OfflineStorageProcess/EntryPoint/mac/XPCService: Added.
2816         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService: Added.
2817         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development: Added.
2818         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/Info.plist: Added.
2819         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Added.
2820         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/Info.plist: Added.
2821         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Added.
2822         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageServiceEntryPoint.mm: Added.
2823         * OfflineStorageProcess/OfflineStorageProcess.cpp: Added.
2824         * OfflineStorageProcess/OfflineStorageProcess.h: Added.
2825         * OfflineStorageProcess/OfflineStorageProcess.messages.in: Added.
2826         * OfflineStorageProcess/mac: Added.
2827         * OfflineStorageProcess/mac/OfflineStorageProcessMac.mm: Added.
2828         (WebKit::OfflineStorageProcess::initializeProcessName):
2829         (WebKit::OfflineStorageProcess::initializeSandbox):
2830         * OfflineStorageProcess/mac/com.apple.WebKit.OfflineStorage.sb: Added.
2831         * Shared/OfflineStorage: Added.
2832         * Shared/OfflineStorage/OfflineStorageProcessCreationParameters.cpp: Added.
2833         * Shared/OfflineStorage/OfflineStorageProcessCreationParameters.h: Added.
2834
2835         * Scripts/webkit2/messages.py:
2836         (struct_or_class):
2837         Added OfflineStorageProcessCreationParameters.
2838
2839         * WebKit2.xcodeproj/project.pbxproj:
2840
2841 2013-02-12  Jinwoo Song  <jinwoo7.song@samsung.com>
2842
2843         [EFL][WK2] Fix build warning after r142579
2844         https://bugs.webkit.org/show_bug.cgi?id=109547
2845
2846         Reviewed by Alexey Proskuryakov.
2847
2848         Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
2849
2850         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
2851         (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
2852
2853 2013-02-12  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2854
2855         [EFL][WK2] Reenable ewk_auth_request API tests
2856         https://bugs.webkit.org/show_bug.cgi?id=108451
2857
2858         Reviewed by Benjamin Poulain.
2859
2860         ewk_auth_request API tests were temporarily disabled after
2861         the C API for resource loading was removed from WebKit2.
2862         This patches updates the tests so that they no longer rely
2863         on the resource loading events and renables them.
2864
2865         This patch also corrects the naming of the static variables
2866         in the test to follow more closely the WebKit coding style.
2867
2868         * PlatformEfl.cmake:
2869         * UIProcess/API/efl/tests/test_ewk2_auth_request.cpp:
2870         (serverCallback):
2871         (TEST_F):
2872         (onLoadFinished):
2873
2874 2013-02-12  Anders Carlsson  <andersca@apple.com>
2875
2876         Introduce a WorkQueueMessageReceiver class as a replacement for QueueClient
2877         https://bugs.webkit.org/show_bug.cgi?id=109612
2878
2879         Reviewed by Andreas Kling.
2880
2881         * Platform/CoreIPC/Connection.cpp:
2882         (CoreIPC::Connection::addWorkQueueMessageReceiver):
2883         (CoreIPC):
2884         (CoreIPC::Connection::removeWorkQueueMessageReceiver):
2885         (CoreIPC::Connection::addWorkQueueMessageReceiverOnConnectionWorkQueue):
2886         (CoreIPC::Connection::removeWorkQueueMessageReceiverOnConnectionWorkQueue):
2887         * Platform/CoreIPC/Connection.h:
2888         (Connection):
2889
2890 2013-02-12  Csaba Osztrogonác  <ossy@webkit.org>
2891
2892         Typo fix after r142663.
2893
2894         * GNUmakefile.list.am:
2895
2896 2013-02-12  Csaba Osztrogonác  <ossy@webkit.org>
2897
2898         [WK2] Unreviewed trivial buildfix after r142630 and r142651.
2899
2900         * CMakeLists.txt:
2901         * GNUmakefile.list.am:
2902         * Target.pri:
2903         * UIProcess/Plugins/PluginProcessProxy.cpp:
2904         (WebKit::PluginProcessProxy::didFinishLaunching):
2905         * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
2906         (WebKit::PluginProcessProxy::platformGetLaunchOptions):
2907         * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
2908         (WebKit::PluginProcessProxy::platformGetLaunchOptions):
2909
2910 2013-02-12  Anders Carlsson  <andersca@apple.com>
2911
2912         Change the queue client base class to be private everywhere
2913         https://bugs.webkit.org/show_bug.cgi?id=109604
2914
2915         Reviewed by Andreas Kling.
2916
2917         Move connection queue client registration inside of the respective queue client classes.
2918
2919         Also, it's too late to add queue clients in ChildProcessProxy::didFinishLaunching, so do this in
2920         ChildProcessProxy::connectionWillOpen instead.
2921         
2922         Finally, assert that queue clients are only being added and removed from the client thread.
2923
2924         * NetworkProcess/NetworkProcess.cpp:
2925         (WebKit::NetworkProcess::initializeConnection):
2926         * Platform/CoreIPC/Connection.cpp:
2927         (CoreIPC::Connection::addQueueClient):
2928         (CoreIPC::Connection::removeQueueClient):
2929         * Shared/mac/SecItemShim.cpp:
2930         (WebKit::SecItemShim::initializeConnection):
2931         (WebKit):
2932         * Shared/mac/SecItemShim.h:
2933         (SecItemShim):
2934         * UIProcess/Network/NetworkProcessProxy.cpp:
2935         (WebKit::NetworkProcessProxy::connectionWillOpen):
2936         (WebKit):
2937         (WebKit::NetworkProcessProxy::connectionWillClose):
2938         (WebKit::NetworkProcessProxy::didFinishLaunching):
2939         * UIProcess/Network/NetworkProcessProxy.h:
2940         (NetworkProcessProxy):
2941         * UIProcess/WebProcessProxy.cpp:
2942         (WebKit::WebProcessProxy::connectionWillOpen):
2943         (WebKit::WebProcessProxy::didFinishLaunching):
2944         * UIProcess/mac/SecItemShimProxy.cpp:
2945         (WebKit::SecItemShimProxy::initializeConnection):
2946         (WebKit):
2947         * UIProcess/mac/SecItemShimProxy.h:
2948         (SecItemShimProxy):
2949         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
2950         (WebKit::PluginProcessConnectionManager::initializeConnection):
2951         (WebKit):
2952         * WebProcess/Plugins/PluginProcessConnectionManager.h:
2953         (PluginProcessConnectionManager):
2954         * WebProcess/WebPage/EventDispatcher.cpp:
2955         (WebKit::EventDispatcher::initializeConnection):
2956         (WebKit):
2957         * WebProcess/WebPage/EventDispatcher.h:
2958         (EventDispatcher):
2959         * WebProcess/WebProcess.cpp:
2960         (WebKit::WebProcess::initializeConnection):
2961
2962 2013-02-12  Brady Eidson  <beidson@apple.com>
2963
2964         Add WKContext API to retrieve basic network process statistics
2965         https://bugs.webkit.org/show_bug.cgi?id=109329
2966
2967         Reviewed by Sam Weinig.
2968
2969         This patch adds a WKContextGetStatisticsWithOptions which allows the client to ask for
2970         certain types of statistics.
2971
2972         It also expands the "get statistics" callback mechanism to allow for a statistics request 
2973         to be answered by multiple child processes.
2974
2975         That mechanism still has some rough edges but will eventually allow for getting statistics
2976         from multiple web processes, as well.
2977
2978         * NetworkProcess/HostRecord.cpp:
2979         (WebKit::HostRecord::pendingRequestCount):
2980         (WebKit::HostRecord::activeLoadCount):
2981         * NetworkProcess/HostRecord.h:
2982
2983         * NetworkProcess/NetworkProcess.cpp:
2984         (WebKit::NetworkProcess::getNetworkProcessStatistics):
2985         * NetworkProcess/NetworkProcess.h:
2986         * NetworkProcess/NetworkProcess.messages.in:
2987
2988         * NetworkProcess/NetworkResourceLoadScheduler.cpp:
2989         (WebKit::NetworkResourceLoadScheduler::hostsPendingCount):
2990         (WebKit::NetworkResourceLoadScheduler::loadsPendingCount):
2991         (WebKit::NetworkResourceLoadScheduler::hostsActiveCount):
2992         (WebKit::NetworkResourceLoadScheduler::loadsActiveCount):
2993         * NetworkProcess/NetworkResourceLoadScheduler.h:
2994
2995         * Shared/Authentication/AuthenticationManager.h:
2996         (WebKit::AuthenticationManager::outstandingAuthenticationChallengeCount):
2997         * Shared/Downloads/DownloadManager.h:
2998
2999         * UIProcess/API/C/WKContext.cpp:
3000         (WKContextGetStatistics):
3001         (WKContextGetStatisticsWithOptions):
3002         * UIProcess/API/C/WKContext.h:
3003
3004         * UIProcess/StatisticsRequest.cpp: Added.
3005         (WebKit::StatisticsRequest::StatisticsRequest):
3006         (WebKit::StatisticsRequest::~StatisticsRequest):
3007         (WebKit::StatisticsRequest::addOutstandingRequest):
3008         (WebKit::addToDictionaryFromHashMap):
3009         (WebKit::createDictionaryFromHashMap):
3010         (WebKit::StatisticsRequest::completedRequest):
3011         * UIProcess/StatisticsRequest.h: Added.
3012         (WebKit::StatisticsRequest::create):
3013
3014         * UIProcess/WebContext.cpp:
3015         (WebKit::WebContext::networkingProcessConnection):
3016         (WebKit::WebContext::getStatistics):
3017         (WebKit::WebContext::requestWebContentStatistics):
3018         (WebKit::WebContext::requestNetworkingStatistics):
3019         (WebKit::WebContext::didGetStatistics):
3020         * UIProcess/WebContext.h:
3021         * UIProcess/WebContext.messages.in:
3022
3023         * WebProcess/WebProcess.cpp:
3024         (WebKit::WebProcess::getWebCoreStatistics):
3025
3026         * WebKit2.xcodeproj/project.pbxproj:
3027
3028 2013-02-12  Anders Carlsson  <andersca@apple.com>
3029
3030         Build fix.
3031
3032         Add back the files to the Xcode project that were removed in r142580.
3033
3034         * WebKit2.xcodeproj/project.pbxproj:
3035         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
3036
3037 2013-02-12  Jessie Berlin  <jberlin@apple.com>
3038
3039         Build fix after r142540 and r142518
3040
3041         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
3042         (WebKit::PluginProcessConnectionManager::didReceivePluginProcessConnectionManagerMessageOnConnectionWorkQueue):
3043         This function was added to the header in r142518 but not implemented in that revision.
3044         It wasn't a problem until r142540 started using it.
3045         Add a stub implementation for it.
3046
3047 2013-02-11  Brady Eidson  <beidson@apple.com>
3048
3049         Make PluginProcessProxy a ChildProcessProxy.
3050         https://bugs.webkit.org/show_bug.cgi?id=109513
3051
3052         Reviewed by Anders Carlsson.
3053
3054         * Shared/ChildProcessProxy.h: Inherit from ThreadSafeRefCounted.
3055         * UIProcess/Network/NetworkProcessProxy.h: Don't inherit from RefCounted.
3056         * UIProcess/WebProcessProxy.h: Don't inherit from ThreadSafeRefCounted
3057         * UIProcess/Plugins/PluginProcessProxy.h: Don't inherit from RefCounted, do inherit from ChildProcessProxy
3058
3059         Rely on ChildProcessProxy for process launcher management and launch options:
3060         * UIProcess/Plugins/PluginProcessProxy.cpp:
3061         (WebKit::PluginProcessProxy::PluginProcessProxy):
3062         (WebKit::PluginProcessProxy::getLaunchOptions):
3063         (WebKit::PluginProcessProxy::getPluginProcessConnection):
3064         (WebKit::PluginProcessProxy::getSitesWithData):
3065         (WebKit::PluginProcessProxy::clearSiteData):
3066         * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
3067         (WebKit::PluginProcessProxy::platformGetLaunchOptions):
3068         (WebKit::PluginProcessProxy::getPluginProcessSerialNumber):
3069
3070 2013-02-11  Alexey Proskuryakov  <ap@apple.com>
3071
3072         <rdar://problem/13196331> NetworkProcess deny mach-lookup com.apple.PowerManagement.control
3073
3074         Reviewed by Sam Weinig.
3075
3076         * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
3077
3078 2013-02-11  Huang Dongsung  <luxtella@company100.net>
3079
3080         Coordinated Graphics: Make CoordinatedGraphicsScene not know contents size.
3081         https://bugs.webkit.org/show_bug.cgi?id=108922
3082
3083         Reviewed by Noam Rosenthal.
3084         Signed off for WebKit2 by Benjamin Poulain.
3085
3086         Currently, CoordinatedGraphicsScene has two methods to know contents
3087         size: setContentsSize() and setVisibleContentsRect(). Contents size is
3088         used when adjusting a scroll position, but adjustment is not needed
3089         because EFL and Qt platform code (currently PageViewportController)
3090         already adjusts a scroll position, and it is natural for each platform
3091         to be in charge of adjusting. So this patch makes CoordinatedGraphicsScene
3092         not know contents size.
3093
3094         In addition, now DrawingAreaProxy::coordinatedLayerTreeHostProxy() is only used
3095         to get CoordinatedGraphicsScene.
3096
3097         * UIProcess/API/qt/qquickwebpage.cpp:
3098         (QQuickWebPagePrivate::updateSize):
3099         * UIProcess/API/qt/raw/qrawwebview.cpp:
3100         (QRawWebView::setSize):
3101         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
3102         (WebKit::CoordinatedLayerTreeHostProxy::setVisibleContentsRect):
3103         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
3104         (CoordinatedLayerTreeHostProxy):
3105         * UIProcess/efl/PageClientLegacyImpl.cpp:
3106         (WebKit::PageClientLegacyImpl::didChangeContentsSize):
3107         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
3108         (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
3109
3110 2013-02-11  Huang Dongsung  <luxtella@company100.net>
3111
3112         Coordinated Graphics: remove the DidChangeScrollPosition message.
3113         https://bugs.webkit.org/show_bug.cgi?id=108051
3114
3115         Reviewed by Noam Rosenthal.
3116         Signed off for WebKit2 by Benjamin Poulain.
3117
3118         Currently, we use the DidChangeScrollPosition message to send the scroll
3119         position that WebCore used in this frame to UI Process. We had to have
3120         some member variables for the DidChangeScrollPosition message.
3121         However, we can send a scroll position via the DidRenderFrame message,
3122         because CoordinatedGraphicsScene::m_renderedContentsScrollPosition is
3123         updated at the moment of flushing. So we can remove the
3124         DidChangeScrollPosition message and some redundant member variables.
3125
3126         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
3127         (WebKit::CoordinatedLayerTreeHostProxy::didRenderFrame):
3128         (WebKit):
3129         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
3130         (CoordinatedLayerTreeHostProxy):
3131         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
3132           Remove the DidChangeScrollPosition message.
3133         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
3134         (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
3135         (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
3136           Send a scroll position via the DidChangeScrollPosition message.
3137         (WebKit::CoordinatedLayerTreeHost::syncLayerState):
3138           Don't send a scroll position because flushPendingLayerChanges() does
3139           that. In addition, it is weird to check if we must send a scroll
3140           position at the moment of sending the SyncLayerState message of every
3141           layers.
3142         (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
3143         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
3144
3145 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
3146
3147         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
3148         https://bugs.webkit.org/show_bug.cgi?id=109534
3149
3150         Reviewed by Anders Carlsson.
3151
3152         * WebProcess/WebCoreSupport/WebEditorClient.cpp:
3153         (WebKit):
3154         * WebProcess/WebCoreSupport/WebEditorClient.h:
3155
3156 2013-02-11  Jae Hyun Park  <jae.park@company100.net>
3157
3158         [EFL] Build fix
3159         https://bugs.webkit.org/show_bug.cgi?id=109518
3160
3161         Reviewed by Laszlo Gombos.
3162
3163         Fix EFL build by including PluginProcessConnectionManager.messages.in in
3164         CMakeLists.txt
3165
3166         * CMakeLists.txt:
3167
3168 2013-02-11  Anders Carlsson  <andersca@apple.com>
3169
3170         Fix build.
3171
3172         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
3173         (WebKit::PluginProcessConnectionManager::didReceiveMessageOnConnectionWorkQueue):
3174         * WebProcess/WebProcess.cpp:
3175
3176 2013-02-11  Seulgi Kim  <seulgikim@company100.net>
3177
3178         [GTK] Build fix.
3179         https://bugs.webkit.org/show_bug.cgi?id=109516
3180
3181         Reviewed by Csaba Osztrogonác.
3182
3183         PluginProcessConnectionManagerMessages are omitted from messages list.
3184
3185         * GNUmakefile.list.am:
3186
3187 2013-02-11  Tim Horton  <timothy_horton@apple.com>
3188
3189         [WK2] setMinimumLayoutWidth should bail if there's no WebProcess
3190         https://bugs.webkit.org/show_bug.cgi?id=109512
3191         <rdar://problem/13093627>
3192
3193         Reviewed by Anders Carlsson.
3194
3195         * UIProcess/WebPageProxy.cpp:
3196         (WebKit::WebPageProxy::setMinimumLayoutWidth):
3197
3198 2013-02-11  Anders Carlsson  <andersca@apple.com>
3199
3200         PluginProcessConnectionManager should be a QueueClient
3201         https://bugs.webkit.org/show_bug.cgi?id=109496
3202
3203         Reviewed by Andreas Kling.
3204
3205         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
3206         (WebKit::PluginProcessConnectionManager::didReceiveMessageOnConnectionWorkQueue):
3207         (WebKit):
3208         (WebKit::PluginProcessConnectionManager::didCloseOnConnectionWorkQueue):
3209         * WebProcess/Plugins/PluginProcessConnectionManager.h:
3210         (PluginProcessConnectionManager):
3211         * WebProcess/WebProcess.cpp:
3212         (WebKit::WebProcess::initializeConnection):
3213         * WebProcess/WebProcess.h:
3214         (WebProcess):
3215
3216 2013-02-11  Csaba Osztrogonác  <ossy@webkit.org>
3217
3218         Unreviewed WK2 buildfix after r142518.
3219
3220         * DerivedSources.pri:
3221
3222 2013-02-11  Gavin Barraclough  <barraclough@apple.com>
3223
3224         PluginProcess should quit immediately if idle in response to low-memory notifications
3225         https://bugs.webkit.org/show_bug.cgi?id=109103
3226         <rdar://problem/12679827>
3227
3228         Reviewed by Brady Eidson.
3229
3230         PluginProcess now installs a MemoryPressureHandler for the process, providing
3231         a custom callback which will call terminate if appropriate (if the plugin is not
3232         currently in use).
3233
3234         * PluginProcess/PluginProcess.cpp:
3235         (WebKit::PluginProcess::lowMemoryHandler):
3236             - Custom callback to terminate if appropriate.
3237         (WebKit::PluginProcess::initializeProcess):
3238             - Install the MemoryPressureHandler.
3239         (WebKit::PluginProcess::shouldTerminate):
3240             - This method now also needs to be callable in situations where it might return false.
3241         * PluginProcess/PluginProcess.h:
3242         (PluginProcess):
3243             - Added declaration for lowMemoryHandler.
3244
3245 2013-02-11  Anders Carlsson  <andersca@apple.com>
3246
3247         Move the PluginProcessCrashed message to PluginProcessConnectionManager
3248         https://bugs.webkit.org/show_bug.cgi?id=109493
3249
3250         Reviewed by Andreas Kling.
3251
3252         This is in preparation for making PluginProcessConnectionManager a connection queue client.
3253
3254         * DerivedSources.make:
3255         * UIProcess/Plugins/PluginProcessProxy.cpp:
3256         (WebKit::PluginProcessProxy::didClose):
3257         * WebKit2.xcodeproj/project.pbxproj:
3258         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
3259         (WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
3260         * WebProcess/Plugins/PluginProcessConnectionManager.h:
3261         (PluginProcessConnectionManager):
3262         * WebProcess/Plugins/PluginProcessConnectionManager.messages.in: Added.
3263         * WebProcess/WebProcess.cpp:
3264         (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
3265         (WebKit::WebProcess::webResourceLoadScheduler):
3266         * WebProcess/WebProcess.h:
3267         (WebProcess):
3268         * WebProcess/WebProcess.messages.in:
3269
3270 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
3271
3272         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
3273         https://bugs.webkit.org/show_bug.cgi?id=109349
3274
3275         Reviewed by Sam Weinig.
3276
3277         * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
3278         * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
3279         * WebProcess/InjectedBundle/InjectedBundle.cpp:
3280         * WebProcess/InjectedBundle/InjectedBundle.h:
3281         (InjectedBundle):
3282
3283 2013-02-11  Dean Jackson  <dino@apple.com>
3284
3285         Snapshotted plug-in should use shadow root
3286         https://bugs.webkit.org/show_bug.cgi?id=108284
3287
3288         Reviewed by Simon Fraser.
3289
3290         Take three of this commit - after rollout in r142400 and r142405.
3291         We no longer have any need for plugInStartLabelImage.
3292
3293         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
3294         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
3295         * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
3296         * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
3297
3298 2013-02-11  Anders Carlsson  <andersca@apple.com>
3299
3300         The plug-in process connection manager doesn't need to be heap allocated
3301         https://bugs.webkit.org/show_bug.cgi?id=109479
3302
3303         Reviewed by Andreas Kling.
3304
3305         * WebProcess/WebProcess.cpp:
3306         (WebKit::WebProcess::WebProcess):
3307         (WebKit::WebProcess::pluginProcessConnectionManager):
3308         (WebKit::WebProcess::pluginProcessCrashed):
3309         * WebProcess/WebProcess.h:
3310         (WebKit):
3311         (WebProcess):
3312
3313 2013-02-11  Tony Chang  <tony@chromium.org>
3314
3315         Move setFrameFlatteningEnabled from layoutTestController to window.internals.settings
3316         https://bugs.webkit.org/show_bug.cgi?id=87149
3317
3318         Reviewed by Simon Fraser.
3319
3320         * WebProcess/InjectedBundle/InjectedBundle.cpp:
3321         (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Add setFrameFlatteningEnabled to the list of overridable values.
3322
3323 2013-02-11  Claudio Saavedra  <csaavedra@igalia.com>
3324
3325         [WK2][Notifications] Missing early return in populateCopyOfNotificationPermissions
3326         https://bugs.webkit.org/show_bug.cgi?id=108459
3327
3328         Reviewed by Alexey Proskuryakov.
3329
3330         * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
3331         (WebKit::WebNotificationManagerProxy::populateCopyOfNotificationPermissions):
3332         Providers might return 0 and we will end up with a null-pointer dereference.
3333         Early check against this.
3334
3335 2013-02-10  Sam Weinig  <sam@webkit.org>
3336
3337         Make the Plug-in XPCService build work even when building in Xcode
3338         <rdar://problem/13011186>
3339         https://bugs.webkit.org/show_bug.cgi?id=109392
3340
3341         Reviewed by Anders Carlsson.
3342
3343         * Configurations/DebugRelease.xcconfig:
3344         Add a DEBUG_OR_RELEASE variable to test against.
3345         * Configurations/PluginService.32.xcconfig:
3346         * Configurations/PluginService.64.xcconfig:
3347         In non-production builds, don't link against WebKit2, so that we don't get warnings about WebKit2.framework
3348         not containing the right architectures. This is ok, as these services are not used in non-production builds.
3349
3350         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info.plist:
3351         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm:
3352         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info.plist:
3353         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm:
3354         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist:
3355         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm:
3356         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist:
3357         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm:
3358         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
3359         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm:
3360         * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info.plist:
3361         * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm:
3362         * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info.plist:
3363         * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm:
3364         Switch off the the old idiom of defining a macro for the initializer function, and instead set
3365         it in the Info.plist, so the XPCServiceBootstrapper can grab it.
3366
3367         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h:
3368         (WebKit::XPCServiceEventHandler):
3369         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h:
3370         (WebKit::XPCServiceEventHandler):
3371         Get the entry point from the bundle, rather than the macro. This is not only a bit less gross,
3372         but also allows us to build without having linked against WebKit2.framework.
3373
3374         * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
3375         (WebKit::shouldUseXPC):
3376         Re-enable using XPC for plug-ins.
3377
3378         * WebKit2.xcodeproj/project.pbxproj:
3379         Update project.
3380
3381 2013-02-10  Anders Carlsson  <andersca@apple.com>
3382
3383         Add back code that was accidentally removed when moving plug-in enumeration back to the main thread
3384         https://bugs.webkit.org/show_bug.cgi?id=109379
3385
3386         Reviewed by Andreas Kling.
3387
3388         * UIProcess/WebProcessProxy.cpp:
3389         (WebKit::WebProcessProxy::getPlugins):
3390
3391 2013-02-10  Kent Tamura  <tkent@chromium.org>
3392
3393         Unreviewed, rolling out r142347.
3394         http://trac.webkit.org/changeset/142347
3395         https://bugs.webkit.org/show_bug.cgi?id=108273
3396
3397         Because a depending change r142343 was rolled out.
3398
3399         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
3400         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
3401         (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle):
3402         (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle):
3403
3404 2013-02-10  Kent Tamura  <tkent@chromium.org>
3405
3406         Unreviewed, rolling out r142343.
3407         http://trac.webkit.org/changeset/142343
3408         https://bugs.webkit.org/show_bug.cgi?id=108284
3409
3410         It might make inspector/profiler/selector-profiler-url.html
3411         crashy.
3412
3413         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
3414         (WebKit::InjectedBundlePageUIClient::plugInStartLabelImage):
3415         (WebKit):
3416         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
3417         (InjectedBundlePageUIClient):
3418         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
3419         (WebKit::WebChromeClient::plugInStartLabelImage):
3420         (WebKit):
3421         * WebProcess/WebCoreSupport/WebChromeClient.h:
3422         (WebChromeClient):
3423
3424 2013-02-10  Zan Dobersek  <zdobersek@igalia.com>
3425
3426         [WebKit2][Gtk] Remove the fullscreen manager proxy message receiver upon invalidating
3427         https://bugs.webkit.org/show_bug.cgi?id=109352
3428
3429         Reviewed by Sam Weinig.
3430
3431         As added for the Mac port in r142160 due to the changes in the same revision, remove
3432         the fullscreen manager proxy as a message receiver. Also fixes a failing unit test.
3433
3434         * UIProcess/gtk/WebFullScreenManagerProxyGtk.cpp:
3435         (WebKit::WebFullScreenManagerProxy::invalidate):
3436
3437 2013-02-10  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
3438
3439         [WK2] Fix build on PLUGIN_ARCHITECTURE(UNSUPPORTED) after r142314
3440         https://bugs.webkit.org/show_bug.cgi?id=109364
3441
3442         Reviewed by Simon Hausmann.
3443
3444         void NetscapePlugin::platformPreInitialize() is need to be added to NetscapePluginNone.cpp.
3445
3446         * WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:
3447         (WebKit::NetscapePlugin::platformPreInitialize):
3448         (WebKit):
3449
3450 2013-02-09  Sheriff Bot  <webkit.review.bot@gmail.com>
3451
3452         Unreviewed, rolling out r137328.
3453         http://trac.webkit.org/changeset/137328
3454         https://bugs.webkit.org/show_bug.cgi?id=109367
3455
3456         causes memory usage to balloon if connection queue is filling
3457         faster than sending (Requested by kling on #webkit).
3458
3459         * Platform/CoreIPC/ArgumentEncoder.cpp:
3460         (CoreIPC::ArgumentEncoder::ArgumentEncoder):
3461         (CoreIPC::ArgumentEncoder::grow):
3462         * Platform/CoreIPC/ArgumentEncoder.h:
3463         (CoreIPC::ArgumentEncoder::buffer):
3464         (ArgumentEncoder):
3465
3466 2013-02-08  Sam Weinig  <sam@webkit.org>
3467
3468         Fix ASSERT when the Web Content Process crashes
3469         https://bugs.webkit.org/show_bug.cgi?id=109346
3470
3471         Reviewed by Simon Fraser.
3472
3473         * UIProcess/WebPageProxy.cpp:
3474         (WebKit::WebPageProxy::processDidCrash):
3475         We need to remove ourselves as a message receiver before calling out to the client, as
3476         the client might want to re-add us (as Safari does).
3477
3478 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
3479
3480         Move workerThreadCount from TestRunner to WebCore Internals
3481         https://bugs.webkit.org/show_bug.cgi?id=109239
3482
3483         Reviewed by Darin Adler.
3484
3485         * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
3486         * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
3487         * WebProcess/InjectedBundle/InjectedBundle.cpp:
3488         * WebProcess/InjectedBundle/InjectedBundle.h:
3489         (InjectedBundle):
3490         * WebProcess/WebPage/WebFrame.cpp: Remove a useless #include.
3491
3492 2013-02-08  Dean Jackson  <dino@apple.com>
3493
3494         Remove use of plugInStartLabelImage
3495         https://bugs.webkit.org/show_bug.cgi?id=108273
3496
3497         Reviewed by Simon Fraser.
3498
3499         Remove any use of plugInStartLabelImage. While there, implement plugInStartLabelTitle
3500         and plugInStartLabelSubtitle to return the values from the client.
3501         implement them.
3502
3503         * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Remove callback and entry from client structure.
3504         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
3505         (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle): Ask the client bundle for value.
3506         (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle): Ditto.
3507
3508 2013-02-08  Dean Jackson  <dino@apple.com>
3509
3510         Snapshotted plug-in should use shadow root
3511         https://bugs.webkit.org/show_bug.cgi?id=108284
3512
3513         Reviewed by Simon Fraser.
3514
3515         Take two of this commit! We no longer have any need for plugInStartLabelImage.
3516
3517         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
3518         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
3519         * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
3520         * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
3521
3522 2013-02-08  Dean Jackson  <dino@apple.com>
3523
3524         Rolling out r142333 and r142337 which broke Mac Release builds.
3525
3526 2013-02-08  Anders Carlsson  <andersca@apple.com>
3527