0b2e9d6a91e62e03b889dd0d6878ab0c7297f7da
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2014-12-08  Anders Carlsson  <andersca@apple.com>
2
3         Use the new storage namespace provider in WebKit1
4         https://bugs.webkit.org/show_bug.cgi?id=139425
5
6         Reviewed by Tim Horton.
7
8         * WebView.cpp:
9         (localStorageDatabasePath):
10         Helper from getting the local storage database path given a WebPreferences instance.
11
12         (WebView::initWithFrame):
13         Create a storage namespace provider.
14
15 2014-12-05  Anders Carlsson  <andersca@apple.com>
16
17         Get rid of config.h includes and include config.h in the prefix header instead
18         https://bugs.webkit.org/show_bug.cgi?id=139323
19
20         Reviewed by Brent Fulgham.
21
22         This is making it easier to share code between WebKit1 for Mac and WebKit1 for Windows.
23
24         * AccessibleBase.cpp:
25         * AccessibleDocument.cpp:
26         * AccessibleImage.cpp:
27         * AccessibleTextImpl.cpp:
28         * CFDictionaryPropertyBag.cpp:
29         * DOMCSSClasses.cpp:
30         * DOMCoreClasses.cpp:
31         * DOMEventsClasses.cpp:
32         * DOMHTMLClasses.cpp:
33         * DefaultDownloadDelegate.cpp:
34         * DefaultPolicyDelegate.cpp:
35         * ForEachCoClass.cpp:
36         * FullscreenVideoController.cpp:
37         * MarshallingHelpers.cpp:
38         * MemoryStream.cpp:
39         * WebActionPropertyBag.cpp:
40         * WebArchive.cpp:
41         * WebBackForwardList.cpp:
42         * WebCache.cpp:
43         * WebCoreStatistics.cpp:
44         * WebCoreSupport/AcceleratedCompositingContext.cpp:
45         * WebCoreSupport/EmbeddedWidget.cpp:
46         * WebCoreSupport/WebChromeClient.cpp:
47         * WebCoreSupport/WebContextMenuClient.cpp:
48         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
49         * WebCoreSupport/WebDragClient.cpp:
50         * WebCoreSupport/WebEditorClient.cpp:
51         * WebCoreSupport/WebFrameLoaderClient.cpp:
52         * WebCoreSupport/WebFrameNetworkingContext.cpp:
53         * WebCoreSupport/WebGeolocationClient.cpp:
54         * WebCoreSupport/WebInspectorClient.cpp:
55         * WebCoreSupport/WebInspectorDelegate.cpp:
56         * WebCoreSupport/WebPlatformStrategies.cpp:
57         * WebCoreSupport/WebVisitedLinkStore.cpp:
58         * WebDataSource.cpp:
59         * WebDatabaseManager.cpp:
60         * WebDocumentLoader.cpp:
61         * WebDownload.cpp:
62         * WebDownloadCFNet.cpp:
63         * WebDownloadCurl.cpp:
64         * WebDropSource.cpp:
65         * WebElementPropertyBag.cpp:
66         * WebError.cpp:
67         * WebFrame.cpp:
68         * WebFramePolicyListener.cpp:
69         * WebGeolocationPolicyListener.cpp:
70         * WebGeolocationPosition.cpp:
71         * WebHTMLRepresentation.cpp:
72         * WebHistory.cpp:
73         * WebHistoryItem.cpp:
74         * WebIconDatabase.cpp:
75         * WebInspector.cpp:
76         * WebJavaScriptCollector.cpp:
77         * WebKitCOMAPI.cpp:
78         * WebKitClassFactory.cpp:
79         * WebKitDLL.cpp:
80         * WebKitGraphics.cpp:
81         * WebKitLogging.cpp:
82         * WebKitPrefix.h:
83         * WebKitStatistics.cpp:
84         * WebKitSystemBits.cpp:
85         * WebLocalizableStrings.cpp:
86         * WebMutableURLRequest.cpp:
87         * WebNavigationData.cpp:
88         * WebNodeHighlight.cpp:
89         * WebNotification.cpp:
90         * WebNotificationCenter.cpp:
91         * WebPreferences.cpp:
92         * WebResource.cpp:
93         * WebScriptObject.cpp:
94         * WebScriptWorld.cpp:
95         * WebSecurityOrigin.cpp:
96         * WebSerializedJSValue.cpp:
97         * WebTextRenderer.cpp:
98         * WebURLAuthenticationChallenge.cpp:
99         * WebURLAuthenticationChallengeSender.cpp:
100         * WebURLAuthenticationChallengeSenderCFNet.cpp:
101         * WebURLAuthenticationChallengeSenderCurl.cpp:
102         * WebURLCredential.cpp:
103         * WebURLProtectionSpace.cpp:
104         * WebURLResponse.cpp:
105         * WebUserContentURLPattern.cpp:
106         * WebView.cpp:
107         * WebWorkersPrivate.cpp:
108
109 2014-12-05  Anders Carlsson  <andersca@apple.com>
110
111         Follow-up build fix.
112
113         * WebCoreSupport/WebVisitedLinkStore.cpp:
114         (WebVisitedLinkStore::shared):
115
116 2014-12-04  Anders Carlsson  <andersca@apple.com>
117
118         Don't use NeverDestroyed with a RefCounted object.
119
120         * WebCoreSupport/WebVisitedLinkStore.cpp:
121         (WebVisitedLinkStore::shared):
122
123 2014-12-03  peavo@outlook.com  <peavo@outlook.com>
124
125         [TexMap] Redundant method in GraphicsLayerTextureMapper.
126         https://bugs.webkit.org/show_bug.cgi?id=138005
127
128         Reviewed by Alex Christensen.
129
130         The TextureMapperLayer method descendantsOrSelfHaveRunningAnimations() can be used
131         instead of the GraphicsLayerTextureMapper method startedAnimation().
132
133         * WebCoreSupport/AcceleratedCompositingContext.cpp:
134         (AcceleratedCompositingContext::startedAnimation):
135
136 2014-12-02  Anders Carlsson  <andersca@apple.com>
137
138         Remove more Windows cruft
139         https://bugs.webkit.org/show_bug.cgi?id=139189
140
141         Reviewed by Andreas Kling.
142
143         * WebCoreSupport/WebFrameLoaderClient.cpp:
144         (WebFrameLoaderClient::createNetworkingContext):
145         * WebCoreSupport/WebFrameNetworkingContext.h:
146         (WebFrameNetworkingContext::create):
147         (WebFrameNetworkingContext::WebFrameNetworkingContext):
148         (WebFrameNetworkingContext::userAgent): Deleted.
149
150 2014-12-02  Anders Carlsson  <andersca@apple.com>
151
152         Remove visited link handling from PageGroup
153         https://bugs.webkit.org/show_bug.cgi?id=139185
154
155         Reviewed by Sam Weinig.
156
157         * WebCoreSupport/WebChromeClient.cpp:
158         (WebChromeClient::populateVisitedLinks): Deleted.
159         * WebCoreSupport/WebChromeClient.h:
160
161 2014-12-01  Anders Carlsson  <andersca@apple.com>
162
163         Remove IWebCookieManager on Windows
164         https://bugs.webkit.org/show_bug.cgi?id=139144
165
166         Reviewed by Sam Weinig.
167
168         Remove WebCookieManager.
169
170         * ForEachCoClass.h:
171         * Interfaces/IWebCookieManager.idl: Removed.
172         * Interfaces/WebKit.idl:
173         * WebCookieManager.cpp: Removed.
174         * WebCookieManager.h: Removed.
175         * WebCookieManagerCFNet.cpp: Removed.
176         * WebCookieManagerCurl.cpp: Removed.
177         * WebKitClassFactory.cpp:
178
179 2014-11-29  Anders Carlsson  <andersca@apple.com>
180
181         Switch over to using WebVisitedLinkStore on Windows
182         https://bugs.webkit.org/show_bug.cgi?id=139103
183
184         Reviewed by Antti Koivisto.
185
186         * WebCoreSupport/WebChromeClient.cpp:
187         (WebChromeClient::populateVisitedLinks):
188         * WebHistory.cpp:
189         (WebHistory::setOptionalSharedHistory):
190         (WebHistory::removeAllItems):
191         (WebHistory::setVisitedLinkTrackingEnabled):
192         (WebHistory::removeAllVisitedLinks):
193         (WebHistory::removeItemForURLString):
194         (WebHistory::addVisitedLinksToVisitedLinkStore):
195         (WebHistory::addVisitedLinksToPageGroup): Deleted.
196         * WebHistory.h:
197         * WebView.cpp:
198         (WebView::initWithFrame):
199
200 2014-11-29  Anders Carlsson  <andersca@apple.com>
201
202         Another build fix.
203
204         * WebHistory.cpp:
205         (WebHistory::addVisitedLinksToVisitedLinkStore):
206
207 2014-11-29  Anders Carlsson  <andersca@apple.com>
208
209         Another build fix.
210
211         * WebHistory.cpp:
212         (WebHistory::addVisitedLinksToVisitedLinkStore):
213         (WebHistory::removeAllVisitedLinks): Deleted.
214         (WebHistory::setHistoryItemLimit): Deleted.
215
216 2014-11-29  Anders Carlsson  <andersca@apple.com>
217
218         Try to fix build.
219
220         * WebHistory.h:
221
222 2014-11-29  Anders Carlsson  <andersca@apple.com>
223
224         Stub out more of WebVisitedLinkStore on Windows
225         https://bugs.webkit.org/show_bug.cgi?id=139098
226
227         Reviewed by Sam Weinig.
228
229         * WebCoreSupport/WebVisitedLinkStore.cpp:
230         (WebVisitedLinkStore::WebVisitedLinkStore):
231         Initialize m_visitedLinksPopulated to false.
232
233         (WebVisitedLinkStore::setShouldTrackVisitedLinks):
234         Update s_shouldTrackVisitedLinks and remove all visited links if needed.
235
236         (WebVisitedLinkStore::removeAllVisitedLinks):
237         Remove all hashes from our shared link store.
238
239         (WebVisitedLinkStore::addVisitedLink):
240         Compute the visited link hash and add it to the store.
241
242         (WebVisitedLinkStore::isLinkVisited):
243         Populate visited links and then look up the hash in our hash map.
244
245         (WebVisitedLinkStore::populateVisitedLinksIfNeeded):
246         Call out to the history delegate or populate visited links from shared history.
247
248         (WebVisitedLinkStore::addVisitedLinkHash):
249         Add the hash if we're tracking hashes.
250
251         (WebVisitedLinkStore::removeVisitedLinkHashes):
252         Clear the map.
253
254         * WebCoreSupport/WebVisitedLinkStore.h:
255         Add members.
256
257         * WebHistory.cpp:
258         (WebHistory::addVisitedLinksToVisitedLinkStore):
259         New function that adds visited links from the history to a given store.
260
261         * WebHistory.h:
262         Add new member.
263
264         * WebView.cpp:
265         (WebView::addVisitedLinks):
266         Add links to the visited link store as well.
267
268 2014-11-27  Anders Carlsson  <andersca@apple.com>
269
270         Add a stubbed out WebVisitedLinkStore class on Windows
271         https://bugs.webkit.org/show_bug.cgi?id=139078
272
273         Reviewed by Sam Weinig.
274
275         * WebCoreSupport/WebVisitedLinkStore.cpp: Added.
276         (WebVisitedLinkStore::shared):
277         (WebVisitedLinkStore::WebVisitedLinkStore):
278         (WebVisitedLinkStore::~WebVisitedLinkStore):
279         (WebVisitedLinkStore::isLinkVisited):
280         (WebVisitedLinkStore::addVisitedLink):
281         * WebCoreSupport/WebVisitedLinkStore.h: Added.
282
283 2014-11-24  Anders Carlsson  <andersca@apple.com>
284
285         Stub out user content WebView member functions on Windows
286         https://bugs.webkit.org/show_bug.cgi?id=139033
287
288         Reviewed by Sam Weinig.
289
290         These functions aren't used by any clients and hinder getting rid of PageGroup.
291         If it turns out they're still needed we can copy the user content controller code from Mac Legacy WebKit.
292
293         * WebView.cpp:
294         (WebView::addUserScriptToGroup):
295         (WebView::addUserStyleSheetToGroup):
296         (WebView::removeUserScriptFromGroup):
297         (WebView::removeUserStyleSheetFromGroup):
298         (WebView::removeUserScriptsFromGroup):
299         (WebView::removeUserStyleSheetsFromGroup):
300         (WebView::removeAllUserContentFromGroup):
301         (toStringVector): Deleted.
302
303 2014-11-21  Jer Noble  <jer.noble@apple.com>
304
305         Support multiple signatures of diagnostic logging.
306         https://bugs.webkit.org/show_bug.cgi?id=138690
307
308         Reviewed by Anders Carlsson.
309
310         Page::PageClients has been renamed PageConfiguration.
311
312         * WebView.cpp:
313         (WebView::initWithFrame):
314
315 2014-11-21  Anders Carlsson  <andersca@apple.com>
316
317         Another Windows build fix.
318
319         * FullscreenVideoController.cpp:
320         (FullscreenVideoController::FullscreenVideoController):
321
322 2014-11-21  Anders Carlsson  <andersca@apple.com>
323
324         Remove the Timer parameters from timer callbacks
325         https://bugs.webkit.org/show_bug.cgi?id=138974
326
327         Reviewed by Antti Koivisto.
328
329         * FullscreenVideoController.cpp:
330         (FullscreenVideoController::timerFired):
331         * FullscreenVideoController.h:
332
333 2014-11-21  Anders Carlsson  <andersca@apple.com>
334
335         Make memoryCache() return a reference
336         https://bugs.webkit.org/show_bug.cgi?id=138939
337
338         Reviewed by Antti Koivisto.
339
340         * WebCache.cpp:
341         (WebCache::statistics):
342         (WebCache::empty):
343         (WebCache::setDisabled):
344         (WebCache::disabled):
345         * WebView.cpp:
346         (WebView::setCacheModel):
347
348 2014-11-16  Zan Dobersek  <zdobersek@igalia.com>
349
350         [TexMap] Add typecasting support for GraphicsLayerTextureMapper
351         https://bugs.webkit.org/show_bug.cgi?id=138741
352
353         Reviewed by Martin Robinson.
354
355         Switch to using downcast<GraphicsLayerTextureMapper>() and replace
356         uses of toTextureMapperLayer() with downcasting and calling
357         the GraphicsLayerTextureMapper::layer() method.
358
359         * WebCoreSupport/AcceleratedCompositingContext.cpp:
360         (AcceleratedCompositingContext::initialize):
361         (AcceleratedCompositingContext::startedAnimation):
362         (AcceleratedCompositingContext::compositeLayersToContext):
363
364 2014-11-12  Chris Dumez  <cdumez@apple.com>
365
366         Have DOMTimer deal with more ScriptExecutionContext references
367         https://bugs.webkit.org/show_bug.cgi?id=138679
368
369         Reviewed by Andreas Kling.
370
371         Update WindowCloseTimer to deal with ScriptExecutionContext references
372         instead of pointers as it subclasses SuspendableTimer and its
373         constructor takes a ScriptExecutionContext& in argument.
374
375         * WebView.cpp:
376         (WindowCloseTimer::create):
377         (WindowCloseTimer::WindowCloseTimer):
378
379 2014-11-05  Jer Noble  <jer.noble@apple.com>
380
381         De-templatize Timer
382         https://bugs.webkit.org/show_bug.cgi?id=138450
383
384         Reviewed by Anders Carlsson.
385
386         * FullscreenVideoController.cpp:
387         (FullscreenVideoController::timerFired):
388         * FullscreenVideoController.h:
389
390 2014-11-04  Darin Adler  <darin@apple.com>
391
392         Eliminate ResourceBuffer and use SharedBuffer directly instead
393         https://bugs.webkit.org/show_bug.cgi?id=138174
394
395         Reviewed by Antti Koivisto.
396
397         * WebDataSource.cpp:
398         (WebDataSource::data): Use SharedBuffer directly.
399         (WebDataSource::subresourceForURL): Ditto.
400
401 2014-11-03  Commit Queue  <commit-queue@webkit.org>
402
403         Unreviewed, rolling out r175406, r175413, and r175423.
404         https://bugs.webkit.org/show_bug.cgi?id=138327
405
406         Multipart tests are still broken (Requested by ap on #webkit).
407
408         Reverted changesets:
409
410         "Eliminate ResourceBuffer and use SharedBuffer directly
411         instead"
412         https://bugs.webkit.org/show_bug.cgi?id=138174
413         http://trac.webkit.org/changeset/175406
414
415         "Unreviewed, iOS build fix since 175406."
416         http://trac.webkit.org/changeset/175413
417
418         "Fix assertion in CachedResource::addDataBuffer"
419         http://trac.webkit.org/changeset/175423
420
421 2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
422
423         AX: Fix some minor typos related to the word "accessibility".
424         https://bugs.webkit.org/show_bug.cgi?id=138299
425
426         Reviewed by Chris Fleizach.
427
428         No new tests, no behavior change.
429
430         * AccessibleBase.h:
431
432 2014-10-31  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
433
434         Use std::unique_ptr for TypeCountSet
435         https://bugs.webkit.org/show_bug.cgi?id=138242
436
437         Reviewed by Andreas Kling.
438
439         * WebCoreStatistics.cpp:
440         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Use std::unique_ptr<> instead of OwnPtr.
441         (WebCoreStatistics::javaScriptObjectTypeCounts): ditto.
442
443 2014-10-30  Darin Adler  <darin@apple.com>
444
445         Eliminate ResourceBuffer and use SharedBuffer directly instead
446         https://bugs.webkit.org/show_bug.cgi?id=138174
447
448         Reviewed by Antti Koivisto.
449
450         * WebDataSource.cpp:
451         (WebDataSource::data): Use SharedBuffer directly.
452         (WebDataSource::subresourceForURL): Ditto.
453
454 2014-10-20  peavo@outlook.com  <peavo@outlook.com>
455
456         [WinCairo] Crash in ATI display driver in accelerated compositing mode.
457         https://bugs.webkit.org/show_bug.cgi?id=137879
458
459         Reviewed by Darin Adler.
460
461         Speculative fix; don't enable antialiasing when drawing textures.
462
463         * WebCoreSupport/AcceleratedCompositingContext.cpp:
464         (AcceleratedCompositingContext::initialize):
465
466 2014-10-20  Chris Dumez  <cdumez@apple.com>
467
468         Use is<>() / downcast<>() for Accessibility objects
469         https://bugs.webkit.org/show_bug.cgi?id=137286
470
471         Reviewed by Darin Adler.
472
473         Use is<>() / downcast<>() for Accessibility objects.
474
475         * AccessibleBase.cpp:
476         (AccessibleBase::accSelect):
477         * AccessibleImage.cpp:
478         (AccessibleImage::name):
479
480 2014-10-18  peavo@outlook.com  <peavo@outlook.com>
481
482         [WinCairo] Repaint issues with accelerated compositing.
483         https://bugs.webkit.org/show_bug.cgi?id=137850
484
485         Reviewed by Brent Fulgham.
486
487         There is sometimes missing content in accelerated compositing mode.
488         This is caused by not invalidating the non composited layer,
489         and not rendering when a flush did not complete.
490
491         * WebCoreSupport/AcceleratedCompositingContext.cpp:
492         (AcceleratedCompositingContext::flushAndRenderLayers): Also render when flush did not complete.
493         (AcceleratedCompositingContext::setNeedsDisplayInRect): Deleted.
494         * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
495         * WebView.cpp:
496         (WebView::addToDirtyRegion): Invalidate non composited layer.
497         (WebView::flushPendingGraphicsLayerChanges): Flush layers.
498
499 2014-10-17  Chris Dumez  <cdumez@apple.com>
500
501         Use is<>() / downcast<>() for RenderBox
502         https://bugs.webkit.org/show_bug.cgi?id=137804
503
504         Reviewed by Andreas Kling.
505
506         Use is<>() / downcast<>() for RenderBox and clean up the surrounding
507         code.
508
509         * WebView.cpp:
510         (WebView::gestureNotify):
511
512 2014-10-17  peavo@outlook.com  <peavo@outlook.com>
513
514         [WinCairo] Accelerated compositing is not implemented.
515         https://bugs.webkit.org/show_bug.cgi?id=137345
516
517         Reviewed by Brent Fulgham.
518
519         This patch is based on GTK, and the texture mapper graphics layer type.
520
521         * WebCoreSupport/AcceleratedCompositingContext.cpp: Added.
522         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
523         (WebKit::getWebViewSize):
524         (WebKit::AcceleratedCompositingContext::initialize):
525         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
526         (WebKit::AcceleratedCompositingContext::stopAnyPendingLayerFlush):
527         (WebKit::AcceleratedCompositingContext::enabled):
528         (WebKit::AcceleratedCompositingContext::prepareForRendering):
529         (WebKit::AcceleratedCompositingContext::startedAnimation):
530         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
531         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
532         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
533         (WebKit::AcceleratedCompositingContext::setNeedsDisplayInRect):
534         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
535         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents):
536         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
537         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
538         (WebKit::AcceleratedCompositingContext::flushPendingLayerChangesSoon):
539         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
540         (WebKit::AcceleratedCompositingContext::layerFlushTimerFired):
541         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
542         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
543         (WebKit::AcceleratedCompositingContext::paintContents):
544         * WebCoreSupport/AcceleratedCompositingContext.h: Added.
545         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::LayerFlushTimer):
546         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::fired):
547         * WebView.cpp:
548         (WebView::WebView):
549         (WebView::addToDirtyRegion):
550         (WebView::scrollBackingStore):
551         (WebView::sizeChanged):
552         (WebView::paint):
553         (WebView::setRootChildLayer):
554         (WebView::flushPendingGraphicsLayerChangesSoon):
555         (WebView::setAcceleratedCompositing):
556         * WebView.h:
557
558 2014-10-16  Commit Queue  <commit-queue@webkit.org>
559
560         Unreviewed, rolling out r174754.
561         https://bugs.webkit.org/show_bug.cgi?id=137789
562
563         Speculative fix for Windows test was ineffective. (Requested
564         by rfong on #webkit).
565
566         Reverted changeset:
567
568         "[Windows] Add some more logging to debug Windows test
569         issues."
570         http://trac.webkit.org/changeset/174754
571
572 2014-10-15  Roger Fong  <roger_fong@apple.com>
573
574         [Windows] Add some more logging to debug Windows test issues.
575
576         * WebActionPropertyBag.cpp:
577         (WebActionPropertyBag::Read):
578
579 2014-10-14  Roger Fong  <roger_fong@apple.com>
580
581         [Windows] Add some logging to debug random crashing when running layout tests on Windows.
582
583         * WebActionPropertyBag.cpp:
584         (WebActionPropertyBag::Read):
585
586 2014-10-13  Brent Fulgham  <bfulgham@apple.com>
587
588         [Win] Implement a page load profiling tool
589         https://bugs.webkit.org/show_bug.cgi?id=137673
590
591         Reviewed by Dean Jackson.
592
593         Add a new predicate (isMainFrame) to the IWebFrame interface so
594         that we can make decisions about a frames position in the page
595         load hierarchy in client programs.
596
597         * Interfaces/IWebFrame.idl: Added new isMainFrame
598         predicate to interface definition.
599         * WebFrame.cpp:
600         (WebFrame::isMainFrame): Added.
601         * WebFrame.h:
602
603 2014-10-13  Chris Dumez  <cdumez@apple.com>
604
605         Use is<>() / downcast<>() for PlatformCALayer subclasses
606         https://bugs.webkit.org/show_bug.cgi?id=137661
607
608         Reviewed by Simon Fraser.
609
610         Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up 
611         the surrounding code.
612
613         * FullscreenVideoController.cpp:
614         (FullscreenVideoController::enterFullscreen):
615
616 2014-10-10  Chris Dumez  <cdumez@apple.com>
617
618         Use is<>() / downcast<>() for RenderElement
619         https://bugs.webkit.org/show_bug.cgi?id=137622
620
621         Reviewed by Benjamin Poulain.
622
623         Use is<>() / downcast<>() for RenderElement and clean up the
624         surrounding code.
625
626         * WebFrame.cpp:
627         (WebFrame::pauseAnimation):
628         (WebFrame::pauseTransition):
629
630 2014-10-09  Chris Dumez  <cdumez@apple.com>
631
632         Use is<>() / downcast<>() for Widget subclasses
633         https://bugs.webkit.org/show_bug.cgi?id=137549
634
635         Reviewed by Darin Adler.
636
637         Use is<>() / downcast<>() for Widget subclasses and clean up the
638         surrounding code.
639
640         * WebCoreSupport/EmbeddedWidget.cpp:
641         (EmbeddedWidget::frameRectsChanged):
642
643 2014-10-08  Brent Fulgham  <bfulgham@apple.com>
644
645         [Win] Resolve various static analyzer warnings in WebKit.
646         https://bugs.webkit.org/show_bug.cgi?id=137531
647
648         Reviewed by Dean Jackson.
649
650         * MarshallingHelpers.cpp:
651         (MarshallingHelpers::safeArrayToIntArray): Handle possible failure of
652         SafeArrayGetElement call.
653         (MarshallingHelpers::safeArrayToIUnknownArray): Ditto.
654         * MemoryStream.cpp:
655         (MemoryStream::CopyTo): Zero-initialize 'written' to silence warning. 
656         * WebCoreSupport/WebChromeClient.cpp:
657         (WebChromeClient::exceededDatabaseQuota): Handle possible failure of
658         GetModuleFileName.
659         * WebHistory.cpp:
660         (getDayBoundaries): Handle possible failure of TzSpecificLocalTimeToSystemTime
661         * WebView.cpp:
662         (WebView::shouldInitializeTrackPointHack): Zero initialize return value.
663         (WebView::dispatchDidReceiveIconFromWebFrame): Avoid possible DeleteObject
664         call on a null bitmap handle.
665         (WebView::standardUserAgentWithApplicationName): Get rid of spurious
666         pointer dereference.
667
668 2014-10-02  Tim Horton  <timothy_horton@apple.com>
669
670         Move PageOverlay[Controller] to WebCore
671         https://bugs.webkit.org/show_bug.cgi?id=137164
672         <rdar://problem/18508258>
673
674         Reviewed by Anders Carlsson.
675
676         * WebCoreSupport/WebChromeClient.cpp:
677         (WebChromeClient::attachViewOverlayGraphicsLayer):
678         * WebCoreSupport/WebChromeClient.h:
679         Add an empty ChromeClient override.
680
681 2014-10-01  Christophe Dumez  <cdumez@apple.com>
682
683         Have is<>(T*) function do a null check on the pointer argument
684         https://bugs.webkit.org/show_bug.cgi?id=137333
685
686         Reviewed by Gavin Barraclough.
687
688         Have is<>(T*) function do a null check on the argument instead of a
689         simple assertion. This makes sense for 2 reasons:
690         1. It is more consistent with downcast<>(T*), which will succeed even
691            if the argument is a nullptr.
692         2. It simplifies the code a bit as it gets rid of a lot of explicit
693            null checks.
694
695         * DOMCoreClasses.cpp:
696         (DOMElement::createInstance):
697         * DOMHTMLClasses.cpp:
698         (DOMHTMLDocument::body):
699         (DOMHTMLDocument::forms):
700         (DOMHTMLElement::idName):
701         (DOMHTMLElement::innerText):
702         (DOMHTMLElement::setInnerText):
703         (DOMHTMLFormElement::action):
704         (DOMHTMLFormElement::method):
705         (DOMHTMLOptionElement::text):
706         (DOMHTMLOptionElement::label):
707         (DOMHTMLInputElement::form):
708         (DOMHTMLInputElement::disabled):
709         (DOMHTMLInputElement::readOnly):
710         (DOMHTMLInputElement::setType):
711         (DOMHTMLInputElement::value):
712         (DOMHTMLInputElement::setValue):
713         (DOMHTMLInputElement::setValueForUser):
714         (DOMHTMLInputElement::select):
715         (DOMHTMLInputElement::setSelectionStart):
716         (DOMHTMLInputElement::selectionStart):
717         (DOMHTMLInputElement::setSelectionEnd):
718         (DOMHTMLInputElement::selectionEnd):
719         (DOMHTMLInputElement::isTextField):
720         (DOMHTMLInputElement::rectOnScreen):
721         (DOMHTMLInputElement::replaceCharactersInRange):
722         (DOMHTMLInputElement::selectedRange):
723         (DOMHTMLInputElement::setAutofilled):
724         (DOMHTMLInputElement::isAutofilled):
725         (DOMHTMLInputElement::isUserEdited):
726         (DOMHTMLTextAreaElement::form):
727         (DOMHTMLTextAreaElement::value):
728         (DOMHTMLTextAreaElement::setValue):
729         (DOMHTMLTextAreaElement::select):
730         (DOMHTMLTextAreaElement::isUserEdited):
731         * WebFrame.cpp:
732         (formElementFromDOMElement):
733         (inputElementFromDOMElement):
734         (WebFrame::elementWithName):
735
736 2014-09-30  Christophe Dumez  <cdumez@apple.com>
737
738         Generalize is<>() / downcast<>() support to all types
739         https://bugs.webkit.org/show_bug.cgi?id=137243
740
741         Reviewed by Benjamin Poulain.
742
743         Generalize is<>() / downcast<>() support to all types, not just Nodes.
744
745         * DOMCoreClasses.cpp:
746         (DOMElement::createInstance):
747
748 2014-09-30  Chris Dumez  <cdumez@apple.com>
749
750         Use is<>() / downcast<>() for Element
751         https://bugs.webkit.org/show_bug.cgi?id=137241
752
753         Reviewed by Andreas Kling.
754
755         Use is<>() / downcast<>() for Element instead of isElementNode() /
756         toElement().
757
758         * DOMEventsClasses.cpp:
759         (DOMMouseEvent::toElement):
760         * DOMEventsClasses.h:
761
762 2014-09-29  Christophe Dumez  <cdumez@apple.com>
763
764         Make is<>() / downcast<>() work for HTMLDocument and its subclasses
765         https://bugs.webkit.org/show_bug.cgi?id=137169
766
767         Reviewed by Darin Adler.
768
769         Use is<>() / downcast<>() for HTMLDocument and its subclasses.
770
771         * DOMHTMLClasses.cpp:
772         (DOMHTMLDocument::URL):
773         (DOMHTMLDocument::body):
774         (DOMHTMLDocument::forms):
775
776 2014-09-28  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
777
778         Use std::unique_ptr for ContextMenuController
779         https://bugs.webkit.org/show_bug.cgi?id=137178
780
781         Reviewed by Darin Adler.
782
783         Switch to using std::unique_ptr instead of OwnPtr and PassOwnPtr
784         for ContextMenuController class. Inherited class is changed by this use as well.
785
786         * WebCoreSupport/WebContextMenuClient.cpp:
787         (WebContextMenuClient::customizeMenu):
788         * WebCoreSupport/WebContextMenuClient.h:
789
790 2014-09-26  Christophe Dumez  <cdumez@apple.com>
791
792         Stop using legacy NODE_TYPE_CASTS() macro for HTML Elements
793         https://bugs.webkit.org/show_bug.cgi?id=137137
794
795         Reviewed by Benjamin Poulain.
796
797         Use is<>() / downcast<>() where appropriate.
798
799         * DOMHTMLClasses.cpp:
800         (DOMHTMLElement::idName):
801         (DOMHTMLElement::innerText):
802         (DOMHTMLElement::setInnerText):
803
804 2014-09-25  Brent Fulgham  <bfulgham@apple.com>
805
806         [Win] Debug builds of TestWebKitAPI are crashing.
807         https://bugs.webkit.org/show_bug.cgi?id=133553
808
809         Reviewed by Dean Jackson.
810
811         Switch from global static HashTable to a NeverDestroyed object.
812         Modify all accessors of the global static to use the new
813         NeverDestroyed accessor method.
814
815         * AccessibleBase.cpp:
816         (AccessibleBase::AccessibleBase):
817         (AccessibleBase::~AccessibleBase):
818         * CFDictionaryPropertyBag.cpp:
819         (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
820         (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
821         * DefaultDownloadDelegate.cpp:
822         (DefaultDownloadDelegate::DefaultDownloadDelegate):
823         (DefaultDownloadDelegate::~DefaultDownloadDelegate):
824         * DefaultPolicyDelegate.cpp:
825         (DefaultPolicyDelegate::DefaultPolicyDelegate):
826         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
827         * MemoryStream.cpp:
828         (MemoryStream::MemoryStream):
829         (MemoryStream::~MemoryStream):
830         * WebActionPropertyBag.cpp:
831         (WebActionPropertyBag::WebActionPropertyBag):
832         (WebActionPropertyBag::~WebActionPropertyBag):
833         * WebArchive.cpp:
834         (WebArchive::WebArchive):
835         (WebArchive::~WebArchive):
836         * WebBackForwardList.cpp:
837         (WebBackForwardList::WebBackForwardList):
838         (WebBackForwardList::~WebBackForwardList):
839         * WebCache.cpp:
840         (WebCache::WebCache):
841         (WebCache::~WebCache):
842         * WebCookieManager.cpp:
843         (WebCookieManager::WebCookieManager):
844         (WebCookieManager::~WebCookieManager):
845         * WebCoreStatistics.cpp:
846         (WebCoreStatistics::WebCoreStatistics):
847         (WebCoreStatistics::~WebCoreStatistics):
848         * WebDataSource.cpp:
849         (WebDataSource::~WebDataSource):
850         * WebDatabaseManager.cpp:
851         (WebDatabaseManager::WebDatabaseManager):
852         (WebDatabaseManager::~WebDatabaseManager):
853         * WebDocumentLoader.cpp:
854         (WebDocumentLoader::WebDocumentLoader):
855         (WebDocumentLoader::~WebDocumentLoader):
856         * WebDownload.cpp:
857         (WebDownload::WebDownload):
858         (WebDownload::~WebDownload):
859         * WebDropSource.cpp:
860         (WebDropSource::WebDropSource):
861         (WebDropSource::~WebDropSource):
862         * WebElementPropertyBag.cpp:
863         (WebElementPropertyBag::WebElementPropertyBag):
864         (WebElementPropertyBag::~WebElementPropertyBag):
865         * WebError.cpp:
866         (WebError::WebError):
867         (WebError::~WebError):
868         * WebFrame.cpp:
869         (WebFrame::WebFrame):
870         (WebFrame::~WebFrame):
871         * WebFramePolicyListener.cpp:
872         (WebFramePolicyListener::WebFramePolicyListener):
873         (WebFramePolicyListener::~WebFramePolicyListener):
874         * WebGeolocationPolicyListener.cpp:
875         (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
876         (WebGeolocationPolicyListener::~WebGeolocationPolicyListener):
877         * WebGeolocationPosition.cpp:
878         (WebGeolocationPosition::WebGeolocationPosition):
879         (WebGeolocationPosition::~WebGeolocationPosition):
880         * WebHTMLRepresentation.cpp:
881         (WebHTMLRepresentation::WebHTMLRepresentation):
882         (WebHTMLRepresentation::~WebHTMLRepresentation):
883         * WebHistory.cpp:
884         (WebHistory::WebHistory):
885         (WebHistory::~WebHistory):
886         * WebHistoryItem.cpp:
887         (WebHistoryItem::WebHistoryItem):
888         (WebHistoryItem::~WebHistoryItem):
889         * WebIconDatabase.cpp:
890         (WebIconDatabase::WebIconDatabase):
891         (WebIconDatabase::~WebIconDatabase):
892         * WebInspector.cpp:
893         (WebInspector::WebInspector):
894         (WebInspector::~WebInspector):
895         * WebJavaScriptCollector.cpp:
896         (WebJavaScriptCollector::WebJavaScriptCollector):
897         (WebJavaScriptCollector::~WebJavaScriptCollector):
898         * WebKitClassFactory.cpp:
899         (WebKitClassFactory::WebKitClassFactory):
900         (WebKitClassFactory::~WebKitClassFactory):
901         * WebKitDLL.cpp: Also switch to NeverDestroyed HashTable for
902         the global class name count.
903         * WebKitDLL.h:
904         * WebKitStatistics.cpp:
905         (WebKitStatistics::WebKitStatistics):
906         (WebKitStatistics::~WebKitStatistics):
907         (WebKitStatistics::comClassNameCounts):
908         * WebMutableURLRequest.cpp:
909         (WebMutableURLRequest::WebMutableURLRequest):
910         (WebMutableURLRequest::~WebMutableURLRequest):
911         * WebNavigationData.cpp:
912         (WebNavigationData::WebNavigationData):
913         (WebNavigationData::~WebNavigationData):
914         * WebNotification.cpp:
915         (WebNotification::WebNotification):
916         (WebNotification::~WebNotification):
917         * WebNotificationCenter.cpp:
918         (WebNotificationCenter::WebNotificationCenter):
919         (WebNotificationCenter::~WebNotificationCenter):
920         * WebPreferences.cpp:
921         (webPreferencesInstances):
922         (WebPreferences::WebPreferences):
923         (WebPreferences::~WebPreferences):
924         (WebPreferences::getInstanceForIdentifier):
925         (WebPreferences::setInstance):
926         (WebPreferences::removeReferenceForIdentifier):
927         * WebResource.cpp:
928         (WebResource::WebResource):
929         (WebResource::~WebResource):
930         * WebScriptObject.cpp:
931         (WebScriptObject::WebScriptObject):
932         (WebScriptObject::~WebScriptObject):
933         * WebScriptWorld.cpp:
934         (WebScriptWorld::WebScriptWorld):
935         (WebScriptWorld::~WebScriptWorld):
936         * WebSecurityOrigin.cpp:
937         (WebSecurityOrigin::WebSecurityOrigin):
938         (WebSecurityOrigin::~WebSecurityOrigin):
939         * WebSerializedJSValue.cpp:
940         (WebSerializedJSValue::WebSerializedJSValue):
941         (WebSerializedJSValue::~WebSerializedJSValue):
942         * WebTextRenderer.cpp:
943         (WebTextRenderer::WebTextRenderer):
944         (WebTextRenderer::~WebTextRenderer):
945         * WebURLAuthenticationChallenge.cpp:
946         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
947         (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
948         * WebURLAuthenticationChallengeSender.cpp:
949         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
950         (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
951         * WebURLCredential.cpp:
952         (WebURLCredential::WebURLCredential):
953         (WebURLCredential::~WebURLCredential):
954         * WebURLProtectionSpace.cpp:
955         (WebURLProtectionSpace::WebURLProtectionSpace):
956         (WebURLProtectionSpace::~WebURLProtectionSpace):
957         * WebURLResponse.cpp:
958         (:m_refCount):
959         (WebURLResponse::~WebURLResponse):
960         * WebUserContentURLPattern.cpp:
961         (WebUserContentURLPattern::WebUserContentURLPattern):
962         (WebUserContentURLPattern::~WebUserContentURLPattern):
963         * WebView.cpp:
964         (pendingDeleteBackingStoreSet): Switch from a global static
965         value to a NeverDestroyed object wrapped by an accessor function.
966         (WebView::WebView): Ditto.
967         (WebView::~WebView): Ditto.
968         (WebView::deleteBackingStore): Ditto.
969         (WebView::deleteBackingStoreSoon): Ditto,
970         (WebView::cancelDeleteBackingStoreSoon): Ditto.
971         * WebWorkersPrivate.cpp: Switch from a global static value for
972         the preferences objects t a NeverDestroyed container.
973         (WebWorkersPrivate::WebWorkersPrivate): Ditto.
974         (WebWorkersPrivate::~WebWorkersPrivate): Ditto.
975
976 2014-09-25  Christophe Dumez  <cdumez@apple.com>
977
978         Use is<HTML*Element>() instead of isHTML*Element() - Part 2
979         https://bugs.webkit.org/show_bug.cgi?id=137103
980
981         Reviewed by Benjamin Poulain.
982
983         Use is<HTML*Element>() instead of isHTML*Element().
984
985         * DOMCoreClasses.cpp:
986         (DOMElement::createInstance):
987         * DOMHTMLClasses.cpp:
988         (DOMHTMLFormElement::action):
989         (DOMHTMLFormElement::method):
990         * WebFrame.cpp:
991         (formElementFromDOMElement):
992
993 2014-09-24  Christophe Dumez  <cdumez@apple.com>
994
995         Add initial is<>() / downcast<>() support for any type of Nodes
996         https://bugs.webkit.org/show_bug.cgi?id=137056
997
998         Reviewed by Benjamin Poulain.
999
1000         Use is<HTMLFormControlElement>() / downcast<HTMLFormControlElement>()
1001         instead of isFormControlElement() / toHTMLFormControlElement().
1002
1003         * WebFrame.cpp:
1004         (WebFrame::elementWithName):
1005
1006 2014-09-24  Christophe Dumez  <cdumez@apple.com>
1007
1008         Unreviewed build fix after r173932.
1009
1010         Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
1011         explicitely in DOMCoreClasses.cpp.
1012
1013         * DOMCoreClasses.cpp:
1014         (DOMElement::createInstance):
1015
1016 2014-09-24  Christophe Dumez  <cdumez@apple.com>
1017
1018         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
1019         https://bugs.webkit.org/show_bug.cgi?id=137068
1020
1021         Reviewed by Ryosuke Niwa.
1022
1023         Start using is<HTML*Element>() instead of isHTML*Element().
1024         Remaining usages will be updated in a follow-up patch to
1025         reduce the size of the change.
1026
1027         * DOMCoreClasses.cpp:
1028         (DOMElement::createInstance):
1029         * DOMHTMLClasses.cpp:
1030         (DOMHTMLOptionElement::text):
1031         (DOMHTMLOptionElement::label):
1032         (DOMHTMLInputElement::form):
1033         (DOMHTMLInputElement::disabled):
1034         (DOMHTMLInputElement::readOnly):
1035         (DOMHTMLInputElement::setType):
1036         (DOMHTMLInputElement::value):
1037         (DOMHTMLInputElement::setValue):
1038         (DOMHTMLInputElement::setValueForUser):
1039         (DOMHTMLInputElement::select):
1040         (DOMHTMLInputElement::setSelectionStart):
1041         (DOMHTMLInputElement::selectionStart):
1042         (DOMHTMLInputElement::setSelectionEnd):
1043         (DOMHTMLInputElement::selectionEnd):
1044         (DOMHTMLInputElement::isTextField):
1045         (DOMHTMLInputElement::rectOnScreen):
1046         (DOMHTMLInputElement::replaceCharactersInRange):
1047         (DOMHTMLInputElement::selectedRange):
1048         (DOMHTMLInputElement::setAutofilled):
1049         (DOMHTMLInputElement::isAutofilled):
1050         (DOMHTMLInputElement::isUserEdited):
1051         (DOMHTMLTextAreaElement::form):
1052         (DOMHTMLTextAreaElement::value):
1053         (DOMHTMLTextAreaElement::setValue):
1054         (DOMHTMLTextAreaElement::select):
1055         (DOMHTMLTextAreaElement::isUserEdited):
1056         * WebFrame.cpp:
1057         (inputElementFromDOMElement):
1058
1059 2014-09-21  Timothy Hatcher  <timothy@apple.com>
1060
1061         Make the Web Inspector use a separate web process.
1062
1063         https://bugs.webkit.org/show_bug.cgi?id=135120
1064
1065         Reviewed by Anders Carlsson.
1066
1067         * WebCoreSupport/WebInspectorClient.cpp:
1068         (WebInspectorClient::openInspectorFrontend):
1069         * WebCoreSupport/WebInspectorClient.h:
1070         (WebInspectorClient::frontendClient):
1071         Own WebInspectorFrontendClient instead of moving it.
1072
1073 2014-09-23  Christophe Dumez  <cdumez@apple.com>
1074
1075         Unreviewed build fix after r173893.
1076
1077         Partial revert of r173893 to fix debug builds.
1078
1079         * DOMHTMLClasses.cpp:
1080         (DOMHTMLDocument::URL):
1081         (DOMHTMLDocument::body):
1082         (DOMHTMLDocument::forms):
1083
1084 2014-09-23  Chris Dumez  <cdumez@apple.com>
1085
1086         Use downcast<HTML*Element>() instead of toHTML*Element()
1087         https://bugs.webkit.org/show_bug.cgi?id=137007
1088
1089         Reviewed by Benjamin Poulain.
1090
1091         Use downcast<HTML*Element>() instead of toHTML*Element().
1092
1093         * DOMHTMLClasses.cpp:
1094         (DOMHTMLDocument::URL):
1095         (DOMHTMLDocument::body):
1096         (DOMHTMLDocument::forms):
1097         (DOMHTMLFormElement::action):
1098         (DOMHTMLFormElement::method):
1099         (DOMHTMLSelectElement::options):
1100         (DOMHTMLSelectElement::activateItemAtIndex):
1101         (DOMHTMLOptionElement::text):
1102         (DOMHTMLOptionElement::label):
1103         (DOMHTMLInputElement::form):
1104         (DOMHTMLInputElement::disabled):
1105         (DOMHTMLInputElement::readOnly):
1106         (DOMHTMLInputElement::setType):
1107         (DOMHTMLInputElement::value):
1108         (DOMHTMLInputElement::setValue):
1109         (DOMHTMLInputElement::setValueForUser):
1110         (DOMHTMLInputElement::select):
1111         (DOMHTMLInputElement::setSelectionStart):
1112         (DOMHTMLInputElement::selectionStart):
1113         (DOMHTMLInputElement::setSelectionEnd):
1114         (DOMHTMLInputElement::selectionEnd):
1115         (DOMHTMLInputElement::isTextField):
1116         (DOMHTMLInputElement::replaceCharactersInRange):
1117         (DOMHTMLInputElement::selectedRange):
1118         (DOMHTMLInputElement::setAutofilled):
1119         (DOMHTMLInputElement::isAutofilled):
1120         (DOMHTMLInputElement::isUserEdited):
1121         (DOMHTMLTextAreaElement::form):
1122         (DOMHTMLTextAreaElement::value):
1123         (DOMHTMLTextAreaElement::setValue):
1124         (DOMHTMLTextAreaElement::select):
1125         (DOMHTMLTextAreaElement::isUserEdited):
1126         (DOMHTMLIFrameElement::contentFrame):
1127         * WebFrame.cpp:
1128         (formElementFromDOMElement):
1129         (inputElementFromDOMElement):
1130
1131 2014-09-21  Chris Dumez  <cdumez@apple.com>
1132
1133         Generate Element casting helper functions
1134         https://bugs.webkit.org/show_bug.cgi?id=136839
1135
1136         Reviewed by Darin Adler.
1137
1138         Use JSXXX::toWrapped() instead of toXXX() function.
1139
1140         * WebView.cpp:
1141         (WebView::elementFromJS):
1142
1143 2014-09-06  Brian J. Burg  <burg@cs.washington.edu>
1144
1145         Web Inspector: convert DockSide to an enum class
1146         https://bugs.webkit.org/show_bug.cgi?id=136601
1147
1148         Reviewed by Timothy Hatcher.
1149
1150         * WebCoreSupport/WebInspectorClient.cpp:
1151         (WebInspectorFrontendClient::frontendLoaded):
1152
1153 2014-09-04  Antti Koivisto  <antti@apple.com>
1154
1155         Try to fix windows build.
1156
1157         * WebURLResponse.cpp:
1158         (WebURLResponse::createInstance):
1159         (WebURLResponse::initWithURL):
1160
1161 2014-09-02  Brian J. Burg  <burg@cs.washington.edu>
1162
1163         Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
1164         https://bugs.webkit.org/show_bug.cgi?id=136476
1165
1166         Reviewed by Timothy Hatcher.
1167
1168         * WebCoreStatistics.cpp:
1169         (WebCoreStatistics::shouldPrintExceptions):
1170         (WebCoreStatistics::setShouldPrintExceptions):
1171
1172 2014-09-02  Maciej Stachowiak  <mjs@apple.com>
1173
1174         Clean up naming for and slightly refactor legacy video fullscreen support
1175         https://bugs.webkit.org/show_bug.cgi?id=136446
1176
1177         Reviewed by Jer Noble.
1178
1179         Key changes:
1180         supportsFullscreenForNode(Node*) --> supportsVideoFullscreen()
1181         enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*)
1182         exitFullscreenForNode(Node*) --> exitVideoFullscreen()
1183         
1184         The old versions had unnecessary parameters, did not clearly distinguish their purpose
1185         from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes.
1186         Also changed many other places to use HTMLVideoElement* instead of Node* or 
1187         HTMLMediaElement* when they were in fact only used for video elements and would only
1188         work for such.
1189
1190         * WebCoreSupport/WebChromeClient.cpp:
1191         (WebChromeClient::supportsVideoFullscreen): Adjust for the
1192         main refactoring.
1193         (WebChromeClient::enterVideoFullscreenForVideoElement): ditto
1194         (WebChromeClient::exitVideoFullscreen): ditto
1195         * WebCoreSupport/WebChromeClient.h:
1196         * WebView.cpp:
1197         (WebView::enterVideoFullscreenForVideoElement): Adjust for the 
1198         main refactoring.
1199         (WebView::exitVideoFullscreen): ditto.
1200         * WebView.h:
1201         * FullscreenVideoController.cpp: Use video elements, not media elements throughout
1202         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
1203         (FullscreenVideoController::setVideoElement):
1204         (FullscreenVideoController::enterFullscreen):
1205         (FullscreenVideoController::exitFullscreen):
1206         (FullscreenVideoController::canPlay):
1207         (FullscreenVideoController::play):
1208         (FullscreenVideoController::pause):
1209         (FullscreenVideoController::volume):
1210         (FullscreenVideoController::setVolume):
1211         (FullscreenVideoController::currentTime):
1212         (FullscreenVideoController::setCurrentTime):
1213         (FullscreenVideoController::duration):
1214         (FullscreenVideoController::beginScrubbing):
1215         (FullscreenVideoController::endScrubbing):
1216         (FullscreenVideoController::onChar):
1217         (FullscreenVideoController::onKeyDown):
1218         (FullscreenVideoController::onMouseUp):
1219         * FullscreenVideoController.h:
1220         (FullscreenVideoController::videoElement):
1221
1222 2014-09-03  Brent Fulgham  <bfulgham@apple.com>
1223
1224         Unreviewed build fix after r173200.
1225
1226         * WebView.cpp:
1227         (WebView::setCacheModel): Use appropriate types for cache sizes to be
1228         64-bit clean on CFNetwork compile.
1229
1230 2014-09-02  peavo@outlook.com  <peavo@outlook.com>
1231
1232         [WinCairo] Memory cache capacity is not set.
1233         https://bugs.webkit.org/show_bug.cgi?id=136432
1234
1235         Reviewed by Alex Christensen.
1236
1237         Reuse code from AppleWin to set memory and disk cache capacity.
1238
1239         * WebKitSystemBits.cpp:
1240         (WebVolumeFreeSize):
1241         * WebKitSystemBits.h:
1242         * WebView.cpp:
1243         (WebView::setCacheModel):
1244
1245 2014-08-26  Brent Fulgham  <bfulgham@apple.com>
1246
1247         [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE
1248         https://bugs.webkit.org/show_bug.cgi?id=136258
1249         <rdar://problem/18134138>
1250
1251         Reviewed by Tim Horton.
1252
1253         Avoid 32/64-bit truncation by preventing 64-bit HWND (and other)
1254         values from passing through the 32-bit OLE_HANDLE data type.
1255
1256         * Interfaces/IWebDocument.idl:
1257         * Interfaces/IWebEmbeddedView.idl:
1258         * Interfaces/IWebErrorPrivate.idl:
1259         * Interfaces/IWebFrameLoadDelegate.idl:
1260         * Interfaces/IWebFramePrivate.idl:
1261         * Interfaces/IWebHistoryItem.idl:
1262         * Interfaces/IWebIconDatabase.idl:
1263         * Interfaces/IWebMutableURLRequestPrivate.idl:
1264         * Interfaces/IWebUIDelegate.idl:
1265         * Interfaces/IWebUIDelegatePrivate.idl:
1266         * Interfaces/IWebURLResponsePrivate.idl:
1267         * Interfaces/IWebView.idl:
1268         * Interfaces/IWebViewPrivate.idl:
1269         * WebCoreSupport/EmbeddedWidget.cpp:
1270         (EmbeddedWidget::createWindow):
1271         * WebCoreSupport/WebChromeClient.cpp:
1272         (WebChromeClient::rootViewToScreen):
1273         (WebChromeClient::screenToRootView):
1274         (WebChromeClient::platformPageClient):
1275         (WebChromeClient::runOpenPanel):
1276         (WebChromeClient::setCursor):
1277         * WebCoreSupport/WebContextMenuClient.cpp:
1278         (WebContextMenuClient::customizeMenu):
1279         * WebCoreSupport/WebFrameLoaderClient.cpp:
1280         (WebFrameLoaderClient::createPlugin):
1281         * WebCoreSupport/WebInspectorClient.cpp:
1282         (WebInspectorClient::openInspectorFrontend):
1283         (WebInspectorClient::highlight):
1284         (WebInspectorFrontendClient::setAttachedWindowHeight):
1285         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1286         (WebInspectorFrontendClient::showWindowWithoutNotifications):
1287         * WebCoreSupport/WebInspectorClient.h:
1288         * WebCoreSupport/WebInspectorDelegate.cpp:
1289         * WebCoreSupport/WebInspectorDelegate.h:
1290         (WebInspectorDelegate::webViewFirstResponder):
1291         (WebInspectorDelegate::makeFirstResponder):
1292         (WebInspectorDelegate::contextMenuItemsForElement):
1293         (WebInspectorDelegate::trackCustomPopupMenu):
1294         (WebInspectorDelegate::addCustomMenuDrawingData):
1295         (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
1296         (WebInspectorDelegate::drawHeaderInRect):
1297         (WebInspectorDelegate::drawFooterInRect):
1298         * WebDropSource.cpp:
1299         (generateMouseEvent):
1300         (WebDropSource::GiveFeedback):
1301         * WebError.cpp:
1302         (WebError::sslPeerCertificate):
1303         * WebError.h:
1304         * WebFrame.cpp:
1305         (WebFrame::paintDocumentRectToContext):
1306         (WebFrame::paintScrollViewRectToContextAtPoint):
1307         (WebFrame::createSubframeWithOwnerElement):
1308         (WebFrame::initWithWebView):
1309         (WebFrame::drawHeader):
1310         (WebFrame::drawFooter):
1311         * WebFrame.h:
1312         * WebHistoryItem.cpp:
1313         (WebHistoryItem::icon):
1314         * WebHistoryItem.h:
1315         * WebIconDatabase.cpp:
1316         (WebIconDatabase::iconForURL):
1317         (WebIconDatabase::defaultIconWithSize):
1318         * WebIconDatabase.h:
1319         * WebMutableURLRequest.cpp:
1320         (WebMutableURLRequest::setClientCertificate):
1321         * WebMutableURLRequest.h:
1322         * WebNodeHighlight.cpp:
1323         (WebNodeHighlight::WebNodeHighlight):
1324         * WebURLResponse.cpp:
1325         (WebURLResponse::sslPeerCertificate):
1326         * WebURLResponse.h:
1327         * WebView.cpp:
1328         (WebView::paintIntoBackingStore):
1329         (WebView::handleContextMenuEvent):
1330         (WebView::onInitMenuPopup):
1331         (WebView::onUninitMenuPopup):
1332         (WebView::WebViewWndProc):
1333         (WebView::dispatchDidReceiveIconFromWebFrame):
1334         (WebView::setHostWindow):
1335         (WebView::hostWindow):
1336         (WebView::generateSelectionImage):
1337         (WebView::mainFrameIcon):
1338         (WebView::viewWindow):
1339         (WebView::paintDocumentRectToContext):
1340         (WebView::paintScrollViewRectToContextAtPoint):
1341         (WebView::backingStore):
1342         (WebView::fullScreenClientSetParentWindow):
1343         * WebView.h:
1344
1345 2014-08-21  Alex Christensen  <achristensen@webkit.org>
1346
1347         [Win] Unreviewed build fix after r172849.
1348
1349         * WebKitPrefix.h:
1350         Defined WEBCORE_EXPORT.
1351
1352 2014-08-19  Pratik Solanki  <psolanki@apple.com>
1353
1354         Remove PurgeableBuffer since it is not very useful any more
1355         https://bugs.webkit.org/show_bug.cgi?id=135939
1356
1357         Reviewed by Andreas Kling.
1358
1359         * WebCache.cpp:
1360         (WebCache::statistics):
1361
1362 2014-08-18  Commit Queue  <commit-queue@webkit.org>
1363
1364         Unreviewed, rolling out r172736.
1365         https://bugs.webkit.org/show_bug.cgi?id=136060
1366
1367         Caused 14% PLT regressions (Requested by rniwa on #webkit).
1368
1369         Reverted changeset:
1370
1371         "Remove PurgeableBuffer since it is not very useful any more"
1372         https://bugs.webkit.org/show_bug.cgi?id=135939
1373         http://trac.webkit.org/changeset/172736
1374
1375 2014-08-18  Pratik Solanki  <psolanki@apple.com>
1376
1377         Remove PurgeableBuffer since it is not very useful any more
1378         https://bugs.webkit.org/show_bug.cgi?id=135939
1379
1380         Reviewed by Geoffrey Garen.
1381
1382         * WebCache.cpp:
1383         (WebCache::statistics):
1384
1385 2014-07-27  Pratik Solanki  <psolanki@apple.com>
1386
1387         Remove unused preference keys
1388         https://bugs.webkit.org/show_bug.cgi?id=135280
1389
1390         Reviewed by Darin Adler.
1391
1392         * WebPreferenceKeysPrivate.h:
1393
1394 2014-07-22  Brent Fulgham  <bfulgham@apple.com>
1395
1396         [Win] Build fix after r171370.
1397
1398         * WebCoreSupport/WebEditorClient.h: Add override
1399         for new 'overflowScrollPositionChanged'.
1400
1401 2014-07-03  Daniel Bates  <dabates@apple.com>
1402
1403         Add WTF::move()
1404         https://bugs.webkit.org/show_bug.cgi?id=134500
1405
1406         Rubber-stamped by Anders Carlsson.
1407
1408         Substitute WTF::move() for std::move().
1409
1410         * WebCoreSupport/WebInspectorClient.cpp:
1411         (WebInspectorClient::openInspectorFrontend):
1412         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1413         * WebHistory.cpp:
1414         (createUserInfoFromArray):
1415         * WebHistoryItem.cpp:
1416         (WebHistoryItem::initFromDictionaryRepresentation):
1417         * WebView.cpp:
1418         (WebView::addToDirtyRegion):
1419         (WebView::scrollBackingStore):
1420
1421 2014-06-26  Brady Eidson  <beidson@apple.com>
1422
1423         Remove use of PlatformStrategies for Gamepad API.
1424         https://bugs.webkit.org/show_bug.cgi?id=134348
1425
1426         Reviewed by Dean Jackson.
1427
1428         * WebCoreSupport/WebPlatformStrategies.cpp:
1429         (WebPlatformStrategies::createGamepadStrategy): Deleted.
1430         * WebCoreSupport/WebPlatformStrategies.h:
1431
1432 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
1433
1434         [Win] Expose Cache Information to WinLauncher
1435         https://bugs.webkit.org/show_bug.cgi?id=134318
1436
1437         Reviewed by Dean Jackson.
1438
1439         * Interfaces/IWebCoreStatistics.idl: Add missing
1440         API added to WebKit since this was last updated.
1441         * WebCache.cpp:
1442         (WebCache::statistics): Add missing elements for
1443         purgable and purged data.
1444         * WebCoreStatistics.cpp: Provide implementaions.
1445         * WebCoreStatistics.h: Ditto.
1446
1447 2014-06-25  Brady Eidson  <beidson@apple.com>
1448
1449         Add new platform gamepad abstractions
1450         https://bugs.webkit.org/show_bug.cgi?id=134325
1451
1452         Reviewed by Dean Jackson.
1453
1454         * WebCoreSupport/WebPlatformStrategies.cpp:
1455         (WebPlatformStrategies::createGamepadStrategy):
1456         * WebCoreSupport/WebPlatformStrategies.h:
1457
1458 2014-06-19  Anders Carlsson  <andersca@apple.com>
1459
1460         Try to fix Windows build.
1461
1462         * WebFrame.h:
1463
1464 2014-06-18  Anders Carlsson  <andersca@apple.com>
1465
1466         Make FrameLoadType a strongly typed enum
1467         https://bugs.webkit.org/show_bug.cgi?id=134047
1468
1469         Reviewed by Andreas Kling.
1470
1471         * WebView.cpp:
1472         (WebView::goToBackForwardItem):
1473         (WebView::loadBackForwardListFromOtherView):
1474
1475 2014-06-18  Anders Carlsson  <andersca@apple.com>
1476
1477         Remove IWebFramePrivate::loadType
1478         https://bugs.webkit.org/show_bug.cgi?id=134044
1479
1480         Reviewed by Tim Horton.
1481
1482         * Interfaces/IWebFramePrivate.idl:
1483         * WebFrame.cpp:
1484         (WebFrame::loadType): Deleted.
1485         (WebFrame::unused2): Deleted.
1486         * WebFrame.h:
1487
1488 2014-06-12  Brent Fulgham  <bfulgham@apple.com>
1489
1490         [Win] Avoid crashes in code that converted CFDictionaries to HashMap
1491         https://bugs.webkit.org/show_bug.cgi?id=133813
1492         <rdar://problem/17291647>
1493
1494         Reviewed by Tim Horton.
1495
1496         * WebHistory.cpp: Add empty string checks to avoid crashes in
1497         hash function.
1498         (WebHistory::removeItem):
1499         (WebHistory::addItem):
1500         (WebHistory::visitedURL):
1501         (WebHistory::itemForURL):
1502         (WebHistory::removeItemForURLString):
1503         (WebHistory::itemForURLString):
1504         * WebPreferences.cpp: Ditto.
1505         (WebPreferences::getInstanceForIdentifier):
1506         (WebPreferences::setInstance):
1507         (WebPreferences::removeReferenceForIdentifier):
1508         * WebView.cpp: Ditto. Also convert OwnPtr uses in this file
1509         to std::unique_ptr.
1510         (WebView::close):
1511         (WebView::handleMouseEvent):
1512         (WebView::registerEmbeddedViewMIMEType):
1513         (WebView::shouldUseEmbeddedView):
1514         (WebView::enterFullscreenForNode):
1515         (WebView::fullScreenController):
1516         * WebView.h:
1517
1518 2014-05-07  Hyowon Kim  <hw1008.kim@samsung.com>
1519
1520         GraphicsLayer::client() should return a reference.
1521         https://bugs.webkit.org/show_bug.cgi?id=126372
1522
1523         Reviewed by Simon Fraser.
1524
1525         GraphicsLayers always have a GraphicsLayerClient attached,
1526         so make client() a reference and remove some unnecessary branches.
1527         The author of the changes in the mac port is Andreas Kling <akling@apple.com>.
1528
1529         * WebView.cpp:
1530         (WebView::setAcceleratedCompositing):
1531
1532 2014-04-30  Alexey Proskuryakov  <ap@apple.com>
1533
1534         Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
1535         Clean up unnecessary methods in the BackForwardClient interface
1536
1537         It broke a regression test and an API test.
1538
1539         * WebBackForwardList.cpp:
1540         (WebBackForwardList::WebBackForwardList):
1541         (WebBackForwardList::~WebBackForwardList):
1542         (WebBackForwardList::createInstance):
1543         * WebBackForwardList.h:
1544         * WebView.cpp:
1545         (WebView::backForwardList):
1546         (WebView::canGoBack):
1547         (WebView::canGoForward):
1548         (WebView::loadBackForwardListFromOtherView):
1549
1550 2014-04-30  Brian J. Burg  <burg@cs.washington.edu>
1551
1552         Clean up unnecessary methods in the BackForwardClient interface
1553         https://bugs.webkit.org/show_bug.cgi?id=131637
1554
1555         Reviewed by Andreas Kling.
1556
1557         Remove uses of reference counting for BackForwardList.
1558         Use BackForwardController instead of BackForwardClient where possible.
1559
1560         * WebBackForwardList.cpp:
1561         (WebBackForwardList::WebBackForwardList):
1562         (WebBackForwardList::~WebBackForwardList):
1563         (WebBackForwardList::createInstance):
1564         * WebBackForwardList.h:
1565         * WebView.cpp:
1566         (WebView::backForwardList):
1567         (WebView::canGoBack):
1568         (WebView::canGoForward):
1569         (WebView::loadBackForwardListFromOtherView):
1570
1571 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
1572
1573         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
1574         https://bugs.webkit.org/show_bug.cgi?id=132110
1575
1576         Reviewed by Tim Horton.
1577
1578         Updates callers to use '.' instead of '->'.
1579
1580         No new tests are necessary because there should be no behavior change.
1581
1582         * WebCoreStatistics.cpp:
1583         (WebCoreStatistics::cachedFontDataCount):
1584         (WebCoreStatistics::cachedFontDataInactiveCount):
1585         (WebCoreStatistics::purgeInactiveFontData):
1586
1587 2014-04-22  Alex Christensen  <achristensen@webkit.org>
1588
1589         Begin implementation of video using Media Foundation.
1590         https://bugs.webkit.org/show_bug.cgi?id=131830
1591
1592         Reviewed by Brent Fulgham.
1593
1594         * FullscreenVideoController.cpp:
1595         * WebView.cpp:
1596         Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api.
1597
1598 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
1599
1600         Eliminate DragSession structure
1601         https://bugs.webkit.org/show_bug.cgi?id=131465
1602
1603         Reviewed by Benjamin Poulain.
1604
1605         * WebView.cpp:
1606         (WebView::DragEnter):
1607         (WebView::DragOver):
1608
1609 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
1610
1611         Rename some dragging functions
1612         https://bugs.webkit.org/show_bug.cgi?id=131460
1613
1614         Reviewed by Tim Horton.
1615
1616         Renamed performDrag to performDragOperation.
1617
1618         * WebView.cpp: (WebView::Drop):
1619
1620 2014-04-02  Mark Rowe  <mrowe@apple.com>
1621
1622         Build fix after r166684.
1623
1624         * WebCoreSupport/WebContextMenuClient.cpp:
1625         (WebContextMenuClient::searchWithGoogle):
1626
1627 2014-04-02  Martin Hock  <mhock@apple.com>
1628
1629         Unify private browsing with sessions.
1630         https://bugs.webkit.org/show_bug.cgi?id=130099
1631
1632         Reviewed by Alexey Proskuryakov.
1633
1634         * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
1635         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
1636         * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto.
1637         (WebFrameNetworkingContext::storageSession):
1638         * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
1639         (WebView::notifyPreferencesChanged):
1640
1641 2014-03-22  Darin Adler  <darin@apple.com>
1642
1643         Remove String::deprecatedCharacters
1644         https://bugs.webkit.org/show_bug.cgi?id=126854
1645
1646         Reviewed by Sam Weinig.
1647
1648         * WebKitStatistics.cpp:
1649         (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String).
1650
1651 2014-03-17  Brent Fulgham  <bfulgham@apple.com>
1652
1653         Provide preference to enable additional AVFoundation options
1654         https://bugs.webkit.org/show_bug.cgi?id=130275
1655
1656         Reviewed by Eric Carlson.
1657
1658         * Interfaces/IWebPreferencesPrivate.idl: Added new preference.
1659         * WebPreferenceKeysPrivate.h: Ditto.
1660         * WebPreferences.cpp:
1661         (WebPreferences::initializeDefaultSettings): Initialize preference to false.
1662         (WebPreferences::isInheritURIQueryComponentEnabled): Added.
1663         (WebPreferences::setEnableInheritURIQueryComponent): Added.
1664         * WebPreferences.h:
1665         * WebView.cpp:
1666         (WebView::notifyPreferencesChanged): Handle new preference.
1667
1668 2014-03-16  Darin Adler  <darin@apple.com>
1669
1670         Remove all deprecatedCharacters use from WebKit
1671         https://bugs.webkit.org/show_bug.cgi?id=130305
1672
1673         Reviewed by Andreas Kling.
1674
1675         * AccessibleTextImpl.cpp:
1676         (AccessibleText::get_text): Use BString instead of SysAllocStringLen,
1677         which handles String directly.
1678         (AccessibleText::get_textBeforeOffset): Ditto.
1679         (AccessibleText::get_textAfterOffset): Ditto.
1680         (AccessibleText::get_textAtOffset): Ditto.
1681         (AccessibleText::get_attributes): Ditto.
1682         * DOMCSSClasses.cpp:
1683         (DOMCSSStyleDeclaration::getPropertyValue): Ditto.
1684         * DOMCoreClasses.cpp:
1685         (DOMNode::nodeValue): Ditto.
1686         (DOMElement::getAttribute): Ditto.
1687         (DOMElement::font): Rework this to leak a string, since it returns a
1688         pointer to a font family name's characters with no defined lifetime.
1689
1690         * DOMHTMLClasses.cpp:
1691         (DOMHTMLElement::innerText): Use BString's String-based constructor,
1692         instead of explicitly passing a character pointer.
1693         (DOMHTMLFormElement::action): Ditto.
1694         (DOMHTMLFormElement::method): Ditto.
1695         (DOMHTMLInputElement::value): Ditto.
1696         (DOMHTMLTextAreaElement::value): Ditto.
1697
1698         * MarshallingHelpers.cpp:
1699         (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString.
1700
1701         * WebCoreSupport/WebEditorClient.cpp:
1702         (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters.
1703         (WebEditorClient::checkGrammarOfString): Ditto.
1704
1705         * WebDataSource.cpp:
1706         (WebDataSource::unreachableURL): Use BString's String-based constructor,
1707         instead of explicitly passing a character pointer.
1708
1709         * WebDownload.cpp:
1710         (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen.
1711
1712         * WebDownloadCFNet.cpp:
1713         (WebDownload::didFinish): Use BString's String-based constructor,
1714         instead of explicitly passing a character pointer.
1715         * WebDownloadCurl.cpp:
1716         (WebDownload::didReceiveResponse): Ditto.
1717
1718         * WebElementPropertyBag.cpp:
1719         (convertStringToVariant): Use BString instead of SysAllocStringLen.
1720         * WebFrame.cpp:
1721         (WebFrame::searchForLabelsBeforeElement): Ditto.
1722         (WebFrame::matchLabelsAgainstElement): Ditto.
1723
1724         * WebHistory.cpp:
1725         (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call
1726         visitedLinkHash, since it can take a String.
1727
1728         * WebKitGraphics.cpp:
1729         (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert.
1730         (RightTruncateStringToWidth): Ditto.
1731
1732         * WebView.cpp:
1733         (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen.
1734         (WebView::customUserAgent): Ditto.
1735         (WebView::groupName): Ditto.
1736         (WebView::selectedText): Ditto.
1737         (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert.
1738
1739 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
1740
1741         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1742         https://bugs.webkit.org/show_bug.cgi?id=130276
1743         <rdar://problem/16266927>
1744         
1745         Reviewed by Simon Fraser.
1746
1747         * CFDictionaryPropertyBag.cpp:
1748         * CFDictionaryPropertyBag.h:
1749         * CodeAnalysisConfig.h:
1750         * DOMCSSClasses.cpp:
1751         * DOMCSSClasses.h:
1752         * DOMCoreClasses.cpp:
1753         * DOMCoreClasses.h:
1754         * DOMEventsClasses.cpp:
1755         * DOMEventsClasses.h:
1756         * DOMHTMLClasses.cpp:
1757         * DOMHTMLClasses.h:
1758         * DefaultDownloadDelegate.cpp:
1759         * DefaultDownloadDelegate.h:
1760         * DefaultPolicyDelegate.cpp:
1761         * DefaultPolicyDelegate.h:
1762         * ForEachCoClass.cpp:
1763         * ForEachCoClass.h:
1764         * FullscreenVideoController.cpp:
1765         * FullscreenVideoController.h:
1766         * Interfaces/AccessibilityDelegate.idl:
1767         * Interfaces/DOMCSS.idl:
1768         * Interfaces/DOMCore.idl:
1769         * Interfaces/DOMEvents.idl:
1770         * Interfaces/DOMExtensions.idl:
1771         * Interfaces/DOMHTML.idl:
1772         * Interfaces/DOMPrivate.idl:
1773         * Interfaces/DOMRange.idl:
1774         * Interfaces/DOMWindow.idl:
1775         * Interfaces/IGEN_DOMObject.idl:
1776         * Interfaces/IWebArchive.idl:
1777         * Interfaces/IWebBackForwardList.idl:
1778         * Interfaces/IWebBackForwardListPrivate.idl:
1779         * Interfaces/IWebCache.idl:
1780         * Interfaces/IWebDataSource.idl:
1781         * Interfaces/IWebDatabaseManager.idl:
1782         * Interfaces/IWebDocument.idl:
1783         * Interfaces/IWebDownload.idl:
1784         * Interfaces/IWebEditingDelegate.idl:
1785         * Interfaces/IWebError.idl:
1786         * Interfaces/IWebErrorPrivate.idl:
1787         * Interfaces/IWebFormDelegate.idl:
1788         * Interfaces/IWebFrame.idl:
1789         * Interfaces/IWebFrameLoadDelegate.idl:
1790         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
1791         * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
1792         * Interfaces/IWebFramePrivate.idl:
1793         * Interfaces/IWebFrameView.idl:
1794         * Interfaces/IWebHTMLRepresentation.idl:
1795         * Interfaces/IWebHTTPURLResponse.idl:
1796         * Interfaces/IWebHistory.idl:
1797         * Interfaces/IWebHistoryDelegate.idl:
1798         * Interfaces/IWebHistoryItem.idl:
1799         * Interfaces/IWebHistoryItemPrivate.idl:
1800         * Interfaces/IWebHistoryPrivate.idl:
1801         * Interfaces/IWebIconDatabase.idl:
1802         * Interfaces/IWebInspector.idl:
1803         * Interfaces/IWebInspectorPrivate.idl:
1804         * Interfaces/IWebJavaScriptCollector.idl:
1805         * Interfaces/IWebKitStatistics.idl:
1806         * Interfaces/IWebMutableURLRequest.idl:
1807         * Interfaces/IWebMutableURLRequestPrivate.idl:
1808         * Interfaces/IWebNavigationData.idl:
1809         * Interfaces/IWebNotification.idl:
1810         * Interfaces/IWebNotificationCenter.idl:
1811         * Interfaces/IWebNotificationObserver.idl:
1812         * Interfaces/IWebPolicyDelegate.idl:
1813         * Interfaces/IWebPolicyDelegatePrivate.idl:
1814         * Interfaces/IWebPreferences.idl:
1815         * Interfaces/IWebPreferencesPrivate.idl:
1816         * Interfaces/IWebResource.idl:
1817         * Interfaces/IWebResourceLoadDelegate.idl:
1818         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
1819         * Interfaces/IWebResourceLoadDelegatePrivate2.idl:
1820         * Interfaces/IWebScriptObject.idl:
1821         * Interfaces/IWebSecurityOrigin.idl:
1822         * Interfaces/IWebSerializedJSValuePrivate.idl:
1823         * Interfaces/IWebTextRenderer.idl:
1824         * Interfaces/IWebUIDelegate.idl:
1825         * Interfaces/IWebUIDelegatePrivate.idl:
1826         * Interfaces/IWebURLAuthenticationChallenge.idl:
1827         * Interfaces/IWebURLRequest.idl:
1828         * Interfaces/IWebURLResponse.idl:
1829         * Interfaces/IWebURLResponsePrivate.idl:
1830         * Interfaces/IWebUndoManager.idl:
1831         * Interfaces/IWebUndoTarget.idl:
1832         * Interfaces/IWebView.idl:
1833         * Interfaces/IWebViewPrivate.idl:
1834         * Interfaces/WebKit.idl:
1835         * Interfaces/WebScrollbarTypes.idl:
1836         * MarshallingHelpers.cpp:
1837         * MarshallingHelpers.h:
1838         * MemoryStream.cpp:
1839         * MemoryStream.h:
1840         * ProgIDMacros.h:
1841         * WebActionPropertyBag.cpp:
1842         * WebActionPropertyBag.h:
1843         * WebBackForwardList.cpp:
1844         * WebBackForwardList.h:
1845         * WebCache.cpp:
1846         * WebCache.h:
1847         * WebCachedFramePlatformData.h:
1848         * WebCoreSupport/WebChromeClient.cpp:
1849         * WebCoreSupport/WebChromeClient.h:
1850         * WebCoreSupport/WebContextMenuClient.cpp:
1851         * WebCoreSupport/WebContextMenuClient.h:
1852         * WebCoreSupport/WebDragClient.cpp:
1853         * WebCoreSupport/WebDragClient.h:
1854         * WebCoreSupport/WebEditorClient.cpp:
1855         * WebCoreSupport/WebEditorClient.h:
1856         * WebCoreSupport/WebFrameLoaderClient.cpp:
1857         * WebCoreSupport/WebFrameLoaderClient.h:
1858         * WebCoreSupport/WebInspectorClient.cpp:
1859         * WebCoreSupport/WebInspectorClient.h:
1860         * WebCoreSupport/WebInspectorDelegate.cpp:
1861         * WebCoreSupport/WebInspectorDelegate.h:
1862         * WebDataSource.cpp:
1863         * WebDataSource.h:
1864         * WebDatabaseManager.cpp:
1865         * WebDatabaseManager.h:
1866         * WebDocumentLoader.cpp:
1867         * WebDocumentLoader.h:
1868         * WebDownload.cpp:
1869         * WebDownload.h:
1870         * WebDownloadCFNet.cpp:
1871         * WebDownloadCurl.cpp:
1872         * WebDropSource.cpp:
1873         * WebDropSource.h:
1874         * WebElementPropertyBag.cpp:
1875         * WebElementPropertyBag.h:
1876         * WebError.cpp:
1877         * WebError.h:
1878         * WebFrame.cpp:
1879         * WebFrame.h:
1880         * WebFramePolicyListener.cpp:
1881         * WebFramePolicyListener.h:
1882         * WebHTMLRepresentation.cpp:
1883         * WebHTMLRepresentation.h:
1884         * WebHistory.cpp:
1885         * WebHistory.h:
1886         * WebHistoryItem.cpp:
1887         * WebHistoryItem.h:
1888         * WebIconDatabase.cpp:
1889         * WebIconDatabase.h:
1890         * WebInspector.cpp:
1891         * WebInspector.h:
1892         * WebJavaScriptCollector.cpp:
1893         * WebJavaScriptCollector.h:
1894         * WebKitCOMAPI.cpp:
1895         * WebKitCOMAPI.h:
1896         * WebKitClassFactory.cpp:
1897         * WebKitClassFactory.h:
1898         * WebKitDLL.cpp:
1899         * WebKitDLL.h:
1900         * WebKitGraphics.cpp:
1901         * WebKitGraphics.h:
1902         * WebKitLogging.cpp:
1903         * WebKitLogging.h:
1904         * WebKitPrefix.cpp:
1905         * WebKitPrefix.h:
1906         * WebKitStatistics.cpp:
1907         * WebKitStatistics.h:
1908         * WebKitStatisticsPrivate.h:
1909         * WebKitSystemBits.cpp:
1910         * WebKitSystemBits.h:
1911         * WebLocalizableStrings.cpp:
1912         * WebLocalizableStrings.h:
1913         * WebMutableURLRequest.cpp:
1914         * WebMutableURLRequest.h:
1915         * WebNavigationData.cpp:
1916         * WebNavigationData.h:
1917         * WebNodeHighlight.cpp:
1918         * WebNodeHighlight.h:
1919         * WebNotification.cpp:
1920         * WebNotification.h:
1921         * WebNotificationCenter.cpp:
1922         * WebNotificationCenter.h:
1923         * WebPreferenceKeysPrivate.h:
1924         * WebPreferences.cpp:
1925         * WebPreferences.h:
1926         * WebResource.cpp:
1927         * WebResource.h:
1928         * WebScriptObject.cpp:
1929         * WebScriptObject.h:
1930         * WebSecurityOrigin.cpp:
1931         * WebSecurityOrigin.h:
1932         * WebTextRenderer.cpp:
1933         * WebTextRenderer.h:
1934         * WebURLAuthenticationChallenge.cpp:
1935         * WebURLAuthenticationChallenge.h:
1936         * WebURLAuthenticationChallengeSender.cpp:
1937         * WebURLAuthenticationChallengeSender.h:
1938         * WebURLAuthenticationChallengeSenderCFNet.cpp:
1939         * WebURLAuthenticationChallengeSenderCurl.cpp:
1940         * WebURLCredential.cpp:
1941         * WebURLCredential.h:
1942         * WebURLProtectionSpace.cpp:
1943         * WebURLProtectionSpace.h:
1944         * WebURLResponse.cpp:
1945         * WebURLResponse.h:
1946         * WebView.cpp:
1947         * WebView.h:
1948
1949 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
1950
1951         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
1952         https://bugs.webkit.org/show_bug.cgi?id=129612
1953
1954         Reviewed by Darin Adler.
1955
1956         For new code use static NeverDestroyed<T> instead.
1957
1958         * WebCoreSupport/WebPlatformStrategies.cpp:
1959         (WebPlatformStrategies::initialize):
1960         * WebHistory.cpp:
1961         (sharedHistoryStorage):
1962         * WebLocalizableStrings.cpp:
1963         (mainBundleLocStrings):
1964         (frameworkLocStringsMutex):
1965         (frameworkLocStrings):
1966         * WebView.cpp:
1967         (WebView::standardUserAgentWithApplicationName):
1968
1969 2014-03-13  Brian Burg  <bburg@apple.com>
1970
1971         Unreviewed build fix for Mac Windows after r165545.
1972         https://bugs.webkit.org/show_bug.cgi?id=129744
1973
1974         Reviewed by Timothy Hatcher.
1975
1976         * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate.
1977
1978 2014-03-12  Brian Burg  <bburg@apple.com>
1979
1980         Web Inspector: Remove unused callId parameter from evaluateInWebInspector
1981         https://bugs.webkit.org/show_bug.cgi?id=129744
1982
1983         Reviewed by Timothy Hatcher.
1984
1985         * WebInspector.cpp:
1986         (WebInspector::evaluateInFrontend):
1987         * WebInspector.h:
1988
1989 2014-03-06  Joseph Pecoraro  <pecoraro@apple.com>
1990
1991         Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
1992         https://bugs.webkit.org/show_bug.cgi?id=127944
1993
1994         Reviewed by Geoffrey Garen.
1995
1996         * WebCoreSupport/WebChromeClient.h:
1997         Update namespaces.
1998
1999 2014-03-04  Zalan Bujtas  <zalan@apple.com>
2000
2001         Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies.
2002         https://bugs.webkit.org/show_bug.cgi?id=129557
2003
2004         Reviewed by Simon Fraser.
2005
2006         This is the preparation for snapping rounded rects to device pixel position. It enables
2007         device pixel aware border-radius painting.
2008
2009         No change in functionality.
2010
2011         * FullscreenVideoController.cpp:
2012         (HUDSlider::draw):
2013         (FullscreenVideoController::draw):
2014
2015 2014-03-02  Darin Adler  <darin@apple.com>
2016
2017         Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions
2018         https://bugs.webkit.org/show_bug.cgi?id=129592
2019
2020         Reviewed by Sam Weinig.
2021
2022         * WebCoreSupport/WebEditorClient.cpp: Added now-needed include.
2023
2024 2014-02-25  Anders Carlsson  <andersca@apple.com>
2025
2026         Get rid of VisitedLinkStrategy
2027         https://bugs.webkit.org/show_bug.cgi?id=129324
2028
2029         Reviewed by Dan Bernstein.
2030
2031         * WebCoreSupport/WebPlatformStrategies.cpp:
2032         (WebPlatformStrategies::getPluginInfo):
2033         * WebCoreSupport/WebPlatformStrategies.h:
2034
2035 2014-02-24  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
2036
2037         Get rid of the unused 'immediate' parameters from repaint related functions
2038         https://bugs.webkit.org/show_bug.cgi?id=129111
2039
2040         Reviewed by Simon Fraser.
2041
2042         Removing the 'immediate' parameters from repaint related functions - accoring
2043         to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
2044
2045         * WebCoreSupport/WebChromeClient.cpp:
2046         (WebChromeClient::invalidateRootView):
2047         (WebChromeClient::invalidateContentsAndRootView):
2048         (WebChromeClient::invalidateContentsForSlowScroll):
2049         * WebCoreSupport/WebChromeClient.h:
2050
2051 2014-02-20  Csaba Osztrogonác  <ossy@webkit.org>
2052
2053         Get rid of redundant Platform.h includes
2054         https://bugs.webkit.org/show_bug.cgi?id=128817
2055
2056         Reviewed by Brent Fulgham.
2057
2058         * WebDownloadCFNet.cpp:
2059         * WebDownloadCurl.cpp:
2060         * WebURLResponse.cpp:
2061
2062 2014-02-18  Sam Weinig  <sam@webkit.org>
2063
2064         Simplify HTML tokenizer parameterization down to what is used
2065         https://bugs.webkit.org/show_bug.cgi?id=128977
2066
2067         Reviewed by Alexey Proskuryakov.
2068
2069         Remove unused SPI.
2070
2071         * WebView.cpp:
2072         (WebView::setCustomHTMLTokenizerTimeDelay):
2073         (WebView::setCustomHTMLTokenizerChunkSize):
2074
2075 2014-02-17  Anders Carlsson  <andersca@apple.com>
2076
2077         Remove view source code
2078         https://bugs.webkit.org/show_bug.cgi?id=127233
2079
2080         Reviewed by Antti Koivisto.
2081
2082         * WebFrame.cpp:
2083         (WebFrame::inViewSourceMode):
2084         (WebFrame::setInViewSourceMode):
2085         * WebView.cpp:
2086         (WebView::setInViewSourceMode):
2087         (WebView::inViewSourceMode):
2088
2089 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
2090
2091         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
2092         https://bugs.webkit.org/show_bug.cgi?id=128681
2093
2094         Reviewed by Timothy Hatcher.
2095
2096         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
2097         WebCore/inspector/*. Besides files in there, a few other files in
2098         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
2099         and WebCore/testing were touched.
2100
2101         * WebCoreSupport/WebInspectorClient.cpp:
2102         * WebCoreSupport/WebInspectorClient.h:
2103
2104 2014-02-14  Brent Fulgham  <bfulgham@apple.com>
2105
2106         [Win] Make tests more consistent with Mac platform
2107         https://bugs.webkit.org/show_bug.cgi?id=128848
2108
2109         Reviewed by Simon Fraser.
2110
2111         * Interfaces/IWebPreferencesPrivate.idl: Add access to the
2112         mock scrollbar and screen font substitution features.
2113         * WebPreferenceKeysPrivate.h: Ditto
2114         * WebPreferences.cpp: Ditto
2115         (WebPreferences::mockScrollbarsEnabled):
2116         (WebPreferences::setMockScrollbarsEnabled):
2117         (WebPreferences::screenFontSubstitutionEnabled):
2118         (WebPreferences::setScreenFontSubstitutionEnabled):
2119         * WebPreferences.h: Ditto
2120         * WebView.cpp:
2121         (WebView::notifyPreferencesChanged): Ditto
2122
2123 2014-02-11  Zalan Bujtas  <zalan@apple.com>
2124
2125         Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
2126         https://bugs.webkit.org/show_bug.cgi?id=128460
2127
2128         Reviewed by Simon Fraser.
2129
2130         GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
2131         subpixel position.
2132
2133         No change in functionality.
2134
2135         * WebView.cpp:
2136         (WebView::paintContents):
2137         * WebView.h:
2138
2139 2014-02-11  Alex Christensen  <achristensen@webkit.org>
2140
2141         Fixed pointer truncation on Win64.
2142         https://bugs.webkit.org/show_bug.cgi?id=128211
2143
2144         Reviewed by Brent Fulgham.
2145
2146         * WebCoreSupport/EmbeddedWidget.cpp:
2147         (EmbeddedWidget::createWindow):
2148         * WebCoreSupport/WebContextMenuClient.cpp:
2149         (WebContextMenuClient::customizeMenu):
2150         * WebCoreSupport/WebFrameLoaderClient.cpp:
2151         (WebFrameLoaderClient::createPlugin):
2152         * WebCoreSupport/WebInspectorClient.cpp:
2153         (WebInspectorClient::WebInspectorClient):
2154         (WebInspectorClient::openInspectorFrontend):
2155         (WebInspectorClient::highlight):
2156         (WebInspectorClient::releaseFrontend):
2157         (WebInspectorFrontendClient::setAttachedWindowHeight):
2158         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
2159         * WebCoreSupport/WebInspectorClient.h:
2160         * WebDropSource.cpp:
2161         (generateMouseEvent):
2162         * WebFrame.cpp:
2163         (WebFrame::createSubframeWithOwnerElement):
2164         (WebFrame::initWithWebView):
2165         Removed all casts from &HWND to OLE_HANDLE*.
2166
2167 2014-02-11  peavo@outlook.com  <peavo@outlook.com>
2168
2169         [WinCairo] Compile error related to toString function.
2170         https://bugs.webkit.org/show_bug.cgi?id=128607
2171
2172         Reviewed by Brent Fulgham.
2173
2174         * WebView.cpp:
2175         (toString): Added another toString function to make sure we are not trying to use WTF::toString.
2176
2177 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
2178
2179         Cleanup the interface of FrameSelection
2180         https://bugs.webkit.org/show_bug.cgi?id=128481
2181
2182         Reviewed by Andreas Kling.
2183
2184         * WebView.cpp:
2185         (WebView::selectionRect):
2186
2187 2014-02-08  Darin Adler  <darin@apple.com>
2188
2189         Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
2190         https://bugs.webkit.org/show_bug.cgi?id=128233
2191
2192         Reviewed by Anders Carlsson.
2193
2194         * WebCoreSupport/WebEditorClient.cpp:
2195         (WebEditorClient::checkSpellingOfString): Use StringView.
2196         (WebEditorClient::checkGrammarOfString): Ditto.
2197         * WebCoreSupport/WebEditorClient.h: Ditto.
2198
2199 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
2200
2201         Web Inspector: Add Console support to JSContext Inspection
2202         https://bugs.webkit.org/show_bug.cgi?id=127941
2203
2204         Reviewed by Geoffrey Garen.
2205
2206         * WebCoreSupport/WebChromeClient.h:
2207
2208 2014-02-06  Brent Fulgham  <bfulgham@apple.com>
2209
2210         [Win] Correct IME Regression after r141479
2211         https://bugs.webkit.org/show_bug.cgi?id=128323
2212         <rdar://problem/15952986>
2213
2214         Reviewed by Tim Horton.
2215
2216         * WebView.cpp:
2217         (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used
2218         to select the resetIME case. Corrected for behavior of new cancel method.
2219
2220 2014-02-04  Andreas Kling  <akling@apple.com>
2221
2222         Remove <iframe seamless> support.
2223         <https://webkit.org/b/128213>
2224
2225         Rubber-stamped by Antti Koivisto.
2226
2227         * WebPreferences.h:
2228         * WebView.cpp:
2229         (WebView::notifyPreferencesChanged):
2230
2231 2014-02-03  Darin Adler  <darin@apple.com>
2232
2233         Try to fix the WinCairo build.
2234
2235         * WebDownloadCurl.cpp:
2236         (WebDownload::didReceiveResponse): characters -> deprecatedCharacters.
2237
2238 2014-02-02  Darin Adler  <darin@apple.com>
2239
2240         Still more characters -> deprecatedCharacters (EWS keeps finding more)
2241         https://bugs.webkit.org/show_bug.cgi?id=128076
2242
2243         Reviewed by Andreas Kling.
2244
2245         * AccessibleTextImpl.cpp:
2246         (AccessibleText::get_text):
2247         (AccessibleText::get_textBeforeOffset):
2248         (AccessibleText::get_textAfterOffset):
2249         (AccessibleText::get_textAtOffset):
2250         (AccessibleText::get_attributes):
2251         * DOMCSSClasses.cpp:
2252         (DOMCSSStyleDeclaration::getPropertyValue):
2253         * DOMCoreClasses.cpp:
2254         (DOMNode::nodeValue):
2255         (DOMElement::getAttribute):
2256         (DOMElement::font):
2257         * DOMHTMLClasses.cpp:
2258         (DOMHTMLElement::innerText):
2259         (DOMHTMLFormElement::action):
2260         (DOMHTMLFormElement::method):
2261         (DOMHTMLInputElement::value):
2262         (DOMHTMLTextAreaElement::value):
2263         * MarshallingHelpers.cpp:
2264         (MarshallingHelpers::PathStringToFileCFURLRef):
2265         * WebDataSource.cpp:
2266         (WebDataSource::unreachableURL):
2267         * WebDownload.cpp:
2268         (WebDownload::bundlePathForTargetPath):
2269         * WebDownloadCFNet.cpp:
2270         (WebDownload::didFinish):
2271         * WebElementPropertyBag.cpp:
2272         (convertStringToVariant):
2273         * WebFrame.cpp:
2274         (WebFrame::searchForLabelsBeforeElement):
2275         (WebFrame::matchLabelsAgainstElement):
2276         * WebHistory.cpp:
2277         (WebHistory::addVisitedLinksToPageGroup):
2278         * WebKitGraphics.cpp:
2279         (CenterTruncateStringToWidth):
2280         (RightTruncateStringToWidth):
2281         * WebView.cpp:
2282         (WebView::applicationNameForUserAgent):
2283         (WebView::customUserAgent):
2284         (WebView::groupName):
2285         (WebView::selectedText):
2286         (WebView::onIMERequestReconvertString):
2287         Use deprecatedCharacters.
2288
2289 2014-01-30  Andrei Bucur  <abucur@adobe.com>
2290
2291         Remove the ACCELERATED_COMPOSITING flag
2292         https://bugs.webkit.org/show_bug.cgi?id=127833
2293
2294         Reviewed by Antti Koivisto.
2295
2296         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
2297         mandatory.
2298
2299         Another patch will be required to remove the flag support from the Win build system.
2300
2301         * FullscreenVideoController.cpp:
2302         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2303         (FullscreenVideoController::FullscreenVideoController):
2304         (FullscreenVideoController::~FullscreenVideoController):
2305         (FullscreenVideoController::enterFullscreen):
2306         * FullscreenVideoController.h:
2307         * WebCoreSupport/WebChromeClient.cpp:
2308         (WebChromeClient::scheduleCompositingLayerFlush):
2309         * WebCoreSupport/WebChromeClient.h:
2310         (WebChromeClient::setNeedsOneShotDrawingSynchronization):
2311         * WebPreferences.cpp:
2312         (WebPreferences::acceleratedCompositingEnabled):
2313         * WebView.cpp:
2314         (WebView::WebView):
2315         (WebView::~WebView):
2316         (WebView::close):
2317         (WebView::repaint):
2318         (WebView::addToDirtyRegion):
2319         (WebView::scrollBackingStore):
2320         (WebView::sizeChanged):
2321         (WebView::updateBackingStore):
2322         (WebView::paint):
2323         (WebView::setShouldInvertColors):
2324         (WebView::WebViewWndProc):
2325         (WebView::notifyPreferencesChanged):
2326         (WebView::setAcceleratedCompositing):
2327         * WebView.h:
2328
2329 2014-01-29  Alex Christensen  <achristensen@webkit.org>
2330
2331         Prepare for accelerated compositing on WinCairo.
2332         https://bugs.webkit.org/show_bug.cgi?id=127843
2333
2334         Reviewed by Anders Carlsson.
2335
2336         * WebPreferences.cpp:
2337         Moved CACFLayerTreeHost.h inclusion to Apple-specific includes
2338         to avoid compile errors in WinCairo when using accelerated compositing.
2339
2340 2014-01-26  Anders Carlsson  <andersca@apple.com>
2341
2342         Follow-up build fix.
2343
2344         * WebHistoryItem.cpp:
2345         (WebHistoryItem::visitedWithTitle):
2346
2347 2014-01-26  Anders Carlsson  <andersca@apple.com>
2348
2349         Remove even more Windows history code.
2350
2351         * WebHistory.cpp:
2352         (WebHistory::removeItemForURLString):
2353         * WebHistoryItem.cpp:
2354         (WebHistoryItem::initFromDictionaryRepresentation):
2355         (WebHistoryItem::dictionaryRepresentation):
2356         (WebHistoryItem::getDailyVisitCounts):
2357         (WebHistoryItem::getWeeklyVisitCounts):
2358         (WebHistoryItem::recordInitialVisit):
2359         (WebHistoryItem::initWithURLString):
2360
2361 2014-01-26  Anders Carlsson  <andersca@apple.com>
2362
2363         Another follow-up build fix.
2364
2365         * WebHistory.cpp:
2366         (WebHistory::removeAllItems):
2367         (WebHistory::orderedItemsLastVisitedOnDay):
2368         * WebHistoryItem.cpp:
2369         (WebHistoryItem::initFromDictionaryRepresentation):
2370         (WebHistoryItem::dictionaryRepresentation):
2371         (WebHistoryItem::visitCount):
2372         (WebHistoryItem::setVisitCount):
2373
2374 2014-01-26  Anders Carlsson  <andersca@apple.com>
2375
2376         Remove more history gunk.
2377
2378         * WebHistory.cpp:
2379         (WebHistory::orderedLastVisitedDays):
2380         (WebHistory::addItem):
2381         (WebHistory::visitedURL):
2382         (WebHistory::removeItemForURLString):
2383         * WebHistory.h:
2384         * WebHistoryItem.cpp:
2385         (WebHistoryItem::initFromDictionaryRepresentation):
2386         (WebHistoryItem::dictionaryRepresentation):
2387         (WebHistoryItem::mergeAutoCompleteHints):
2388         (WebHistoryItem::setLastVisitedTimeInterval):
2389         (WebHistoryItem::initWithURLString):
2390         (WebHistoryItem::lastVisitedTimeInterval):
2391
2392 2014-01-26  Anders Carlsson  <andersca@apple.com>
2393
2394         Build fix.
2395
2396         * WebHistoryItem.cpp:
2397         (WebHistoryItem::initFromDictionaryRepresentation):
2398         (WebHistoryItem::dictionaryRepresentation):
2399
2400 2014-01-26  Anders Carlsson  <andersca@apple.com>
2401
2402         Move lastVisitWasHTTPNonGet out to WebHistoryItem
2403         https://bugs.webkit.org/show_bug.cgi?id=127657
2404
2405         Reviewed by Dan Bernstein.
2406
2407         Remove uses of lastVisitWasHTTPNonGet.
2408
2409         * WebHistory.cpp:
2410         (WebHistory::visitedURL):
2411         * WebHistoryItem.cpp:
2412         (WebHistoryItem::initFromDictionaryRepresentation):
2413         (WebHistoryItem::lastVisitWasHTTPNonGet):
2414         (WebHistoryItem::setLastVisitWasHTTPNonGet):
2415
2416 2014-01-25  Anders Carlsson  <andersca@apple.com>
2417
2418         Remove an unused FrameLoaderClient function
2419         https://bugs.webkit.org/show_bug.cgi?id=127628
2420
2421         Reviewed by Andreas Kling.
2422
2423         * WebCoreSupport/WebFrameLoaderClient.cpp:
2424         * WebCoreSupport/WebFrameLoaderClient.h:
2425
2426 2014-01-25  Anders Carlsson  <andersca@apple.com>
2427
2428         Modernize HashTable threading code
2429         https://bugs.webkit.org/show_bug.cgi?id=127621
2430
2431         Reviewed by Darin Adler.
2432
2433         Explicitly include headers that used to be brought in by HashTable.h
2434
2435         * WebLocalizableStrings.cpp:
2436
2437 2014-01-24  Anders Carlsson  <andersca@apple.com>
2438
2439         Remove back/forward list related functions from Page
2440         https://bugs.webkit.org/show_bug.cgi?id=127596
2441
2442         Reviewed by Andreas Kling.
2443
2444         * WebView.cpp:
2445         (WebView::keyDown):
2446         (WebView::goBack):
2447         (WebView::goForward):
2448
2449 2014-01-24  Zan Dobersek  <zdobersek@igalia.com>
2450
2451         Move HistoryItem to std::unique_ptr
2452         https://bugs.webkit.org/show_bug.cgi?id=127275
2453
2454         Reviewed by Darin Adler.
2455
2456         * WebHistoryItem.cpp: The Vector object that's passed to HistoryItem::setRedirectURLs
2457         should now be handled by std::unique_ptr and passed on through move semantics.
2458         (WebHistoryItem::initFromDictionaryRepresentation):
2459
2460 2014-01-23  Joseph Pecoraro  <pecoraro@apple.com>
2461
2462         Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
2463         https://bugs.webkit.org/show_bug.cgi?id=127409
2464
2465         Reviewed by Geoffrey Garen.
2466
2467         * WebCoreSupport/WebInspectorClient.cpp:
2468         (WebInspectorFrontendClient::destroyInspectorView):
2469         Include InspectorDisconnectReason.
2470
2471 2014-01-23  Simon Fraser  <simon.fraser@apple.com>
2472
2473         Another Windows fix.
2474
2475         * WebFrame.cpp:
2476         (WebFrame::frameBounds):
2477
2478 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2479
2480         [WinCairo] Compile error.
2481         https://bugs.webkit.org/show_bug.cgi?id=127500
2482
2483         Reviewed by Brent Fulgham.
2484
2485         * WebCache.cpp:
2486         (WebCache::cacheFolder): CurlCacheManager::getCacheDirectory() has changed name to cacheDirectory().
2487
2488 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2489
2490         [Curl] There is no way to specify cache folder.
2491         https://bugs.webkit.org/show_bug.cgi?id=125028
2492
2493         Reviewed by Brent Fulgham.
2494
2495         Added interface methods to set and get cache folder location.
2496
2497         * Interfaces/IWebCache.idl:
2498         * WebCache.cpp:
2499         (WebCache::disabled):
2500         (WebCache::cacheFolder):
2501         (WebCache::setCacheFolder):
2502         * WebCache.h:
2503
2504 2014-01-21  peavo@outlook.com  <peavo@outlook.com>
2505
2506         [WinCairo][Curl] Download request has incorrect user agent string.
2507         https://bugs.webkit.org/show_bug.cgi?id=127110
2508
2509         Reviewed by Brent Fulgham.
2510
2511         * WebDownloadCurl.cpp:
2512         (WebDownload::init): Set user agent string in download request.
2513         * WebView.cpp:
2514         (WebView::downloadURL): Avoid early return if no ResourceHandle is provided.
2515
2516 2014-01-18  Brian Burg  <bburg@apple.com>
2517
2518         Web Inspector: Page should use std::unique_ptr for InspectorController
2519         https://bugs.webkit.org/show_bug.cgi?id=127068
2520
2521         Reviewed by Joseph Pecoraro.
2522
2523         Convert call sites to use a InspectorController reference.
2524
2525         * WebCoreSupport/WebInspectorClient.cpp:
2526         (WebInspectorClient::openInspectorFrontend):
2527         (WebInspectorFrontendClient::destroyInspectorView):
2528         (WebInspectorFrontendClient::onClose):
2529         * WebInspector.cpp:
2530         (WebInspector::show):
2531         (WebInspector::close):
2532         (WebInspector::isJavaScriptProfilingEnabled):
2533         (WebInspector::setJavaScriptProfilingEnabled):
2534         (WebInspector::evaluateInFrontend):
2535         * WebNodeHighlight.cpp:
2536         (WebNodeHighlight::update):
2537
2538 2014-01-17  Anders Carlsson  <andersca@apple.com>
2539
2540         Clean up PageCache classes
2541         https://bugs.webkit.org/show_bug.cgi?id=127202
2542
2543         Reviewed by Andreas Kling.
2544
2545         * WebCoreSupport/WebFrameLoaderClient.cpp:
2546         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
2547
2548 2014-01-17  Anders Carlsson  <andersca@apple.com>
2549
2550         Remove another unused FrameLoaderClient callback
2551         https://bugs.webkit.org/show_bug.cgi?id=127192
2552
2553         Reviewed by Dan Bernstein.
2554
2555         * WebCoreSupport/WebFrameLoaderClient.cpp:
2556         * WebCoreSupport/WebFrameLoaderClient.h:
2557
2558 2014-01-17  Anders Carlsson  <andersca@apple.com>
2559
2560         Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
2561         https://bugs.webkit.org/show_bug.cgi?id=127190
2562
2563         Reviewed by Dan Bernstein.
2564
2565         * WebCoreSupport/WebFrameLoaderClient.cpp:
2566         * WebCoreSupport/WebFrameLoaderClient.h:
2567
2568 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2569
2570         Remove workaround for compilers not supporting explicit override control
2571         https://bugs.webkit.org/show_bug.cgi?id=127111
2572
2573         Reviewed by Anders Carlsson.
2574
2575         Now all compilers support explicit override control, this workaround can be removed.
2576
2577         * AccessibleDocument.h:
2578         * FullscreenVideoController.cpp:
2579         * WebCoreSupport/WebChromeClient.h:
2580         * WebCoreSupport/WebFrameLoaderClient.h:
2581         * WebCoreSupport/WebFrameNetworkingContext.h:
2582         * WebCoreSupport/WebInspectorClient.h:
2583         * WebHistory.h:
2584
2585 2014-01-10  Anders Carlsson  <andersca@apple.com>
2586
2587         Tweak ProgressTrackerClient functions
2588         https://bugs.webkit.org/show_bug.cgi?id=126808
2589
2590         Reviewed by Sam Weinig.
2591
2592         * WebCoreSupport/WebFrameLoaderClient.cpp:
2593         (WebFrameLoaderClient::progressStarted):
2594         (WebFrameLoaderClient::progressEstimateChanged):
2595         (WebFrameLoaderClient::progressFinished):
2596         * WebCoreSupport/WebFrameLoaderClient.h:
2597
2598 2014-01-10  Anders Carlsson  <andersca@apple.com>
2599
2600         Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
2601         https://bugs.webkit.org/show_bug.cgi?id=126801
2602
2603         Reviewed by Sam Weinig.
2604
2605         * WebCoreSupport/WebFrameLoaderClient.h:
2606         * WebView.cpp:
2607         (WebView::initWithFrame):
2608
2609 2014-01-08  peavo@outlook.com  <peavo@outlook.com>
2610
2611         [WinCairo] Compile error.
2612         https://bugs.webkit.org/show_bug.cgi?id=126534
2613
2614         Reviewed by Brent Fulgham.
2615
2616         * WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library).
2617
2618 2014-01-06  László Langó  <lango@inf.u-szeged.hu>
2619
2620         Use unsigned consistently, and check for invalid casts when calling into SharedBuffer from other code.
2621         https://bugs.webkit.org/show_bug.cgi?id=124579
2622
2623         Reviewed by Anders Carlsson.
2624
2625         * WebKitDLL.cpp:
2626         (loadResourceIntoBuffer):
2627
2628 2013-12-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2629
2630         Cleanup static_cast<HTMLFormElement*> by using toHTMLFormElement()
2631         https://bugs.webkit.org/show_bug.cgi?id=126309
2632
2633         Reviewed by Andreas Kling.
2634
2635         To detect bad type casts, it would be good to use toHTMLFormElement() instead of
2636         using manual type cast. Additionally FORM_ASSOCIATED_ELEMENT_TYPE_CASTS is introduced newly
2637         to do it.
2638
2639         * WebFrame.cpp:
2640         (WebFrame::elementWithName):
2641
2642 2013-12-17  Alex Christensen  <achristensen@webkit.org>
2643
2644         [WinCairo] Compile fixes for GStreamer on Windows.
2645         https://bugs.webkit.org/show_bug.cgi?id=124867
2646
2647         Reviewed by Philippe Normand.
2648
2649         * WebView.cpp:
2650         (WebView::enterFullscreenForNode):
2651         (WebView::exitFullscreen):
2652         GStreamer in WebKit does not support fullscreen, so
2653         I added #if !USE(GSTREAMER) to the fullscreen code to get it to compile.
2654
2655 2013-12-11  Joseph Pecoraro  <pecoraro@apple.com>
2656
2657         Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore
2658         https://bugs.webkit.org/show_bug.cgi?id=125324
2659
2660         Reviewed by Timothy Hatcher.
2661
2662         * WebFrame.cpp:
2663         * WebView.cpp:
2664
2665 2013-12-04  Brent Fulgham  <bfulgham@apple.com>
2666
2667         [Win] Exiting from Media Full Screen mode via 'escape' key does not work properly
2668         https://bugs.webkit.org/show_bug.cgi?id=125272
2669
2670         Reviewed by Jer Noble.
2671
2672         * WebView.cpp:
2673         (WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call
2674         to more closely match Media Control behavior.
2675
2676 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
2677
2678         Consolidate various frame snapshot capabilities.
2679         https://bugs.webkit.org/show_bug.cgi?id=124325
2680
2681         Reviewed by Darin Adler.
2682
2683         * DOMCoreClasses.cpp:
2684         (DOMElement::renderedImage): use createDragImageForNode.
2685
2686 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
2687
2688         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
2689         https://bugs.webkit.org/show_bug.cgi?id=124613
2690
2691         Reviewed by Timothy Hatcher.
2692
2693         * WebCoreSupport/WebInspectorClient.h:
2694
2695 2013-11-25  peavo@outlook.com  <peavo@outlook.com>
2696
2697         [Win] WebKit version in user agent string is incorrect.
2698         https://bugs.webkit.org/show_bug.cgi?id=124454
2699
2700         Reviewed by Brent Fulgham.
2701
2702         * WebView.cpp: Use WebKit version from WebKitVersion.h in user agent.
2703         (webKitVersionString):
2704
2705 2013-11-21  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2706
2707         Remove ENABLE_WORKERS
2708         https://bugs.webkit.org/show_bug.cgi?id=105784
2709
2710         Reviewed by Darin Adler.
2711
2712         * WebWorkersPrivate.cpp:
2713         (WebWorkersPrivate::workerThreadCount):
2714
2715 2013-11-18  Commit Queue  <commit-queue@webkit.org>
2716
2717         Unreviewed, rolling out r159455.
2718         http://trac.webkit.org/changeset/159455
2719         https://bugs.webkit.org/show_bug.cgi?id=124568
2720
2721         broke two api tests (see bug 124564) (Requested by thorton on
2722         #webkit).
2723
2724         * DOMCoreClasses.cpp:
2725         (DOMElement::renderedImage):
2726
2727 2013-11-18  Commit Queue  <commit-queue@webkit.org>
2728
2729         Unreviewed, rolling out r159430.
2730         http://trac.webkit.org/changeset/159430
2731         https://bugs.webkit.org/show_bug.cgi?id=124548
2732
2733         WebCore can know nothing about nor use files from WebKit/
2734         (Requested by thorton on #webkit).
2735
2736         * WebView.cpp:
2737         (webKitVersionString):
2738
2739 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
2740
2741         Consolidate various frame snapshot capabilities.
2742         https://bugs.webkit.org/show_bug.cgi?id=124325
2743
2744         Reviewed by Timothy Hatcher.
2745
2746         * DOMCoreClasses.cpp:
2747         (DOMElement::renderedImage): use createDragImageForNode.
2748
2749 2013-11-18  peavo@outlook.com  <peavo@outlook.com>
2750
2751         [Win] Optimization, no need to erase background before paint.
2752         https://bugs.webkit.org/show_bug.cgi?id=124453
2753
2754         Reviewed by Brent Fulgham.
2755
2756         As the paint will blit a bitmap onto the invalid area (no alpha),
2757         there is no need to erase the background first, as this will be overwritten by the blit.
2758
2759         * WebView.cpp:
2760         (WebView::WebViewWndProc): Avoid erasing background before paint.
2761
2762 2013-11-18  peavo@outlook.com  <peavo@outlook.com>
2763
2764         [Win] WebKit version in user agent string is incorrect.
2765         https://bugs.webkit.org/show_bug.cgi?id=124454
2766
2767         Reviewed by Brent Fulgham.
2768
2769         * WebView.cpp:
2770         (webKitVersionString): Create WebKit version string from WebKitVersion.h.
2771
2772 2013-11-15  Jer Noble  <jer.noble@apple.com>
2773
2774         Unreviewed Win build fix; setCurrentTime() no longer takes an exception parameter.
2775
2776         * FullscreenVideoController.cpp:
2777         (FullscreenVideoController::setCurrentTime):
2778
2779 2013-11-12  Alex Christensen  <achristensen@webkit.org>
2780
2781         [WinCairo] Preparation for ENABLE(VIDEO).
2782         https://bugs.webkit.org/show_bug.cgi?id=57420
2783
2784         Reviewed by Martin Robinson.
2785
2786         * FullscreenVideoController.cpp:
2787         Don't compile if using GStreamer.
2788
2789 2013-11-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2790
2791         [AX] Clean up static_cast<> to cast from AccessibilityObject 
2792         https://bugs.webkit.org/show_bug.cgi?id=124032
2793
2794         Reviewed by Mario Sanchez Prada.
2795
2796         Use toAccessibilityListBox instead of using static_cast<AccessibilityListBox*>.
2797
2798         * AccessibleBase.cpp:
2799         (AccessibleBase::accSelect):
2800
2801 2013-11-05  Ryosuke Niwa  <rniwa@webkit.org>
2802
2803         Windows build fix attempt after r158704.
2804
2805         * FullscreenVideoController.cpp:
2806
2807 2013-11-01  Patrick Gansterer  <paroga@webkit.org>
2808
2809         [WIN] Reduce usage of CFSTR() in WebPreferences
2810         https://bugs.webkit.org/show_bug.cgi?id=121827
2811
2812         Reviewed by Brent Fulgham.
2813
2814         This moved the dependency on CF to a few functions only
2815         and is a first step to make it compile without CF.
2816
2817         * WebPreferences.cpp:
2818         * WebPreferences.h:
2819
2820 2013-10-31  Alex Christensen  <achristensen@webkit.org>
2821
2822         Compile fix for VS2012.
2823         https://bugs.webkit.org/show_bug.cgi?id=123599
2824
2825         Reviewed by Brent Fulgham.
2826
2827         * WebCoreSupport/WebFrameLoaderClient.cpp:
2828         (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate):
2829         (WebFrameLoaderClient::cancelPolicyCheck):
2830         (WebFrameLoaderClient::receivedPolicyDecision):
2831         Use nullptr instead of 0 for m_policyFunction, which is a std::function.
2832
2833 2013-10-31  Patrick Gansterer  <paroga@webkit.org>
2834
2835         [WIN] Make WebHistory compile without USE(CF)
2836         https://bugs.webkit.org/show_bug.cgi?id=122010
2837
2838         Reviewed by Brent Fulgham.
2839
2840         Add an alternative code path for !USE(CF) to be able to
2841         compile WebHistory without the CoreFoundation library.
2842
2843         * COMVariantSetter.h: Add support for setting a Vector.
2844         * WebHistory.cpp:
2845         (createUserInfoFromArray):
2846         (createUserInfoFromHistoryItem):
2847         (WebHistory::removeAllItems):
2848         (WebHistory::removeItem):
2849         (WebHistory::addItem):
2850         (WebHistory::visitedURL):
2851         * WebHistory.h:
2852
2853 2013-10-30  Myles C. Maxfield  <mmaxfield@apple.com>
2854
2855         WebKit/win/WebKitGraphics.h:void WebDrawText(WebTextRenderInfo*); is never called
2856         https://bugs.webkit.org/show_bug.cgi?id=123485
2857
2858         Reviewed by Brent Fulgham.
2859
2860         Removed unused WebDrawText implementation.
2861
2862         * WebKitGraphics.cpp:
2863         * WebKitGraphics.h:
2864
2865 2013-10-30  Patrick Gansterer  <paroga@webkit.org>
2866
2867         [WIN] Add missing USE(CFNETWORK) to WebError.h
2868         https://bugs.webkit.org/show_bug.cgi?id=121834
2869
2870         Reviewed by Brent Fulgham.
2871
2872         WebError.cpp uses USE(CFNETWORK), so add it to the header too.
2873
2874         * WebError.h:
2875
2876 2013-10-30  peavo@outlook.com  <peavo@outlook.com>
2877
2878         [Curl][Win] Suggested filename of download is not url decoded.
2879         https://bugs.webkit.org/show_bug.cgi?id=123511
2880
2881         Reviewed by Brent Fulgham.
2882
2883         * WebDownloadCurl.cpp:
2884         (WebDownload::didReceiveResponse): Url decode suggested filename.
2885
2886 2013-10-28  Tim Horton  <timothy_horton@apple.com>
2887
2888         Make TileController manipulate PlatformCALayers instead of CALayers
2889         https://bugs.webkit.org/show_bug.cgi?id=123279
2890
2891         Reviewed by Simon Fraser.
2892
2893         * FullscreenVideoController.cpp:
2894         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
2895         (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
2896         Adjust for new parameters on PlatformCALayerClient callbacks.
2897
2898 2013-10-23  Alex Christensen  <achristensen@webkit.org>
2899
2900         Separated USE(CA) from USE(ACCELERATED_COMPOSITING) to prepare WinCairo for accelerated compositing.
2901         https://bugs.webkit.org/show_bug.cgi?id=123214
2902
2903         Reviewed by Brent Fulgham.
2904
2905         * WebCoreSupport/WebChromeClient.h:
2906         (WebChromeClient::delegatedScrollRequested): Added empty function.
2907         * WebPreferences.cpp:
2908         (WebPreferences::acceleratedCompositingEnabled):
2909         Return true for non-CA ports using accelerated compositing.
2910         * WebView.cpp:
2911         (WebView::~WebView):
2912         (WebView::sizeChanged):
2913         (WebView::paint):
2914         (WebView::setShouldInvertColors):
2915         (WebView::flushPendingGraphicsLayerChangesSoon):
2916         (WebView::setAcceleratedCompositing):
2917         * WebView.h:
2918         Added USE(CA) where necessary to compile WinCairo with accelerated compositing.
2919
2920 2013-10-16  Tim Horton  <timothy_horton@apple.com>
2921
2922         Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.
2923
2924         Apparently some *more* Windows code uses setFrame and I missed it.
2925
2926         * FullscreenVideoController.cpp:
2927         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2928
2929 2013-10-16  Jochen Eisinger  <jochen@chromium.org>
2930
2931         A page should exit fullscreen mode if it opens a new popup
2932         https://bugs.webkit.org/show_bug.cgi?id=122865
2933
2934         Reviewed by Jer Noble.
2935
2936         If a fullscreen page opens a popup, the popup would be hidden and
2937         therefore invisible to the user. To avoid this, exit fullscreen mode
2938         before opening a new window.
2939
2940         * WebCoreSupport/WebChromeClient.cpp:
2941         (WebChromeClient::createWindow):
2942
2943 2013-10-15  Joseph Pecoraro  <pecoraro@apple.com>
2944
2945         Web Inspector: Remove Windows old front-end related code
2946         https://bugs.webkit.org/show_bug.cgi?id=122845
2947
2948         Reviewed by Brent Fulgham.
2949
2950         * WebCoreSupport/WebInspectorClient.cpp:
2951         (WebInspectorClient::openInspectorFrontend):
2952
2953 2013-10-14  Roger Fong  <roger_fong@apple.com>
2954
2955         Windows select element doesn't draw RTL properly.
2956         https://bugs.webkit.org/show_bug.cgi?id=122785.
2957
2958         Reviewed by Brent Fulgham.
2959
2960         * WebCoreSupport/WebChromeClient.cpp:
2961         (WebChromeClient::selectItemWritingDirectionIsNatural):
2962         (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
2963
2964 2013-10-14  Tim Horton  <timothy_horton@apple.com>
2965
2966         Virtualize PlatformCALayer
2967         https://bugs.webkit.org/show_bug.cgi?id=122672
2968
2969         Reviewed by Anders Carlsson.
2970
2971         * FullscreenVideoController.cpp:
2972         (FullscreenVideoController::FullscreenVideoController):
2973         Include PlatformCALayerWin.h and explicitly make PlatformCALayerWins here.
2974
2975 2013-10-12  Darin Adler  <darin@apple.com>
2976
2977         Get rid of the toHTMLElement helper for casting FormAssociatedElement to HTMLElement
2978         https://bugs.webkit.org/show_bug.cgi?id=122713
2979
2980         Reviewed by Sam Weinig.
2981
2982         * WebFrame.cpp:
2983         (WebFrame::controlsInForm): Use asHTMLElement.
2984
2985 2013-10-12  Darin Adler  <darin@apple.com>
2986
2987         Use unique_ptr instead of delete in a few places
2988         https://bugs.webkit.org/show_bug.cgi?id=122639
2989
2990         Reviewed by Anders Carlsson.
2991
2992         * WebCoreSupport/WebFrameNetworkingContext.cpp:
2993         (privateSession):
2994         (identifierBase):
2995         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
2996         (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
2997         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
2998         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
2999         (WebFrameNetworkingContext::storageSession):
3000
3001 2013-10-10  Anders Carlsson  <andersca@apple.com>
3002
3003         Fix build.
3004         
3005         * Interfaces/WebKit.idl:
3006         Oops, didn't mean to remove the uuid for WebURLResponse.
3007
3008 2013-10-10  Anders Carlsson  <andersca@apple.com>
3009
3010         Remove WebScrollBar
3011         https://bugs.webkit.org/show_bug.cgi?id=122623
3012
3013         Reviewed by Brent Fulgham.
3014
3015         WebScrollBar isn't used by anyone, remove it.
3016
3017         * ForEachCoClass.h:
3018         * Interfaces/IWebScrollBarDelegatePrivate.idl: Removed.
3019         * Interfaces/IWebScrollBarPrivate.idl: Removed.
3020         * Interfaces/WebKit.idl:
3021         * WebKitClassFactory.cpp:
3022         (WebKitClassFactory::CreateInstance):
3023         * WebScrollBar.cpp: Removed.
3024         * WebScrollBar.h: Removed.
3025
3026 2013-10-10  Beth Dakin  <bdakin@apple.com>
3027
3028         Build fix after http://trac.webkit.org/changeset/157253
3029
3030         * WebScrollBar.h:
3031
3032 2013-10-09  peavo@outlook.com  <peavo@outlook.com>
3033
3034         [Win] BeginPaint should only be called in response to WM_PAINT.
3035         https://bugs.webkit.org/show_bug.cgi?id=122549
3036
3037         Reviewed by Brent Fulgham.
3038
3039         According to the documentation, the Win32 api function BeginPaint should only be called in response to a WM_PAINT message.
3040         Currently, the WebView window procedure might call this function (via WebView::paint(0, 0)) for all types of messages.
3041         Also, there is potential for double drawing. If some message is dispatched before WM_PAINT, WebView::paint(0, 0) will be called.
3042         This call does not validate the area drawn, so later the WM_PAINT will arrive, drawing the same area.
3043         This can be fixed by calling the Win32 function UpdateWindow(), which will do a synchronous window update, and validate the area.
3044
3045         * WebView.cpp:
3046         (WebView::WebViewWndProc): Use Win32 function UpdateWindow() to draw invalid area.
3047
3048 2013-10-07  Sam Weinig  <sam@webkit.org>
3049
3050         Consolidate findString functions
3051         https://bugs.webkit.org/show_bug.cgi?id=122480
3052
3053         Reviewed by Darin Adler.
3054
3055         * WebView.cpp:
3056         (WebView::searchFor):
3057
3058 2013-10-07  Sam Weinig  <sam@webkit.org>
3059
3060         CTTE: Use references in and around DragController
3061         https://bugs.webkit.org/show_bug.cgi?id=122427
3062
3063         Reviewed by Andreas Kling.
3064
3065         * WebCoreSupport/WebDragClient.cpp:
3066         (WebDragClient::actionMaskForDrag):
3067         (WebDragClient::willPerformDragDestinationAction):
3068         (WebDragClient::willPerformDragSourceAction):
3069         (WebDragClient::startDrag):
3070         * WebCoreSupport/WebDragClient.h:
3071
3072 2013-10-04  Anders Carlsson  <andersca@apple.com>
3073
3074         FramePolicyFunction should be an std::function
3075         https://bugs.webkit.org/show_bug.cgi?id=122362
3076
3077         Reviewed by Darin Adler.
3078
3079         * WebCoreSupport/WebFrameLoaderClient.cpp:
3080         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
3081         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
3082         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3083         (WebFrameLoaderClient::dispatchWillSubmitForm):
3084         (WebFrameLoaderClient::receivedPolicyDecision):
3085
3086 2013-10-03  Sam Weinig  <sam@webkit.org>
3087
3088         Remove shouldRubberBandInDirection from the WKBundlePageUIClient
3089         https://bugs.webkit.org/show_bug.cgi?id=122309
3090
3091         Reviewed by Andreas Kling.
3092
3093         * WebCoreSupport/WebChromeClient.h:
3094
3095 2013-10-02  Roger Fong  <roger_fong@apple.com>
3096
3097         [Windows] Unreviewed build fix.
3098
3099         * WebScriptWorld.cpp:
3100         (WebScriptWorld::findOrCreateWorld):
3101
3102 2013-10-01  Sam Weinig  <sam@webkit.org>
3103
3104         CTTE: DOMWrapperWorlds should be passed around by reference
3105         https://bugs.webkit.org/show_bug.cgi?id=122206
3106
3107         Reviewed by Andreas Kling.
3108
3109         * WebCoreSupport/WebFrameLoaderClient.cpp:
3110         (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
3111         * WebCoreSupport/WebFrameLoaderClient.h:
3112         * WebScriptWorld.cpp:
3113         (WebScriptWorld::standardWorld):
3114         (WebScriptWorld::findOrCreateWorld):
3115         * WebScriptWorld.h:
3116         (WebScriptWorld::world):
3117
3118 2013-10-01  Alex Christensen  <achristensen@webkit.org>
3119
3120         Implemented createWebViewWithRequest in WinLauncher.
3121         https://bugs.webkit.org/show_bug.cgi?id=122069
3122
3123         Reviewed by Brent Fulgham.
3124
3125         * WebCoreSupport/WebChromeClient.cpp:
3126         (WebChromeClient::createWindow):
3127         * WebCoreSupport/WebFrameLoaderClient.cpp:
3128         (WebFrameLoaderClient::dispatchCreatePage):
3129         Pass request url from the NavigationAction to createWebViewWithRequest.
3130
3131 2013-09-30  Andreas Kling  <akling@apple.com>
3132
3133         Try to fix the Windows build.
3134
3135         * WebFrame.cpp:
3136         (WebFrame::pauseAnimation):
3137         (WebFrame::pauseTransition):
3138
3139 2013-09-27  Roger Fong  <roger_fong@apple.com>
3140
3141         [Windows] Unreviewed build fix following r156560.
3142
3143         * WebView.h:
3144
3145 2013-09-26  Darin Adler  <darin@apple.com>
3146
3147         rename KURL to URL
3148         https://bugs.webkit.org/show_bug.cgi?id=16214
3149
3150         Reviewed by Andreas Kling.
3151
3152         * many files: Renamed, using script.
3153
3154 2013-09-27  Darin Adler  <darin@apple.com>
3155
3156         Add empty MainFrame class
3157         https://bugs.webkit.org/show_bug.cgi?id=121770
3158
3159         Reviewed by Andreas Kling.
3160
3161         * win/WebCoreSupport/WebDragClient.cpp:
3162         * win/WebCoreSupport/WebContextMenuClient.cpp:
3163         * win/WebDropSource.cpp:
3164         * win/WebFrame.cpp:
3165         * win/WebView.cpp:
3166         Include MainFrame.h instead of Frame.h as needed.
3167
3168 2013-09-25  Roger Fong  <roger_fong@apple.com>
3169
3170         [Windows] Attempting to scroll from a non-scrollable layer results the main document getting scrolled.
3171         https://bugs.webkit.org/show_bug.cgi?id=121889.
3172         <rdar://problem/15072441>
3173
3174         Reviewed by Timothy Horton.
3175
3176         * WebView.cpp:
3177         (WebView::gesture): 
3178         Call scrollByRecursively on the current RenderLayer's enclosingScrollableLayer to make sure that the method
3179         doesn't bail early and end up just scrolling the main document instead of the next scrollable layer in the RenderLayer tree.
3180
3181 2013-09-25  Patrick Gansterer  <paroga@webkit.org>
3182
3183         [WIN] Replace CF time functions with Windows API functions in WebHistory
3184         https://bugs.webkit.org/show_bug.cgi?id=121599
3185
3186         Reviewed by Brent Fulgham.
3187
3188         This reduces the dependencies on the CoreFoundation library.
3189
3190         * WebHistory.cpp:
3191         (addDayToSystemTime):
3192         (getDayBoundaries):
3193         (beginningOfDay):
3194         (dateKey):
3195         (WebHistory::orderedLastVisitedDays):
3196         * WebHistory.h:
3197
3198 2013-09-24  Brent Fulgham  <bfulgham@apple.com>
3199
3200         [Windows] Refactor RuntimeEnabledFeatures as a Singleton.
3201         https://bugs.webkit.org/show_bug.cgi?id=121883
3202
3203         Reviewed by Jer Noble.
3204
3205         * WebView.cpp:
3206         (WebView::notifyPreferencesChanged): Use singleton accessor
3207
3208 2013-09-24  Roger Fong  <roger_fong@apple.com>
3209
3210         [Windows] Overpanning occurs even when what is being panned isn't the main document.
3211         https://bugs.webkit.org/show_bug.cgi?id=121885.
3212         <rdar://problem/15072332>.
3213
3214         Reviewed by Brent Fulgham.
3215
3216         * WebView.cpp:
3217         (WebView::gestureNotify):
3218         (WebView::gesture):
3219
3220 2013-09-24  Brent Fulgham  <bfulgham@apple.com>
3221
3222         [Windows] Unreviewed crash fix after r156321.
3223
3224         Fix a few mistakes in the use of Vectors and counting that introduced test crashes.
3225
3226         * WebHistory.cpp:
3227         (WebHistory::removeAllItems): Loop termination tried to test an unsigned for negative size.
3228         (WebHistory::removeItemFromDateCaches): Vector was being created with empty entries.
3229         (WebHistory::addItemToDateCaches): Ditto.
3230
3231 2013-09-24  Patrick Gansterer  <paroga@webkit.org>
3232
3233         Make WebHistory more type safe
3234         https://bugs.webkit.org/show_bug.cgi?id=121801
3235
3236         Reviewed by Brent Fulgham.
3237
3238         Use a WTF::Vector instead of a CFMutableArray to avoid
3239         casting from void* all the time when accessing the entries.
3240         This reduces the dependencies on CoreFoundation too.
3241
3242         * WebHistory.cpp:
3243         (getDayBoundaries):
3244         (beginningOfDay):
3245         (dateKey):
3246         (WebHistory::orderedItemsLastVisitedOnDay):
3247         (WebHistory::removeItemFromDateCaches):
3248         (WebHistory::addItemToDateCaches):
3249         * WebHistory.h:
3250
3251 2013-09-23  Patrick Gansterer  <paroga@webkit.org>
3252
3253         [WIN] Implement WebMutableURLRequest::setHTTPBody()
3254         https://bugs.webkit.org/show_bug.cgi?id=91920
3255
3256         Reviewed by Brent Fulgham.
3257
3258         * WebMutableURLRequest.cpp:
3259         (WebMutableURLRequest::setHTTPBody):
3260         (WebMutableURLRequest::setHTTPBodyStream):
3261
3262 2013-09-23  Patrick Gansterer  <paroga@webkit.org>
3263
3264         use NOMINMAX instead of #define min min
3265         https://bugs.webkit.org/show_bug.cgi?id=73563
3266
3267         Reviewed by Brent Fulgham.
3268
3269         Use NOMINMAX instead of #define min/max as a cleaner
3270         way of ensuring that Windows system header files don't
3271         define min/max as macro in the first place.
3272
3273         * WebKitPrefix.h:
3274
3275 2013-09-22  Sam Weinig  <sam@webkit.org>
3276
3277         Try to fix the windows build (take 2).
3278
3279         * DOMEventsClasses.cpp:
3280         (DOMEvent::createInstance):
3281
3282 2013-09-22  Sam Weinig  <sam@webkit.org>
3283
3284         Try to fix the windows build.
3285
3286         * DOMEventsClasses.cpp:
3287         (DOMEvent::createInstance):
3288
3289 2013-09-20  Roger Fong  <roger_fong@apple.com>
3290
3291         Handle panning gestures messages properly on Windows.
3292         https://bugs.webkit.org/show_bug.cgi?id=121711.
3293
3294         Reviewed by Brent Fulgham.
3295
3296         This fixes a number of issues with panning gestures on Windows.
3297         1. Two finger panning in one direction can sometimes cause some unexpected scrolling 
3298         in the other direction when the gesture first begins (directions meaning horizontal and vertical)
3299         2. Single finger horizontal panning should only be disabled when attempting to select text.
3300         3. Scrolling via panning should be clamped, other wise we can scroll contents completely out of the scrollview.
3301         4. Horizontal overpan should work.
3302         5. Overpan should occur whenever we scroll to the extents of whichever scroll view we're currently scrolling.
3303
3304         * WebView.cpp:
3305         (WebView::gestureNotify):
3306         (WebView::gesture):
3307
3308 2013-09-20  Patrick Gansterer  <paroga@webkit.org>
3309
3310         Fix MIDL files for Visual Studio 2012
3311         https://bugs.webkit.org/show_bug.cgi?id=121552
3312
3313         Reviewed by Brent Fulgham.
3314
3315         The MIDL compiler shipped with Visual Studio 2012 does not accept forward declarations
3316         with typedefs. Use the struct keyword in the function signature to fix this problem.
3317
3318         * Interfaces/DOMPrivate.idl:
3319
3320 2013-09-20  Patrick Gansterer  <paroga@webkit.org>
3321
3322         Remove duplicated secondsPerDay variables
3323         https://bugs.webkit.org/show_bug.cgi?id=121601
3324
3325         Reviewed by Andreas Kling.
3326
3327         Use secondsPerDay from DateMath.h instead of defining it again.
3328
3329         * MarshallingHelpers.cpp:
3330
3331 2013-09-20  Csaba Osztrogonác  <ossy@webkit.org>
3332
3333         Add covariant RenderElement* Element::renderer()
3334         https://bugs.webkit.org/show_bug.cgi?id=121638
3335
3336         Unreviewed buildfix after r156144.
3337
3338         * DOMCoreClasses.cpp:
3339         (DOMElement::boundingBox):
3340         (DOMElement::font):
3341
3342 2013-09-18  Brent Fulgham  <bfulgham@apple.com>
3343
3344         [Windows] Build fix after r156063.
3345
3346         * WebHistory.h: std::unique is an algorithm; std::unique_ptr is what we want here!
3347
3348 2013-09-18  Sam Weinig  <sam@webkit.org>
3349
3350         Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in WebKit and WebKit2
3351         https://bugs.webkit.org/show_bug.cgi?id=121568
3352
3353         Reviewed by Andreas Kling.
3354
3355         * WebHistory.cpp:
3356         (WebHistory::removeAllItems):
3357         (WebHistory::orderedLastVisitedDays):
3358         (WebHistory::addItemToDateCaches):
3359         (WebHistory::removeItemFromDateCaches):
3360         * WebHistory.h:
3361         * WebPreferences.cpp:
3362         (WebPreferences::copyWebKitPreferencesToCFPreferences):
3363
3364 2013-09-18  Patrick Gansterer  <paroga@webkit.org>
3365
3366         Make WebHistory more type safe
3367         https://bugs.webkit.org/show_bug.cgi?id=119389
3368
3369         Reviewed by Brent Fulgham.
3370
3371         Use a WTF::HashMap instead of a CFMutableDictionary to avoid
3372         casting from void* all the time when accessing the entries.
3373         This reduces the dependencies on CoreFoundation too.
3374
3375         * WebHistory.cpp:
3376         (WebHistory::WebHistory):
3377         (WebHistory::removeAllItems):
3378         (WebHistory::allItems):
3379         (WebHistory::removeItem):
3380         (WebHistory::addItem):
3381         (WebHistory::visitedURL):
3382         (WebHistory::itemForURL):
3383         (WebHistory::removeItemForURLString):
3384         (WebHistory::itemForURLString):
3385         (WebHistory::addVisitedLinksToPageGroup):
3386         * WebHistory.h:
3387
3388 2013-09-17  Brent Fulgham  <bfulgham@apple.com>
3389
3390         [Windows] Speculative build fix after r155963
3391
3392         * WebKitCOMAPI.cpp:
3393         (classFactory): Use nullptr rather than 0 for HashMap.
3394
3395 2013-09-16  Enrica Casucci  <enrica@apple.com>
3396
3397         Remove unused function didSetSelectionTypesForPasteboard from EditorClient.
3398         https://bugs.webkit.org/show_bug.cgi?id=121464
3399
3400         Reviewed by Darin Adler.
3401
3402         * WebCoreSupport/WebEditorClient.cpp:
3403         * WebCoreSupport/WebEditorClient.h:
3404
3405 2013-09-16  Brent Fulgham  <bfulgham@apple.com>
3406
3407         [Windows] Rendering stops when mouse is moving for some types of animations.
3408         https://bugs.webkit.org/show_bug.cgi?id=121329
3409
3410         Reviewed by Anders Carlsson.
3411
3412         * WebView.cpp:
3413         (WebView::WebView): Add new display flag.
3414         (WebView::repaint): Mark view as needing a display operation.
3415         (WebView::addToDirtyRegion): Ditto
3416         (WebView::scrollBackingStore): Ditto
3417         (WebView::sizeChanged): Ditto
3418         (WebView::updateBackingStore): Ditto
3419         (WebView::performLayeredWindowUpdate): Mark the WebView as having been
3420         moved to screen.
3421         (WebView::paintIntoWindow): Ditto
3422         (WebView::WebViewWndProc): If the view needs display, and it was not done during
3423         this message loop iteration, draw the screen.
3424         * WebView.h:
3425         (WebView::needsDisplay): Added
3426
3427 2013-09-15  Patrick Gansterer  <paroga@webkit.org>
3428
3429         Remove dependency on CoreFoundation from WebIconDatabase
3430         https://bugs.webkit.org/show_bug.cgi?id=119387
3431
3432         Reviewed by Brent Fulgham.
3433
3434         * COMVariantSetter.h:
3435         (COMVariant::operator&):
3436         (COMVariant::operator->):
3437         * WebIconDatabase.cpp:
3438         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
3439         (postDidAddIconNotification):
3440         * WebIconDatabase.h:
3441         * WebView.cpp:
3442         (WebView::notifyDidAddIcon):
3443
3444 2013-09-11  Brent Fulgham  <bfulgham@apple.com>
3445
3446         [Windows] Avoid converting from IntSize->SIZE->IntSize
3447         https://bugs.webkit.org/show_bug.cgi?id=121180
3448
3449         Reviewed by Anders Carlsson.
3450
3451         * WebIconDatabase.cpp:
3452         (WebIconDatabase::iconForURL): Guard against null SIZE argument.
3453         This was dereferenced with checking before! Use IntSize arguments.
3454         (WebIconDatabase::defaultIconWithSize): Used passed-in IntSize.
3455         (createDIB): Take an IntSize argument.
3456         (WebIconDatabase::getOrCreateSharedBitmap): Take IntSize argument.
3457         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto.
3458         * WebIconDatabase.h: Update for IntSize arguments.
3459         * WebView.cpp:
3460         (WebView::dispatchDidReceiveIconFromWebFrame): Pass address of
3461         IntSize directly, rather than casting to SIZE first.
3462
3463 2013-09-11  Brent Fulgham  <bfulgham@apple.com>
3464
3465         [Windows] Unreviewed build correction after r155507.
3466
3467         * WebCoreSupport/WebChromeClient.cpp: Add missing header include
3468         to define isHTMLVideoElement.
3469
3470 2013-09-11  peavo@outlook.com  <peavo@outlook.com>
3471
3472         [Win] Compile error when VIDEO is not enabled.
3473         https://bugs.webkit.org/show_bug.cgi?id=121156
3474
3475         Reviewed by Andreas Kling.
3476
3477         * WebView.cpp:
3478         (WebView::enterFullscreenForNode): Protect isHTMLVideoElement() function with ENABLE(VIDEO) guard.
3479
3480 2013-09-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3481
3482         Generate more HTML type checks and casting
3483         https://bugs.webkit.org/show_bug.cgi?id=121080
3484
3485         Reviewed by Andreas Kling.
3486
3487         Clean-up remained functions of HTML elements using auto-generated isFooElement(),
3488         and replace toFooElement() with ELEMENT_TYPE_CASTS() macro.
3489
3490         Besides this patch clean-up unnecessary checks which are being supported by
3491         auto-generated isFooElement().
3492
3493         * WebCoreSupport/WebChromeClient.cpp:
3494         (WebChromeClient::supportsFullscreenForNode):
3495         * WebView.cpp:
3496         (WebView::enterFullscreenForNode):
3497
3498 2013-09-10  Brent Fulgham  <bfulgham@apple.com>
3499
3500         [Windows] Create SharedGDIObject Class Template
3501         https://bugs.webkit.org/show_bug.cgi?id=121037
3502
3503         Reviewed by Anders Carlsson.
3504
3505         * WebView.cpp: Change implementations to use the new SharedGDIObject
3506         class.
3507         (WebView::addToDirtyRegion):
3508         (WebView::scrollBackingStore):
3509         (WebView::updateBackingStore):
3510         (WebView::performLayeredWindowUpdate):
3511         (WebView::paint):
3512         (WebView::backingStore):
3513         * WebView.h: Ditto.
3514
3515 2013-09-09  Brent Fulgham  <bfulgham@apple.com>
3516
3517         [Windows] Change from using OwnPtr<GDI Stuff> to new GDIObject template.
3518         https://bugs.webkit.org/show_bug.cgi?id=120778
3519
3520         Reviewed by Anders Carlsson.
3521
3522         * FullscreenVideoController.cpp:
3523         (FullscreenVideoController::createHUDWindow): Switch to GDIObject.
3524         (FullscreenVideoController::draw): Ditto.
3525         * FullscreenVideoController.h:
3526         * WebCoreSupport/EmbeddedWidget.cpp:
3527         (EmbeddedWidget::frameRectsChanged): Switch to GDIObject.
3528         * WebNodeHighlight.cpp:
3529         (WebNodeHighlight::update): Switch to GDIObject.
3530         * WebView.cpp:
3531         (WebView::scrollBackingStore): Switch to GDIObject.
3532         (WebView::updateBackingStore): Ditto.
3533         (WebView::performLayeredWindowUpdate): Ditto.
3534         (WebView::paint): Ditto.
3535         (WebView::paintIntoBackingStore): Ditto.
3536         (WebView::paintIntoWindow): Ditto.
3537         (WebView::generateSelectionImage): Ditto.
3538
3539 2013-09-05  Roger Fong  <roger_fong@apple.com>
3540
3541         [Windows] Implement text offset methods of IAccessibleText interface.
3542         https://bugs.webkit.org/show_bug.cgi?id=120820.
3543         <rdar://problem/14925242>
3544
3545         Reviewed by Brenet Fulgham.
3546
3547         * AccessibleTextImpl.cpp:
3548         (AccessibleText::get_textBeforeOffset):
3549         (AccessibleText::get_textAfterOffset):
3550         (AccessibleText::get_textAtOffset):
3551         (AccessibleText::isInRange):
3552         * AccessibleTextImpl.h:
3553
3554 2013-08-30  Andreas Kling  <akling@apple.com>
3555
3556         Windows build fix for Document& Node::document().
3557
3558         * DOMCoreClasses.cpp:
3559         (DOMNode::createInstance):
3560
3561 2013-08-28  Brent Fulgham  <bfulgham@apple.com>
3562
3563         [Windows] LayoutTests on Windows debug fails and exits early
3564         https://bugs.webkit.org/show_bug.cgi?id=120438
3565
3566         Reviewed by Tim Horton.
3567
3568         Visual Studio mishandles char* containing utf8-content. Must manually
3569         escape non-ASCII characters so the byte stream is correct for localized
3570         string lookup.
3571
3572         * WebCoreSupport/WebFrameLoaderClient.cpp:
3573         (WebFrameLoaderClient::cannotShowURLError): Replace unicode apostrophe
3574         character with utf8-byte equivalent.
3575         (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto.
3576         (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto.
3577
3578 2013-08-28  Brent Fulgham  <bfulgham@apple.com>
3579
3580         [Windows] Provide useful error messages for WebKitErrorDomain errors
3581         https://bugs.webkit.org/show_bug.cgi?id=120428
3582
3583         Reviewed by Anders Carlsson.
3584
3585         * WebCoreSupport/WebFrameLoaderClient.cpp:
3586         (WebFrameLoaderClient::cancelledError): Provide text for this error.
3587         (WebFrameLoaderClient::blockedError): Hook up WEB_UI_STRING for this error.
3588         (WebFrameLoaderClient::cannotShowURLError): Ditto
3589         (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto
3590         (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto
3591         (WebFrameLoaderClient::fileDoesNotExistError): Provide text for this error.
3592         (WebFrameLoaderClient::pluginWillHandleLoadError): Hook up WEB_UI_STRING for this error.
3593         (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto.
3594         (WebFrameLoaderClient::createJavaAppletWidget): Ditto.
3595         (WebFrameLoaderClient::webHistory): Remove blank line above method.
3596
3597 2013-08-27  Brent Fulgham  <bfulgham@apple.com>
3598
3599         [Windows] Loader is not properly determining supported MIME types
3600         https://bugs.webkit.org/show_bug.cgi?id=120383
3601
3602         Reviewed by Eric Carlson.
3603
3604         * WebCoreSupport/WebFrameLoaderClient.cpp:
3605         (WebFrameLoaderClient::canShowMIMEType): Modify to ask WebView if it can
3606         display the media type. Use new helper function to avoid converting a String
3607         to BSTR, only to immediatly be converted from BSTR back to String.
3608         (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto.
3609         * WebView.cpp:
3610         (WebView::canShowMIMEType): Move logic to a new (similarly named) helper function.
3611         (WebView::canShowMIMETy