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