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