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