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