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