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