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