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