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