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