bc26b7b4e63c50d4db52a7418b1a4f1b51149716
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2015-06-26  Hyungwook Lee  <hyungwook.lee@navercorp.com>
2
3         [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
4         https://bugs.webkit.org/show_bug.cgi?id=145908
5
6         Reviewed by Brent Fulgham.
7
8         Make WebViewGroup class sharing on Mac and Win port.
9
10         * WebCoreSupport/WebVisitedLinkStore.cpp:
11         (visitedLinkStores):
12         (WebVisitedLinkStore::create):
13         (WebVisitedLinkStore::WebVisitedLinkStore):
14         (WebVisitedLinkStore::~WebVisitedLinkStore):
15         (WebVisitedLinkStore::setShouldTrackVisitedLinks):
16         (WebVisitedLinkStore::removeAllVisitedLinks):
17         (WebVisitedLinkStore::singleton): Deleted.
18         * WebCoreSupport/WebVisitedLinkStore.h:
19         * WebView.cpp:
20         (toURL):
21         (localStorageDatabasePath):
22         (WebView::WebView):
23         (WebView::~WebView):
24         (WebView::shouldInitializeTrackPointHack):
25         (WebView::initWithFrame):
26         (WebView::setGroupName):
27         (WebView::addVisitedLinks):
28         * WebView.h:
29
30 2015-06-25  Brent Fulgham  <bfulgham@apple.com>
31
32         [Win] Need implementation of layoutTestController.setBackingScaleFactor
33         https://bugs.webkit.org/show_bug.cgi?id=87919
34         <rdar://problem/11563242>
35
36         Reviewed by Dean Jackson.
37
38         Connect the test infrastructure for High DPI tests to Windows. This
39         involved adding a new accessor to the IWebViewPrivate interface, and
40         providing a rudimentary implemenation of DPI support on Windows.
41
42         * Interfaces/IWebViewPrivate.idl: Add new API to set/get scaling
43         factor.
44         * WebView.cpp:
45         (WebView::initWithFrame): Initialize the device scale factor.
46         (WebView::setHostWindow): Ditto.
47         (WebView::windowAncestryDidChange): Ditto.
48         (WebView::deviceScaleFactor): Added. Check current window for scaling
49         factor. If no windows exist, check main screen.
50         (WebView::setCustomBackingScaleFactor): Added.
51         (WebView::backingScaleFactor): Added.
52         * WebView.h:
53
54 2015-06-24  Anders Carlsson  <andersca@apple.com>
55
56         Move PluginMainThreadScheduler to WebKit/win
57         https://bugs.webkit.org/show_bug.cgi?id=146289
58
59         Reviewed by Tim Horton.
60
61         * Plugins/PluginMainThreadScheduler.cpp: Renamed from Source/WebCore/plugins/PluginMainThreadScheduler.cpp.
62         (WebCore::PluginMainThreadScheduler::scheduler):
63         (WebCore::PluginMainThreadScheduler::PluginMainThreadScheduler):
64         (WebCore::PluginMainThreadScheduler::scheduleCall):
65         (WebCore::PluginMainThreadScheduler::registerPlugin):
66         (WebCore::PluginMainThreadScheduler::unregisterPlugin):
67         (WebCore::PluginMainThreadScheduler::dispatchCallsForPlugin):
68         (WebCore::PluginMainThreadScheduler::dispatchCalls):
69         (WebCore::PluginMainThreadScheduler::mainThreadCallback):
70         * Plugins/PluginMainThreadScheduler.h: Renamed from Source/WebCore/plugins/PluginMainThreadScheduler.h.
71         (WebCore::PluginMainThreadScheduler::Call::Call):
72         (WebCore::PluginMainThreadScheduler::Call::performCall):
73         * Plugins/PluginView.cpp:
74
75 2015-06-23  Anders Carlsson  <andersca@apple.com>
76
77         Remove windowResizerRect code, nobody is using it anymore
78         https://bugs.webkit.org/show_bug.cgi?id=146265
79
80         Reviewed by Beth Dakin.
81
82         * WebCoreSupport/WebChromeClient.cpp:
83         (WebChromeClient::windowResizerRect): Deleted.
84         * WebCoreSupport/WebChromeClient.h:
85
86 2015-06-23  Per Arne Vollan  <peavo@outlook.com>
87
88         [WinCairo] WebDownload::initWithRequest is not implemented.
89         https://bugs.webkit.org/show_bug.cgi?id=146203
90
91         Reviewed by Alex Christensen.
92
93         Implement method to start download from a IWebURLRequest object.
94
95         * WebDownloadCurl.cpp:
96         (WebDownload::initWithRequest): Implemented.
97
98 2015-06-18  Anders Carlsson  <andersca@apple.com>
99
100         Remove shouldInterruptJavaScript
101         https://bugs.webkit.org/show_bug.cgi?id=146118
102
103         Reviewed by Antti Koivisto.
104
105         * Interfaces/IWebUIDelegatePrivate.idl:
106         * WebCoreSupport/WebChromeClient.cpp:
107         (WebChromeClient::shouldInterruptJavaScript): Deleted.
108         * WebCoreSupport/WebChromeClient.h:
109
110 2015-06-17  Hyungwook Lee  <hyungwook.lee@navercorp.com>
111
112         [Win]Implement layoutTestController.dispatchPendingLoadRequests.
113         https://bugs.webkit.org/show_bug.cgi?id=26481
114
115         Reviewed by Darin Adler.
116
117         Implement WebView::dispatchPendingLoadRequests() private API for test runner.
118
119         * Interfaces/IWebViewPrivate.idl:
120         * WebView.cpp:
121         (WebView::scaleWebView):
122         (WebView::dispatchPendingLoadRequests):
123         * WebView.h:
124
125 2015-06-17  Commit Queue  <commit-queue@webkit.org>
126
127         Unreviewed, rolling out r185636.
128         https://bugs.webkit.org/show_bug.cgi?id=146068
129
130         Caused many crashes on Windows (Requested by ap on #webkit).
131
132         Reverted changeset:
133
134         "[Win] Implement WebViewGroup to support
135         WebView::addxxxToGroup()."
136         https://bugs.webkit.org/show_bug.cgi?id=145908
137         http://trac.webkit.org/changeset/185636
138
139 2015-06-16  Hyungwook Lee  <hyungwook.lee@navercorp.com>
140
141         [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
142         https://bugs.webkit.org/show_bug.cgi?id=145908
143
144         Reviewed by Brent Fulgham.
145
146         Make WebViewGroup class sharing on Mac and Win port.
147
148         * WebCoreSupport/WebVisitedLinkStore.cpp:
149         (visitedLinkStores):
150         (WebVisitedLinkStore::create):
151         (WebVisitedLinkStore::WebVisitedLinkStore):
152         (WebVisitedLinkStore::~WebVisitedLinkStore):
153         (WebVisitedLinkStore::setShouldTrackVisitedLinks):
154         (WebVisitedLinkStore::removeAllVisitedLinks):
155         (WebVisitedLinkStore::singleton): Deleted.
156         * WebCoreSupport/WebVisitedLinkStore.h:
157         * WebView.cpp:
158         (WebView::~WebView):
159         (WebView::initWithFrame):
160         (WebView::setGroupName):
161         (WebView::addVisitedLinks):
162         * WebView.h:
163
164 2015-06-13  Chris Dumez  <cdumez@apple.com>
165
166         [WK2] API::Navigation objects are leaked on history navigation to HistoryItems in PageCache
167         https://bugs.webkit.org/show_bug.cgi?id=145948
168
169         Reviewed by Darin Adler.
170
171         Add empty implementation for new
172         FrameLoaderClient::updatedCachedDocumentLoader().
173
174         * WebCoreSupport/WebFrameLoaderClient.h:
175
176 2015-06-11  Mark Lam  <mark.lam@apple.com>
177
178         WebCore::reportException() needs to be able to accept a raw thrown value in addition to Exception objects.
179         https://bugs.webkit.org/show_bug.cgi?id=145872
180
181         Reviewed by Michael Saboff.
182
183         * WebView.cpp:
184         (WebView::reportException):
185         - Don't assume we have an Exception object.  Let WebCore::reportException() take
186           care of it.
187
188 2015-06-09  Hyungwook Lee  <hyungwook.lee@navercorp.com>
189
190         Implement dumpProgressFinishedCallback() for Win layoutTestController.
191         https://bugs.webkit.org/show_bug.cgi?id=66773
192
193         Reviewed by Darin Adler.
194
195         * WebView.cpp:
196         (WebView::setFrameLoadDelegatePrivate):
197
198 2015-06-08  Chris Dumez  <cdumez@apple.com>
199
200         Access GCController instance via GCController::singleton() instead of a free function
201         https://bugs.webkit.org/show_bug.cgi?id=145776
202
203         Reviewed by Darin Adler.
204
205         Access GCController instance via GCController::singleton() instead of a
206         free function as per coding style and for consistency with other
207         singleton classes in the codebase.
208
209         * WebCoreStatistics.cpp:
210         (WebCoreStatistics::garbageCollectJavaScriptObjects):
211         (WebCoreStatistics::garbageCollectJavaScriptObjectsOnAlternateThreadForDebugging):
212         (WebCoreStatistics::setJavaScriptGarbageCollectorTimerEnabled):
213         * WebJavaScriptCollector.cpp:
214         (WebJavaScriptCollector::collect):
215         (WebJavaScriptCollector::collectOnAlternateThread):
216
217 2015-06-05  Mark Lam  <mark.lam@apple.com>
218
219         finally blocks should not set the exception stack trace when re-throwing the exception.
220         https://bugs.webkit.org/show_bug.cgi?id=145525
221
222         Reviewed by Geoffrey Garen.
223
224         * WebView.cpp:
225         (WebView::reportException):
226         - Changed to use the new Exception object.
227
228 2015-06-02  Brady Eidson  <beidson@apple.com>
229
230         WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
231         rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
232
233         Reviewed by Alex Christensen.
234
235         * Plugins/PluginView.cpp:
236         (WebCore::PluginView::start):
237         (WebCore::PluginView::performRequest):
238         (WebCore::PluginView::getURLNotify):
239         (WebCore::PluginView::getURL):
240         (WebCore::PluginView::handlePost):
241         
242         * WebCoreSupport/WebContextMenuClient.cpp:
243         (WebContextMenuClient::searchWithGoogle):
244         
245         * WebFrame.cpp:
246         (WebFrame::loadRequest):
247         (WebFrame::loadData):
248
249 2015-05-26  Jon Honeycutt  <jhoneycutt@apple.com>
250
251         [iOS] When viewing an MJPEG stream as the main resource, only the first
252         frame paints
253
254         <https://bugs.webkit.org/show_bug.cgi?id=145185>
255         <rdar://problem/20124694>
256
257         Reviewed by Darin Adler.
258
259         * WebCoreSupport/WebFrameLoaderClient.h:
260         Stubbed new functions that aren't used on Windows.
261
262 2015-05-22  Jon Lee  <jonlee@apple.com>
263
264         Rename MediaPlaybackAllowsInline
265         https://bugs.webkit.org/show_bug.cgi?id=145315
266
267         Reviewed by Eric Carlson.
268
269         Our API uses allowsInlineMediaPlayback. Our symbols should reflect the same.
270
271         * WebView.cpp:
272         (WebView::notifyPreferencesChanged): Use the new name.
273
274 2015-05-22  Jon Lee  <jonlee@apple.com>
275
276         Unreviewed build fix for Windows.
277
278         * WebView.cpp:
279         (WebView::notifyPreferencesChanged):
280
281 2015-05-19  Brady Eidson  <beidson@apple.com>
282
283         X-Frame-Options headers not respected when loading from application cache.
284         <rdar://problem/14877623> and https://bugs.webkit.org/show_bug.cgi?id=131800
285
286         Reviewed by Alexey Proskuryakov.
287
288         * WebFrame.cpp:
289         (WebFrame::loadData):
290
291 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
292
293         [Win] Move Windows build target to Windows 7 (or newer)
294         https://bugs.webkit.org/show_bug.cgi?id=144890
295         <rdar://problem/20707307>
296
297         Reviewed by Anders Carlsson.
298
299         Update linked SDK and minimal Windows level to be compatible with
300         Windows 7 or newer.
301
302         * WebKitPrefix.h:
303
304 2015-05-05  Csaba Osztrogonác  <ossy@webkit.org>
305
306         Unreviewed WinCairo buildfix after r183807.
307
308         * WebCoreSupport/AcceleratedCompositingContext.cpp:
309         (AcceleratedCompositingContext::initialize):
310         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
311
312 2015-04-28  Ryuan Choi  <ryuan.choi@navercorp.com>
313
314         [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS
315         https://bugs.webkit.org/show_bug.cgi?id=143001
316
317         Reviewed by Gyuyoung Kim.
318
319         * WebCoreSupport/WebChromeClient.h:
320         (WebChromeClient::delegatedScrollRequested):
321         Deleted because WIN does not use Coordinated Graphics.
322
323 2015-04-28  Joseph Pecoraro  <pecoraro@apple.com>
324
325         Fix common typo "targetting" => "targeting"
326         https://bugs.webkit.org/show_bug.cgi?id=144349
327
328         Reviewed by Daniel Bates.
329
330         * Interfaces/IWebPolicyDelegate.idl:
331
332 2015-04-28  Brady Eidson  <beidson@apple.com>
333
334         Consolidate most "frame load" arguments into FrameLoadRequest.
335         https://bugs.webkit.org/show_bug.cgi?id=144276
336
337         Reviewed by Alexey Proskuryakov.
338
339         * Plugins/PluginView.cpp:
340         (WebCore::PluginView::start):
341         (WebCore::PluginView::getURLNotify):
342         (WebCore::PluginView::getURL):
343         (WebCore::PluginView::handlePost):
344
345 2015-04-27  Brady Eidson  <beidson@apple.com>
346
347         Unreviewed build fix after r183405
348
349         * WebActionPropertyBag.cpp:
350         (WebActionPropertyBag::Read): Cast the enum class to a LONG.
351
352 2015-04-23  Andy Estes  <aestes@apple.com>
353
354         Try to fix the Windows build after r183234.
355
356         * FullscreenVideoController.cpp:
357         (FullscreenVideoController::FullscreenVideoController): FullscreenVideoController inherits privately from
358         WebCore::MediaPlayerPrivateFullscreenClient, so make_unique isn't allowed to upcast. Add an explicit upcast.
359
360 2015-04-23  Darin Adler  <darin@apple.com>
361
362         Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
363         https://bugs.webkit.org/show_bug.cgi?id=144090
364
365         Reviewed by Anders Carlsson.
366
367         * FullscreenVideoController.cpp:
368         (FullscreenVideoController::FullscreenVideoController):
369         (FullscreenVideoController::exitFullscreen):
370         * FullscreenVideoController.h:
371         * Plugins/PluginView.h:
372         * Plugins/PluginViewWin.cpp:
373         (WebCore::PluginView::wndProc):
374         * WebCoreSupport/AcceleratedCompositingContext.h:
375         * WebCoreSupport/WebChromeClient.cpp:
376         (WebChromeClient::WebChromeClient):
377         * WebCoreSupport/WebChromeClient.h:
378         * WebCoreSupport/WebEditorClient.h:
379         * WebCoreSupport/WebFrameLoaderClient.cpp:
380         (WebFrameLoaderClient::WebFrameLoaderClient):
381         * WebCoreSupport/WebFrameLoaderClient.h:
382         * WebCoreSupport/WebInspectorClient.cpp:
383         (WebInspectorClient::highlight):
384         * WebCoreSupport/WebInspectorClient.h:
385         * WebElementPropertyBag.cpp:
386         (WebElementPropertyBag::WebElementPropertyBag):
387         * WebElementPropertyBag.h:
388         * WebFrame.h:
389         * WebHistoryItem.cpp:
390         * WebNodeHighlight.cpp:
391         * WebNotificationCenter.cpp:
392         (WebNotificationCenter::WebNotificationCenter):
393         * WebNotificationCenter.h:
394         Use make_unique and unique_ptr instead of adoptPtr and OwnPtr.
395
396 2015-04-23  Andreas Kling  <akling@apple.com>
397
398         There should only be one way to get the system memory size.
399         <https://webkit.org/b/144081>
400
401         Reviewed by Antti Koivisto.
402
403         * WebView.cpp:
404         (WebView::setCacheModel):
405
406 2015-04-13  Jer Noble  <jer.noble@apple.com>
407
408         [Fullscreen] ChromeClient::exitVideoFullscreen() should take a pointer to a HTMLVideoElement.
409         https://bugs.webkit.org/show_bug.cgi?id=143674
410
411         Reviewed by Darin Adler.
412
413         * WebCoreSupport/WebChromeClient.cpp:
414         (WebChromeClient::enterVideoFullscreenForVideoElement): Takes a reference.
415         (WebChromeClient::exitVideoFullscreenForVideoElement): Renamed from exitVideoFullscreen().
416         (WebChromeClient::exitVideoFullscreen): Deleted.
417         * WebCoreSupport/WebChromeClient.h:
418         * WebView.cpp:
419         (WebView::enterVideoFullscreenForVideoElement): Takes a reference.
420         (WebView::exitVideoFullscreenForVideoElement): Renamed from exitVideoFullscreen().
421         (WebView::exitVideoFullscreen): Deleted.
422         * WebView.h:
423
424 2015-04-13  Beth Dakin  <bdakin@apple.com>
425
426         Add force property to MouseEvents
427         https://bugs.webkit.org/show_bug.cgi?id=143569
428         -and corresponding-
429         rdar://problem/20472954
430
431         Reviewed by Darin Adler.
432
433         PlatformMouseEvent takes a force parameter.
434         * WebDropSource.cpp:
435         (generateMouseEvent):
436
437 2015-04-13  Per Arne Vollan  <peavo@outlook.com>
438
439         [Win] Incorrect parameter order in call to WebView::repaint.
440         https://bugs.webkit.org/show_bug.cgi?id=143666
441
442         Reviewed by Brent Fulgham.
443
444         The 'immediate' default parameter has been forgotten.
445
446         * WebCoreSupport/WebChromeClient.cpp:
447         (WebChromeClient::invalidateRootView):
448         (WebChromeClient::invalidateContentsAndRootView):
449         (WebChromeClient::invalidateContentsForSlowScroll):
450
451 2015-04-11  Yusuke Suzuki  <utatane.tea@gmail.com>
452
453         [ES6] Enable Symbol in web pages
454         https://bugs.webkit.org/show_bug.cgi?id=143375
455
456         Reviewed by Ryosuke Niwa.
457
458         * Interfaces/IWebPreferencesPrivate.idl:
459
460 2015-04-10  Per Arne Vollan  <peavo@outlook.com>
461
462         [Win] Implement some methods in DOMHTMLDocument interface.
463         https://bugs.webkit.org/show_bug.cgi?id=143602
464
465         Reviewed by Alex Christensen.
466
467         * DOMHTMLClasses.cpp:
468         (DOMHTMLDocument::open):
469         (DOMHTMLDocument::close):
470         (DOMHTMLDocument::write):
471         (DOMHTMLDocument::writeln):
472
473 2015-04-09  Chris Dumez  <cdumez@apple.com>
474
475         [WK2][iOS] editorState() should not cause a synchronous layout
476         https://bugs.webkit.org/show_bug.cgi?id=142536
477         <rdar://problem/20041506>
478
479         Reviewed by Enrica Casucci.
480
481         Provide implementation for EditorClient::didChangeSelectionAndUpdateLayout().
482
483         * WebCoreSupport/WebEditorClient.h:
484
485 2015-04-08  Brady Eidson  <beidson@apple.com>
486
487         Expose the "Share" menu for links, images, and media.
488         <rdar://problem/20435340> and https://bugs.webkit.org/show_bug.cgi?id=143502
489
490         Reviewed by Tim Horton.
491
492         * WebCoreSupport/WebContextMenuClient.cpp:
493         (WebContextMenuClient::shareMenuItem):
494         * WebCoreSupport/WebContextMenuClient.h:
495
496 2015-04-08  Anders Carlsson  <andersca@apple.com>
497
498         Add a WebApplicationCache::storage() and use it instead of the WebCore singleton
499         https://bugs.webkit.org/show_bug.cgi?id=143525
500
501         Reviewed by Antti Koivisto.
502
503         * WebApplicationCache.cpp:
504         (WebApplicationCache::storage):
505         (WebApplicationCache::maximumSize):
506         (WebApplicationCache::setMaximumSize):
507         (WebApplicationCache::defaultOriginQuota):
508         (WebApplicationCache::setDefaultOriginQuota):
509         (WebApplicationCache::diskUsageForOrigin):
510         (WebApplicationCache::deleteAllApplicationCaches):
511         (WebApplicationCache::deleteCacheForOrigin):
512         (WebApplicationCache::originsWithCache):
513         * WebApplicationCache.h:
514
515 2015-04-01  Simon Fraser  <simon.fraser@apple.com>
516
517         Fix Windows build.
518
519         * WebCoreSupport/WebChromeClient.h:
520         (WebChromeClient::numWheelEventHandlersChanged): Deleted.
521
522 2015-03-25  Per Arne Vollan  <peavo@outlook.com>
523
524         [WinCairo] Crash when plugin window is destroyed.
525         https://bugs.webkit.org/show_bug.cgi?id=142905
526
527         Reviewed by Alex Christensen.
528
529         When a plugin window is destroyed with the Win32 api function DestroyWindow,
530         the system will send a synchronous WM_PARENTNOTIFY message to the WebView.
531         The WebView window procedure will, when processing the WM_PARENTNOTIFY message,
532         call UpdateWindow to paint synchronously. This will cause reentrancy problems,
533         since we're already called from WebCore code, and then reenter WebCore painting code.
534         We should avoid calling UpdateWindow when handling the WM_PARENTNOTIFY message.
535
536         * WebView.cpp:
537         (WebView::WebViewWndProc):
538         (WebView::updateWindowIfNeeded):
539         * WebView.h:
540
541 2015-03-19  Chris Dumez  <cdumez@apple.com>
542
543         Clean up DOMTimer related settings
544         https://bugs.webkit.org/show_bug.cgi?id=142837
545
546         Reviewed by Darin Adler.
547
548         Stop setting the DOMTimers' default minimum interval to 4ms as this
549         is now the default.
550
551         * WebView.cpp:
552         (WebView::initWithFrame):
553         (WebView::defaultMinimumTimerInterval):
554
555 2015-03-16  Conrad Shultz  <conrad_shultz@apple.com>
556
557         Allow clients to selectively disable plug-ins
558         https://bugs.webkit.org/show_bug.cgi?id=142506
559
560         Reviewed by Anders Carlsson.
561
562         * WebCoreSupport/WebPlatformStrategies.h:
563         * WebCoreSupport/WebPlatformStrategies.cpp:
564         (WebPlatformStrategies::getWebVisiblePluginInfo):
565         Wrap getPluginInfo();
566
567         * WebView.cpp:
568         (WebView::canShowMIMEType):
569         Update to reflect function rename.
570
571 2015-03-13  Commit Queue  <commit-queue@webkit.org>
572
573         Unreviewed, rolling out r181483.
574         https://bugs.webkit.org/show_bug.cgi?id=142688
575
576         Caused use-after-free on many tests (Requested by ap on
577         #webkit).
578
579         Reverted changeset:
580
581         "Allow clients to selectively disable plug-ins"
582         https://bugs.webkit.org/show_bug.cgi?id=142506
583         http://trac.webkit.org/changeset/181483
584
585 2015-03-10  Conrad Shultz  <conrad_shultz@apple.com>
586
587         Allow clients to selectively disable plug-ins
588         https://bugs.webkit.org/show_bug.cgi?id=142506
589
590         Reviewed by Anders Carlsson.
591
592         * WebCoreSupport/WebPlatformStrategies.h:
593         * WebCoreSupport/WebPlatformStrategies.cpp:
594         (WebPlatformStrategies::getWebVisiblePluginInfo):
595         Wrap getPluginInfo();
596
597         * WebView.cpp:
598         (WebView::canShowMIMEType):
599         Update to reflect function rename.
600
601 2015-03-04  Brent Fulgham  <bfulgham@apple.com>
602
603         [Win] AX: Implement support for ARIA 1.1 'switch' role
604         https://bugs.webkit.org/show_bug.cgi?id=142016
605         <rdar://problem/19953264>
606
607         Reviewed by Chris Fleizach.
608
609         The changes in Bug 141986 did not update the proper Windows routines to
610         support the new ARIA 1.1 role. This turned out to be trivial.
611
612         * AccessibleBase.cpp:
613         (MSAARole): Provide MSAA role for 'switch'. Also correct 'ToggleButtonRole',
614         which was improperly reporting as 'push button'.
615
616 2015-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
617
618         Hide Promise with runtime flags under Cocoa JSContext API
619         https://bugs.webkit.org/show_bug.cgi?id=141965
620
621         Reviewed by Filip Pizlo.
622
623         Add new JSC runtime flag, PromiseDisabled.
624
625         * Interfaces/IWebPreferences.idl:
626         * Interfaces/IWebPreferencesPrivate.idl:
627
628 2015-03-03  Chris Dumez  <cdumez@apple.com>
629
630         Access ApplicationCacheStorage global instance via singleton() static member function
631         https://bugs.webkit.org/show_bug.cgi?id=142239
632
633         Reviewed by Anders Carlsson.
634
635         Access ApplicationCacheStorage global instance via singleton() static
636         member function as per WebKit coding style.
637
638 2015-03-01  Chris Dumez  <cdumez@apple.com>
639
640         Make NotificationCenter / Notification suspendable
641         https://bugs.webkit.org/show_bug.cgi?id=142117
642         <rdar://problem/19923085>
643
644         Reviewed by Andreas Kling.
645
646         Provide implementation for NotificationClient::hasPendingPermissionRequests().
647
648         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
649         (WebDesktopNotificationsDelegate::requestPermission):
650         (hasPendingPermissionRequests):
651         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
652
653 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
654
655         [Win] Remove remaining SafariTheme cruft
656         https://bugs.webkit.org/show_bug.cgi?id=142075
657
658         Reviewed by Anders Carlsson.
659
660         Remove reference to SafariTheme-switching preference.
661
662         * Interfaces/IWebPreferencesPrivate.idl:
663         * WebKitClassFactory.cpp:
664         (WebKitClassFactory::WebKitClassFactory):
665         (WebKitClassFactory::QueryInterface):
666         (WebKitClassFactory::AddRef):
667         (WebKitClassFactory::Release):
668         (WebKitClassFactory::CreateInstance):
669         (WebKitClassFactory::LockServer):
670         * WebPreferences.cpp:
671         (WebPreferences::shouldPaintNativeControls): Deleted.
672         (WebPreferences::setShouldPaintNativeControls): Deleted.
673         * WebPreferences.h:
674         * WebView.cpp:
675         (WebView::initWithFrame):
676         (WebView::notifyPreferencesChanged):
677
678 2015-02-26  Chris Dumez  <cdumez@apple.com>
679
680         Rename DatabaseManager::manager() to DatabaseManager::singleton()
681         https://bugs.webkit.org/show_bug.cgi?id=142054
682
683         Reviewed by Ryosuke Niwa.
684
685         Rename DatabaseManager::manager() to DatabaseManager::singleton() as
686         per coding style and use WTF::NeverDestroyed.
687
688         * WebDatabaseManager.cpp:
689         (WebDatabaseManager::sharedWebDatabaseManager):
690         (WebDatabaseManager::origins):
691         (WebDatabaseManager::databasesWithOrigin):
692         (WebDatabaseManager::detailsForDatabase):
693         (WebDatabaseManager::deleteAllDatabases):
694         (WebDatabaseManager::deleteOrigin):
695         (WebDatabaseManager::deleteDatabase):
696         (WebDatabaseManager::setQuota):
697         (WebKitInitializeWebDatabasesIfNecessary):
698         * WebSecurityOrigin.cpp:
699         (WebSecurityOrigin::usage):
700         (WebSecurityOrigin::quota):
701         (WebSecurityOrigin::setQuota):
702         * WebView.cpp:
703         (WebView::notifyPreferencesChanged):
704
705 2015-02-25  Brent Fulgham  <bfulgham@apple.com>
706
707         [Win] Use WEBCORE_EXPORT instead of Definition file
708         https://bugs.webkit.org/show_bug.cgi?id=141734
709
710         Reviewed by Alex Christensen.
711
712         * CFDictionaryPropertyBag.h: Add required export macros.
713         * Interfaces/WebKit.idl: Ditto.
714         * WebCoreStatistics.cpp: Add missing #include (required
715         now that we are exporting more symbols.)
716         * WebKitCOMAPI.h: Add required export macros.
717         * WebKitDLL.h: Ditto.
718         * WebKitPrefix.h: Ditto.
719         * WebView.cpp: Add missing #include required using new
720         due to new export mechanism.
721
722 2015-02-24  Yusuke Suzuki  <utatane.tea@gmail.com>
723
724         REGRESSION(r179429): Can't type comments in Facebook
725         https://bugs.webkit.org/show_bug.cgi?id=141859
726
727         Reviewed by Brent Fulgham.
728
729         Added Windows support.
730
731         * Interfaces/IWebPreferences.idl:
732         * Interfaces/IWebPreferencesPrivate.idl:
733         * WebPreferenceKeysPrivate.h:
734         * WebPreferences.cpp:
735         (WebPreferences::initializeDefaultSettings):
736         (WebPreferences::javaScriptRuntimeFlags):
737         (WebPreferences::setJavaScriptRuntimeFlags):
738         (WebPreferences::isWebSecurityEnabled):
739         * WebPreferences.h:
740         * WebView.cpp:
741         (WebView::notifyPreferencesChanged):
742
743 2015-02-18  Chris Dumez  <cdumez@apple.com>
744
745         Access FontCache global instance via singleton() static member function
746         https://bugs.webkit.org/show_bug.cgi?id=141726
747
748         Reviewed by Daniel Bates.
749
750         Access FontCache global instance via singleton() static member function,
751         as per coding style.
752
753 2015-02-09  Brian J. Burg  <burg@cs.washington.edu>
754
755         Web Inspector: remove some unnecessary Inspector prefixes from class names in Inspector namespace
756         https://bugs.webkit.org/show_bug.cgi?id=141372
757
758         Reviewed by Joseph Pecoraro.
759
760         * WebCoreSupport/WebInspectorClient.cpp:
761         (WebInspectorFrontendClient::destroyInspectorView):
762
763 2015-02-11  Brent Fulgham  <bfulgham@apple.com>
764
765         [Win] [64-bit] Work around MSVC2013 Runtime Bug
766         https://bugs.webkit.org/show_bug.cgi?id=141498
767         <rdar://problem/19803642>
768
769         Reviewed by Anders Carlsson.
770
771         Disable FMA3 instruction use in the MSVC math library to
772         work around a VS2013 runtime crash. We can remove this
773         workaround when we switch to VS2015.
774
775         * WebKitDLL.cpp: Call _set_FMA3_enable(0) to disable FMA3 support.
776
777 2015-02-11  peavo@outlook.com  <peavo@outlook.com>
778
779         [WinCairo] Accelerated compositing should be disabled when graphics card does not support it.
780         https://bugs.webkit.org/show_bug.cgi?id=140667
781
782         Reviewed by Alex Christensen.
783
784         * WebCoreSupport/AcceleratedCompositingContext.cpp:
785         (AcceleratedCompositingContext::scrollNonCompositedContents):
786         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
787         * WebCoreSupport/AcceleratedCompositingContext.h:
788         * WebView.cpp:
789         (WebView::notifyPreferencesChanged):
790
791 2015-02-09  Brent Fulgham  <bfulgham@apple.com>
792
793         AX: [Win] OBJID_CLIENT comparisons broken in 64-bit builds
794         https://bugs.webkit.org/show_bug.cgi?id=141391
795         <rdar://problem/19767342>
796
797         Reviewed by Anders Carlsson.
798
799         * WebView.cpp:
800         (WebView::onGetObject): Cast lParam as LONG to ensure proper word size for
801         comparison against OBJID_CLIENT.
802
803 2015-02-07  Chris Dumez  <cdumez@apple.com>
804
805         Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions
806         https://bugs.webkit.org/show_bug.cgi?id=141321
807
808         Reviewed by Darin Adler.
809
810         Use new Vector::removeFirstMatching() / removeAllMatching() methods.
811
812 2015-02-02  Chris Dumez  <cdumez@apple.com>
813
814         Access MemoryCache singleton using MemoryCache::singleton()
815         https://bugs.webkit.org/show_bug.cgi?id=141104
816
817         Reviewed by Andreas Kling.
818
819         Access MemoryCache singleton using MemoryCache::singleton() static
820         member function, instead of a free function, as per the recent
821         coding style discussion on WebKit-dev.
822
823 2015-01-30  Chris Dumez  <cdumez@apple.com>
824
825         Rename shared() static member functions to singleton() for singleton classes.
826         https://bugs.webkit.org/show_bug.cgi?id=141088
827
828         Reviewed by Ryosuke Niwa and Benjamin Poulain.
829
830         Rename shared() static member functions to singleton() for singleton
831         classes as per the recent coding style change.
832
833 2015-01-29  Brent Fulgham  <bfulgham@apple.com>
834
835         [Win] Build fix after r179368.
836
837         * Interfaces/IWebPreferencesPrivate.idl:
838         * WebPreferences.cpp:
839         (WebPreferences::screenFontSubstitutionEnabled): Deleted.
840         (WebPreferences::setScreenFontSubstitutionEnabled): Deleted.
841         * WebPreferences.h:
842         * WebView.cpp:
843         (WebView::notifyPreferencesChanged):
844
845 2015-01-29  Sam Weinig  <sam@webkit.org>
846
847         Remove support for screen font substitution
848         https://bugs.webkit.org/show_bug.cgi?id=141038
849
850         Reviewed by Tim Horton.
851
852         * WebPreferenceKeysPrivate.h:
853         * WebPreferences.cpp:
854         (WebPreferences::screenFontSubstitutionEnabled):
855         (WebPreferences::setScreenFontSubstitutionEnabled):
856         Remove implementations. Have this setting set on windows didn't have any effect before,
857         so this doesn't change behavior.
858
859 2015-01-29  Chris Dumez  <cdumez@apple.com>
860
861         Clean up / modernize PageCache class
862         https://bugs.webkit.org/show_bug.cgi?id=141009
863
864         Reviewed by Darin Adler.
865
866         Clean up / modernize PageCache class.
867
868         * WebView.cpp:
869         (WebView::setCacheModel):
870
871 2015-01-28  peavo@outlook.com  <peavo@outlook.com>
872
873         [WinCairo] Message loop is flooded with timer messages when animating in accelerated compositing mode.
874         https://bugs.webkit.org/show_bug.cgi?id=140985
875
876         Reviewed by Brent Fulgham.
877
878         The animation timer has zero timeout, which makes it hard for other messages to slip through.
879
880         * WebCoreSupport/AcceleratedCompositingContext.cpp:
881         (AcceleratedCompositingContext::scheduleLayerFlush):
882
883 2015-01-28  Chris Dumez  <cdumez@apple.com>
884
885         Fix typo in markPagesForVistedLinkStyleRecalc()
886         https://bugs.webkit.org/show_bug.cgi?id=140977
887
888         Reviewed by Darin Adler.
889
890         * WebCoreSupport/WebVisitedLinkStore.cpp:
891         (WebVisitedLinkStore::removeAllVisitedLinks):
892         (WebVisitedLinkStore::addVisitedLinkHash):
893
894 2015-01-28  Chris Dumez  <cdumez@apple.com>
895
896         Rename pageCache() to PageCache::shared() and return a reference
897         https://bugs.webkit.org/show_bug.cgi?id=140983
898
899         Reviewed by Andreas Kling.
900
901         Rename pageCache() to PageCache::shared() as this is a singleton class
902         and have it return a reference instead of a pointer.
903
904         * WebCoreStatistics.cpp:
905         (WebCoreStatistics::cachedPageCount):
906         (WebCoreStatistics::cachedFrameCount):
907         * WebCoreSupport/WebVisitedLinkStore.cpp:
908         (WebVisitedLinkStore::removeAllVisitedLinks):
909         (WebVisitedLinkStore::addVisitedLinkHash):
910         * WebView.cpp:
911         (WebView::setCacheModel):
912
913 2015-01-27  Chris Dumez  <cdumez@apple.com>
914
915         Use a Ref<CachedResourceLoader> in Document instead of a RefPtr
916         https://bugs.webkit.org/show_bug.cgi?id=140971
917
918         Reviewed by Andreas Kling.
919
920         Use more references instead of pointers.
921
922         * WebDataSource.cpp:
923         (WebDataSource::subresourceForURL):
924
925 2015-01-26  Brent Fulgham  <bfulgham@apple.com>
926
927         [Win] ASSERTION FAILED !m_ptr under AccessibilityController::winAddNotificationListener
928         https://bugs.webkit.org/show_bug.cgi?id=87426
929         <rdar://problem/11527899>
930
931         Reviewed by Darin Adler.
932
933         Revise COMPtr to work better with our HashMap implementation. Use
934         modern loop syntax.
935
936         * WebHistory.cpp:
937         (WebHistory::visitedURL): Adjust for new COMPtr changes.
938         * WebPreferences.cpp:
939         (WebPreferences::getInstanceForIdentifier): Ditto.
940         (WebPreferences::removeReferenceForIdentifier): Ditto.
941         * WebView.cpp:
942         (WebView::setEditable): Ditto.
943
944 2015-01-26  Chris Dumez  <cdumez@apple.com>
945
946         Rename Document::body() to Document::bodyOrFrameset() for clarity
947         https://bugs.webkit.org/show_bug.cgi?id=140902
948
949         Reviewed by Andreas Kling.
950
951         Rename Document::body() to Document::bodyOrFrameset() for clarity. This
952         method does not necessarily return an HTMLBodyElement, it can also
953         return a frameset as per the specification:
954         http://www.w3.org/TR/html5/dom.html#dom-tree-accessors
955
956         This method is often misused internally (the caller is only interested
957         in the <body> element). I will fix these instances in a follow-up patch,
958         this patch is only renaming mechanically.
959
960 2015-01-25  peavo@outlook.com  <peavo@outlook.com>
961
962         [Win] Add WebKit message loop interface.
963         https://bugs.webkit.org/show_bug.cgi?id=140857
964
965         Reviewed by Brent Fulgham.
966
967         Added message loop interface which will run the message loop,
968         and perform required tasks (like calling CFRunLoopRunInMode)
969         on each iteration of the loop.
970
971         * ForEachCoClass.h:
972         * Interfaces/WebKit.idl:
973         * Interfaces/WebKitMessageLoop.idl: Added.
974         * WebKitClassFactory.cpp:
975         * WebKitMessageLoop.cpp: Added.
976         (WebKitMessageLoop::WebKitMessageLoop):
977         (WebKitMessageLoop::~WebKitMessageLoop):
978         (WebKitMessageLoop::createInstance):
979         (WebKitMessageLoop::QueryInterface):
980         (WebKitMessageLoop::AddRef):
981         (WebKitMessageLoop::Release):
982         (WebKitMessageLoop::run):
983         (WebKitMessageLoop::performMessageLoopTasks):
984         * WebKitMessageLoop.h: Added.
985
986 2015-01-23  Brent Fulgham  <bfulgham@apple.com>
987
988         [Win] Teach WebKit to provide IAccessible2 'get_language'
989         https://bugs.webkit.org/show_bug.cgi?id=140839
990
991         Reviewed by Dean Jackson.
992
993         * AccessibleBase.cpp:
994         (AccessibleBase::get_locale): Wrap the Webore::AccessibleObject::language
995         result in an IA2Locale structure to statisfy the IAccessible2 specification.
996
997 2015-01-22  Brent Fulgham  <bfulgham@apple.com>
998
999         [Win] Unreviewed test fix after r178965.
1000
1001         * WebView.cpp: Supply missing implementation of 'setEditable'. It
1002         currently asserts, causing all debug tests to fail.
1003
1004 2015-01-22  peavo@outlook.com  <peavo@outlook.com>
1005
1006         [Win] No plugin content on some sites.
1007         https://bugs.webkit.org/show_bug.cgi?id=140780
1008
1009         Reviewed by Anders Carlsson.
1010
1011         Add override modifier to bindingInstance method.
1012
1013         * Plugins/PluginView.h:
1014
1015 2015-01-22  Brent Fulgham  <bfulgham@apple.com>
1016
1017         [Win] Expose missing editing features through WebView interface
1018         https://bugs.webkit.org/show_bug.cgi?id=140773
1019         <rdar://problem/19565421>
1020
1021         Reviewed by Dean Jackson.
1022
1023         Connect the various WebView editing delegate methods to our
1024         test infrastructure. Also prefer _bstr_t to raw BSTR types
1025         to simplify life cycle management.
1026
1027         * DOMCoreClasses.cpp: Flesh out the DOMRange object.
1028         (DOMElement::createInstance):
1029         (DOMRange::QueryInterface):
1030         (DOMRange::DOMRange):
1031         (DOMRange::~DOMRange):
1032         (DOMRange::createInstance):
1033         (DOMRange::startContainer):
1034         (DOMRange::startOffset):
1035         (DOMRange::endContainer):
1036         (DOMRange::endOffset):
1037         (DOMRange::collapsed):
1038         (DOMRange::commonAncestorContainer):
1039         (DOMRange::setStart):
1040         (DOMRange::setEnd):
1041         (DOMRange::setStartBefore):
1042         (DOMRange::setStartAfter):
1043         (DOMRange::setEndBefore):
1044         (DOMRange::setEndAfter):
1045         (DOMRange::collapse):
1046         (DOMRange::selectNode):
1047         (DOMRange::selectNodeContents):
1048         (DOMRange::compareBoundaryPoints):
1049         (DOMRange::deleteContents):
1050         (DOMRange::extractContents):
1051         (DOMRange::cloneContents):
1052         (DOMRange::insertNode):
1053         (DOMRange::surroundContents):
1054         (DOMRange::cloneRange):
1055         (DOMRange::toString):
1056         (DOMRange::detach):
1057         * DOMCoreClasses.h:
1058         (DOMRange::AddRef):
1059         (DOMRange::Release):
1060         (DOMRange::throwException):
1061         (DOMRange::callWebScriptMethod):
1062         (DOMRange::evaluateWebScript):
1063         (DOMRange::removeWebScriptKey):
1064         (DOMRange::stringRepresentation):
1065         (DOMRange::webScriptValueAtIndex):
1066         (DOMRange::setWebScriptValueAtIndex):
1067         (DOMRange::setException):
1068         * Interfaces/IWebEditingDelegate.idl:
1069         * Interfaces/IWebView.idl:
1070         * WebCoreSupport/WebEditorClient.cpp: Connect more methods
1071         to actual editing features in WebCore.
1072         (WebEditorClient::shouldBeginEditing):
1073         (WebEditorClient::shouldEndEditing):
1074         (WebEditorClient::didBeginEditing):
1075         (WebEditorClient::respondToChangedContents):
1076         (WebEditorClient::respondToChangedSelection):
1077         (WebEditorClient::didEndEditing):
1078         (WebEditorClient::shouldDeleteRange):
1079         (WebEditorClient::shouldInsertNode):
1080         (WebEditorClient::shouldInsertText):
1081         (WebEditorClient::shouldChangeSelectedRange):
1082         (WebEditorClient::webViewDidChangeTypingStyle):
1083         (WebEditorClient::webViewDidChangeSelection):
1084         (WebEditorClient::isSelectTrailingWhitespaceEnabled):
1085         * WebView.cpp:
1086         (WebView::setEditingDelegate): Added.
1087
1088 2015-01-21  Brent Fulgham  <bfulgham@apple.com>
1089
1090         [Win] eventSender does not support scalePageBy
1091         https://bugs.webkit.org/show_bug.cgi?id=140726
1092         <rdar://problem/19549865>
1093
1094         Reviewed by Dean Jackson.
1095
1096         * Interfaces/IWebViewPrivate.idl: Add scaleWebView API.
1097         * WebView.cpp:
1098         (WebView::scaleWebView): 
1099         Connect WebCore implementation to the Windows COM interface.
1100         * WebView.h:
1101
1102 2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
1103
1104         Remove ENABLE(INSPECTOR) ifdef guards
1105         https://bugs.webkit.org/show_bug.cgi?id=140668
1106
1107         Reviewed by Darin Adler.
1108
1109         * WebCoreSupport/WebInspectorClient.cpp:
1110         (registerWindowClass):
1111         * WebInspector.cpp:
1112         (WebInspector::setTimelineProfilingEnabled):
1113         * WebNodeHighlight.cpp:
1114         (WebNodeHighlight::WebNodeHighlight):
1115         (WebNodeHighlight::update):
1116         * WebNodeHighlight.h:
1117         * WebView.cpp:
1118         (WebView::WebView):
1119         (WebView::close):
1120         (WebView::initWithFrame):
1121         (WebView::inspector):
1122         * WebView.h:
1123
1124 2015-01-20  Csaba Osztrogonác  <ossy@webkit.org>
1125
1126         Remove non-Windows cruft from WebKit/win/Plugins
1127         https://bugs.webkit.org/show_bug.cgi?id=140675
1128
1129         Reviewed by Anders Carlsson.
1130
1131         * Plugins/PluginDatabase.cpp:
1132         (WebCore::PluginDatabase::defaultPluginDirectories):
1133         (WebCore::PluginDatabase::isPreferredPluginDirectory):
1134         (WebCore::PluginDatabase::getPluginPathsInDirectories):
1135         * Plugins/PluginDebug.cpp:
1136         (WebCore::prettyNameForNPNVariable):
1137         (WebCore::prettyNameForNPPVariable):
1138         (WebCore::prettyNameForDrawingModel): Deleted.
1139         (WebCore::prettyNameForEventModel): Deleted.
1140         * Plugins/PluginDebug.h:
1141         * Plugins/PluginPackage.cpp:
1142         (WebCore::PluginPackage::compareFileVersion):
1143         (WebCore::PluginPackage::determineQuirks): Deleted.
1144         (WebCore::PluginPackage::determineModuleVersionFromDescription): Deleted.
1145         (WebCore::PluginPackage::hash): Deleted.
1146         (WebCore::PluginPackage::equal): Deleted.
1147         * Plugins/PluginView.cpp:
1148         (WebCore::PluginView::setFrameRect):
1149         (WebCore::PluginView::handleEvent):
1150         (WebCore::PluginView::stop):
1151         (WebCore::PluginView::setValue):
1152         (WebCore::PluginView::PluginView):
1153         * Plugins/PluginView.h:
1154         (WebCore::PluginView::platformPluginWidget): Deleted.
1155         (WebCore::PluginView::setPlatformPluginWidget): Deleted.
1156         * Plugins/PluginViewWin.cpp:
1157         (windowHandleForPageClient):
1158         (WebCore::PluginView::hookedBeginPaint):
1159         (WebCore::PluginView::hookedEndPaint):
1160         (WebCore::hook):
1161         (WebCore::registerPluginView):
1162         (WebCore::PluginView::paint):
1163         (WebCore::PluginView::handleMouseEvent):
1164         (WebCore::PluginView::setNPWindowRect):
1165         (WebCore::PluginView::platformStart):
1166         (WebCore::PluginView::snapshot):
1167         * Plugins/npapi.cpp:
1168         (NPN_InvalidateRect):
1169
1170 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
1171
1172         [Win] Periodic failure in DumpRenderTree related to WebActionPropertyBag::Read
1173         https://bugs.webkit.org/show_bug.cgi?id=139906
1174
1175         Reviewed by Dean Jackson.
1176
1177         WebKit on Windows was creating uninitialized VARIANT structures, then attempting
1178         to use them. This patch fixes that.
1179
1180         Identified by dom/html/level2/html/HTMLIFrameElement03.html (and others)
1181
1182         * COMEnumVariant.h:
1183         (COMEnumVariant<ContainerType>::Next):
1184         * COMPropertyBag.h:
1185         (HashType>::Read):
1186         * DefaultPolicyDelegate.cpp:
1187         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1188         * WebActionPropertyBag.cpp:
1189         (WebActionPropertyBag::Read):
1190         * WebDatabaseManager.cpp:
1191         (DatabaseDetailsPropertyBag::Read):
1192         * WebElementPropertyBag.cpp:
1193         (WebElementPropertyBag::Read):
1194         * WebFrame.cpp:
1195         (EnumChildFrames::Next):
1196         * WebView.cpp:
1197         (WebView::notifyDidAddIcon):
1198
1199 2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
1200
1201         Remove ENABLE(SQL_DATABASE) guards
1202         https://bugs.webkit.org/show_bug.cgi?id=140434
1203
1204         Reviewed by Darin Adler.
1205
1206         * ForEachCoClass.h:
1207         * WebCoreSupport/WebChromeClient.cpp:
1208         (WebChromeClient::exceededDatabaseQuota):
1209         * WebCoreSupport/WebChromeClient.h:
1210         * WebDatabaseManager.cpp:
1211         (WebKitInitializeWebDatabasesIfNecessary):
1212         * WebDatabaseManager.h:
1213         * WebSecurityOrigin.cpp:
1214         (WebSecurityOrigin::usage):
1215         (WebSecurityOrigin::quota):
1216         (WebSecurityOrigin::setQuota):
1217         * WebView.cpp:
1218         (WebView::initWithFrame):
1219         (WebView::notifyPreferencesChanged):
1220
1221 2015-01-15  Brent Fulgham  <bfulgham@apple.com>
1222
1223         [Win] Unreviewed build fix after r178510
1224
1225         Correct #include and declarations from Font->FontCascade
1226
1227         * DOMCoreClasses.cpp:
1228         (DOMElement::font):
1229         * FullscreenVideoController.cpp:
1230         (FullscreenVideoController::draw):
1231         * WebKitGraphics.cpp:
1232         * WebPreferences.cpp:
1233
1234 2015-01-14  Chris Dumez  <cdumez@apple.com>
1235
1236         Make 'TypeName' parameter unnecessary in CSSPropertyNames.in
1237         https://bugs.webkit.org/show_bug.cgi?id=140347
1238
1239         Reviewed by Darin Adler.
1240
1241         Call FontDescription::setIsItalic() instead of setItalic() as the
1242         call site passes a boolean.
1243
1244         * WebKitGraphics.cpp:
1245         (makeFont):
1246
1247 2015-01-11  Sam Weinig  <sam@webkit.org>
1248
1249         Remove support for SharedWorkers
1250         https://bugs.webkit.org/show_bug.cgi?id=140344
1251
1252         Reviewed by Anders Carlsson.
1253
1254         * WebCoreSupport/WebPlatformStrategies.cpp:
1255         (WebPlatformStrategies::createSharedWorkerStrategy): Deleted.
1256         * WebCoreSupport/WebPlatformStrategies.h:
1257
1258 2015-01-10  peavo@outlook.com  <peavo@outlook.com>
1259
1260         [WinCairo] Accelerated compositing has stopped working.
1261         https://bugs.webkit.org/show_bug.cgi?id=140334
1262
1263         Reviewed by Brent Fulgham.
1264
1265         The method GraphicsLayerTextureMapper::flushCompositingStateForThisLayerOnly()
1266         is not updating the backingstore anymore, we need to call the new method
1267         GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
1268
1269         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1270         (AcceleratedCompositingContext::flushPendingLayerChanges):
1271         (AcceleratedCompositingContext::flushAndRenderLayers):
1272
1273 2015-01-09  Anders Carlsson  <andersca@apple.com>
1274
1275         Get rid of the database strategy
1276         https://bugs.webkit.org/show_bug.cgi?id=140322
1277
1278         Reviewed by Sam Weinig.
1279
1280         * WebCoreSupport/WebPlatformStrategies.cpp:
1281         (WebPlatformStrategies::createDatabaseStrategy): Deleted.
1282         * WebCoreSupport/WebPlatformStrategies.h:
1283
1284 2015-01-06  Anders Carlsson  <andersca@apple.com>
1285
1286         Move the Windows only plug-in code to WebKit/win
1287         https://bugs.webkit.org/show_bug.cgi?id=140133
1288
1289         Reviewed by Darin Adler.
1290
1291         * Plugins/PaintHooks.asm: Renamed from Source/WebCore/plugins/win/PaintHooks.asm.
1292         * Plugins/PluginDatabase.cpp: Renamed from Source/WebCore/plugins/PluginDatabase.cpp.
1293         (WebCore::persistentPluginMetadataCachePath):
1294         (WebCore::PluginDatabase::PluginDatabase):
1295         (WebCore::PluginDatabase::installedPlugins):
1296         (WebCore::PluginDatabase::isMIMETypeRegistered):
1297         (WebCore::PluginDatabase::addExtraPluginDirectory):
1298         (WebCore::PluginDatabase::refresh):
1299         (WebCore::PluginDatabase::plugins):
1300         (WebCore::PluginDatabase::preferredPluginCompare):
1301         (WebCore::PluginDatabase::pluginForMIMEType):
1302         (WebCore::PluginDatabase::MIMETypeForExtension):
1303         (WebCore::PluginDatabase::findPlugin):
1304         (WebCore::PluginDatabase::setPreferredPluginForMIMEType):
1305         (WebCore::PluginDatabase::fileExistsAndIsNotDisabled):
1306         (WebCore::PluginDatabase::getDeletedPlugins):
1307         (WebCore::PluginDatabase::add):
1308         (WebCore::PluginDatabase::remove):
1309         (WebCore::PluginDatabase::clear):
1310         (WebCore::PluginDatabase::removeDisabledPluginFile):
1311         (WebCore::PluginDatabase::addDisabledPluginFile):
1312         (WebCore::PluginDatabase::defaultPluginDirectories):
1313         (WebCore::PluginDatabase::isPreferredPluginDirectory):
1314         (WebCore::PluginDatabase::getPluginPathsInDirectories):
1315         (WebCore::fillBufferWithContentsOfFile):
1316         (WebCore::readUTF8String):
1317         (WebCore::readTime):
1318         (WebCore::PluginDatabase::loadPersistentMetadataCache):
1319         (WebCore::writeUTF8String):
1320         (WebCore::writeTime):
1321         (WebCore::PluginDatabase::updatePersistentMetadataCache):
1322         (WebCore::PluginDatabase::isPersistentMetadataCacheEnabled):
1323         (WebCore::PluginDatabase::setPersistentMetadataCacheEnabled):
1324         (WebCore::PluginDatabase::persistentMetadataCachePath):
1325         (WebCore::PluginDatabase::setPersistentMetadataCachePath):
1326         * Plugins/PluginDatabase.h: Renamed from Source/WebCore/plugins/PluginDatabase.h.
1327         (WebCore::PluginDatabase::setPluginDirectories):
1328         (WebCore::PluginDatabase::pluginDirectories):
1329         * Plugins/PluginDatabaseWin.cpp: Renamed from Source/WebCore/plugins/win/PluginDatabaseWin.cpp.
1330         (WebCore::addPluginPathsFromRegistry):
1331         (WebCore::PluginDatabase::getPluginPathsInDirectories):
1332         (WebCore::parseVersionString):
1333         (WebCore::compareVersions):
1334         (WebCore::addMozillaPluginDirectories):
1335         (WebCore::addWindowsMediaPlayerPluginDirectory):
1336         (WebCore::addAdobeAcrobatPluginDirectory):
1337         (WebCore::addJavaPluginDirectory):
1338         (WebCore::safariPluginsDirectory):
1339         (WebCore::addMacromediaPluginDirectories):
1340         (WebCore::PluginDatabase::defaultPluginDirectories):
1341         (WebCore::PluginDatabase::isPreferredPluginDirectory):
1342         * Plugins/PluginDebug.cpp: Renamed from Source/WebCore/plugins/PluginDebug.cpp.
1343         (WebCore::prettyNameForNPError):
1344         (WebCore::prettyNameForDrawingModel):
1345         (WebCore::prettyNameForEventModel):
1346         (WebCore::prettyNameForNPNVariable):
1347         (WebCore::prettyNameForNPPVariable):
1348         (WebCore::prettyNameForNPNURLVariable):
1349         * Plugins/PluginDebug.h: Renamed from Source/WebCore/plugins/PluginDebug.h.
1350         * Plugins/PluginMessageThrottlerWin.cpp: Renamed from Source/WebCore/plugins/win/PluginMessageThrottlerWin.cpp.
1351         (WebCore::PluginMessageThrottlerWin::PluginMessageThrottlerWin):
1352         (WebCore::PluginMessageThrottlerWin::~PluginMessageThrottlerWin):
1353         (WebCore::PluginMessageThrottlerWin::appendMessage):
1354         (WebCore::PluginMessageThrottlerWin::processQueuedMessage):
1355         (WebCore::PluginMessageThrottlerWin::messageThrottleTimerFired):
1356         (WebCore::PluginMessageThrottlerWin::allocateMessage):
1357         (WebCore::PluginMessageThrottlerWin::isInlineMessage):
1358         (WebCore::PluginMessageThrottlerWin::freeMessage):
1359         * Plugins/PluginMessageThrottlerWin.h: Renamed from Source/WebCore/plugins/win/PluginMessageThrottlerWin.h.
1360         * Plugins/PluginPackage.cpp: Renamed from Source/WebCore/plugins/PluginPackage.cpp.
1361         (WebCore::PluginPackage::~PluginPackage):
1362         (WebCore::PluginPackage::freeLibrarySoon):
1363         (WebCore::PluginPackage::freeLibraryTimerFired):
1364         (WebCore::PluginPackage::compare):
1365         (WebCore::PluginPackage::PluginPackage):
1366         (WebCore::PluginPackage::unload):
1367         (WebCore::PluginPackage::unloadWithoutShutdown):
1368         (WebCore::PluginPackage::setEnabled):
1369         (WebCore::PluginPackage::createPackage):
1370         (WebCore::PluginPackage::createPackageFromCache):
1371         (WebCore::PluginPackage::determineQuirks):
1372         (WebCore::PluginPackage::determineModuleVersionFromDescription):
1373         (WebCore::getListFromVariantArgs):
1374         (WebCore::makeSource):
1375         (WebCore::NPN_Evaluate):
1376         (WebCore::NPN_Invoke):
1377         (WebCore::PluginPackage::initializeBrowserFuncs):
1378         (WebCore::PluginPackage::hash):
1379         (WebCore::PluginPackage::equal):
1380         (WebCore::PluginPackage::compareFileVersion):
1381         (WebCore::PluginPackage::ensurePluginLoaded):
1382         * Plugins/PluginPackage.h: Renamed from Source/WebCore/plugins/PluginPackage.h.
1383         (WebCore::PluginPackage::name):
1384         (WebCore::PluginPackage::description):
1385         (WebCore::PluginPackage::path):
1386         (WebCore::PluginPackage::fileName):
1387         (WebCore::PluginPackage::parentDirectory):
1388         (WebCore::PluginPackage::module):
1389         (WebCore::PluginPackage::lastModified):
1390         (WebCore::PluginPackage::mimeToDescriptions):
1391         (WebCore::PluginPackage::mimeToExtensions):
1392         (WebCore::PluginPackage::isEnabled):
1393         (WebCore::PluginPackage::pluginFuncs):
1394         (WebCore::PluginPackage::quirks):
1395         (WebCore::PluginPackage::version):
1396         (WebCore::PluginPackage::fullMIMEDescription):
1397         (WebCore::PluginPackageHash::hash):
1398         (WebCore::PluginPackageHash::equal):
1399         * Plugins/PluginPackageWin.cpp: Renamed from Source/WebCore/plugins/win/PluginPackageWin.cpp.
1400         (WebCore::getVersionInfo):
1401         (WebCore::PluginPackage::isPluginBlacklisted):
1402         (WebCore::PluginPackage::determineQuirks):
1403         (WebCore::PluginPackage::fetchInfo):
1404         (WebCore::PluginPackage::load):
1405         (WebCore::PluginPackage::hash):
1406         (WebCore::PluginPackage::equal):
1407         (WebCore::PluginPackage::NPVersion):
1408         * Plugins/PluginQuirkSet.h: Renamed from Source/WebCore/plugins/PluginQuirkSet.h.
1409         (WebCore::PluginQuirkSet::PluginQuirkSet):
1410         (WebCore::PluginQuirkSet::add):
1411         (WebCore::PluginQuirkSet::contains):
1412         * Plugins/PluginStream.cpp: Renamed from Source/WebCore/plugins/PluginStream.cpp.
1413         (WebCore::streams):
1414         (WebCore::PluginStream::PluginStream):
1415         (WebCore::PluginStream::~PluginStream):
1416         (WebCore::PluginStream::start):
1417         (WebCore::PluginStream::stop):
1418         (WebCore::lastModifiedDate):
1419         (WebCore::PluginStream::startStream):
1420         (WebCore::PluginStream::ownerForStream):
1421         (WebCore::PluginStream::cancelAndDestroyStream):
1422         (WebCore::PluginStream::destroyStream):
1423         (WebCore::PluginStream::delayDeliveryTimerFired):
1424         (WebCore::PluginStream::deliverData):
1425         (WebCore::PluginStream::sendJavaScriptStream):
1426         (WebCore::PluginStream::didReceiveResponse):
1427         (WebCore::PluginStream::didReceiveData):
1428         (WebCore::PluginStream::didFail):
1429         (WebCore::PluginStream::didFinishLoading):
1430         (WebCore::PluginStream::wantsAllStreams):
1431         * Plugins/PluginStream.h: Renamed from Source/WebCore/plugins/PluginStream.h.
1432         (WebCore::PluginStreamClient::~PluginStreamClient):
1433         (WebCore::PluginStreamClient::streamDidFinishLoading):
1434         (WebCore::PluginStream::create):
1435         (WebCore::PluginStream::setLoadManually):
1436         * Plugins/PluginView.cpp: Renamed from Source/WebCore/plugins/PluginView.cpp.
1437         (WebCore::instanceMap):
1438         (WebCore::scriptStringIfJavaScriptURL):
1439         (WebCore::PluginView::popPopupsStateTimerFired):
1440         (WebCore::PluginView::windowClipRect):
1441         (WebCore::PluginView::setFrameRect):
1442         (WebCore::PluginView::frameRectsChanged):
1443         (WebCore::PluginView::clipRectChanged):
1444         (WebCore::PluginView::handleEvent):
1445         (WebCore::PluginView::init):
1446         (WebCore::PluginView::startOrAddToUnstartedList):
1447         (WebCore::PluginView::start):
1448         (WebCore::PluginView::mediaCanStart):
1449         (WebCore::PluginView::~PluginView):
1450         (WebCore::PluginView::stop):
1451         (WebCore::PluginView::setCurrentPluginView):
1452         (WebCore::PluginView::currentPluginView):
1453         (WebCore::createUTF8String):
1454         (WebCore::PluginView::performRequest):
1455         (WebCore::PluginView::requestTimerFired):
1456         (WebCore::PluginView::scheduleRequest):
1457         (WebCore::PluginView::load):
1458         (WebCore::makeURL):
1459         (WebCore::PluginView::getURLNotify):
1460         (WebCore::PluginView::getURL):
1461         (WebCore::PluginView::postURLNotify):
1462         (WebCore::PluginView::postURL):
1463         (WebCore::PluginView::newStream):
1464         (WebCore::PluginView::write):
1465         (WebCore::PluginView::destroyStream):
1466         (WebCore::PluginView::status):
1467         (WebCore::PluginView::setValue):
1468         (WebCore::PluginView::invalidateTimerFired):
1469         (WebCore::PluginView::pushPopupsEnabledState):
1470         (WebCore::PluginView::popPopupsEnabledState):
1471         (WebCore::PluginView::arePopupsAllowed):
1472         (WebCore::PluginView::setJavaScriptPaused):
1473         (WebCore::PluginView::npObject):
1474         (WebCore::PluginView::bindingInstance):
1475         (WebCore::PluginView::disconnectStream):
1476         (WebCore::PluginView::setParameters):
1477         (WebCore::PluginView::PluginView):
1478         (WebCore::PluginView::focusPluginElement):
1479         (WebCore::PluginView::didReceiveResponse):
1480         (WebCore::PluginView::didReceiveData):
1481         (WebCore::PluginView::didFinishLoading):
1482         (WebCore::PluginView::didFail):
1483         (WebCore::PluginView::setCallingPlugin):
1484         (WebCore::PluginView::isCallingPlugin):
1485         (WebCore::PluginView::create):
1486         (WebCore::PluginView::freeStringArray):
1487         (WebCore::startsWithBlankLine):
1488         (WebCore::locationAfterFirstBlankLine):
1489         (WebCore::findEOL):
1490         (WebCore::capitalizeRFC822HeaderFieldName):
1491         (WebCore::parseRFC822HeaderFields):
1492         (WebCore::PluginView::handlePost):
1493         (WebCore::PluginView::invalidateWindowlessPluginRect):
1494         (WebCore::PluginView::paintMissingPluginIcon):
1495         (WebCore::PluginView::userAgent):
1496         (WebCore::PluginView::userAgentStatic):
1497         (WebCore::PluginView::lifeSupportTimerFired):
1498         (WebCore::PluginView::keepAlive):
1499         (WebCore::PluginView::getValueStatic):
1500         (WebCore::PluginView::getValue):
1501         (WebCore::getFrame):
1502         (WebCore::PluginView::getValueForURL):
1503         (WebCore::PluginView::setValueForURL):
1504         (WebCore::PluginView::getAuthenticationInfo):
1505         (WebCore::PluginView::privateBrowsingStateChanged):
1506         * Plugins/PluginView.h: Renamed from Source/WebCore/plugins/PluginView.h.
1507         (WebCore::PluginRequest::PluginRequest):
1508         (WebCore::PluginRequest::frameLoadRequest):
1509         (WebCore::PluginRequest::notifyData):
1510         (WebCore::PluginRequest::sendNotification):
1511         (WebCore::PluginRequest::shouldAllowPopups):
1512         (WebCore::PluginManualLoader::~PluginManualLoader):
1513         (WebCore::PluginView::plugin):
1514         (WebCore::PluginView::instance):
1515         (WebCore::PluginView::status):
1516         (WebCore::PluginView::streamDidFinishLoading):
1517         (WebCore::PluginView::parentFrame):
1518         (WebCore::PluginView::pluginsPage):
1519         (WebCore::PluginView::mimeType):
1520         (WebCore::PluginView::url):
1521         (WebCore::PluginView::pluginWndProc):
1522         (WebCore::PluginView::platformPluginWidget):
1523         (WebCore::PluginView::setPlatformPluginWidget):
1524         (WebCore::toPluginView):
1525         * Plugins/PluginViewWin.cpp: Renamed from Source/WebCore/plugins/win/PluginViewWin.cpp.
1526         (windowHandleForPageClient):
1527         (WebCore::PluginView::hookedBeginPaint):
1528         (WebCore::PluginView::hookedEndPaint):
1529         (WebCore::hook):
1530         (WebCore::setUpOffscreenPaintingHooks):
1531         (WebCore::registerPluginView):
1532         (WebCore::PluginView::PluginViewWndProc):
1533         (WebCore::isWindowsMessageUserGesture):
1534         (WebCore::contentsToNativeWindow):
1535         (WebCore::PluginView::wndProc):
1536         (WebCore::PluginView::updatePluginWidget):
1537         (WebCore::PluginView::setFocus):
1538         (WebCore::PluginView::show):
1539         (WebCore::PluginView::hide):
1540         (WebCore::PluginView::dispatchNPEvent):
1541         (WebCore::PluginView::paintIntoTransformedContext):
1542         (WebCore::PluginView::paintWindowedPluginIntoContext):
1543         (WebCore::PluginView::paint):
1544         (WebCore::PluginView::handleKeyboardEvent):
1545         (WebCore::PluginView::handleMouseEvent):
1546         (WebCore::PluginView::setParent):
1547         (WebCore::PluginView::setParentVisible):
1548         (WebCore::PluginView::setNPWindowRect):
1549         (WebCore::PluginView::handlePostReadFile):
1550         (WebCore::PluginView::platformGetValueStatic):
1551         (WebCore::PluginView::platformGetValue):
1552         (WebCore::PluginView::invalidateRect):
1553         (WebCore::PluginView::invalidateRegion):
1554         (WebCore::PluginView::forceRedraw):
1555         (WebCore::PluginView::platformStart):
1556         (WebCore::PluginView::platformDestroy):
1557         (WebCore::PluginView::snapshot):
1558         * Plugins/npapi.cpp: Renamed from Source/WebCore/plugins/npapi.cpp.
1559         (pluginViewForInstance):
1560         (NPN_MemAlloc):
1561         (NPN_MemFree):
1562         (NPN_MemFlush):
1563         (NPN_ReloadPlugins):
1564         (NPN_RequestRead):
1565         (NPN_GetURLNotify):
1566         (NPN_GetURL):
1567         (NPN_PostURLNotify):
1568         (NPN_PostURL):
1569         (NPN_NewStream):
1570         (NPN_Write):
1571         (NPN_DestroyStream):
1572         (NPN_UserAgent):
1573         (NPN_Status):
1574         (NPN_InvalidateRect):
1575         (NPN_InvalidateRegion):
1576         (NPN_ForceRedraw):
1577         (NPN_GetValue):
1578         (NPN_SetValue):
1579         (NPN_GetJavaEnv):
1580         (NPN_GetJavaPeer):
1581         (NPN_PushPopupsEnabledState):
1582         (NPN_PopPopupsEnabledState):
1583         (NPN_PluginThreadAsyncCall):
1584         (NPN_GetValueForURL):
1585         (NPN_SetValueForURL):
1586         (NPN_GetAuthenticationInfo):
1587         (NPN_PopUpContextMenu):
1588
1589 2015-01-08  Dean Jackson  <dino@apple.com>
1590
1591         Text not drawn or white-on-white for "Close Page"/"Go Back" button on safe browsing warning page
1592         https://bugs.webkit.org/show_bug.cgi?id=140232
1593         <rdar://problem/19371010>
1594
1595         Reviewed by Anders Carlsson.
1596
1597         Remove the applicationChromeMode setting, but leave stubs in to make
1598         sure existing binaries don't break.
1599
1600         * WebPreferences.cpp:
1601         (WebPreferences::initializeDefaultSettings):
1602         (WebPreferences::inApplicationChromeMode):
1603         (WebPreferences::setApplicationChromeMode):
1604         * WebView.cpp:
1605         (WebView::notifyPreferencesChanged):
1606
1607 2015-01-07  Brent Fulgham  <bfulgham@apple.com>
1608
1609         [Win] WindowCloseTimer is an ActiveDOMObject and must call suspendIfNeeded
1610         https://bugs.webkit.org/show_bug.cgi?id=140184
1611         <rdar://problem/19399740>
1612
1613         Reviewed by Jer Noble.
1614
1615         This bug was found in fast/loader/stateobjects/popstate-fires-with-page-cache.html
1616
1617         * WebView.cpp:
1618         (WindowCloseTimer::create): Modify to ensure a call to suspendIfNeeded is made
1619         during the creation process.
1620
1621 2015-01-07  Zan Dobersek  <zdobersek@igalia.com>
1622
1623         [TexMap] m_layer member in GraphicsLayerTextureMapper is always non-null
1624         https://bugs.webkit.org/show_bug.cgi?id=140135
1625
1626         Reviewed by Darin Adler.
1627
1628         GraphicsLayerTextureMapper::layer() now returns a reference,
1629         so the call sites are updated.
1630
1631         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1632         (AcceleratedCompositingContext::initialize):
1633         (AcceleratedCompositingContext::startedAnimation):
1634         (AcceleratedCompositingContext::compositeLayersToContext):
1635
1636 2015-01-06  Anders Carlsson  <andersca@apple.com>
1637
1638         Add a WebKit1 database provider
1639         https://bugs.webkit.org/show_bug.cgi?id=140126
1640
1641         Reviewed by Sam Weinig.
1642
1643         Set the database provider.
1644
1645         * WebView.cpp:
1646         (WebView::initWithFrame):
1647
1648 2015-01-06  Commit Queue  <commit-queue@webkit.org>
1649
1650         Unreviewed, rolling out r177963.
1651         https://bugs.webkit.org/show_bug.cgi?id=140136
1652
1653         Caused lots of crashes (Requested by smfr on #webkit).
1654
1655         Reverted changeset:
1656
1657         "Add a WebKit1 database provider"
1658         https://bugs.webkit.org/show_bug.cgi?id=140126
1659         http://trac.webkit.org/changeset/177963
1660
1661 2015-01-06  Anders Carlsson  <andersca@apple.com>
1662
1663         Add a WebKit1 database provider
1664         https://bugs.webkit.org/show_bug.cgi?id=140126
1665
1666         Reviewed by Sam Weinig.
1667
1668         Set the database provider.
1669
1670         * WebView.cpp:
1671         (WebView::initWithFrame):
1672
1673 2014-12-29  Anders Carlsson  <andersca@apple.com>
1674
1675         Another attempt at fixing the build.
1676
1677         * WebKitDLL.cpp:
1678         (shutDownWebKit):
1679
1680 2014-12-29  Anders Carlsson  <andersca@apple.com>
1681
1682         Try to fix the Windows build.
1683
1684         * WebKitDLL.cpp:
1685         (shutDownWebKit):
1686
1687 2014-12-19  peavo@outlook.com  <peavo@outlook.com>
1688
1689         [WinCairo] Crash after failing to create GL context in accelerated compositing mode.
1690         https://bugs.webkit.org/show_bug.cgi?id=139830
1691
1692         Reviewed by Alex Christensen.
1693
1694         There is missing a null pointer check.
1695
1696         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1697         (AcceleratedCompositingContext::initialize):
1698
1699 2014-12-19  Brent Fulgham  <bfulgham@apple.com>
1700
1701         [Win] Add accessor for serializing HTTP loads.
1702         https://bugs.webkit.org/show_bug.cgi?id=139817
1703
1704         Reviewed by Mark Lam.
1705
1706         * Interfaces/IWebViewPrivate.idl: Add new method.
1707         * WebView.cpp:
1708         (WebView::setLoadResourcesSerially): Provide implementation.
1709         * WebView.h:
1710
1711 2014-12-18  peavo@outlook.com  <peavo@outlook.com>
1712
1713         [WinCairo] Compile error in code for creating GL context.
1714         https://bugs.webkit.org/show_bug.cgi?id=139782
1715
1716         Reviewed by Alex Christensen.
1717
1718         The GLContext::createContextForWindow method has changed return type to std::unique_ptr.
1719
1720         * WebCoreSupport/AcceleratedCompositingContext.h:
1721
1722 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1723
1724         [Win] Update DumpRenderTree to more closely match Mac version
1725         https://bugs.webkit.org/show_bug.cgi?id=139799
1726
1727         Reviewed by Tim Horton.
1728
1729         * Interfaces/IWebSecurityOrigin.idl: Add initializer from URL.
1730         * Interfaces/WebKit.idl: Add CLSID so we can instantiate a
1731         WebSecurityOrigin from COM.
1732         * WebApplicationCache.h: Decorate class declaration with CLSID
1733         to support COM introspection.
1734         * WebSecurityOrigin.cpp: Get rid of meaningless STDMETHODCALLTYPE
1735         declarations inside implementation.
1736         (WebSecurityOrigin::QueryInterface):
1737         (WebSecurityOrigin::AddRef):
1738         (WebSecurityOrigin::Release):
1739         (WebSecurityOrigin::protocol):
1740         (WebSecurityOrigin::host):
1741         (WebSecurityOrigin::port):
1742         (WebSecurityOrigin::usage):
1743         (WebSecurityOrigin::quota):
1744         (WebSecurityOrigin::setQuota):
1745         (WebSecurityOrigin::initWithURL): Added.
1746         * WebSecurityOrigin.h:
1747
1748 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1749
1750         [Win] Correct Windows tests after Bug 139149.
1751         https://bugs.webkit.org/show_bug.cgi?id=139781
1752
1753         Reviewed by Anders Carlsson.
1754
1755         * Interfaces/IWebApplicationCache.idl: Added.
1756         * Interfaces/WebKit.idl: Add new IDL file.
1757         * WebActionPropertyBag.cpp:
1758         (WebActionPropertyBag::Read): Remove old debugging message.
1759         * WebApplicationCache.cpp: Added.
1760         (WebApplicationCache::WebApplicationCache):
1761         (WebApplicationCache::~WebApplicationCache):
1762         (WebApplicationCache::createInstance):
1763         (WebApplicationCache::QueryInterface):
1764         (WebApplicationCache::AddRef):
1765         (WebApplicationCache::Release):
1766         (WebApplicationCache::maximumSize):
1767         (WebApplicationCache::setMaximumSize):
1768         (WebApplicationCache::defaultOriginQuota):
1769         (WebApplicationCache::setDefaultOriginQuota):
1770         (WebApplicationCache::diskUsageForOrigin):
1771         (WebApplicationCache::deleteAllApplicationCaches):
1772         (WebApplicationCache::deleteCacheForOrigin):
1773         (WebApplicationCache::originsWithCache):
1774         * WebApplicationCache.h: Added.
1775         * WebKitClassFactory.cpp: Add new interface header.
1776
1777 2014-12-17  Anders Carlsson  <andersca@apple.com>
1778
1779         Get rid of FrameLoader::defaultObjectContentType
1780         https://bugs.webkit.org/show_bug.cgi?id=139758
1781
1782         Reviewed by Geoffrey Garen.
1783
1784         * WebCoreSupport/WebFrameLoaderClient.cpp:
1785         (WebFrameLoaderClient::objectContentType):
1786
1787 2014-12-16  Andreas Kling  <akling@apple.com>
1788
1789         Use Ref for SecurityOrigin.
1790         <https://webkit.org/b/139710>
1791
1792         Reviewed by Anders Carlsson.
1793
1794         * WebDatabaseManager.cpp:
1795         (WebDatabaseManager::setQuota):
1796         * WebView.cpp:
1797         (WebView::addOriginAccessWhitelistEntry):
1798         (WebView::removeOriginAccessWhitelistEntry):
1799
1800 2014-12-11  Alexey Proskuryakov  <ap@apple.com>
1801
1802         REGRESSION (Async Text Input): Text input method state is not reset when reloading a page
1803         https://bugs.webkit.org/show_bug.cgi?id=139504
1804         rdar://problem/19034674
1805
1806         Reviewed by Enrica Casucci.
1807
1808         Stub out new client calls, this patch doesn't attempt to make any changes on Windows.
1809
1810         * WebCoreSupport/WebEditorClient.cpp:
1811         (WebEditorClient::discardedComposition):
1812         * WebCoreSupport/WebEditorClient.h:
1813
1814 2014-12-10  Anders Carlsson  <andersca@apple.com>
1815
1816         Get rid of the storage strategy
1817         https://bugs.webkit.org/show_bug.cgi?id=139519
1818
1819         Reviewed by Antti Koivisto.
1820
1821         * WebCoreSupport/WebPlatformStrategies.cpp:
1822         (WebPlatformStrategies::createStorageStrategy): Deleted.
1823         * WebCoreSupport/WebPlatformStrategies.h:
1824
1825 2014-12-08  Anders Carlsson  <andersca@apple.com>
1826
1827         Use the new storage namespace provider in WebKit1
1828         https://bugs.webkit.org/show_bug.cgi?id=139425
1829
1830         Reviewed by Tim Horton.
1831
1832         * WebView.cpp:
1833         (localStorageDatabasePath):
1834         Helper from getting the local storage database path given a WebPreferences instance.
1835
1836         (WebView::initWithFrame):
1837         Create a storage namespace provider.
1838
1839 2014-12-09  Commit Queue  <commit-queue@webkit.org>
1840
1841         Unreviewed, rolling out r177037.
1842         https://bugs.webkit.org/show_bug.cgi?id=139464
1843
1844         broke ~50 API tests (Requested by thorton on #webkit).
1845
1846         Reverted changeset:
1847
1848         "Use the new storage namespace provider in WebKit1"
1849         https://bugs.webkit.org/show_bug.cgi?id=139425
1850         http://trac.webkit.org/changeset/177037
1851
1852 2014-12-08  Anders Carlsson  <andersca@apple.com>
1853
1854         Use the new storage namespace provider in WebKit1
1855         https://bugs.webkit.org/show_bug.cgi?id=139425
1856
1857         Reviewed by Tim Horton.
1858
1859         * WebView.cpp:
1860         (localStorageDatabasePath):
1861         Helper from getting the local storage database path given a WebPreferences instance.
1862
1863         (WebView::initWithFrame):
1864         Create a storage namespace provider.
1865
1866 2014-12-05  Anders Carlsson  <andersca@apple.com>
1867
1868         Get rid of config.h includes and include config.h in the prefix header instead
1869         https://bugs.webkit.org/show_bug.cgi?id=139323
1870
1871         Reviewed by Brent Fulgham.
1872
1873         This is making it easier to share code between WebKit1 for Mac and WebKit1 for Windows.
1874
1875         * AccessibleBase.cpp:
1876         * AccessibleDocument.cpp:
1877         * AccessibleImage.cpp:
1878         * AccessibleTextImpl.cpp:
1879         * CFDictionaryPropertyBag.cpp:
1880         * DOMCSSClasses.cpp:
1881         * DOMCoreClasses.cpp:
1882         * DOMEventsClasses.cpp:
1883         * DOMHTMLClasses.cpp:
1884         * DefaultDownloadDelegate.cpp:
1885         * DefaultPolicyDelegate.cpp:
1886         * ForEachCoClass.cpp:
1887         * FullscreenVideoController.cpp:
1888         * MarshallingHelpers.cpp:
1889         * MemoryStream.cpp:
1890         * WebActionPropertyBag.cpp:
1891         * WebArchive.cpp:
1892         * WebBackForwardList.cpp:
1893         * WebCache.cpp:
1894         * WebCoreStatistics.cpp:
1895         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1896         * WebCoreSupport/EmbeddedWidget.cpp:
1897         * WebCoreSupport/WebChromeClient.cpp:
1898         * WebCoreSupport/WebContextMenuClient.cpp:
1899         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
1900         * WebCoreSupport/WebDragClient.cpp:
1901         * WebCoreSupport/WebEditorClient.cpp:
1902         * WebCoreSupport/WebFrameLoaderClient.cpp:
1903         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1904         * WebCoreSupport/WebGeolocationClient.cpp:
1905         * WebCoreSupport/WebInspectorClient.cpp:
1906         * WebCoreSupport/WebInspectorDelegate.cpp:
1907         * WebCoreSupport/WebPlatformStrategies.cpp:
1908         * WebCoreSupport/WebVisitedLinkStore.cpp:
1909         * WebDataSource.cpp:
1910         * WebDatabaseManager.cpp:
1911         * WebDocumentLoader.cpp:
1912         * WebDownload.cpp:
1913         * WebDownloadCFNet.cpp:
1914         * WebDownloadCurl.cpp:
1915         * WebDropSource.cpp:
1916         * WebElementPropertyBag.cpp:
1917         * WebError.cpp:
1918         * WebFrame.cpp:
1919         * WebFramePolicyListener.cpp:
1920         * WebGeolocationPolicyListener.cpp:
1921         * WebGeolocationPosition.cpp:
1922         * WebHTMLRepresentation.cpp:
1923         * WebHistory.cpp:
1924         * WebHistoryItem.cpp:
1925         * WebIconDatabase.cpp:
1926         * WebInspector.cpp:
1927         * WebJavaScriptCollector.cpp:
1928         * WebKitCOMAPI.cpp:
1929         * WebKitClassFactory.cpp:
1930         * WebKitDLL.cpp:
1931         * WebKitGraphics.cpp:
1932         * WebKitLogging.cpp:
1933         * WebKitPrefix.h:
1934         * WebKitStatistics.cpp:
1935         * WebKitSystemBits.cpp:
1936         * WebLocalizableStrings.cpp:
1937         * WebMutableURLRequest.cpp:
1938         * WebNavigationData.cpp:
1939         * WebNodeHighlight.cpp:
1940         * WebNotification.cpp:
1941         * WebNotificationCenter.cpp:
1942         * WebPreferences.cpp:
1943         * WebResource.cpp:
1944         * WebScriptObject.cpp:
1945         * WebScriptWorld.cpp:
1946         * WebSecurityOrigin.cpp:
1947         * WebSerializedJSValue.cpp:
1948         * WebTextRenderer.cpp:
1949         * WebURLAuthenticationChallenge.cpp:
1950         * WebURLAuthenticationChallengeSender.cpp:
1951         * WebURLAuthenticationChallengeSenderCFNet.cpp:
1952         * WebURLAuthenticationChallengeSenderCurl.cpp:
1953         * WebURLCredential.cpp:
1954         * WebURLProtectionSpace.cpp:
1955         * WebURLResponse.cpp:
1956         * WebUserContentURLPattern.cpp:
1957         * WebView.cpp:
1958         * WebWorkersPrivate.cpp:
1959
1960 2014-12-05  Anders Carlsson  <andersca@apple.com>
1961
1962         Follow-up build fix.
1963
1964         * WebCoreSupport/WebVisitedLinkStore.cpp:
1965         (WebVisitedLinkStore::shared):
1966
1967 2014-12-04  Anders Carlsson  <andersca@apple.com>
1968
1969         Don't use NeverDestroyed with a RefCounted object.
1970
1971         * WebCoreSupport/WebVisitedLinkStore.cpp:
1972         (WebVisitedLinkStore::shared):
1973
1974 2014-12-03  peavo@outlook.com  <peavo@outlook.com>
1975
1976         [TexMap] Redundant method in GraphicsLayerTextureMapper.
1977         https://bugs.webkit.org/show_bug.cgi?id=138005
1978
1979         Reviewed by Alex Christensen.
1980
1981         The TextureMapperLayer method descendantsOrSelfHaveRunningAnimations() can be used
1982         instead of the GraphicsLayerTextureMapper method startedAnimation().
1983
1984         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1985         (AcceleratedCompositingContext::startedAnimation):
1986
1987 2014-12-02  Anders Carlsson  <andersca@apple.com>
1988
1989         Remove more Windows cruft
1990         https://bugs.webkit.org/show_bug.cgi?id=139189
1991
1992         Reviewed by Andreas Kling.
1993
1994         * WebCoreSupport/WebFrameLoaderClient.cpp:
1995         (WebFrameLoaderClient::createNetworkingContext):
1996         * WebCoreSupport/WebFrameNetworkingContext.h:
1997         (WebFrameNetworkingContext::create):
1998         (WebFrameNetworkingContext::WebFrameNetworkingContext):
1999         (WebFrameNetworkingContext::userAgent): Deleted.
2000
2001 2014-12-02  Anders Carlsson  <andersca@apple.com>
2002
2003         Remove visited link handling from PageGroup
2004         https://bugs.webkit.org/show_bug.cgi?id=139185
2005
2006         Reviewed by Sam Weinig.
2007
2008         * WebCoreSupport/WebChromeClient.cpp:
2009         (WebChromeClient::populateVisitedLinks): Deleted.
2010         * WebCoreSupport/WebChromeClient.h:
2011
2012 2014-12-01  Anders Carlsson  <andersca@apple.com>
2013
2014         Remove IWebCookieManager on Windows
2015         https://bugs.webkit.org/show_bug.cgi?id=139144
2016
2017         Reviewed by Sam Weinig.
2018
2019         Remove WebCookieManager.
2020
2021         * ForEachCoClass.h:
2022         * Interfaces/IWebCookieManager.idl: Removed.
2023         * Interfaces/WebKit.idl:
2024         * WebCookieManager.cpp: Removed.
2025         * WebCookieManager.h: Removed.
2026         * WebCookieManagerCFNet.cpp: Removed.
2027         * WebCookieManagerCurl.cpp: Removed.
2028         * WebKitClassFactory.cpp:
2029
2030 2014-11-29  Anders Carlsson  <andersca@apple.com>
2031
2032         Switch over to using WebVisitedLinkStore on Windows
2033         https://bugs.webkit.org/show_bug.cgi?id=139103
2034
2035         Reviewed by Antti Koivisto.
2036
2037         * WebCoreSupport/WebChromeClient.cpp:
2038         (WebChromeClient::populateVisitedLinks):
2039         * WebHistory.cpp:
2040         (WebHistory::setOptionalSharedHistory):
2041         (WebHistory::removeAllItems):
2042         (WebHistory::setVisitedLinkTrackingEnabled):
2043         (WebHistory::removeAllVisitedLinks):
2044         (WebHistory::removeItemForURLString):
2045         (WebHistory::addVisitedLinksToVisitedLinkStore):
2046         (WebHistory::addVisitedLinksToPageGroup): Deleted.
2047         * WebHistory.h:
2048         * WebView.cpp:
2049         (WebView::initWithFrame):
2050
2051 2014-11-29  Anders Carlsson  <andersca@apple.com>
2052
2053         Another build fix.
2054
2055         * WebHistory.cpp:
2056         (WebHistory::addVisitedLinksToVisitedLinkStore):
2057
2058 2014-11-29  Anders Carlsson  <andersca@apple.com>
2059
2060         Another build fix.
2061
2062         * WebHistory.cpp:
2063         (WebHistory::addVisitedLinksToVisitedLinkStore):
2064         (WebHistory::removeAllVisitedLinks): Deleted.
2065         (WebHistory::setHistoryItemLimit): Deleted.
2066
2067 2014-11-29  Anders Carlsson  <andersca@apple.com>
2068
2069         Try to fix build.
2070
2071         * WebHistory.h:
2072
2073 2014-11-29  Anders Carlsson  <andersca@apple.com>
2074
2075         Stub out more of WebVisitedLinkStore on Windows
2076         https://bugs.webkit.org/show_bug.cgi?id=139098
2077
2078         Reviewed by Sam Weinig.
2079
2080         * WebCoreSupport/WebVisitedLinkStore.cpp:
2081         (WebVisitedLinkStore::WebVisitedLinkStore):
2082         Initialize m_visitedLinksPopulated to false.
2083
2084         (WebVisitedLinkStore::setShouldTrackVisitedLinks):
2085         Update s_shouldTrackVisitedLinks and remove all visited links if needed.
2086
2087         (WebVisitedLinkStore::removeAllVisitedLinks):
2088         Remove all hashes from our shared link store.
2089
2090         (WebVisitedLinkStore::addVisitedLink):
2091         Compute the visited link hash and add it to the store.
2092
2093         (WebVisitedLinkStore::isLinkVisited):
2094         Populate visited links and then look up the hash in our hash map.
2095
2096         (WebVisitedLinkStore::populateVisitedLinksIfNeeded):
2097         Call out to the history delegate or populate visited links from shared history.
2098
2099         (WebVisitedLinkStore::addVisitedLinkHash):
2100         Add the hash if we're tracking hashes.
2101
2102         (WebVisitedLinkStore::removeVisitedLinkHashes):
2103         Clear the map.
2104
2105         * WebCoreSupport/WebVisitedLinkStore.h:
2106         Add members.
2107
2108         * WebHistory.cpp:
2109         (WebHistory::addVisitedLinksToVisitedLinkStore):
2110         New function that adds visited links from the history to a given store.
2111
2112         * WebHistory.h:
2113         Add new member.
2114
2115         * WebView.cpp:
2116         (WebView::addVisitedLinks):
2117         Add links to the visited link store as well.
2118
2119 2014-11-27  Anders Carlsson  <andersca@apple.com>
2120
2121         Add a stubbed out WebVisitedLinkStore class on Windows
2122         https://bugs.webkit.org/show_bug.cgi?id=139078
2123
2124         Reviewed by Sam Weinig.
2125
2126         * WebCoreSupport/WebVisitedLinkStore.cpp: Added.
2127         (WebVisitedLinkStore::shared):
2128         (WebVisitedLinkStore::WebVisitedLinkStore):
2129         (WebVisitedLinkStore::~WebVisitedLinkStore):
2130         (WebVisitedLinkStore::isLinkVisited):
2131         (WebVisitedLinkStore::addVisitedLink):
2132         * WebCoreSupport/WebVisitedLinkStore.h: Added.
2133
2134 2014-11-24  Anders Carlsson  <andersca@apple.com>
2135
2136         Stub out user content WebView member functions on Windows
2137         https://bugs.webkit.org/show_bug.cgi?id=139033
2138
2139         Reviewed by Sam Weinig.
2140
2141         These functions aren't used by any clients and hinder getting rid of PageGroup.
2142         If it turns out they're still needed we can copy the user content controller code from Mac Legacy WebKit.
2143
2144         * WebView.cpp:
2145         (WebView::addUserScriptToGroup):
2146         (WebView::addUserStyleSheetToGroup):
2147         (WebView::removeUserScriptFromGroup):
2148         (WebView::removeUserStyleSheetFromGroup):
2149         (WebView::removeUserScriptsFromGroup):
2150         (WebView::removeUserStyleSheetsFromGroup):
2151         (WebView::removeAllUserContentFromGroup):
2152         (toStringVector): Deleted.
2153
2154 2014-11-21  Jer Noble  <jer.noble@apple.com>
2155
2156         Support multiple signatures of diagnostic logging.
2157         https://bugs.webkit.org/show_bug.cgi?id=138690
2158
2159         Reviewed by Anders Carlsson.
2160
2161         Page::PageClients has been renamed PageConfiguration.
2162
2163         * WebView.cpp:
2164         (WebView::initWithFrame):
2165
2166 2014-11-21  Anders Carlsson  <andersca@apple.com>
2167
2168         Another Windows build fix.
2169
2170         * FullscreenVideoController.cpp:
2171         (FullscreenVideoController::FullscreenVideoController):
2172
2173 2014-11-21  Anders Carlsson  <andersca@apple.com>
2174
2175         Remove the Timer parameters from timer callbacks
2176         https://bugs.webkit.org/show_bug.cgi?id=138974
2177
2178         Reviewed by Antti Koivisto.
2179
2180         * FullscreenVideoController.cpp:
2181         (FullscreenVideoController::timerFired):
2182         * FullscreenVideoController.h:
2183
2184 2014-11-21  Anders Carlsson  <andersca@apple.com>
2185
2186         Make memoryCache() return a reference
2187         https://bugs.webkit.org/show_bug.cgi?id=138939
2188
2189         Reviewed by Antti Koivisto.
2190
2191         * WebCache.cpp:
2192         (WebCache::statistics):
2193         (WebCache::empty):
2194         (WebCache::setDisabled):
2195         (WebCache::disabled):
2196         * WebView.cpp:
2197         (WebView::setCacheModel):
2198
2199 2014-11-16  Zan Dobersek  <zdobersek@igalia.com>
2200
2201         [TexMap] Add typecasting support for GraphicsLayerTextureMapper
2202         https://bugs.webkit.org/show_bug.cgi?id=138741
2203
2204         Reviewed by Martin Robinson.
2205
2206         Switch to using downcast<GraphicsLayerTextureMapper>() and replace
2207         uses of toTextureMapperLayer() with downcasting and calling
2208         the GraphicsLayerTextureMapper::layer() method.
2209
2210         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2211         (AcceleratedCompositingContext::initialize):
2212         (AcceleratedCompositingContext::startedAnimation):
2213         (AcceleratedCompositingContext::compositeLayersToContext):
2214
2215 2014-11-12  Chris Dumez  <cdumez@apple.com>
2216
2217         Have DOMTimer deal with more ScriptExecutionContext references
2218         https://bugs.webkit.org/show_bug.cgi?id=138679
2219
2220         Reviewed by Andreas Kling.
2221
2222         Update WindowCloseTimer to deal with ScriptExecutionContext references
2223         instead of pointers as it subclasses SuspendableTimer and its
2224         constructor takes a ScriptExecutionContext& in argument.
2225
2226         * WebView.cpp:
2227         (WindowCloseTimer::create):
2228         (WindowCloseTimer::WindowCloseTimer):
2229
2230 2014-11-05  Jer Noble  <jer.noble@apple.com>
2231
2232         De-templatize Timer
2233         https://bugs.webkit.org/show_bug.cgi?id=138450
2234
2235         Reviewed by Anders Carlsson.
2236
2237         * FullscreenVideoController.cpp:
2238         (FullscreenVideoController::timerFired):
2239         * FullscreenVideoController.h:
2240
2241 2014-11-04  Darin Adler  <darin@apple.com>
2242
2243         Eliminate ResourceBuffer and use SharedBuffer directly instead
2244         https://bugs.webkit.org/show_bug.cgi?id=138174
2245
2246         Reviewed by Antti Koivisto.
2247
2248         * WebDataSource.cpp:
2249         (WebDataSource::data): Use SharedBuffer directly.
2250         (WebDataSource::subresourceForURL): Ditto.
2251
2252 2014-11-03  Commit Queue  <commit-queue@webkit.org>
2253
2254         Unreviewed, rolling out r175406, r175413, and r175423.
2255         https://bugs.webkit.org/show_bug.cgi?id=138327
2256
2257         Multipart tests are still broken (Requested by ap on #webkit).
2258
2259         Reverted changesets:
2260
2261         "Eliminate ResourceBuffer and use SharedBuffer directly
2262         instead"
2263         https://bugs.webkit.org/show_bug.cgi?id=138174
2264         http://trac.webkit.org/changeset/175406
2265
2266         "Unreviewed, iOS build fix since 175406."
2267         http://trac.webkit.org/changeset/175413
2268
2269         "Fix assertion in CachedResource::addDataBuffer"
2270         http://trac.webkit.org/changeset/175423
2271
2272 2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
2273
2274         AX: Fix some minor typos related to the word "accessibility".
2275         https://bugs.webkit.org/show_bug.cgi?id=138299
2276
2277         Reviewed by Chris Fleizach.
2278
2279         No new tests, no behavior change.
2280
2281         * AccessibleBase.h:
2282
2283 2014-10-31  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2284
2285         Use std::unique_ptr for TypeCountSet
2286         https://bugs.webkit.org/show_bug.cgi?id=138242
2287
2288         Reviewed by Andreas Kling.
2289
2290         * WebCoreStatistics.cpp:
2291         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Use std::unique_ptr<> instead of OwnPtr.
2292         (WebCoreStatistics::javaScriptObjectTypeCounts): ditto.
2293
2294 2014-10-30  Darin Adler  <darin@apple.com>
2295
2296         Eliminate ResourceBuffer and use SharedBuffer directly instead
2297         https://bugs.webkit.org/show_bug.cgi?id=138174
2298
2299         Reviewed by Antti Koivisto.
2300
2301         * WebDataSource.cpp:
2302         (WebDataSource::data): Use SharedBuffer directly.
2303         (WebDataSource::subresourceForURL): Ditto.
2304
2305 2014-10-20  peavo@outlook.com  <peavo@outlook.com>
2306
2307         [WinCairo] Crash in ATI display driver in accelerated compositing mode.
2308         https://bugs.webkit.org/show_bug.cgi?id=137879
2309
2310         Reviewed by Darin Adler.
2311
2312         Speculative fix; don't enable antialiasing when drawing textures.
2313
2314         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2315         (AcceleratedCompositingContext::initialize):
2316
2317 2014-10-20  Chris Dumez  <cdumez@apple.com>
2318
2319         Use is<>() / downcast<>() for Accessibility objects
2320         https://bugs.webkit.org/show_bug.cgi?id=137286
2321
2322         Reviewed by Darin Adler.
2323
2324         Use is<>() / downcast<>() for Accessibility objects.
2325
2326         * AccessibleBase.cpp:
2327         (AccessibleBase::accSelect):
2328         * AccessibleImage.cpp:
2329         (AccessibleImage::name):
2330
2331 2014-10-18  peavo@outlook.com  <peavo@outlook.com>
2332
2333         [WinCairo] Repaint issues with accelerated compositing.
2334         https://bugs.webkit.org/show_bug.cgi?id=137850
2335
2336         Reviewed by Brent Fulgham.
2337
2338         There is sometimes missing content in accelerated compositing mode.
2339         This is caused by not invalidating the non composited layer,
2340         and not rendering when a flush did not complete.
2341
2342         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2343         (AcceleratedCompositingContext::flushAndRenderLayers): Also render when flush did not complete.
2344         (AcceleratedCompositingContext::setNeedsDisplayInRect): Deleted.
2345         * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
2346         * WebView.cpp:
2347         (WebView::addToDirtyRegion): Invalidate non composited layer.
2348         (WebView::flushPendingGraphicsLayerChanges): Flush layers.
2349
2350 2014-10-17  Chris Dumez  <cdumez@apple.com>
2351
2352         Use is<>() / downcast<>() for RenderBox
2353         https://bugs.webkit.org/show_bug.cgi?id=137804
2354
2355         Reviewed by Andreas Kling.
2356
2357         Use is<>() / downcast<>() for RenderBox and clean up the surrounding
2358         code.
2359
2360         * WebView.cpp:
2361         (WebView::gestureNotify):
2362
2363 2014-10-17  peavo@outlook.com  <peavo@outlook.com>
2364
2365         [WinCairo] Accelerated compositing is not implemented.
2366         https://bugs.webkit.org/show_bug.cgi?id=137345
2367
2368         Reviewed by Brent Fulgham.
2369
2370         This patch is based on GTK, and the texture mapper graphics layer type.
2371
2372         * WebCoreSupport/AcceleratedCompositingContext.cpp: Added.
2373         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
2374         (WebKit::getWebViewSize):
2375         (WebKit::AcceleratedCompositingContext::initialize):
2376         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
2377         (WebKit::AcceleratedCompositingContext::stopAnyPendingLayerFlush):
2378         (WebKit::AcceleratedCompositingContext::enabled):
2379         (WebKit::AcceleratedCompositingContext::prepareForRendering):
2380         (WebKit::AcceleratedCompositingContext::startedAnimation):
2381         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
2382         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
2383         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
2384         (WebKit::AcceleratedCompositingContext::setNeedsDisplayInRect):
2385         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
2386         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents):
2387         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
2388         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
2389         (WebKit::AcceleratedCompositingContext::flushPendingLayerChangesSoon):
2390         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
2391         (WebKit::AcceleratedCompositingContext::layerFlushTimerFired):
2392         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
2393         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
2394         (WebKit::AcceleratedCompositingContext::paintContents):
2395         * WebCoreSupport/AcceleratedCompositingContext.h: Added.
2396         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::LayerFlushTimer):
2397         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::fired):
2398         * WebView.cpp:
2399         (WebView::WebView):
2400         (WebView::addToDirtyRegion):
2401         (WebView::scrollBackingStore):
2402         (WebView::sizeChanged):
2403         (WebView::paint):
2404         (WebView::setRootChildLayer):
2405         (WebView::flushPendingGraphicsLayerChangesSoon):
2406         (WebView::setAcceleratedCompositing):
2407         * WebView.h:
2408
2409 2014-10-16  Commit Queue  <commit-queue@webkit.org>
2410
2411         Unreviewed, rolling out r174754.
2412         https://bugs.webkit.org/show_bug.cgi?id=137789
2413
2414         Speculative fix for Windows test was ineffective. (Requested
2415         by rfong on #webkit).
2416
2417         Reverted changeset:
2418
2419         "[Windows] Add some more logging to debug Windows test
2420         issues."
2421         http://trac.webkit.org/changeset/174754
2422
2423 2014-10-15  Roger Fong  <roger_fong@apple.com>
2424
2425         [Windows] Add some more logging to debug Windows test issues.
2426
2427         * WebActionPropertyBag.cpp:
2428         (WebActionPropertyBag::Read):
2429
2430 2014-10-14  Roger Fong  <roger_fong@apple.com>
2431
2432         [Windows] Add some logging to debug random crashing when running layout tests on Windows.
2433
2434         * WebActionPropertyBag.cpp:
2435         (WebActionPropertyBag::Read):
2436
2437 2014-10-13  Brent Fulgham  <bfulgham@apple.com>
2438
2439         [Win] Implement a page load profiling tool
2440         https://bugs.webkit.org/show_bug.cgi?id=137673
2441
2442         Reviewed by Dean Jackson.
2443
2444         Add a new predicate (isMainFrame) to the IWebFrame interface so
2445         that we can make decisions about a frames position in the page
2446         load hierarchy in client programs.
2447
2448         * Interfaces/IWebFrame.idl: Added new isMainFrame
2449         predicate to interface definition.
2450         * WebFrame.cpp:
2451         (WebFrame::isMainFrame): Added.
2452         * WebFrame.h:
2453
2454 2014-10-13  Chris Dumez  <cdumez@apple.com>
2455
2456         Use is<>() / downcast<>() for PlatformCALayer subclasses
2457         https://bugs.webkit.org/show_bug.cgi?id=137661
2458
2459         Reviewed by Simon Fraser.
2460
2461         Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up 
2462         the surrounding code.
2463
2464         * FullscreenVideoController.cpp:
2465         (FullscreenVideoController::enterFullscreen):
2466
2467 2014-10-10  Chris Dumez  <cdumez@apple.com>
2468
2469         Use is<>() / downcast<>() for RenderElement
2470         https://bugs.webkit.org/show_bug.cgi?id=137622
2471
2472         Reviewed by Benjamin Poulain.
2473
2474         Use is<>() / downcast<>() for RenderElement and clean up the
2475         surrounding code.
2476
2477         * WebFrame.cpp:
2478         (WebFrame::pauseAnimation):
2479         (WebFrame::pauseTransition):
2480
2481 2014-10-09  Chris Dumez  <cdumez@apple.com>
2482
2483         Use is<>() / downcast<>() for Widget subclasses
2484         https://bugs.webkit.org/show_bug.cgi?id=137549
2485
2486         Reviewed by Darin Adler.
2487
2488         Use is<>() / downcast<>() for Widget subclasses and clean up the
2489         surrounding code.
2490
2491         * WebCoreSupport/EmbeddedWidget.cpp:
2492         (EmbeddedWidget::frameRectsChanged):
2493
2494 2014-10-08  Brent Fulgham  <bfulgham@apple.com>
2495
2496         [Win] Resolve various static analyzer warnings in WebKit.
2497         https://bugs.webkit.org/show_bug.cgi?id=137531
2498
2499         Reviewed by Dean Jackson.
2500
2501         * MarshallingHelpers.cpp:
2502         (MarshallingHelpers::safeArrayToIntArray): Handle possible failure of
2503         SafeArrayGetElement call.
2504         (MarshallingHelpers::safeArrayToIUnknownArray): Ditto.
2505         * MemoryStream.cpp:
2506         (MemoryStream::CopyTo): Zero-initialize 'written' to silence warning. 
2507         * WebCoreSupport/WebChromeClient.cpp:
2508         (WebChromeClient::exceededDatabaseQuota): Handle possible failure of
2509         GetModuleFileName.
2510         * WebHistory.cpp:
2511         (getDayBoundaries): Handle possible failure of TzSpecificLocalTimeToSystemTime
2512         * WebView.cpp:
2513         (WebView::shouldInitializeTrackPointHack): Zero initialize return value.
2514         (WebView::dispatchDidReceiveIconFromWebFrame): Avoid possible DeleteObject
2515         call on a null bitmap handle.
2516         (WebView::standardUserAgentWithApplicationName): Get rid of spurious
2517         pointer dereference.
2518
2519 2014-10-02  Tim Horton  <timothy_horton@apple.com>
2520
2521         Move PageOverlay[Controller] to WebCore
2522         https://bugs.webkit.org/show_bug.cgi?id=137164
2523         <rdar://problem/18508258>
2524
2525         Reviewed by Anders Carlsson.
2526
2527         * WebCoreSupport/WebChromeClient.cpp:
2528         (WebChromeClient::attachViewOverlayGraphicsLayer):
2529         * WebCoreSupport/WebChromeClient.h:
2530         Add an empty ChromeClient override.
2531
2532 2014-10-01  Christophe Dumez  <cdumez@apple.com>
2533
2534         Have is<>(T*) function do a null check on the pointer argument
2535         https://bugs.webkit.org/show_bug.cgi?id=137333
2536
2537         Reviewed by Gavin Barraclough.
2538
2539         Have is<>(T*) function do a null check on the argument instead of a
2540         simple assertion. This makes sense for 2 reasons:
2541         1. It is more consistent with downcast<>(T*), which will succeed even
2542            if the argument is a nullptr.
2543         2. It simplifies the code a bit as it gets rid of a lot of explicit
2544            null checks.
2545
2546         * DOMCoreClasses.cpp:
2547         (DOMElement::createInstance):
2548         * DOMHTMLClasses.cpp:
2549         (DOMHTMLDocument::body):
2550         (DOMHTMLDocument::forms):
2551         (DOMHTMLElement::idName):
2552         (DOMHTMLElement::innerText):
2553         (DOMHTMLElement::setInnerText):
2554         (DOMHTMLFormElement::action):
2555         (DOMHTMLFormElement::method):
2556         (DOMHTMLOptionElement::text):
2557         (DOMHTMLOptionElement::label):
2558         (DOMHTMLInputElement::form):
2559         (DOMHTMLInputElement::disabled):
2560         (DOMHTMLInputElement::readOnly):
2561         (DOMHTMLInputElement::setType):
2562         (DOMHTMLInputElement::value):
2563         (DOMHTMLInputElement::setValue):
2564         (DOMHTMLInputElement::setValueForUser):
2565         (DOMHTMLInputElement::select):
2566         (DOMHTMLInputElement::setSelectionStart):
2567         (DOMHTMLInputElement::selectionStart):
2568         (DOMHTMLInputElement::setSelectionEnd):
2569         (DOMHTMLInputElement::selectionEnd):
2570         (DOMHTMLInputElement::isTextField):
2571         (DOMHTMLInputElement::rectOnScreen):
2572         (DOMHTMLInputElement::replaceCharactersInRange):
2573         (DOMHTMLInputElement::selectedRange):
2574         (DOMHTMLInputElement::setAutofilled):
2575         (DOMHTMLInputElement::isAutofilled):
2576         (DOMHTMLInputElement::isUserEdited):
2577         (DOMHTMLTextAreaElement::form):
2578         (DOMHTMLTextAreaElement::value):
2579         (DOMHTMLTextAreaElement::setValue):
2580         (DOMHTMLTextAreaElement::select):
2581         (DOMHTMLTextAreaElement::isUserEdited):
2582         * WebFrame.cpp:
2583         (formElementFromDOMElement):
2584         (inputElementFromDOMElement):
2585         (WebFrame::elementWithName):
2586
2587 2014-09-30  Christophe Dumez  <cdumez@apple.com>
2588
2589         Generalize is<>() / downcast<>() support to all types
2590         https://bugs.webkit.org/show_bug.cgi?id=137243
2591
2592         Reviewed by Benjamin Poulain.
2593
2594         Generalize is<>() / downcast<>() support to all types, not just Nodes.
2595
2596         * DOMCoreClasses.cpp:
2597         (DOMElement::createInstance):
2598
2599 2014-09-30  Chris Dumez  <cdumez@apple.com>
2600
2601         Use is<>() / downcast<>() for Element
2602         https://bugs.webkit.org/show_bug.cgi?id=137241
2603
2604         Reviewed by Andreas Kling.
2605
2606         Use is<>() / downcast<>() for Element instead of isElementNode() /
2607         toElement().
2608
2609         * DOMEventsClasses.cpp:
2610         (DOMMouseEvent::toElement):
2611         * DOMEventsClasses.h:
2612
2613 2014-09-29  Christophe Dumez  <cdumez@apple.com>
2614
2615         Make is<>() / downcast<>() work for HTMLDocument and its subclasses
2616         https://bugs.webkit.org/show_bug.cgi?id=137169
2617
2618         Reviewed by Darin Adler.
2619
2620         Use is<>() / downcast<>() for HTMLDocument and its subclasses.
2621
2622         * DOMHTMLClasses.cpp:
2623         (DOMHTMLDocument::URL):
2624         (DOMHTMLDocument::body):
2625         (DOMHTMLDocument::forms):
2626
2627 2014-09-28  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2628
2629         Use std::unique_ptr for ContextMenuController
2630         https://bugs.webkit.org/show_bug.cgi?id=137178
2631
2632         Reviewed by Darin Adler.
2633
2634         Switch to using std::unique_ptr instead of OwnPtr and PassOwnPtr
2635         for ContextMenuController class. Inherited class is changed by this use as well.
2636
2637         * WebCoreSupport/WebContextMenuClient.cpp:
2638         (WebContextMenuClient::customizeMenu):
2639         * WebCoreSupport/WebContextMenuClient.h:
2640
2641 2014-09-26  Christophe Dumez  <cdumez@apple.com>
2642
2643         Stop using legacy NODE_TYPE_CASTS() macro for HTML Elements
2644         https://bugs.webkit.org/show_bug.cgi?id=137137
2645
2646         Reviewed by Benjamin Poulain.
2647
2648         Use is<>() / downcast<>() where appropriate.
2649
2650         * DOMHTMLClasses.cpp:
2651         (DOMHTMLElement::idName):
2652         (DOMHTMLElement::innerText):
2653         (DOMHTMLElement::setInnerText):
2654
2655 2014-09-25  Brent Fulgham  <bfulgham@apple.com>
2656
2657         [Win] Debug builds of TestWebKitAPI are crashing.
2658         https://bugs.webkit.org/show_bug.cgi?id=133553
2659
2660         Reviewed by Dean Jackson.
2661
2662         Switch from global static HashTable to a NeverDestroyed object.
2663         Modify all accessors of the global static to use the new
2664         NeverDestroyed accessor method.
2665
2666         * AccessibleBase.cpp:
2667         (AccessibleBase::AccessibleBase):
2668         (AccessibleBase::~AccessibleBase):
2669         * CFDictionaryPropertyBag.cpp:
2670         (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
2671         (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
2672         * DefaultDownloadDelegate.cpp:
2673         (DefaultDownloadDelegate::DefaultDownloadDelegate):
2674         (DefaultDownloadDelegate::~DefaultDownloadDelegate):
2675         * DefaultPolicyDelegate.cpp:
2676         (DefaultPolicyDelegate::DefaultPolicyDelegate):
2677         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
2678         * MemoryStream.cpp:
2679         (MemoryStream::MemoryStream):
2680         (MemoryStream::~MemoryStream):
2681         * WebActionPropertyBag.cpp:
2682         (WebActionPropertyBag::WebActionPropertyBag):
2683         (WebActionPropertyBag::~WebActionPropertyBag):
2684         * WebArchive.cpp:
2685         (WebArchive::WebArchive):
2686         (WebArchive::~WebArchive):
2687         * WebBackForwardList.cpp:
2688         (WebBackForwardList::WebBackForwardList):
2689         (WebBackForwardList::~WebBackForwardList):
2690         * WebCache.cpp:
2691         (WebCache::WebCache):
2692         (WebCache::~WebCache):
2693         * WebCookieManager.cpp:
2694         (WebCookieManager::WebCookieManager):
2695         (WebCookieManager::~WebCookieManager):
2696         * WebCoreStatistics.cpp:
2697         (WebCoreStatistics::WebCoreStatistics):
2698         (WebCoreStatistics::~WebCoreStatistics):
2699         * WebDataSource.cpp:
2700         (WebDataSource::~WebDataSource):
2701         * WebDatabaseManager.cpp:
2702         (WebDatabaseManager::WebDatabaseManager):
2703         (WebDatabaseManager::~WebDatabaseManager):
2704         * WebDocumentLoader.cpp:
2705         (WebDocumentLoader::WebDocumentLoader):
2706         (WebDocumentLoader::~WebDocumentLoader):
2707         * WebDownload.cpp:
2708         (WebDownload::WebDownload):
2709         (WebDownload::~WebDownload):
2710         * WebDropSource.cpp:
2711         (WebDropSource::WebDropSource):
2712         (WebDropSource::~WebDropSource):
2713         * WebElementPropertyBag.cpp:
2714         (WebElementPropertyBag::WebElementPropertyBag):
2715         (WebElementPropertyBag::~WebElementPropertyBag):
2716         * WebError.cpp:
2717         (WebError::WebError):
2718         (WebError::~WebError):
2719         * WebFrame.cpp:
2720         (WebFrame::WebFrame):
2721         (WebFrame::~WebFrame):
2722         * WebFramePolicyListener.cpp:
2723         (WebFramePolicyListener::WebFramePolicyListener):
2724         (WebFramePolicyListener::~WebFramePolicyListener):
2725         * WebGeolocationPolicyListener.cpp:
2726         (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
2727         (WebGeolocationPolicyListener::~WebGeolocationPolicyListener):
2728         * WebGeolocationPosition.cpp:
2729         (WebGeolocationPosition::WebGeolocationPosition):
2730         (WebGeolocationPosition::~WebGeolocationPosition):
2731         * WebHTMLRepresentation.cpp:
2732         (WebHTMLRepresentation::WebHTMLRepresentation):
2733         (WebHTMLRepresentation::~WebHTMLRepresentation):
2734         * WebHistory.cpp:
2735         (WebHistory::WebHistory):
2736         (WebHistory::~WebHistory):
2737         * WebHistoryItem.cpp:
2738         (WebHistoryItem::WebHistoryItem):
2739         (WebHistoryItem::~WebHistoryItem):
2740         * WebIconDatabase.cpp:
2741         (WebIconDatabase::WebIconDatabase):
2742         (WebIconDatabase::~WebIconDatabase):
2743         * WebInspector.cpp:
2744         (WebInspector::WebInspector):
2745         (WebInspector::~WebInspector):
2746         * WebJavaScriptCollector.cpp:
2747         (WebJavaScriptCollector::WebJavaScriptCollector):
2748         (WebJavaScriptCollector::~WebJavaScriptCollector):
2749         * WebKitClassFactory.cpp:
2750         (WebKitClassFactory::WebKitClassFactory):
2751         (WebKitClassFactory::~WebKitClassFactory):
2752         * WebKitDLL.cpp: Also switch to NeverDestroyed HashTable for
2753         the global class name count.
2754         * WebKitDLL.h:
2755         * WebKitStatistics.cpp:
2756         (WebKitStatistics::WebKitStatistics):
2757         (WebKitStatistics::~WebKitStatistics):
2758         (WebKitStatistics::comClassNameCounts):
2759         * WebMutableURLRequest.cpp:
2760         (WebMutableURLRequest::WebMutableURLRequest):
2761         (WebMutableURLRequest::~WebMutableURLRequest):
2762         * WebNavigationData.cpp:
2763         (WebNavigationData::WebNavigationData):
2764         (WebNavigationData::~WebNavigationData):
2765         * WebNotification.cpp:
2766         (WebNotification::WebNotification):
2767         (WebNotification::~WebNotification):
2768         * WebNotificationCenter.cpp:
2769         (WebNotificationCenter::WebNotificationCenter):
2770         (WebNotificationCenter::~WebNotificationCenter):
2771         * WebPreferences.cpp:
2772         (webPreferencesInstances):
2773         (WebPreferences::WebPreferences):
2774         (WebPreferences::~WebPreferences):
2775         (WebPreferences::getInstanceForIdentifier):
2776         (WebPreferences::setInstance):
2777         (WebPreferences::removeReferenceForIdentifier):
2778         * WebResource.cpp:
2779         (WebResource::WebResource):
2780         (WebResource::~WebResource):
2781         * WebScriptObject.cpp:
2782         (WebScriptObject::WebScriptObject):
2783         (WebScriptObject::~WebScriptObject):
2784         * WebScriptWorld.cpp:
2785         (WebScriptWorld::WebScriptWorld):
2786         (WebScriptWorld::~WebScriptWorld):
2787         * WebSecurityOrigin.cpp:
2788         (WebSecurityOrigin::WebSecurityOrigin):
2789         (WebSecurityOrigin::~WebSecurityOrigin):
2790         * WebSerializedJSValue.cpp:
2791         (WebSerializedJSValue::WebSerializedJSValue):
2792         (WebSerializedJSValue::~WebSerializedJSValue):
2793         * WebTextRenderer.cpp:
2794         (WebTextRenderer::WebTextRenderer):
2795         (WebTextRenderer::~WebTextRenderer):
2796         * WebURLAuthenticationChallenge.cpp:
2797         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
2798         (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
2799         * WebURLAuthenticationChallengeSender.cpp:
2800         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
2801         (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
2802         * WebURLCredential.cpp:
2803         (WebURLCredential::WebURLCredential):
2804         (WebURLCredential::~WebURLCredential):
2805         * WebURLProtectionSpace.cpp:
2806         (WebURLProtectionSpace::WebURLProtectionSpace):
2807         (WebURLProtectionSpace::~WebURLProtectionSpace):
2808         * WebURLResponse.cpp:
2809         (:m_refCount):
2810         (WebURLResponse::~WebURLResponse):
2811         * WebUserContentURLPattern.cpp:
2812         (WebUserContentURLPattern::WebUserContentURLPattern):
2813         (WebUserContentURLPattern::~WebUserContentURLPattern):
2814         * WebView.cpp:
2815         (pendingDeleteBackingStoreSet): Switch from a global static
2816         value to a NeverDestroyed object wrapped by an accessor function.
2817         (WebView::WebView): Ditto.
2818         (WebView::~WebView): Ditto.
2819         (WebView::deleteBackingStore): Ditto.
2820         (WebView::deleteBackingStoreSoon): Ditto,
2821         (WebView::cancelDeleteBackingStoreSoon): Ditto.
2822         * WebWorkersPrivate.cpp: Switch from a global static value for
2823         the preferences objects t a NeverDestroyed container.
2824         (WebWorkersPrivate::WebWorkersPrivate): Ditto.
2825         (WebWorkersPrivate::~WebWorkersPrivate): Ditto.
2826
2827 2014-09-25  Christophe Dumez  <cdumez@apple.com>
2828
2829         Use is<HTML*Element>() instead of isHTML*Element() - Part 2
2830         https://bugs.webkit.org/show_bug.cgi?id=137103
2831
2832         Reviewed by Benjamin Poulain.
2833
2834         Use is<HTML*Element>() instead of isHTML*Element().
2835
2836         * DOMCoreClasses.cpp:
2837         (DOMElement::createInstance):
2838         * DOMHTMLClasses.cpp:
2839         (DOMHTMLFormElement::action):
2840         (DOMHTMLFormElement::method):
2841         * WebFrame.cpp:
2842         (formElementFromDOMElement):
2843
2844 2014-09-24  Christophe Dumez  <cdumez@apple.com>
2845
2846         Add initial is<>() / downcast<>() support for any type of Nodes
2847         https://bugs.webkit.org/show_bug.cgi?id=137056
2848
2849         Reviewed by Benjamin Poulain.
2850
2851         Use is<HTMLFormControlElement>() / downcast<HTMLFormControlElement>()
2852         instead of isFormControlElement() / toHTMLFormControlElement().
2853
2854         * WebFrame.cpp:
2855         (WebFrame::elementWithName):
2856
2857 2014-09-24  Christophe Dumez  <cdumez@apple.com>
2858
2859         Unreviewed build fix after r173932.
2860
2861         Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
2862         explicitely in DOMCoreClasses.cpp.
2863
2864         * DOMCoreClasses.cpp:
2865         (DOMElement::createInstance):
2866
2867 2014-09-24  Christophe Dumez  <cdumez@apple.com>
2868
2869         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
2870         https://bugs.webkit.org/show_bug.cgi?id=137068
2871
2872         Reviewed by Ryosuke Niwa.
2873
2874         Start using is<HTML*Element>() instead of isHTML*Element().
2875         Remaining usages will be updated in a follow-up patch to
2876         reduce the size of the change.
2877
2878         * DOMCoreClasses.cpp:
2879         (DOMElement::createInstance):
2880         * DOMHTMLClasses.cpp:
2881         (DOMHTMLOptionElement::text):
2882         (DOMHTMLOptionElement::label):
2883         (DOMHTMLInputElement::form):
2884         (DOMHTMLInputElement::disabled):
2885         (DOMHTMLInputElement::readOnly):
2886         (DOMHTMLInputElement::setType):
2887         (DOMHTMLInputElement::value):
2888         (DOMHTMLInputElement::setValue):
2889         (DOMHTMLInputElement::setValueForUser):
2890         (DOMHTMLInputElement::select):
2891         (DOMHTMLInputElement::setSelectionStart):
2892         (DOMHTMLInputElement::selectionStart):
2893         (DOMHTMLInputElement::setSelectionEnd):
2894         (DOMHTMLInputElement::selectionEnd):
2895         (DOMHTMLInputElement::isTextField):
2896         (DOMHTMLInputElement::rectOnScreen):
2897         (DOMHTMLInputElement::replaceCharactersInRange):
2898         (DOMHTMLInputElement::selectedRange):
2899         (DOMHTMLInputElement::setAutofilled):
2900         (DOMHTMLInputElement::isAutofilled):
2901         (DOMHTMLInputElement::isUserEdited):
2902         (DOMHTMLTextAreaElement::form):
2903         (DOMHTMLTextAreaElement::value):
2904         (DOMHTMLTextAreaElement::setValue):
2905         (DOMHTMLTextAreaElement::select):
2906         (DOMHTMLTextAreaElement::isUserEdited):
2907         * WebFrame.cpp:
2908         (inputElementFromDOMElement):
2909
2910 2014-09-21  Timothy Hatcher  <timothy@apple.com>
2911
2912         Make the Web Inspector use a separate web process.
2913
2914         https://bugs.webkit.org/show_bug.cgi?id=135120
2915
2916         Reviewed by Anders Carlsson.
2917
2918         * WebCoreSupport/WebInspectorClient.cpp:
2919         (WebInspectorClient::openInspectorFrontend):
2920         * WebCoreSupport/WebInspectorClient.h:
2921         (WebInspectorClient::frontendClient):
2922         Own WebInspectorFrontendClient instead of moving it.
2923
2924 2014-09-23  Christophe Dumez  <cdumez@apple.com>
2925
2926         Unreviewed build fix after r173893.
2927
2928         Partial revert of r173893 to fix debug builds.
2929
2930         * DOMHTMLClasses.cpp:
2931         (DOMHTMLDocument::URL):
2932         (DOMHTMLDocument::body):
2933         (DOMHTMLDocument::forms):
2934
2935 2014-09-23  Chris Dumez  <cdumez@apple.com>
2936
2937         Use downcast<HTML*Element>() instead of toHTML*Element()
2938         https://bugs.webkit.org/show_bug.cgi?id=137007
2939
2940         Reviewed by Benjamin Poulain.
2941
2942         Use downcast<HTML*Element>() instead of toHTML*Element().
2943
2944         * DOMHTMLClasses.cpp:
2945         (DOMHTMLDocument::URL):
2946         (DOMHTMLDocument::body):
2947         (DOMHTMLDocument::forms):
2948         (DOMHTMLFormElement::action):
2949         (DOMHTMLFormElement::method):
2950         (DOMHTMLSelectElement::options):
2951         (DOMHTMLSelectElement::activateItemAtIndex):
2952         (DOMHTMLOptionElement::text):
2953         (DOMHTMLOptionElement::label):
2954         (DOMHTMLInputElement::form):
2955         (DOMHTMLInputElement::disabled):
2956         (DOMHTMLInputElement::readOnly):
2957         (DOMHTMLInputElement::setType):
2958         (DOMHTMLInputElement::value):
2959         (DOMHTMLInputElement::setValue):
2960         (DOMHTMLInputElement::setValueForUser):
2961         (DOMHTMLInputElement::select):
2962         (DOMHTMLInputElement::setSelectionStart):
2963         (DOMHTMLInputElement::selectionStart):
2964         (DOMHTMLInputElement::setSelectionEnd):
2965         (DOMHTMLInputElement::selectionEnd):
2966         (DOMHTMLInputElement::isTextField):
2967         (DOMHTMLInputElement::replaceCharactersInRange):
2968         (DOMHTMLInputElement::selectedRange):
2969         (DOMHTMLInputElement::setAutofilled):
2970         (DOMHTMLInputElement::isAutofilled):
2971         (DOMHTMLInputElement::isUserEdited):
2972         (DOMHTMLTextAreaElement::form):
2973         (DOMHTMLTextAreaElement::value):
2974         (DOMHTMLTextAreaElement::setValue):
2975         (DOMHTMLTextAreaElement::select):
2976         (DOMHTMLTextAreaElement::isUserEdited):
2977         (DOMHTMLIFrameElement::contentFrame):
2978         * WebFrame.cpp:
2979         (formElementFromDOMElement):
2980         (inputElementFromDOMElement):
2981
2982 2014-09-21  Chris Dumez  <cdumez@apple.com>
2983
2984         Generate Element casting helper functions
2985         https://bugs.webkit.org/show_bug.cgi?id=136839
2986
2987         Reviewed by Darin Adler.
2988
2989         Use JSXXX::toWrapped() instead of toXXX() function.
2990
2991         * WebView.cpp:
2992         (WebView::elementFromJS):
2993
2994 2014-09-06  Brian J. Burg  <burg@cs.washington.edu>
2995
2996         Web Inspector: convert DockSide to an enum class
2997         https://bugs.webkit.org/show_bug.cgi?id=136601
2998
2999         Reviewed by Timothy Hatcher.
3000
3001         * WebCoreSupport/WebInspectorClient.cpp:
3002         (WebInspectorFrontendClient::frontendLoaded):
3003
3004 2014-09-04  Antti Koivisto  <antti@apple.com>
3005
3006         Try to fix windows build.
3007
3008         * WebURLResponse.cpp:
3009         (WebURLResponse::createInstance):
3010         (WebURLResponse::initWithURL):
3011
3012 2014-09-02  Brian J. Burg  <burg@cs.washington.edu>
3013
3014         Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
3015         https://bugs.webkit.org/show_bug.cgi?id=136476
3016
3017         Reviewed by Timothy Hatcher.
3018
3019         * WebCoreStatistics.cpp:
3020         (WebCoreStatistics::shouldPrintExceptions):
3021         (WebCoreStatistics::setShouldPrintExceptions):
3022
3023 2014-09-02  Maciej Stachowiak  <mjs@apple.com>
3024
3025         Clean up naming for and slightly refactor legacy video fullscreen support
3026         https://bugs.webkit.org/show_bug.cgi?id=136446
3027
3028         Reviewed by Jer Noble.
3029
3030         Key changes:
3031         supportsFullscreenForNode(Node*) --> supportsVideoFullscreen()
3032         enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*)
3033         exitFullscreenForNode(Node*) --> exitVideoFullscreen()
3034         
3035         The old versions had unnecessary parameters, did not clearly distinguish their purpose
3036         from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes.
3037         Also changed many other places to use HTMLVideoElement* instead of Node* or 
3038         HTMLMediaElement* when they were in fact only used for video elements and would only
3039         work for such.
3040
3041         * WebCoreSupport/WebChromeClient.cpp:
3042         (WebChromeClient::supportsVideoFullscreen): Adjust for the
3043         main refactoring.
3044         (WebChromeClient::enterVideoFullscreenForVideoElement): ditto
3045         (WebChromeClient::exitVideoFullscreen): ditto
3046         * WebCoreSupport/WebChromeClient.h:
3047         * WebView.cpp:
3048         (WebView::enterVideoFullscreenForVideoElement): Adjust for the 
3049         main refactoring.
3050         (WebView::exitVideoFullscreen): ditto.
3051         * WebView.h:
3052         * FullscreenVideoController.cpp: Use video elements, not media elements throughout
3053         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
3054         (FullscreenVideoController::setVideoElement):
3055         (FullscreenVideoController::enterFullscreen):
3056         (FullscreenVideoController::exitFullscreen):
3057         (FullscreenVideoController::canPlay):
3058         (FullscreenVideoController::play):
3059         (FullscreenVideoController::pause):
3060         (FullscreenVideoController::volume):
3061         (FullscreenVideoController::setVolume):
3062         (FullscreenVideoController::currentTime):
3063         (FullscreenVideoController::setCurrentTime):
3064         (FullscreenVideoController::duration):
3065         (FullscreenVideoController::beginScrubbing):
3066         (FullscreenVideoController::endScrubbing):
3067         (FullscreenVideoController::onChar):
3068         (FullscreenVideoController::onKeyDown):
3069         (FullscreenVideoController::onMouseUp):
3070         * FullscreenVideoController.h:
3071         (FullscreenVideoController::videoElement):
3072
3073 2014-09-03  Brent Fulgham  <bfulgham@apple.com>
3074
3075         Unreviewed build fix after r173200.
3076
3077         * WebView.cpp:
3078         (WebView::setCacheModel): Use appropriate types for cache sizes to be
3079         64-bit clean on CFNetwork compile.
3080
3081 2014-09-02  peavo@outlook.com  <peavo@outlook.com>
3082
3083         [WinCairo] Memory cache capacity is not set.
3084         https://bugs.webkit.org/show_bug.cgi?id=136432
3085
3086         Reviewed by Alex Christensen.
3087
3088         Reuse code from AppleWin to set memory and disk cache capacity.
3089
3090         * WebKitSystemBits.cpp:
3091         (WebVolumeFreeSize):
3092         * WebKitSystemBits.h:
3093         * WebView.cpp:
3094         (WebView::setCacheModel):
3095
3096 2014-08-26  Brent Fulgham  <bfulgham@apple.com>
3097
3098         [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE
3099         https://bugs.webkit.org/show_bug.cgi?id=136258
3100         <rdar://problem/18134138>
3101
3102         Reviewed by Tim Horton.
3103
3104         Avoid 32/64-bit truncation by preventing 64-bit HWND (and other)
3105         values from passing through the 32-bit OLE_HANDLE data type.
3106
3107         * Interfaces/IWebDocument.idl:
3108         * Interfaces/IWebEmbeddedView.idl:
3109         * Interfaces/IWebErrorPrivate.idl:
3110         * Interfaces/IWebFrameLoadDelegate.idl:
3111         * Interfaces/IWebFramePrivate.idl:
3112         * Interfaces/IWebHistoryItem.idl:
3113         * Interfaces/IWebIconDatabase.idl:
3114         * Interfaces/IWebMutableURLRequestPrivate.idl:
3115         * Interfaces/IWebUIDelegate.idl:
3116         * Interfaces/IWebUIDelegatePrivate.idl:
3117         * Interfaces/IWebURLResponsePrivate.idl:
3118         * Interfaces/IWebView.idl:
3119         * Interfaces/IWebViewPrivate.idl:
3120         * WebCoreSupport/EmbeddedWidget.cpp:
3121         (EmbeddedWidget::createWindow):
3122         * WebCoreSupport/WebChromeClient.cpp:
3123         (WebChromeClient::rootViewToScreen):
3124         (WebChromeClient::screenToRootView):
3125         (WebChromeClient::platformPageClient):
3126         (WebChromeClient::runOpenPanel):
3127         (WebChromeClient::setCursor):
3128         * WebCoreSupport/WebContextMenuClient.cpp:
3129         (WebContextMenuClient::customizeMenu):
3130         * WebCoreSupport/WebFrameLoaderClient.cpp:
3131         (WebFrameLoaderClient::createPlugin):
3132         * WebCoreSupport/WebInspectorClient.cpp:
3133         (WebInspectorClient::openInspectorFrontend):
3134         (WebInspectorClient::highlight):
3135         (WebInspectorFrontendClient::setAttachedWindowHeight):
3136         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3137         (WebInspectorFrontendClient::showWindowWithoutNotifications):
3138         * WebCoreSupport/WebInspectorClient.h:
3139         * WebCoreSupport/WebInspectorDelegate.cpp:
3140         * WebCoreSupport/WebInspectorDelegate.h:
3141         (WebInspectorDelegate::webViewFirstResponder):
3142         (WebInspectorDelegate::makeFirstResponder):
3143         (WebInspectorDelegate::contextMenuItemsForElement):
3144         (WebInspectorDelegate::trackCustomPopupMenu):
3145         (WebInspectorDelegate::addCustomMenuDrawingData):
3146         (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
3147         (WebInspectorDelegate::drawHeaderInRect):
3148         (WebInspectorDelegate::drawFooterInRect):
3149         * WebDropSource.cpp:
3150         (generateMouseEvent):
3151         (WebDropSource::GiveFeedback):
3152         * WebError.cpp:
3153         (WebError::sslPeerCertificate):
3154         * WebError.h:
3155         * WebFrame.cpp:
3156         (WebFrame::paintDocumentRectToContext):
3157         (WebFrame::paintScrollViewRectToContextAtPoint):
3158         (WebFrame::createSubframeWithOwnerElement):
3159         (WebFrame::initWithWebView):
3160         (WebFrame::drawHeader):
3161         (WebFrame::drawFooter):
3162         * WebFrame.h:
3163         * WebHistoryItem.cpp:
3164         (WebHistoryItem::icon):
3165         * WebHistoryItem.h:
3166         * WebIconDatabase.cpp:
3167         (WebIconDatabase::iconForURL):
3168         (WebIconDatabase::defaultIconWithSize):
3169         * WebIconDatabase.h:
3170         * WebMutableURLRequest.cpp:
3171         (WebMutableURLRequest::setClientCertificate):
3172         * WebMutableURLRequest.h:
3173         * WebNodeHighlight.cpp:
3174         (WebNodeHighlight::WebNodeHighlight):
3175         * WebURLResponse.cpp:
3176         (WebURLResponse::sslPeerCertificate):
3177         * WebURLResponse.h:
3178         * WebView.cpp:
3179         (WebView::paintIntoBackingStore):
3180         (WebView::handleContextMenuEvent):
3181         (WebView::onInitMenuPopup):
3182         (WebView::onUninitMenuPopup):
3183         (WebView::WebViewWndProc):
3184         (WebView::dispatchDidReceiveIconFromWebFrame):
3185         (WebView::setHostWindow):
3186         (WebView::hostWindow):
3187         (WebView::generateSelectionImage):
3188         (WebView::mainFrameIcon):
3189         (WebView::viewWindow):
3190         (WebView::paintDocumentRectToContext):
3191         (WebView::paintScrollViewRectToContextAtPoint):
3192         (WebView::backingStore):
3193         (WebView::fullScreenClientSetParentWindow):
3194         * WebView.h:
3195
3196 2014-08-21  Alex Christensen  <achristensen@webkit.org>
3197
3198         [Win] Unreviewed build fix after r172849.
3199
3200         * WebKitPrefix.h:
3201         Defined WEBCORE_EXPORT.
3202
3203 2014-08-19  Pratik Solanki  <psolanki@apple.com>
3204
3205         Remove PurgeableBuffer since it is not very useful any more
3206         https://bugs.webkit.org/show_bug.cgi?id=135939
3207
3208         Reviewed by Andreas Kling.
3209
3210         * WebCache.cpp:
3211         (WebCache::statistics):
3212
3213 2014-08-18  Commit Queue  <commit-queue@webkit.org>
3214
3215         Unreviewed, rolling out r172736.
3216         https://bugs.webkit.org/show_bug.cgi?id=136060
3217
3218         Caused 14% PLT regressions (Requested by rniwa on #webkit).
3219
3220         Reverted changeset:
3221
3222         "Remove PurgeableBuffer since it is not very useful any more"
3223         https://bugs.webkit.org/show_bug.cgi?id=135939
3224         http://trac.webkit.org/changeset/172736
3225
3226 2014-08-18  Pratik Solanki  <psolanki@apple.com>
3227
3228         Remove PurgeableBuffer since it is not very useful any more
3229         https://bugs.webkit.org/show_bug.cgi?id=135939
3230
3231         Reviewed by Geoffrey Garen.
3232
3233         * WebCache.cpp:
3234         (WebCache::statistics):
3235
3236 2014-07-27  Pratik Solanki  <psolanki@apple.com>
3237
3238         Remove unused preference keys
3239         https://bugs.webkit.org/show_bug.cgi?id=135280
3240
3241         Reviewed by Darin Adler.
3242
3243         * WebPreferenceKeysPrivate.h:
3244
3245 2014-07-22  Brent Fulgham  <bfulgham@apple.com>
3246
3247         [Win] Build fix after r171370.
3248
3249         * WebCoreSupport/WebEditorClient.h: Add override
3250         for new 'overflowScrollPositionChanged'.
3251
3252 2014-07-03  Daniel Bates  <dabates@apple.com>
3253
3254         Add WTF::move()
3255         https://bugs.webkit.org/show_bug.cgi?id=134500
3256
3257         Rubber-stamped by Anders Carlsson.
3258
3259         Substitute WTF::move() for std::move().
3260
3261         * WebCoreSupport/WebInspectorClient.cpp:
3262         (WebInspectorClient::openInspectorFrontend):
3263         (WebInspectorFrontendClient::WebInspectorFrontendClient):
3264         * WebHistory.cpp:
3265         (createUserInfoFromArray):
3266         * WebHistoryItem.cpp:
3267         (WebHistoryItem::initFromDictionaryRepresentation):
3268         * WebView.cpp:
3269         (WebView::addToDirtyRegion):
3270         (WebView::scrollBackingStore):
3271
3272 2014-06-26  Brady Eidson  <beidson@apple.com>
3273
3274         Remove use of PlatformStrategies for Gamepad API.
3275         https://bugs.webkit.org/show_bug.cgi?id=134348
3276
3277         Reviewed by Dean Jackson.
3278
3279         * WebCoreSupport/WebPlatformStrategies.cpp:
3280         (WebPlatformStrategies::createGamepadStrategy): Deleted.
3281         * WebCoreSupport/WebPlatformStrategies.h:
3282
3283 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
3284
3285         [Win] Expose Cache Information to WinLauncher
3286         https://bugs.webkit.org/show_bug.cgi?id=134318
3287
3288         Reviewed by Dean Jackson.
3289
3290         * Interfaces/IWebCoreStatistics.idl: Add missing
3291         API added to WebKit since this was last updated.
3292         * WebCache.cpp:
3293         (WebCache::statistics): Add missing elements for
3294         purgable and purged data.
3295         * WebCoreStatistics.cpp: Provide implementaions.
3296         * WebCoreStatistics.h: Ditto.
3297
3298 2014-06-25  Brady Eidson  <beidson@apple.com>
3299
3300         Add new platform gamepad abstractions
3301         https://bugs.webkit.org/show_bug.cgi?id=134325
3302
3303         Reviewed by Dean Jackson.
3304
3305         * WebCoreSupport/WebPlatformStrategies.cpp:
3306         (WebPlatformStrategies::createGamepadStrategy):
3307         * WebCoreSupport/WebPlatformStrategies.h:
3308
3309 2014-06-19  Anders Carlsson  <andersca@apple.com>
3310
3311         Try to fix Windows build.
3312
3313         * WebFrame.h:
3314
3315 2014-06-18  Anders Carlsson  <andersca@apple.com>
3316
3317         Make FrameLoadType a strongly typed enum
3318         https://bugs.webkit.org/show_bug.cgi?id=134047
3319
3320         Reviewed by Andreas Kling.
3321
3322         * WebView.cpp:
3323         (WebView::goToBackForwardItem):
3324         (WebView::loadBackForwardListFromOtherView):
3325
3326 2014-06-18  Anders Carlsson  <andersca@apple.com>
3327
3328         Remove IWebFramePrivate::loadType
3329         https://bugs.webkit.org/show_bug.cgi?id=134044
3330
3331         Reviewed by Tim Horton.
3332
3333         * Interfaces/IWebFramePrivate.idl:
3334         * WebFrame.cpp:
3335         (WebFrame::loadType): Deleted.
3336         (WebFrame::unused2): Deleted.
3337         * WebFrame.h:
3338
3339 2014-06-12  Brent Fulgham  <bfulgham@apple.com>
3340
3341         [Win] Avoid crashes in code that converted CFDictionaries to HashMap
3342         https://bugs.webkit.org/show_bug.cgi?id=133813
3343         <rdar://problem/17291647>
3344
3345         Reviewed by Tim Horton.
3346
3347         * WebHistory.cpp: Add empty string checks to avoid crashes in
3348         hash function.
3349         (WebHistory::removeItem):
3350         (WebHistory::addItem):
3351         (WebHistory::visitedURL):
3352         (WebHistory::itemForURL):
3353         (WebHistory::removeItemForURLString):
3354         (WebHistory::itemForURLString):
3355         * WebPreferences.cpp: Ditto.
3356         (WebPreferences::getInstanceForIdentifier):
3357         (WebPreferences::setInstance):
3358         (WebPreferences::removeReferenceForIdentifier):
3359         * WebView.cpp: Ditto. Also convert OwnPtr uses in this file
3360         to std::unique_ptr.
3361         (WebView::close):
3362         (WebView::handleMouseEvent):
3363         (WebView::registerEmbeddedViewMIMEType):
3364         (WebView::shouldUseEmbeddedView):
3365         (WebView::enterFullscreenForNode):
3366         (WebView::fullScreenController):
3367         * WebView.h:
3368
3369 2014-05-07  Hyowon Kim  <hw1008.kim@samsung.com>
3370
3371         GraphicsLayer::client() should return a reference.
3372         https://bugs.webkit.org/show_bug.cgi?id=126372
3373
3374         Reviewed by Simon Fraser.
3375
3376         GraphicsLayers always have a GraphicsLayerClient attached,
3377         so make client() a reference and remove some unnecessary branches.
3378         The author of the changes in the mac port is Andreas Kling <akling@apple.com>.
3379
3380         * WebView.cpp:
3381         (WebView::setAcceleratedCompositing):
3382
3383 2014-04-30  Alexey Proskuryakov  <ap@apple.com>
3384
3385         Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
3386         Clean up unnecessary methods in the BackForwardClient interface
3387
3388         It broke a regression test and an API test.
3389
3390         * WebBackForwardList.cpp:
3391         (WebBackForwardList::WebBackForwardList):
3392         (WebBackForwardList::~WebBackForwardList):
3393         (WebBackForwardList::createInstance):
3394         * WebBackForwardList.h:
3395         * WebView.cpp:
3396         (WebView::backForwardList):
3397         (WebView::canGoBack):
3398         (WebView::canGoForward):
3399         (WebView::loadBackForwardListFromOtherView):
3400
3401 2014-04-30  Brian J. Burg  <burg@cs.washington.edu>
3402
3403         Clean up unnecessary methods in the BackForwardClient interface
3404         https://bugs.webkit.org/show_bug.cgi?id=131637
3405
3406         Reviewed by Andreas Kling.
3407
3408         Remove uses of reference counting for BackForwardList.
3409         Use BackForwardController instead of BackForwardClient where possible.
3410
3411         * WebBackForwardList.cpp:
3412         (WebBackForwardList::WebBackForwardList):
3413         (WebBackForwardList::~WebBackForwardList):
3414         (WebBackForwardList::createInstance):
3415         * WebBackForwardList.h:
3416         * WebView.cpp:
3417         (WebView::backForwardList):
3418         (WebView::canGoBack):
3419         (WebView::canGoForward):
3420         (WebView::loadBackForwardListFromOtherView):
3421
3422 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
3423
3424         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
3425         https://bugs.webkit.org/show_bug.cgi?id=132110
3426
3427         Reviewed by Tim Horton.
3428
3429         Updates callers to use '.' instead of '->'.
3430
3431         No new tests are necessary because there should be no behavior change.
3432
3433         * WebCoreStatistics.cpp:
3434         (WebCoreStatistics::cachedFontDataCount):
3435         (WebCoreStatistics::cachedFontDataInactiveCount):
3436         (WebCoreStatistics::purgeInactiveFontData):
3437
3438 2014-04-22  Alex Christensen  <achristensen@webkit.org>
3439
3440         Begin implementation of video using Media Foundation.
3441         https://bugs.webkit.org/show_bug.cgi?id=131830
3442
3443         Reviewed by Brent Fulgham.
3444
3445         * FullscreenVideoController.cpp:
3446         * WebView.cpp:
3447         Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api.
3448
3449 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
3450
3451         Eliminate DragSession structure
3452         https://bugs.webkit.org/show_bug.cgi?id=131465
3453
3454         Reviewed by Benjamin Poulain.
3455
3456         * WebView.cpp:
3457         (WebView::DragEnter):
3458         (WebView::DragOver):
3459
3460 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
3461
3462         Rename some dragging functions
3463         https://bugs.webkit.org/show_bug.cgi?id=131460
3464
3465         Reviewed by Tim Horton.
3466
3467         Renamed performDrag to performDragOperation.
3468
3469         * WebView.cpp: (WebView::Drop):
3470
3471 2014-04-02  Mark Rowe  <mrowe@apple.com>
3472
3473         Build fix after r166684.
3474
3475         * WebCoreSupport/WebContextMenuClient.cpp:
3476         (WebContextMenuClient::searchWithGoogle):
3477
3478 2014-04-02  Martin Hock  <mhock@apple.com>
3479
3480         Unify private browsing with sessions.
3481         https://bugs.webkit.org/show_bug.cgi?id=130099
3482
3483         Reviewed by Alexey Proskuryakov.
3484
3485         * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
3486         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
3487         * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto.
3488         (WebFrameNetworkingContext::storageSession):
3489         * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
3490         (WebView::notifyPreferencesChanged):
3491
3492 2014-03-22  Darin Adler  <darin@apple.com>
3493
3494         Remove String::deprecatedCharacters
3495         https://bugs.webkit.org/show_bug.cgi?id=126854
3496
3497         Reviewed by Sam Weinig.
3498
3499         * WebKitStatistics.cpp:
3500         (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String).
3501
3502 2014-03-17  Brent Fulgham  <bfulgham@apple.com>
3503
3504         Provide preference to enable additional AVFoundation options
3505         https://bugs.webkit.org/show_bug.cgi?id=130275
3506
3507         Reviewed by Eric Carlson.
3508
3509         * Interfaces/IWebPreferencesPrivate.idl: Added new preference.
3510         * WebPreferenceKeysPrivate.h: Ditto.
3511         * WebPreferences.cpp:
3512         (WebPreferences::initializeDefaultSettings): Initialize preference to false.
3513         (WebPreferences::isInheritURIQueryComponentEnabled): Added.
3514         (WebPreferences::setEnableInheritURIQueryComponent): Added.
3515         * WebPreferences.h:
3516         * WebView.cpp:
3517         (WebView::notifyPreferencesChanged): Handle new preference.
3518
3519 2014-03-16  Darin Adler  <darin@apple.com>
3520
3521         Remove all deprecatedCharacters use from WebKit
3522         https://bugs.webkit.org/show_bug.cgi?id=130305
3523
3524         Reviewed by Andreas Kling.
3525
3526         * AccessibleTextImpl.cpp:
3527         (AccessibleText::get_text): Use BString instead of SysAllocStringLen,
3528         which handles String directly.
3529         (AccessibleText::get_textBeforeOffset): Ditto.
3530         (AccessibleText::get_textAfterOffset): Ditto.
3531         (AccessibleText::get_textAtOffset): Ditto.
3532         (AccessibleText::get_attributes): Ditto.
3533         * DOMCSSClasses.cpp:
3534         (DOMCSSStyleDeclaration::getPropertyValue): Ditto.
3535         * DOMCoreClasses.cpp:
3536         (DOMNode::nodeValue): Ditto.
3537         (DOMElement::getAttribute): Ditto.
3538         (DOMElement::font): Rework this to leak a string, since it returns a
3539         pointer to a font family name's characters with no defined lifetime.
3540
3541         * DOMHTMLClasses.cpp:
3542         (DOMHTMLElement::innerText): Use BString's String-based constructor,
3543         instead of explicitly passing a character pointer.
3544         (DOMHTMLFormElement::action): Ditto.
3545         (DOMHTMLFormElement::method): Ditto.
3546         (DOMHTMLInputElement::value): Ditto.
3547         (DOMHTMLTextAreaElement::value): Ditto.
3548
3549         * MarshallingHelpers.cpp:
3550         (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString.
3551
3552         * WebCoreSupport/WebEditorClient.cpp:
3553         (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters.
3554         (WebEditorClient::checkGrammarOfString): Ditto.
3555
3556         * WebDataSource.cpp:
3557         (WebDataSource::unreachableURL): Use BString's String-based constructor,
3558         instead of explicitly passing a character pointer.
3559
3560         * WebDownload.cpp:
3561         (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen.
3562
3563         * WebDownloadCFNet.cpp:
3564         (WebDownload::didFinish): Use BString's String-based constructor,
3565         instead of explicitly passing a character pointer.
3566         * WebDownloadCurl.cpp:
3567         (WebDownload::didReceiveResponse): Ditto.
3568
3569         * WebElementPropertyBag.cpp:
3570         (convertStringToVariant): Use BString instead of SysAllocStringLen.
3571         * WebFrame.cpp:
3572         (WebFrame::searchForLabelsBeforeElement): Ditto.
3573         (WebFrame::matchLabelsAgainstElement): Ditto.
3574
3575         * WebHistory.cpp:
3576         (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call
3577         visitedLinkHash, since it can take a String.
3578
3579         * WebKitGraphics.cpp:
3580         (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert.
3581         (RightTruncateStringToWidth): Ditto.
3582
3583         * WebView.cpp:
3584         (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen.
3585         (WebView::customUserAgent): Ditto.
3586         (WebView::groupName): Ditto.
3587         (WebView::selectedText): Ditto.
3588         (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert.
3589
3590 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
3591
3592         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
3593         https://bugs.webkit.org/show_bug.cgi?id=130276
3594         <rdar://problem/16266927>
3595         
3596         Reviewed by Simon Fraser.
3597
3598         * CFDictionaryPropertyBag.cpp:
3599         * CFDictionaryPropertyBag.h:
3600         * CodeAnalysisConfig.h:
3601         * DOMCSSClasses.cpp:
3602         * DOMCSSClasses.h:
3603         * DOMCoreClasses.cpp:
3604         * DOMCoreClasses.h:
3605         * DOMEventsClasses.cpp:
3606         * DOMEventsClasses.h:
3607         * DOMHTMLClasses.cpp:
3608         * DOMHTMLClasses.h:
3609         * DefaultDownloadDelegate.cpp:
3610         * DefaultDownloadDelegate.h:
3611         * DefaultPolicyDelegate.cpp:
3612         * DefaultPolicyDelegate.h:
3613         * ForEachCoClass.cpp:
3614         * ForEachCoClass.h:
3615         * FullscreenVideoController.cpp:
3616         * FullscreenVideoController.h:
3617         * Interfaces/AccessibilityDelegate.idl:
3618         * Interfaces/DOMCSS.idl:
3619         * Interfaces/DOMCore.idl:
3620         * Interfaces/DOMEvents.idl:
3621         * Interfaces/DOMExtensions.idl:
3622         * Interfaces/DOMHTML.idl:
3623         * Interfaces/DOMPrivate.idl:
3624         * Interfaces/DOMRange.idl:
3625         * Interfaces/DOMWindow.idl:
3626         * Interfaces/IGEN_DOMObject.idl:
3627         * Interfaces/IWebArchive.idl:
3628         * Interfaces/IWebBackForwardList.idl:
3629         * Interfaces/IWebBackForwardListPrivate.idl:
3630         * Interfaces/IWebCache.idl:
3631         * Interfaces/IWebDataSource.idl:
3632         * Interfaces/IWebDatabaseManager.idl:
3633         * Interfaces/IWebDocument.idl:
3634         * Interfaces/IWebDownload.idl:
3635         * Interfaces/IWebEditingDelegate.idl:
3636         * Interfaces/IWebError.idl:
3637         * Interfaces/IWebErrorPrivate.idl:
3638         * Interfaces/IWebFormDelegate.idl:
3639         * Interfaces/IWebFrame.idl:
3640         * Interfaces/IWebFrameLoadDelegate.idl:
3641         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
3642         * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
3643         * Interfaces/IWebFramePrivate.idl:
3644         * Interfaces/IWebFrameView.idl:
3645         * Interfaces/IWebHTMLRepresentation.idl:
3646         * Interfaces/IWebHTTPURLResponse.idl:
3647         * Interfaces/IWebHistory.idl:
3648         * Interfaces/IWebHistoryDelegate.idl:
3649         * Interfaces/IWebHistoryItem.idl:
3650         * Interfaces/IWebHistoryItemPrivate.idl:
3651         * Interfaces/IWebHistoryPrivate.idl:
3652         * Interfaces/IWebIconDatabase.idl:
3653         * Interfaces/IWebInspector.idl:
3654         * Interfaces/IWebInspectorPrivate.idl:
3655         * Interfaces/IWebJavaScriptCollector.idl:
3656         * Interfaces/IWebKitStatistics.idl:
3657         * Interfaces/IWebMutableURLRequest.idl:
3658         * Interfaces/IWebMutableURLRequestPrivate.idl:
3659         * Interfaces/IWebNavigationData.idl:
3660         * Interfaces/IWebNotification.idl:
3661         * Interfaces/IWebNotificationCenter.idl:
3662         * Interfaces/IWebNotificationObserver.idl:
3663         * Interfaces/IWebPolicyDelegate.idl:
3664         * Interfaces/IWebPolicyDelegatePrivate.idl:
3665         * Interfaces/IWebPreferences.idl:
3666         * Interfaces/IWebPreferencesPrivate.idl:
3667         * Interfaces/IWebResource.idl:
3668         * Interfaces/IWebResourceLoadDelegate.idl:
3669         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
3670         * Interfaces/IWebResourceLoadDelegatePrivate2.idl:
3671         * Interfaces/IWebScriptObject.idl:
3672         * Interfaces/IWebSecurityOrigin.idl:
3673         * Interfaces/IWebSerializedJSValuePrivate.idl:
3674         * Interfaces/IWebTextRenderer.idl:
3675         * Interfaces/IWebUIDelegate.idl:
3676         * Interfaces/IWebUIDelegatePrivate.idl:
3677         * Interfaces/IWebURLAuthenticationChallenge.idl:
3678         * Interfaces/IWebURLRequest.idl:
3679         * Interfaces/IWebURLResponse.idl:
3680         * Interfaces/IWebURLResponsePrivate.idl:
3681         * Interfaces/IWebUndoManager.idl:
3682         * Interfaces/IWebUndoTarget.idl:
3683         * Interfaces/IWebView.idl:
3684         * Interfaces/IWebViewPrivate.idl:
3685         * Interfaces/WebKit.idl:
3686         * Interfaces/WebScrollbarTypes.idl:
3687         * MarshallingHelpers.cpp:
3688         * MarshallingHelpers.h:
3689         * MemoryStream.cpp:
3690         * MemoryStream.h:
3691         * ProgIDMacros.h:
3692         * WebActionPropertyBag.cpp:
3693         * WebActionPropertyBag.h:
3694         * WebBackForwardList.cpp:
3695         * WebBackForwardList.h:
3696         * WebCache.cpp:
3697         * WebCache.h:
3698         * WebCachedFramePlatformData.h:
3699         * WebCoreSupport/WebChromeClient.cpp:
3700         * WebCoreSupport/WebChromeClient.h:
3701         * WebCoreSupport/WebContextMenuClient.cpp:
3702         * WebCoreSupport/WebContextMenuClient.h:
3703         * WebCoreSupport/WebDragClient.cpp:
3704         * WebCoreSupport/WebDragClient.h:
3705         * WebCoreSupport/WebEditorClient.cpp:
3706         * WebCoreSupport/WebEditorClient.h:
3707         * WebCoreSupport/WebFrameLoaderClient.cpp:
3708         * WebCoreSupport/WebFrameLoaderClient.h:
3709         * WebCoreSupport/WebInspectorClient.cpp:
3710         * WebCoreSupport/WebInspectorClient.h:
3711         * WebCoreSupport/WebInspectorDelegate.cpp:
3712         * WebCoreSupport/WebInspectorDelegate.h:
3713         * WebDataSource.cpp:
3714         * WebDataSource.h:
3715         * WebDatabaseManager.cpp:
3716         * WebDatabaseManager.h:
3717         * WebDocumentLoader.cpp:
3718         * WebDocumentLoader.h:
3719         * WebDownload.cpp:
3720         * WebDownload.h:
3721         * WebDownloadCFNet.cpp:
3722         * WebDownloadCurl.cpp:
3723         * WebDropSource.cpp:
3724         * WebDropSource.h:
3725         * WebElementPropertyBag.cpp:
3726         * WebElementPropertyBag.h:
3727         * WebError.cpp:
3728         * WebError.h:
3729         * WebFrame.cpp:
3730         * WebFrame.h:
3731         * WebFramePolicyListener.cpp:
3732         * WebFramePolicyListener.h:
3733         * WebHTMLRepresentation.cpp:
3734         * WebHTMLRepresentation.h:
3735         * WebHistory.cpp:
3736         * WebHistory.h:
3737         * WebHistoryItem.cpp:
3738         * WebHistoryItem.h:
3739         * WebIconDatabase.cpp:
3740         * WebIconDatabase.h:
3741         * WebInspector.cpp:
3742         * WebInspector.h:
3743         * WebJavaScriptCollector.cpp:
3744         * WebJavaScriptCollector.h:
3745         * WebKitCOMAPI.cpp:
3746         * WebKitCOMAPI.h:
3747         * WebKitClassFactory.cpp:
3748         * WebKitClassFactory.h:
3749         * WebKitDLL.cpp:
3750         * WebKitDLL.h:
3751         * WebKitGraphics.cpp:
3752         * WebKitGraphics.h:
3753         * WebKitLogging.cpp:
3754         * WebKitLogging.h:
3755         * WebKitPrefix.cpp:
3756         * WebKitPrefix.h:
3757         * WebKitStatistics.cpp:
3758         * WebKitStatistics.h:
3759         * WebKitStatisticsPrivate.h:
3760         * WebKitSystemBits.cpp:
3761         * WebKitSystemBits.h:
3762         * WebLocalizableStrings.cpp:
3763         * WebLocalizableStrings.h:
3764         * WebMutableURLRequest.cpp:
3765         * WebMutableURLRequest.h:
3766         * WebNavigationData.cpp:
3767         * WebNavigationData.h:
3768         * WebNodeHighlight.cpp:
3769         * WebNodeHighlight.h:
3770         * WebNotification.cpp:
3771         * WebNotification.h:
3772         * WebNotificationCenter.cpp:
3773         * WebNotificationCenter.h:
3774         * WebPreferenceKeysPrivate.h:
3775         * WebPreferences.cpp:
3776         * WebPreferences.h:
3777         * WebResource.cpp:
3778         * WebResource.h:
3779         * WebScriptObject.cpp:
3780         * WebScriptObject.h:
3781         * WebSecurityOrigin.cpp:
3782         * WebSecurityOrigin.h:
3783         * WebTextRenderer.cpp:
3784         * WebTextRenderer.h:
3785         * WebURLAuthenticationChallenge.cpp:
3786         * WebURLAuthenticationChallenge.h:
3787         * WebURLAuthenticationChallengeSender.cpp:
3788         * WebURLAuthenticationChallengeSender.h:
3789         * WebURLAuthenticationChallengeSenderCFNet.cpp:
3790         * WebURLAuthenticationChallengeSenderCurl.cpp:
3791         * WebURLCredential.cpp:
3792         * WebURLCredential.h:
3793         * WebURLProtectionSpace.cpp:
3794         * WebURLProtectionSpace.h:
3795         * WebURLResponse.cpp:
3796         * WebURLResponse.h:
3797         * WebView.cpp:
3798         * WebView.h:
3799
3800 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
3801
3802         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
3803         https://bugs.webkit.org/show_bug.cgi?id=129612
3804
3805         Reviewed by Darin Adler.
3806
3807         For new code use static NeverDestroyed<T> instead.
3808
3809         * WebCoreSupport/WebPlatformStrategies.cpp:
3810         (WebPlatformStrategies::initialize):
3811         * WebHistory.cpp:
3812         (sharedHistoryStorage):
3813         * WebLocalizableStrings.cpp:
3814         (mainBundleLocStrings):
3815         (frameworkLocStringsMutex):
3816         (frameworkLocStrings):
3817         * WebView.cpp:
3818         (WebView::standardUserAgentWithApplicationName):
3819
3820 2014-03-13  Brian Burg  <bburg@apple.com>
3821
3822         Unreviewed build fix for Mac Windows after r165545.
3823         https://bugs.webkit.org/show_bug.cgi?id=129744
3824
3825         Reviewed by Timothy Hatcher.
3826
3827         * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate.
3828
3829 2014-03-12  Brian Burg  <bburg@apple.com>
3830
3831         Web Inspector: Remove unused callId parameter from evaluateInWebInspector
3832         https://bugs.webkit.org/show_bug.cgi?id=129744
3833
3834         Reviewed by Timothy Hatcher.
3835
3836         * WebInspector.cpp:
3837         (WebInspector::evaluateInFrontend):
3838         * WebInspector.h:
3839
3840 2014-03-06  Joseph Pecoraro  <pecoraro@apple.com>
3841
3842         Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
3843         https://bugs.webkit.org/show_bug.cgi?id=127944
3844
3845         Reviewed by Geoffrey Garen.
3846
3847         * WebCoreSupport/WebChromeClient.h:
3848         Update namespaces.
3849
3850 2014-03-04  Zalan Bujtas  <zalan@apple.com>
3851
3852         Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies.
3853         https://bugs.webkit.org/show_bug.cgi?id=129557
3854
3855         Reviewed by Simon Fraser.
3856
3857         This is the preparation for snapping rounded rects to device pixel position. It enables
3858         device pixel aware border-radius painting.
3859
3860         No change in functionality.
3861
3862         * FullscreenVideoController.cpp:
3863         (HUDSlider::draw):
3864         (FullscreenVideoController::draw):
3865
3866 2014-03-02  Darin Adler  <darin@apple.com>
3867
3868         Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions
3869         https://bugs.webkit.org/show_bug.cgi?id=129592
3870
3871         Reviewed by Sam Weinig.
3872
3873         * WebCoreSupport/WebEditorClient.cpp: Added now-needed include.
3874
3875 2014-02-25  Anders Carlsson  <andersca@apple.com>
3876
3877         Get rid of VisitedLinkStrategy
3878         https://bugs.webkit.org/show_bug.cgi?id=129324
3879
3880         Reviewed by Dan Bernstein.
3881
3882         * WebCoreSupport/WebPlatformStrategies.cpp:
3883         (WebPlatformStrategies::getPluginInfo):
3884         * WebCoreSupport/WebPlatformStrategies.h:
3885
3886 2014-02-24  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
3887
3888         Get rid of the unused 'immediate' parameters from repaint related functions
3889         https://bugs.webkit.org/show_bug.cgi?id=129111
3890
3891         Reviewed by Simon Fraser.
3892
3893         Removing the 'immediate' parameters from repaint related functions - accoring
3894         to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
3895
3896         * WebCoreSupport/WebChromeClient.cpp:
3897         (WebChromeClient::invalidateRootView):
3898         (WebChromeClient::invalidateContentsAndRootView):
3899         (WebChromeClient::invalidateContentsForSlowScroll):
3900         * WebCoreSupport/WebChromeClient.h:
3901
3902 2014-02-20  Csaba Osztrogonác  <ossy@webkit.org>
3903
3904         Get rid of redundant Platform.h includes
3905         https://bugs.webkit.org/show_bug.cgi?id=128817
3906
3907         Reviewed by Brent Fulgham.
3908
3909         * WebDownloadCFNet.cpp:
3910         * WebDownloadCurl.cpp:
3911         * WebURLResponse.cpp:
3912
3913 2014-02-18  Sam Weinig  <sam@webkit.org>
3914
3915         Simplify HTML tokenizer parameterization down to what is used
3916         https://bugs.webkit.org/show_bug.cgi?id=128977
3917
3918         Reviewed by Alexey Proskuryakov.
3919
3920         Remove unused SPI.
3921
3922         * WebView.cpp:
3923         (WebView::setCustomHTMLTokenizerTimeDelay):
3924         (WebView::setCustomHTMLTokenizerChunkSize):
3925
3926 2014-02-17  Anders Carlsson  <andersca@apple.com>
3927
3928         Remove view source code
3929         https://bugs.webkit.org/show_bug.cgi?id=127233
3930
3931         Reviewed by Antti Koivisto.
3932
3933         * WebFrame.cpp:
3934         (WebFrame::inViewSourceMode):
3935         (WebFrame::setInViewSourceMode):
3936         * WebView.cpp:
3937         (WebView::setInViewSourceMode):
3938         (WebView::inViewSourceMode):
3939
3940 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
3941
3942         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
3943         https://bugs.webkit.org/show_bug.cgi?id=128681
3944
3945         Reviewed by Timothy Hatcher.
3946
3947         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
3948         WebCore/inspector/*. Besides files in there, a few other files in
3949         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
3950         and WebCore/testing were touched.
3951
3952         * WebCoreSupport/WebInspectorClient.cpp:
3953         * WebCoreSupport/WebInspectorClient.h:
3954
3955 2014-02-14  Brent Fulgham  <bfulgham@apple.com>
3956
3957         [Win] Make tests more consistent with Mac platform
3958         https://bugs.webkit.org/show_bug.cgi?id=128848
3959
3960         Reviewed by Simon Fraser.
3961
3962         * Interfaces/IWebPreferencesPrivate.idl: Add access to the
3963         mock scrollbar and screen font substitution features.
3964         * WebPreferenceKeysPrivate.h: Ditto
3965         * WebPreferences.cpp: Ditto
3966         (WebPreferences::mockScrollbarsEnabled):
3967         (WebPreferences::setMockScrollbarsEnabled):
3968         (WebPreferences::screenFontSubstitutionEnabled):
3969         (WebPreferences::setScreenFontSubstitutionEnabled):
3970         * WebPreferences.h: Ditto
3971         * WebView.cpp:
3972         (WebView::notifyPreferencesChanged): Ditto
3973
3974 2014-02-11  Zalan Bujtas  <zalan@apple.com>
3975
3976         Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
3977         https://bugs.webkit.org/show_bug.cgi?id=128460
3978
3979         Reviewed by Simon Fraser.
3980
3981         GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
3982         subpixel position.
3983
3984         No change in functionality.
3985
3986         * WebView.cpp:
3987         (WebView::paintContents):
3988         * WebView.h:
3989
3990 2014-02-11  Alex Christensen  <achristensen@webkit.org>
3991
3992         Fixed pointer truncation on Win64.
3993         https://bugs.webkit.org/show_bug.cgi?id=128211
3994
3995         Reviewed by Brent Fulgham.
3996
3997         * WebCoreSupport/EmbeddedWidget.cpp:
3998         (EmbeddedWidget::createWindow):
3999         * WebCoreSupport/WebContextMenuClient.cpp:
4000         (WebContextMenuClient::customizeMenu):
4001         * WebCoreSupport/WebFrameLoaderClient.cpp:
4002         (WebFrameLoaderClient::createPlugin):
4003         * WebCoreSupport/WebInspectorClient.cpp:
4004         (WebInspectorClient::WebInspectorClient):
4005         (WebInspectorClient::openInspectorFrontend):
4006         (WebInspectorClient::highlight):
4007         (WebInspectorClient::releaseFrontend):
4008         (WebInspectorFrontendClient::setAttachedWindowHeight):
4009         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
4010         * WebCoreSupport/WebInspectorClient.h:
4011         * WebDropSource.cpp:
4012         (generateMouseEvent):
4013         * WebFrame.cpp:
4014         (WebFrame::createSubframeWithOwnerElement):
4015         (WebFrame::initWithWebView):
4016         Removed all casts from &HWND to OLE_HANDLE*.
4017
4018 2014-02-11  peavo@outlook.com  <peavo@outlook.com>
4019
4020         [WinCairo] Compile error related to toString function.
4021         https://bugs.webkit.org/show_bug.cgi?id=128607
4022
4023         Reviewed by Brent Fulgham.
4024
4025         * WebView.cpp:
4026         (toString): Added another toString function to make sure we are not trying to use WTF::toString.
4027
4028 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
4029
4030         Cleanup the interface of FrameSelection
4031         https://bugs.webkit.org/show_bug.cgi?id=128481
4032
4033         Reviewed by Andreas Kling.
4034
4035         * WebView.cpp:
4036         (WebView::selectionRect):
4037
4038 2014-02-08  Darin Adler  <darin@apple.com>
4039
4040         Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
4041         https://bugs.webkit.org/show_bug.cgi?id=128233
4042
4043         Reviewed by Anders Carlsson.
4044
4045         * WebCoreSupport/WebEditorClient.cpp:
4046         (WebEditorClient::checkSpellingOfString): Use StringView.
4047         (WebEditorClient::checkGrammarOfString): Ditto.
4048         * WebCoreSupport/WebEditorClient.h: Ditto.
4049
4050 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
4051
4052         Web Inspector: Add Console support to JSContext Inspection
4053         https://bugs.webkit.org/show_bug.cgi?id=127941
4054
4055         Reviewed by Geoffrey Garen.
4056
4057         * WebCoreSupport/WebChromeClient.h:
4058
4059 2014-02-06  Brent Fulgham  <bfulgham@apple.com>
4060
4061         [Win] Correct IME Regression after r141479
4062         https://bugs.webkit.org/show_bug.cgi?id=128323
4063         <rdar://problem/15952986>
4064
4065         Reviewed by Tim Horton.
4066
4067         * WebView.cpp:
4068         (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used
4069         to select the resetIME case. Corrected for behavior of new cancel method.
4070
4071 2014-02-04  Andreas Kling  <akling@apple.com>
4072
4073         Remove <iframe seamless> support.
4074         <https://webkit.org/b/128213>
4075
4076         Rubber-stamped by Antti Koivisto.
4077
4078         * WebPreferences.h:
4079         * WebView.cpp:
4080         (WebView::notifyPreferencesChanged):
4081
4082 2014-02-03  Darin Adler  <darin@apple.com>
4083
4084         Try to fix the WinCairo build.
4085
4086         * WebDownloadCurl.cpp:
4087         (WebDownload::didReceiveResponse): characters -> deprecatedCharacters.
4088
4089 2014-02-02  Darin Adler  <darin@apple.com>
4090
4091         Still more characters -> deprecatedCharacters (EWS keeps finding more)
4092         https://bugs.webkit.org/show_bug.cgi?id=128076
4093
4094         Reviewed by Andreas Kling.
4095
4096         * AccessibleTextImpl.cpp:
4097         (AccessibleText::get_text):
4098         (AccessibleText::get_textBeforeOffset):
4099         (AccessibleText::get_textAfterOffset):
4100         (AccessibleText::get_textAtOffset):
4101         (AccessibleText::get_attributes):
4102         * DOMCSSClasses.cpp:
4103         (DOMCSSStyleDeclaration::getPropertyValue):
4104         * DOMCoreClasses.cpp:
4105         (DOMNode::nodeValue):
4106         (DOMElement::getAttribute):
4107         (DOMElement::font):
4108         * DOMHTMLClasses.cpp:
4109         (DOMHTMLElement::innerText):
4110         (DOMHTMLFormElement::action):
4111         (DOMHTMLFormElement::method):
4112         (DOMHTMLInputElement::value):
4113         (DOMHTMLTextAreaElement::value):
4114         * MarshallingHelpers.cpp:
4115         (MarshallingHelpers::PathStringToFileCFURLRef):
4116         * WebDataSource.cpp:
4117         (WebDataSource::unreachableURL):
4118         * WebDownload.cpp:
4119         (WebDownload::bundlePathForTargetPath):
4120         * WebDownloadCFNet.cpp:
4121         (WebDownload::didFinish):
4122         * WebElementPropertyBag.cpp:
4123         (convertStringToVariant):
4124         * WebFrame.cpp:
4125         (WebFrame::searchForLabelsBeforeElement):
4126         (WebFrame::matchLabelsAgainstElement):
4127         * WebHistory.cpp:
4128         (WebHistory::addVisitedLinksToPageGroup):
4129         * WebKitGraphics.cpp:
4130         (CenterTruncateStringToWidth):
4131         (RightTruncateStringToWidth):
4132         * WebView.cpp:
4133         (WebView::applicationNameForUserAgent):
4134         (WebView::customUserAgent):
4135         (WebView::groupName):
4136         (WebView::selectedText):
4137         (WebView::onIMERequestReconvertString):
4138         Use deprecatedCharacters.
4139
4140 2014-01-30  Andrei Bucur  <abucur@adobe.com>
4141
4142         Remove the ACCELERATED_COMPOSITING flag
4143         https://bugs.webkit.org/show_bug.cgi?id=127833
4144
4145         Reviewed by Antti Koivisto.
4146
4147         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
4148         mandatory.
4149
4150         Another patch will be required to remove the flag support from the Win build system.
4151
4152         * FullscreenVideoController.cpp:
4153         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
4154         (FullscreenVideoController::FullscreenVideoController):
4155         (FullscreenVideoController::~FullscreenVideoController):
4156         (FullscreenVideoController::enterFullscreen):
4157         * FullscreenVideoController.h:
4158         * WebCoreSupport/WebChromeClient.cpp:
4159         (WebChromeClient::scheduleCompositingLayerFlush):
4160         * WebCoreSupport/WebChromeClient.h:
4161         (WebChromeClient::setNeedsOneShotDrawingSynchronization):
4162         * WebPreferences.cpp:
4163         (WebPreferences::acceleratedCompositingEnabled):
4164         * WebView.cpp:
4165         (WebView::WebView):
4166         (WebView::~WebView):
4167         (WebView::close):
4168         (WebView::repaint):
4169         (WebView::addToDirtyRegion):
4170         (WebView::scrollBackingStore):
4171         (WebView::sizeChanged):
4172         (WebView::updateBackingStore):
4173         (WebView::paint):
4174         (WebView::setShouldInvertColors):
4175         (WebView::WebViewWndProc):
4176         (WebView::notifyPreferencesChanged):
4177         (WebView::setAcceleratedCompositing):
4178         * WebView.h:
4179
4180 2014-01-29  Alex Christensen  <achristensen@webkit.org>
4181
4182         Prepare for accelerated compositing on WinCairo.
4183         https://bugs.webkit.org/show_bug.cgi?id=127843
4184
4185         Reviewed by Anders Carlsson.
4186
4187         * WebPreferences.cpp:
4188         Moved CACFLayerTreeHost.h inclusion to Apple-specific includes
4189         to avoid compile errors in WinCairo when using accelerated compositing.
4190
4191 2014-01-26  Anders Carlsson  <andersca@apple.com>
4192
4193         Follow-up build fix.
4194
4195         * WebHistoryItem.cpp:
4196         (WebHistoryItem::visitedWithTitle):
4197
4198 2014-01-26  Anders Carlsson  <andersca@apple.com>
4199
4200         Remove even more Windows history code.
4201
4202         * WebHistory.cpp:
4203         (WebHistory::removeItemForURLString):
4204         * WebHistoryItem.cpp:
4205         (WebHistoryItem::initFromDictionaryRepresentation):
4206         (WebHistoryItem::dictionaryRepresentation):
4207         (WebHistoryItem::getDailyVisitCounts):
4208         (WebHistoryItem::getWeeklyVisitCounts):
4209         (WebHistoryItem::recordInitialVisit):
4210         (WebHistoryItem::initWithURLString):
4211
4212 2014-01-26  Anders Carlsson  <andersca@apple.com>
4213
4214         Another follow-up build fix.
4215
4216         * WebHistory.cpp:
4217         (WebHistory::removeAllItems):
4218         (WebHistory::orderedItemsLastVisitedOnDay):
4219         * WebHistoryItem.cpp:
4220         (WebHistoryItem::initFromDictionaryRepresentation):
4221         (WebHistoryItem::dictionaryRepresentation):
4222         (WebHistoryItem::visitCount):
4223         (WebHistoryItem::setVisitCount):
4224
4225 2014-01-26  Anders Carlsson  <andersca@apple.com>
4226
4227         Remove more history gunk.
4228
4229         * WebHistory.cpp: