WebCore:
[WebKit-https.git] / WebKit / win / ChangeLog
1 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
2
3         Build fix.
4
5         * WebKit.vcproj/build-generated-files.sh:
6
7 2007-11-26  Anders Carlsson  <andersca@apple.com>
8
9         Reviewed by Adam.
10
11         Add an implementation of IWebSecurityOrigin and a partially stubbed out
12         implementation of IWebDatabaseManager.
13         
14         * ForEachCoClass.h:
15         * Interfaces/IWebDatabaseManager.idl:
16         * Interfaces/WebKit.idl:
17         * WebDatabaseManager.cpp:
18         (WebDatabaseManager::createInstance):
19         (WebDatabaseManager::WebDatabaseManager):
20         (WebDatabaseManager::~WebDatabaseManager):
21         (WebDatabaseManager::QueryInterface):
22         (WebDatabaseManager::AddRef):
23         (WebDatabaseManager::Release):
24         (WebDatabaseManager::sharedWebDatabaseManager):
25         (WebDatabaseManager::origins):
26         (WebDatabaseManager::databasesWithOrigin):
27         (WebDatabaseManager::detailsForDatabaseWithOrigin):
28         (WebDatabaseManager::deleteAllDatabases):
29         (WebDatabaseManager::deleteDatabasesWithOrigin):
30         (WebDatabaseManager::deleteDatabaseWithOrigin):
31         * WebDatabaseManager.h:
32         * WebKit.vcproj/WebKit.vcproj:
33         * WebKitClassFactory.cpp:
34         * WebSecurityOrigin.cpp: Added.
35         (WebSecurityOrigin::createInstance):
36         (WebSecurityOrigin::WebSecurityOrigin):
37         (WebSecurityOrigin::~WebSecurityOrigin):
38         (WebSecurityOrigin::QueryInterface):
39         (WebSecurityOrigin::AddRef):
40         (WebSecurityOrigin::Release):
41         (WebSecurityOrigin::protocol):
42         (WebSecurityOrigin::domain):
43         (WebSecurityOrigin::port):
44         (WebSecurityOrigin::usage):
45         (WebSecurityOrigin::quota):
46         (WebSecurityOrigin::setQuota):
47         * WebSecurityOrigin.h: Added.
48
49 2007-11-26  Kevin McCullough  <kmccullough@apple.com>
50
51         Reviewed by Maciej.
52
53         - Implemented displaying variables for Drosera on Win.
54
55         * Interfaces/IWebScriptCallFrame.idl: Added a local function to be
56         able to access the WebScriptCallFrame.
57         * Interfaces/IWebScriptScope.idl: Implemented.
58         * Interfaces/WebKit.idl: Added WebScriptScope to the tlb.
59         * WebKit.vcproj/Interfaces.vcproj: 
60         * WebScriptCallFrame.cpp: Implemented the helper and accessor methods.
61         (EnumScopes::Next): Fixed a bug where we did not release correctly and
62         would accidentally destroy scopes.
63         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
64         Implemented.
65         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Implemented
66         * WebScriptCallFrame.h: Implemented the helper and accessor methods.
67         (WebScriptCallFrame::impl):
68         (WebScriptCallFrame::state):
69         * WebScriptScope.cpp: Implmented.
70         (EnumVariables::EnumVariables): Created an IEnumVariant over the
71         variables to be able to pass a DCOM acceptable structure back to
72         Drosera.
73         (EnumVariables::createInstance):
74         (EnumVariables::QueryInterface):
75         (EnumVariables::AddRef):
76         (EnumVariables::Release):
77         (EnumVariables::Next):
78         (EnumVariables::Skip):
79         (EnumVariables::Reset):
80         (EnumVariables::Clone):
81         (WebScriptScope::WebScriptScope):
82         (WebScriptScope::createInstance): Implemented.
83         (WebScriptScope::variableNames): Implemented.
84         (WebScriptScope::valueForVariable):
85         * WebScriptScope.h: Implmeneted.
86
87 2007-11-26  Anders Carlsson  <andersca@apple.com>
88
89         Reviewed by Brady.
90
91         Add IWebDatabaseManager and IWebSecurityOrigin interfaces.
92         
93         * Interfaces/IWebDatabaseManager.idl: Added.
94         * Interfaces/IWebSecurityOrigin.idl: Added.
95         * WebKit.vcproj/Interfaces.vcproj:
96         * WebKit.vcproj/WebKitGUID.vcproj:
97
98 2007-11-26  Alice Liu  <alice.liu@apple.com>
99
100         Reviewed by Jon Honeycutt.
101
102         Fall back to the default Policy Delegate in these functions, 
103         as is already done in dispatchDecidePolicyForNavigationAction
104
105         * WebFrame.cpp:
106         (WebFrame::dispatchDecidePolicyForMIMEType):
107         (WebFrame::dispatchDecidePolicyForNewWindowAction):
108         (WebFrame::dispatchUnableToImplementPolicy):
109
110 2007-11-25  Adam Roben  <aroben@apple.com>
111
112         Fix a leak pointed out by Alexey
113
114         * WebView.cpp:
115         (getUpdateRects): Use a Vector<unsigned char>, since OwnPtr doesn't
116         know to call delete[].
117
118 2007-11-25  Adam Roben  <aroben@apple.com>
119
120         Fix Bug 16138: Reduce code duplication in WebView.cpp
121
122         http://bugs.webkit.org/show_bug.cgi?id=16138
123
124         Reviewed by Sam.
125
126         * WebView.cpp:
127         (getUpdateRects): Factored code out of updateBackingStore and paint
128         into this new helper function.
129         (WebView::updateBackingStore): Use getUpdateRects.
130         (WebView::paint): Ditto.
131         (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
132         (WebView::paintIntoWindow): Ditto.
133         * WebView.h:
134
135 2007-11-25  Adam Roben  <aroben@apple.com>
136
137         Add ImageDiff.vcproj to WebKit.sln
138
139         Reviewed by Sam.
140
141         * WebKit.vcproj/WebKit.sln:
142
143 2007-11-17  Timothy Hatcher  <timothy@apple.com>
144
145         Reviewed by Mark Rowe.
146
147         Bug 13470: i18n: The Web Inspector is not localizable
148         http://bugs.webkit.org/show_bug.cgi?id=13470
149
150         * English.lproj/Localizable.strings: Updated.
151         * WebInspectorClient.cpp:
152         (WebInspectorClient::localizedStringsURL): Empty stub.
153         * WebInspectorClient.h: Added localizedStringsURL.
154
155 2007-11-17  Alexey Proskuryakov  <ap@webkit.org>
156
157         Windows build fix.
158
159         * WebView.cpp:
160         (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
161
162 2007-11-14  Adam Roben  <aroben@apple.com>
163
164         Change Interfaces to be a "Static Library" project
165
166         Being a Utility project meant that Interfaces was rebuilding every
167         time (Utility projects are supposed to handle their own dependencies).
168         Interfaces isn't really a static library, but it means that VS will
169         handle dependencies for us (and not complain about missing manifests
170         like it did when the project was an Application).
171
172         * WebKit.vcproj/Interfaces.vcproj:
173
174 2007-11-14  Adam Roben  <aroben@apple.com>
175
176         Shut up FixMIDLHeaders.pl
177
178         * WebKit.vcproj/FixMIDLHeaders.pl:
179
180 2007-11-14  Adam Roben  <aroben@apple.com>
181
182         Change Interfaces to use a Utility configuration
183
184         It had previously been marked as an "Application (.exe)", which is
185         wrong but worked with most versions of Visual Studio.
186
187         Rubberstamped by Steve.
188
189         * WebKit.vcproj/Interfaces.vcproj:
190
191 2007-11-14  Anders Carlsson  <andersca@apple.com>
192
193         Reviewed by Adam.
194
195         Get the new focus window from the wParam instead of calling GetFocus().
196         Also, send blur even if there is no focused frame.
197                
198         * WebView.cpp:
199         (WebViewWndProc):
200
201 2007-11-14  Adam Roben  <aroben@apple.com>
202
203         Another build fix for systems without Cygwin in their PATH
204
205         * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
206         Post-Build Event.
207
208 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
209
210         Reviewed by Adam.
211
212         - Make Drosera show source, source URLs, and function stack on Windows
213         and some minor fixes.
214
215         * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
216         properly before being returned, and changed functionName() to check for
217         Null or if the name is empty.
218         (EnumScopes::Clone):
219         (WebScriptCallFrame::WebScriptCallFrame):
220         (WebScriptCallFrame::createInstance):
221         (WebScriptCallFrame::caller):
222         (WebScriptCallFrame::functionName):
223         * WebScriptCallFrame.h: Ditto
224         * WebScriptDebugServer.cpp: Made the listenerSet static since we were
225         already treating it as if it were. Removed the EnumViews stuff.  This
226         was added by Steve to demonstrate DCOM and he thought it would be needed
227         by Drosera, but I don't believe it will be.
228         Implemented suspendProcessIfPaused() also added calls to it at the end
229         of several functions to ensure we pause if Drosera has told WebKit to.
230         (WebScriptDebugServer::WebScriptDebugServer):
231         (WebScriptDebugServer::sharedWebScriptDebugServer):
232         (WebScriptDebugServer::addListener):
233         (WebScriptDebugServer::removeListener):
234         (WebScriptDebugServer::suspendProcessIfPaused):
235         (WebScriptDebugServer::didLoadMainResourceForDataSource):
236         (WebScriptDebugServer::didParseSource):
237         (WebScriptDebugServer::failedToParseSource):
238         (WebScriptDebugServer::didEnterCallFrame):
239         (WebScriptDebugServer::willExecuteStatement):
240         (WebScriptDebugServer::willLeaveCallFrame):
241         (WebScriptDebugServer::exceptionWasRaised):
242         * WebScriptDebugServer.h: Ditto.
243         * WebScriptDebugger.cpp: The important change here is that leaveFrame()
244         is called before willLeaveCallFrame().  I think there is some EOL stuff
245         going on too.
246         - It was the implementing of these functions that allows source, the
247         source URLs and function stack to be displayed.
248         (WebScriptDebugger::callEvent):
249         (WebScriptDebugger::atStatement):
250         (WebScriptDebugger::returnEvent):
251         (WebScriptDebugger::exception):
252         (WebScriptDebugger::enterFrame):
253         (WebScriptDebugger::leaveFrame):
254         * WebView.cpp: Removed the EnumView functions.
255         (WebView::WebView):
256         (WebView::~WebView):
257
258 2007-11-13  Adam Roben  <aroben@apple.com>
259
260         Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
261
262         The bug was that multiple WebNodeHighlights would subclass the same
263         browser window, leading to infinite recursion within
264         SubclassedWndProc.
265
266         WebNodeHighlight is now a WindowMessageListener, and lets
267         WindowMessageBroadcaster handle subclassing the window.
268
269         Reviewed by Ada.
270
271         * WebNodeHighlight.cpp:
272         (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
273         member.
274         (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
275         m_observedWindow.
276         (WebNodeHighlight::highlight): Register as a listener.
277         (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
278         done in SubclassedWndProc.
279         * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
280         and renamed m_subclassedWindow to m_observedWindow.
281
282 2007-11-13  Adam Roben  <aroben@apple.com>
283
284         Build fix for systems that don't have Cygwin in their PATH
285
286         * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
287         trying to run bash.
288
289 2007-11-13  Steve Falkenburg  <sfalken@apple.com>
290
291         Add IDOMElementPrivate::font() to get an element's font
292         as a WebFontDescription.
293         
294         Reviewed by Darin.
295
296         * DOMCoreClasses.cpp:
297         (DOMElement::font):
298         * DOMCoreClasses.h:
299         * Interfaces/DOMPrivate.idl:
300
301 2007-11-12  Adam Roben  <aroben@apple.com>
302
303         Windows build fix
304
305         * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
306         * WebKit.vcproj/WebKit_debug.def: Ditto.
307
308 2007-11-09  Jon Honeycutt  <jhoneycutt@apple.com>
309
310         Reviewed by Sam.
311
312         <rdar://5585900>: Safari crashes when selected in context menu to open
313         audio format files (au, aif) with QT 7.3
314
315         The crash occurred on a machine where QT 7.3 was failing to initialize.
316         The fix is to avoid sending streams to full-page plugins that've failed 
317         to load
318
319         * WebFrame.cpp:
320         (WebFrame::finishedLoading): Check plugin status before calling manual
321         stream methods
322         (WebFrame::setMainDocumentError): Same
323         (WebFrame::committedLoad): Same
324
325 2007-11-09  Sam Weinig  <sam@webkit.org>
326
327         Rubber stamped by Oliver.
328
329         Make WebCore a dependency of Interfaces.
330
331         * WebKit.vcproj/WebKit.sln:
332
333 2007-11-04  Sam Weinig  <sam@webkit.org>
334
335         Reviewed by Adam Roben.
336
337         <rdar://problem/5435940>
338         The COM bindings for the DOM should be autogenerated like the other DOM bindings
339
340         Initial commit of the autogeneration of the COM DOM Bindings.  No behavior change
341         is being introduced in this patch and to insure that no conflicts arise, a temporary
342         prefix of "GEN_" has been used for all the new classes.
343
344         The build architecture for these bindings differs slightly from the other autogenerated
345         bindings.  Instead of building in WebCore and migrating the resuting code to WebKit (as
346         is done for the Objective-C bindigs currently), the IDLs and generation scripts are
347         migrated to WebKit and built there.  This is done with a series of scripts and Makefiles.
348
349         This commit includes:
350             - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
351               and ref-counting.
352             - Generating all of the Core DOM and most of HTML and CSS
353             - Generating Event, EventTarget, and EventListener
354
355         * DOMCreateInstance.cpp: Added.
356         (domWrapperCache):
357         (getDOMWrapper):
358         (setDOMWrapper):
359         (removeDOMWrapper):
360         (GEN_DOMNode::createInstance):
361         (GEN_DOMImplementation::createInstance):
362         (GEN_DOMCSSRule::createInstance):
363         (GEN_DOMStyleSheet::createInstance):
364         (GEN_DOMCSSValue::createInstance):
365         * DOMCreateInstance.h: Added.
366         Temporary location for createInstance/object caching methods.  This will be broken up
367         into seperate files in the near future.
368
369         * GEN_DOMObject.cpp: Added.
370         (GEN_DOMObject::GEN_DOMObject):
371         (GEN_DOMObject::~GEN_DOMObject):
372         (GEN_DOMObject::QueryInterface):
373         (GEN_DOMObject::AddRef):
374         (GEN_DOMObject::Release):
375         * GEN_DOMObject.h: Added.
376         Hand rolled base class.
377
378         * Interfaces/IGEN_DOMObject.idl: Added. 
379         Hand rolled base interface.
380
381         * WebKit.vcproj/DerivedSources.make: Added.
382         * WebKit.vcproj/FixMIDLHeaders.pl: Added.
383         This script is required because MIDL is producing un-buildable code due to
384         circular dependencies.
385
386         * WebKit.vcproj/Interfaces.vcproj:
387         * WebKit.vcproj/WebKit.vcproj:
388         * WebKit.vcproj/WebKitGUID.vcproj:
389         * WebKit.vcproj/build-generated-files.sh: Added.
390
391 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
392
393         Reviewed by Adam.
394
395         - This patch does two main things.
396         1) It adds pragma warning guards around WebCore includes in WebKit files
397         that were previously overlooked.
398         2) It implements almost the entireity of WebScriptDebugger.  Only one
399         function remains and that implementation is dependent on finishing the
400         implementation of WebScriptScope.
401
402         * WebScriptCallFrame.h:
403         * WebScriptDebugServer.h:
404         * WebScriptDebugger.cpp:
405         (WebScriptDebugger::WebScriptDebugger):
406         (WebScriptDebugger::sourceParsed):
407         (WebScriptDebugger::callEvent):
408         (WebScriptDebugger::atStatement):
409         (WebScriptDebugger::returnEvent):
410         (WebScriptDebugger::exception):
411         (WebScriptDebugger::enterFrame):
412         (WebScriptDebugger::leaveFrame):
413         * WebScriptDebugger.h:
414
415 2007-11-08  Steve Falkenburg  <sfalken@apple.com>
416
417         <rdar://problem/5491463> Wrong dates shown in History menu.
418         
419         Fix off-by-one error in Windows epoch.
420         
421         For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
422         DATE is the number of days since 12/30/1899.
423         
424         Reviewed by Ada.
425
426         * MarshallingHelpers.cpp:
427         (MarshallingHelpers::windowsEpochAbsoluteTime):
428
429 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
430
431         Reviewed by Sam.
432
433         - With this change Drosera can now get the source of a website and the
434         listings of the sources it gets.  This also lays the foundation for
435         letting Drosera show the scope chain of the JavaScript stack.
436
437         * Interfaces/IWebFrame.idl: Changed the signature of the local function,
438         globalContext(), because COM was unable to marshal this object with the
439         other signature.
440         * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
441         a listener cannot be done in a const function.
442         * WebChromeClient.h: Added accessor to the WebView for the new added
443         kit() function in WebFrame.
444         (WebChromeClient::webView):
445         * WebFrame.cpp: Added a script debugger object and the necessary
446         functions to attach and communicate with it. Also needed to change the
447         local function, globalContext(), because of a COM issue.
448         (kit):
449         (WebFrame::WebFrame):
450         (WebFrame::globalContext):
451         (WebFrame::loadData):
452         (WebFrame::attachScriptDebugger):
453         (WebFrame::detachScriptDebugger):
454         (WebFrame::dispatchDidLoadMainResource):
455         (WebFrame::windowObjectCleared):
456         * WebFrame.h: Ditto.
457         * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
458         some source code to display.
459         (WebHTMLRepresentation::WebHTMLRepresentation):
460         (WebHTMLRepresentation::documentSource):
461         * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
462         * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
463         (EnumScopes::EnumScopes): Made an EnumScopes class to create an
464         IEnumVARIANT to wrap a ScopeChain for Drosera.
465         (EnumScopes::QueryInterface):
466         (EnumScopes::AddRef):
467         (EnumScopes::Release):
468         (EnumScopes::Next):
469         (EnumScopes::Skip):
470         (EnumScopes::Reset):
471         (EnumScopes::Clone):
472         (WebScriptCallFrame::caller):
473         (WebScriptCallFrame::scopeChain):
474         (WebScriptCallFrame::functionName):
475         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
476         * WebScriptCallFrame.h: Added member data needed for the above functions
477         * WebScriptDebugServer.cpp: Began implementing. 
478         (WebScriptDebugServer::listenerCount):
479         (EnumViews::QueryInterface):
480         (EnumViews::AddRef):
481         (EnumViews::Release):
482         (EnumViews::Next):
483         (EnumViews::Skip):
484         (EnumViews::Reset):
485         (EnumViews::Clone):
486         (WebScriptDebugServer::WebScriptDebugServer):
487         (WebScriptDebugServer::createInstance):
488         (WebScriptDebugServer::sharedWebScriptDebugServer):
489         (WebScriptDebugServer::AddRef):
490         (WebScriptDebugServer::Release):
491         (WebScriptDebugServer::addListener):
492         (WebScriptDebugServer::removeListener):
493         (WebScriptDebugServer::step):
494         (WebScriptDebugServer::pause):
495         (WebScriptDebugServer::resume):
496         (WebScriptDebugServer::isPaused):
497         (WebScriptDebugServer::suspendProcessIfPaused):
498         (WebScriptDebugServer::didLoadMainResourceForDataSource):
499         (WebScriptDebugServer::didParseSource):
500         (WebScriptDebugServer::failedToParseSource):
501         (WebScriptDebugServer::didEnterCallFrame):
502         (WebScriptDebugServer::willExecuteStatement):
503         (WebScriptDebugServer::willLeaveCallFrame):
504         (WebScriptDebugServer::exceptionWasRaised):
505         * WebScriptDebugServer.h: Began implementing.
506         * WebScriptDebugger.cpp: Added.
507         (WebScriptDebugger::WebScriptDebugger):
508         (WebScriptDebugger::sourceParsed):
509         * WebScriptDebugger.h: Added.
510         * WebScriptScope.cpp: Make this class use createInstance which is more
511         in line with our guidelines.
512         (WebScriptScope::WebScriptScope):
513         (WebScriptScope::createInstance):
514         * WebScriptScope.h:
515
516
517 2007-11-07  Darin Adler  <darin@apple.com>
518
519         Reviewed by Steve.
520
521         * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
522         * WebChromeClient.cpp:
523         (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
524         here by calling through the UI delegate.
525         (WebChromeClient::menubarVisible): Ditto.
526         (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
527
528 2007-11-07  Steve Falkenburg  <sfalken@apple.com>
529
530         Added IWebDocumentText available via QI from WebFrame.
531         
532         Reviewed by Sam.
533
534         * WebFrame.cpp:
535         (WebFrame::QueryInterface): Added IID_IWebDocumentText.
536         (WebFrame::supportsTextEncoding): Stubbed out.
537         (WebFrame::selectedString): Implemented.
538         (WebFrame::selectAll): Stubbed out.
539         (WebFrame::deselectAll): Stubbed out.
540         * WebFrame.h:
541
542 2007-11-07  Adam Roben  <aroben@apple.com>
543
544         Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
545
546         Reviewed by Sam.
547
548         * WebView.cpp:
549         (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
550         Page, not just the first one.
551
552 2007-11-06  Adam Roben  <aroben@apple.com>
553
554         Change WebLocalizableStrings to take UTF-8 C strings
555
556         This matches the way things work on the Mac, and will allow source
557         files containing localizable strings to be shared between Mac and
558         Windows. The old functions have not been removed for compatibility
559         reasons, but are now just wrappers around the new UTF-8 functions.
560
561         Reviewed by Ada.
562
563         * WebKit.vcproj/WebKit.def: Added new functions.
564         * WebKit.vcproj/WebKit_debug.def: Ditto.
565         * WebLocalizableStrings.cpp:
566         (copyLocalizedStringFromBundle): Changed to take a WebCore::String
567         representing the key.
568         (localizedString): Refactored from WebLocalizedString. Takes a
569         WebCore::String representing the key.
570         (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
571         (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
572         (WebLocalizedLPCTSTRUTF8): Ditto.
573         (WebLocalizedString): Changed to call localizedString.
574         (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
575         * WebLocalizableStrings.h: Changed macros to use the new UTF-8
576         functions.
577
578 2007-11-06  Darin Adler  <darin@apple.com>
579
580         Reviewed by Adam and Steve.
581
582         - added hooks needed to implement showModalDialog on Windows
583
584         * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
585         and runModal functions to the end of IWebUIDelegate3.
586
587         * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
588         so it's easier to write client functions.
589         * WebChromeClient.cpp:
590         (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
591         (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
592         (WebChromeClient::runModal): Ditto.
593         (WebChromeClient::uiDelegate): Added.
594         (WebChromeClient::uiDelegate2): Added.
595         (WebChromeClient::uiDelegate3): Added.
596
597 2007-11-06  Alexey Proskuryakov  <ap@webkit.org>
598
599         Rubber-stamped by Adam Roben.
600
601         Windows build fix.
602
603         * WebFrame.cpp:
604         (WebFrame::string): plainText() returns a String now.
605
606 2007-11-05  Ada Chan  <adachan@apple.com>
607
608         <rdar://problem/5579772> Regression: AltGr does not work
609         Testing whether alt-key is down is not the right test for system key event.
610         Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
611         this is a system key event, check that flag instead in handleEditingKeyboardEvent().
612
613         Reviewed by Oliver.
614
615         * WebView.cpp:
616         (WebView::keyUp):
617         (WebView::handleEditingKeyboardEvent):
618         (WebView::keyDown):
619         (WebViewWndProc):
620         * WebView.h:
621
622 2007-11-05  Ada Chan  <adachan@apple.com>
623
624         Build fix.
625
626         Reviewed by Tristan.
627
628         * WebChromeClient.h:
629
630 2007-11-05  Tristan O'Tierney  <tristan@apple.com>
631
632         Reviewed by Darin Adler.
633         
634         Part of the WebKit/WebCore API changes for
635         <rdar://problem/5368188>
636
637         * WebChromeClient.cpp:
638         (WebChromeClient::createWindow):
639         Removed usage of createModalDialog and revised to use new createWindow
640         ChromeClient API.
641
642 2007-11-04  Adam Roben  <aroben@apple.com>
643
644         Add IWebCache::disabled
645
646         This matches the Mac WebCache class.
647
648         Reviewed by Sam.
649
650         * Interfaces/IWebCache.idl:
651         * WebCache.cpp:
652         (WebCache::disabled):
653         * WebCache.h:
654
655 2007-11-04  Adam Roben  <aroben@apple.com>
656
657         Add IWebInspector and a way to get one from a WebView
658
659         This API matches the Mac one added in r27266.
660
661         Reviewed by Sam.
662
663         * Interfaces/IWebInspector.idl: Added.
664         * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
665         match Mac.
666         * WebInspector.cpp: Added.
667         (WebInspector::createInstance):
668         (WebInspector::WebInspector):
669         (WebInspector::~WebInspector):
670         (WebInspector::webViewClosed):
671         (WebInspector::QueryInterface):
672         (WebInspector::AddRef):
673         (WebInspector::Release):
674         (WebInspector::show):
675         (WebInspector::showConsole):
676         (WebInspector::showTimeline):
677         (WebInspector::close):
678         (WebInspector::attach):
679         (WebInspector::detach):
680         * WebInspector.h: Added.
681         * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
682         * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
683         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
684         * WebView.cpp:
685         (WebView::close): Notify the WebInspector that we're closing.
686         (WebView::inspector): Added.
687         * WebView.h:
688
689 2007-11-04  Adam Roben  <aroben@apple.com>
690
691         Cache strings that come directly from WebLocalizedString
692
693         Reviewed by Steve.
694
695         * WebLocalizableStrings.cpp:
696         (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
697         but is now just a static helper function.
698         (findCachedStringInMap): Added static helper.
699         (findCachedString): Refactored and cleaned up code from
700         WebLocalizedLPCTSTR.
701         (cacheString): Ditto.
702         (WebLocalizedString): Rewrote to use the new helper functions.
703         (WebLocalizedLPCTSTR): Changed to use the new helper functions.
704
705 2007-11-03  Adam Roben  <aroben@apple.com>
706
707         Only override the default user agent string if we're actually given a custom one
708
709         Reviewed by Sam.
710
711         * WebView.cpp:
712         (WebView::setCustomUserAgent):
713
714 2007-11-01  Oliver Hunt  <oliver@apple.com>
715
716         Reviewed by Alexey.
717
718         Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
719
720         * WebView.cpp:
721         (WebView::keyDown):
722         (WebView::keyUp):
723
724 2007-11-01  Kevin McCullough  <kmccullough@apple.com>
725
726         - Fixed a build failure
727
728         * WebEditorClient.cpp:
729         (WebEditorClient::textWillBeDeletedInTextField):
730
731 2007-11-01  Adam Roben  <aroben@apple.com>
732
733         Fix the parameter type of WebLocalizedString to match the UI_STRING macro
734
735         Reviewed by Sam.
736
737         * WebLocalizableStrings.cpp:
738         (WebLocalizedString):
739         (WebLocalizedLPCTSTR):
740         * WebLocalizableStrings.h:
741
742 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
743
744         Rubber-stamped by Adam Roben.
745
746         Rolled out r27326 - debug CRT seems to cause no problems after all.
747
748         * WebKit.vcproj/WebKit.vcproj:
749
750 2007-10-31  Adam Roben  <aroben@apple.com>
751
752         Switch the Debug configuration to using the non-debug CRT
753
754         The debug CRT conflicts with what Safari uses, which causes loading
755         problems.
756
757         Reviewed by Steve.
758
759         * WebKit.vcproj/WebKit.vcproj:
760
761 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
762
763         Reviewed by Adam and Geoff.
764
765         - Added the globalContext method so Drosera can ask a WebFrame for its
766         context.
767
768         * Interfaces/IWebFrame.idl:
769         * WebFrame.cpp:
770         * WebFrame.h:
771
772 2007-10-30  Adele Peterson  <adele@apple.com>
773
774         Reviewed by Darin.
775
776         WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
777         <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
778
779         * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
780
781 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
782
783         Reviewed by Adam and Maciej.
784
785         - Added the IWebScriptScope interface which is used by Drosera to get
786         information and run contextually significant code with respect to the
787         current JS stack frame.
788
789         * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
790         but the real changes were to change the return type of scopeChain() and
791         the return type and name of evaluateWebScript() to
792         stringByEvaluatingJavaScriptFromString().
793         * Interfaces/IWebScriptScope.idl: Added.
794         * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
795         * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
796         * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
797         * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
798         asserted so it would be obvious if I accidentally try to use one of
799         these functions before it's implemented.
800         (WebScriptCallFrame::caller):
801         (WebScriptCallFrame::scopeChain):
802         (WebScriptCallFrame::functionName):
803         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
804         * WebScriptCallFrame.h: Changed the return types mentioned above.
805         * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
806         (WebScriptDebugServer::addListener):
807         (WebScriptDebugServer::removeListener):
808         (WebScriptDebugServer::step):
809         (WebScriptDebugServer::pause):
810         (WebScriptDebugServer::resume):
811         (WebScriptDebugServer::isPaused):
812         * WebScriptScope.cpp: Added.
813         (WebScriptScope::WebScriptScope):
814         (WebScriptScope::~WebScriptScope):
815         (WebScriptScope::QueryInterface):
816         (WebScriptScope::AddRef):
817         (WebScriptScope::Release):
818         (WebScriptScope::getVariableNames):
819         (WebScriptScope::getValueForVariable):
820         * WebScriptScope.h: Added.
821
822 2007-10-28  Darin Adler  <darin@apple.com>
823
824         - try to fix Windows build
825
826         * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
827         since we don't want to add !! everywhere, and because HashTable.h has a
828         conversion to bool of this type now.
829
830 2007-10-27  Kevin McCullough  <kmccullough@apple.com>
831
832         Reviewed by Adam.
833
834         - Stubbed out IWebScriptCallFrame for Drosera.
835
836         * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
837         * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
838         * WebScriptCallFrame.cpp: Added.
839         (WebScriptCallFrame::WebScriptCallFrame):
840         (WebScriptCallFrame::~WebScriptCallFrame):
841         (WebScriptCallFrame::createInstance):
842         (WebScriptCallFrame::QueryInterface):
843         (WebScriptCallFrame::AddRef):
844         (WebScriptCallFrame::Release):
845         (WebScriptCallFrame::caller):
846         (WebScriptCallFrame::scopeChain):
847         (WebScriptCallFrame::functionName):
848         (WebScriptCallFrame::evaluateWebScript):
849         * WebScriptCallFrame.h: Added.
850
851 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
852
853         Reviewed by Sam and Steve.
854
855         - Added convenience methods for converting between BSTR and JSSTringRefs
856         - Added WebKit_debug.def to the project.
857
858         * WebKit.vcproj/WebKit.def:
859         * WebKit.vcproj/WebKit.vcproj:
860         * WebKit.vcproj/WebKit_debug.def:
861
862 2007-10-25  Sam Weinig  <sam@webkit.org>
863
864         Reviewed by Adam Roben.
865
866         Make debug builds run again.
867
868         * WebView.cpp:
869         (WebView::notifyPreferencesChanged):
870
871 2007-10-25  Sam Weinig  <sam@webkit.org>
872
873         Reviewed by Adam Roben.
874
875         Remove JSStringRefCFHack.
876
877         * WebKit.vcproj/WebKit.vcproj:
878
879 2007-10-25  Sam Weinig  <sam@webkit.org>
880
881         Reviewed by Steve Falkenburg.
882
883         Fix for <rdar://problem/5463608>
884         Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache) 
885
886         * Interfaces/IWebPreferences.idl: 
887         Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
888
889         * Interfaces/IWebPreferencesPrivate.idl:
890         Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
891      
892         * WebFrame.cpp:
893         (WebFrame::didPerformFirstNavigation):
894         Implement based on the mac version.
895
896         * WebKit.vcproj/WebKit.vcproj:
897         * WebKitSystemBits.cpp: Added.
898         (WebMemorySize): Moved and renamed from WebPreferences.cpp
899         (WebVolumeFreeSize): Added.
900         * WebKitSystemBits.h: Added.
901         * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
902
903         * WebPreferences.cpp:
904         (WebPreferences::sharedStandardPreferences):
905         (WebPreferences::WebPreferences):
906         (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
907         (WebPreferences::webPreferencesChangedNotification):
908         (WebPreferences::webPreferencesRemovedNotification):
909         (WebPreferences::initWithIdentifier): Post a preferences change notification.
910         (WebPreferences::pageCacheSize): Deprecated.
911         (WebPreferences::objectCacheSize): Deprecated.
912         (WebPreferences::cacheModel): Added.
913         (WebPreferences::setCacheModel): Added.
914         (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
915         (WebPreferences::automaticallyDetectsCacheModel): Added.
916         (WebPreferences::willAddToWebView): Added.
917         (WebPreferences::didRemoveFromWebView): Added.
918         * WebPreferences.h:
919
920         * WebView.cpp:
921         (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
922         (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
923         (PreferencesChangedOrRemovedObserver::QueryInterface):
924         (PreferencesChangedOrRemovedObserver::AddRef):
925         (PreferencesChangedOrRemovedObserver::Release):
926         (PreferencesChangedOrRemovedObserver::sharedInstance):
927         (PreferencesChangedOrRemovedObserver::onNotify):
928         (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
929         (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
930         This singleton class updates static properties for all webviews when
931         preferenceChange or preferenceRemoved notifications are fired for
932         any WebPreference.
933         (WebView::WebView):
934         (WebView::~WebView):
935         (initializeStaticObservers):
936         (allWebViewsSet):
937         (WebView::addToAllWebViewsSet):
938         (WebView::removeFromAllWebViewsSet):
939         (WebView::setCacheModel):
940         (WebView::cacheModel):
941         (WebView::didSetCacheModel):
942         (WebView::maxCacheModelInAnyInstance):
943         (WebView::close):
944         (WebViewWndProc):
945         (WebView::developerExtrasEnabled):
946         (WebView::initWithFrame):
947         (WebView::setPreferences):
948         (WebView::preferences):
949         (WebView::onNotify):
950         (WebView::notifyPreferencesChanged):
951         (updateSharedSettingsFromPreferencesIfNeeded):
952         * WebView.h:
953         Match the macs behavior by using explicit postings of notifications to
954         update the preferences.
955
956 2007-10-25  Adam Roben  <aroben@apple.com>
957
958         Update WebKit.sln for the removal of Release dftables
959
960         Reviewed by NOBODY.
961
962         * WebKit.vcproj/WebKit.sln:
963
964 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
965
966         Rubber stamped by Geoff.
967
968         - Stubbed out the WebScriptDebugServer methods to give Drosera something
969         to connect to and now the signature of the interface matches the mac.
970
971         * Interfaces/IWebScriptDebugServer.idl:
972         * WebScriptDebugServer.cpp:
973         (WebScriptDebugServer::addListener):
974         (WebScriptDebugServer::removeListener):
975         (WebScriptDebugServer::step):
976         (WebScriptDebugServer::pause):
977         (WebScriptDebugServer::resume):
978         (WebScriptDebugServer::isPaused):
979         * WebScriptDebugServer.h:
980
981 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
982
983         Reviewed by Darin.
984
985         - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
986         scheme on the mac.
987
988         * Interfaces/IWebDebugProgram.idl: Removed.
989         * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
990         * Interfaces/WebKit.idl: 
991         * WebDebugProgram.cpp: Removed.
992         * WebDebugProgram.h: Removed.
993         * WebKit.vcproj/Interfaces.vcproj:
994         * WebKit.vcproj/WebKit.vcproj:
995         * WebKit.vcproj/WebKitGUID.vcproj:
996         * WebKitClassFactory.cpp:
997         (WebKitClassFactory::CreateInstance):
998         * WebKitDLL.cpp:
999         (RunAsLocalServer):
1000         * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
1001         (WebScriptDebugServer::WebScriptDebugServer):
1002         (WebScriptDebugServer::~WebScriptDebugServer):
1003         (WebScriptDebugServer::createInstance):
1004         (WebScriptDebugServer::QueryInterface):
1005         (WebScriptDebugServer::AddRef):
1006         (WebScriptDebugServer::Release):
1007         (WebScriptDebugServer::viewAdded):
1008         (WebScriptDebugServer::viewRemoved):
1009         (WebScriptDebugServer::attach):
1010         (WebScriptDebugServer::detach):
1011         (WebScriptDebugServer::statistics):
1012         (WebScriptDebugServer::webViews):
1013         * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
1014         * WebView.cpp:
1015         (WebView::WebView):
1016         (WebView::~WebView):
1017
1018 2007-10-24  Adam Roben  <aroben@apple.com>
1019
1020         Fix <rdar://5549919> Initialize the font database before any font code is invoked
1021
1022         We initialize the database in two places:
1023            1. When instantiating WebKitClassFactory, which is guaranteed to
1024            happen before any WebView is instantiated.
1025            2. When making a WebCore::Font in WebKitGraphics.
1026
1027         This ensures that the font database will be populated before any font
1028         code is invoked. We rely on WebCore to only populate the database
1029         once.
1030
1031         Reviewed by Ada.
1032
1033         * WebKitClassFactory.cpp:
1034         (WebKitClassFactory::WebKitClassFactory): Populate the font database.
1035         * WebKitGraphics.cpp:
1036         (makeFont): Ditto.
1037
1038 2007-10-24  Adam Roben  <aroben@apple.com>
1039
1040         Add [I]WebTextRenderer
1041
1042         Right now this class can only be used to add private fonts for use by
1043         the running process, but will eventually be the home of the
1044         WebKitGraphics functions.
1045
1046         Reviewed by Ada.
1047
1048         * ForEachCoClass.h: Added WebTextRenderer.
1049         * Interfaces/WebKit.idl: Ditto.
1050         * WebKit.vcproj/Interfaces.vcproj: Ditto.
1051         * WebKit.vcproj/WebKit.vcproj: Ditto.
1052         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
1053         * WebKitClassFactory.cpp: Ditto.
1054         * WebTextRenderer.cpp: Added.
1055         (WebTextRenderer::createInstance):
1056         (WebTextRenderer::WebTextRenderer):
1057         (WebTextRenderer::~WebTextRenderer):
1058         (WebTextRenderer::QueryInterface):
1059         (WebTextRenderer::AddRef):
1060         (WebTextRenderer::Release):
1061         (WebTextRenderer::registerPrivateFont):
1062         * WebTextRenderer.h: Added.
1063
1064 2007-10-24  Adam Roben  <aroben@apple.com>
1065
1066         Use FOR_EACH_COCLASS in WebKitClassFactory
1067
1068         Reviewed by Ada.
1069
1070         * WebError.cpp:
1071         (WebError::createInstance): Added an overload that takes no arguments
1072         to make the macro used in WebKitClassFactory work.
1073         * WebError.h:
1074         * WebKitClassFactory.cpp:
1075         (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
1076
1077 2007-10-24  Adam Roben  <aroben@apple.com>
1078
1079         Put FOR_EACH_COCLASS macro into its own file and export it
1080
1081         The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
1082         This way we will be able to use the macro in more places that care
1083         about all WebKit's COM classes.
1084
1085         Reviewed by Ada.
1086
1087         * ForEachCoClass.h: Added.
1088         * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
1089         WebKitOutputDir, and added it to the project.
1090         * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
1091         macros we pass to FOR_EACH_COCLASS after we're done with them.
1092
1093 2007-10-24  Ada Chan  <adachan@apple.com>
1094
1095         <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
1096
1097         Reviewed by Adam.
1098
1099         * WebView.cpp:
1100         (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
1101         (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
1102         For WM_SYSCHAR message that we don't handle, let it stay in the queue and return 
1103         false to let windows handle it.
1104
1105 2007-10-24  Brady Eidson  <beidson@apple.com>
1106
1107         Reviewed by Anders
1108
1109         Windows portion of <rdar://5554130> 
1110         
1111         Slowly introduce Windows WebKit portion of the Database API that sets the 
1112         on-disk location for databases
1113         
1114         * WebDatabaseManager.cpp: Added.
1115         (WebKitSetWebDatabasesPathIfNecessary):
1116         * WebDatabaseManager.h: Added.
1117         
1118         * WebKit.vcproj/WebKit.vcproj:
1119         
1120         * WebView.cpp:
1121         (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
1122
1123 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
1124
1125         Reviewed by Sam, Steve and Darin.
1126
1127         - Added stubs for what will be neede to let Drosera attach to the
1128         WebKit process and debug it.
1129
1130         * Interfaces/IWebScriptCallFrame.idl: Added.
1131         * Interfaces/IWebScriptDebugListener.idl: Added.
1132         * Interfaces/WebKit.idl:
1133         * WebKit.vcproj/Interfaces.vcproj:
1134         * WebKit.vcproj/WebKitGUID.vcproj:
1135
1136 2007-10-23  Adam Roben  <aroben@apple.com>
1137
1138         Move safe file creation code to WebCore
1139
1140         Reviewed by Brady.
1141
1142         * WebPreferences.cpp:
1143         (preferencesPath): Made into a static helper function.
1144         (WebPreferences::save): Now calls WebCore's safeCreateFile function.
1145         (WebPreferences::load): Uses String/CString to handle the UTF-8
1146         conversion.
1147         * WebPreferences.h: Removed preferencesPath and
1148         safeCreateFileWithData.
1149
1150 2007-10-23  Adam Roben  <aroben@apple.com>
1151
1152         Reduce code duplication by using WebCore's FileSystem functions
1153
1154         Reviewed by Brady.
1155
1156         * WebIconDatabase.cpp: Removed a now-unused function and a fixed
1157         FIXME.
1158         (WebIconDatabase::init): Changed to use FileSystem functions.
1159         * WebPreferences.cpp:
1160         (WebPreferences::preferencesPath): Ditto.
1161
1162 2007-10-23  Sam Weinig  <sam@webkit.org>
1163
1164         Make the WebNotificationCenter work with null (wildcard) and specific
1165         observed objects, matching NSNotificationCenter.
1166
1167         - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
1168           hash against the notification name only and check the object on notification
1169           posting.
1170         - Use OwnPtr for the WebNotificationCenterPrivate member variable.
1171
1172         Reviewed by Adam Roben.
1173
1174         * WebNotificationCenter.cpp:
1175         (WebNotificationCenter::WebNotificationCenter):
1176         (WebNotificationCenter::~WebNotificationCenter):
1177         (WebNotificationCenter::postNotificationInternal):
1178         (WebNotificationCenter::addObserver):
1179         (WebNotificationCenter::postNotification):
1180         (WebNotificationCenter::postNotificationName):
1181         (WebNotificationCenter::removeObserver):
1182         * WebNotificationCenter.h:
1183
1184 2007-10-23  Ada Chan  <adachan@apple.com>
1185
1186         <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
1187         Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
1188         policy setting on the default cookie storage.  To fix that, I added a new method in
1189         WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
1190         options such as cookie accept policy, and it's only called to update changes from
1191         the shared WebPreferences.
1192         
1193         Use CLSID_WebPreferences and remove IID_WebPreferences.
1194
1195         Reviewed by Darin and Adam.
1196
1197         * WebPreferences.cpp:
1198         (WebPreferences::QueryInterface):
1199         * WebPreferences.h:
1200         * WebView.cpp:
1201         (WebView::updateWebCoreSettingsFromPreferences):
1202         (WebView::updateGlobalSettingsFromPreferences):
1203         (WebView::updateSettingsFromPreferences):
1204         (WebView::developerExtrasEnabled):
1205         (WebView::initWithFrame):
1206         (WebView::onNotify):
1207         * WebView.h:
1208
1209 2007-10-18  Brady Eidson  <beidson@apple.com>
1210
1211         Reviewed by Anders
1212
1213         Keep windows building with new Chrome additions
1214
1215         * WebChromeClient.cpp:
1216         * WebChromeClient.h:
1217
1218 2007-10-18  Adam Roben  <aroben@apple.com>
1219
1220         Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
1221
1222         Reviewed by Adele.
1223
1224         * ProgIDMacros.h: Always use wide strings instead of relying on the
1225         TEXT macro.
1226
1227 2007-10-17  Adam Roben  <aroben@apple.com>
1228
1229         Fix for clean builds needed after r26683
1230
1231         Reviewed by NOBODY.
1232
1233         * WebView.cpp: Remove #include of non-existant file.
1234
1235 2007-10-17  Anders Carlsson  <andersca@apple.com>
1236
1237         Update for locking primitive changes.
1238
1239         * WebIconDatabase.cpp:
1240         (WebIconDatabase::scheduleNotificationDelivery):
1241
1242 2007-10-16  Adam Roben  <aroben@apple.com>
1243
1244         Remove WebKitInitializer
1245
1246         Reviewed by Sam.
1247
1248         * WebKit.vcproj/WebKit.sln:
1249
1250 2007-10-16  Adam Roben  <aroben@apple.com>
1251
1252         Add FindSafari
1253
1254         Reviewed by Darin.
1255
1256         * WebKit.vcproj/WebKit.sln:
1257
1258 2007-10-16  Adam Roben  <aroben@apple.com>
1259
1260         Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
1261
1262         This is needed so that we can stop having Safari delay-load WebKit,
1263         which in turn is needed so that Maciej can land a JavaScript speedup
1264         which breaks delay-loading.
1265
1266         Reviewed by Kevin McCullough.
1267
1268         * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
1269         of our DLL and module definition file.
1270         * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
1271         * WebKit.vcproj/debug_internal.vsprops: Ditto.
1272         * WebKit.vcproj/release.vsprops: Ditto.
1273
1274 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
1275
1276         Reviewed by Ollie.
1277
1278         <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
1279         MediaPlayer for the first time
1280
1281         Failure to setup the stream in PluginView::didReceiveResponse will lead,
1282         in a full-page plugin, to the main document load being cancelled. This
1283         is the case with at least two versions of Windows Media Player, which
1284         cancels the stream and brings up its own "Welcome to Windows Media
1285         Player" dialog.
1286         
1287         As part of the main document load cancellation, m_pluginView is set to
1288         null, and the crash came from dereferencing this pointer. This patch
1289         adds a null check.
1290
1291         * WebFrame.cpp:
1292         (WebFrame::finishedLoading): Fix some typos
1293         (WebFrame::committedLoad): Added a null check
1294
1295 2007-10-15  Alice Liu  <alice.liu@apple.com>
1296
1297         Reviewed by Sam Weinig.
1298
1299         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1300
1301         * DefaultPolicyDelegate.cpp: Added.
1302         Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
1303         (DefaultPolicyDelegate::DefaultPolicyDelegate):
1304         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
1305         (DefaultPolicyDelegate::sharedInstance):
1306         (DefaultPolicyDelegate::createInstance):
1307         (DefaultPolicyDelegate::QueryInterface):
1308         (DefaultPolicyDelegate::AddRef):
1309         (DefaultPolicyDelegate::Release):
1310         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1311         (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
1312         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1313         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1314         * DefaultPolicyDelegate.h: Added.
1315         * WebFrame.cpp:
1316         (WebFrame::dispatchDecidePolicyForNavigationAction):
1317         Implemented default action
1318         * WebKit.vcproj/WebKit.vcproj:
1319         Adding files to project
1320
1321 2007-10-12  Steve Falkenburg  <sfalken@apple.com>
1322
1323         Move pthreads up in the linker order and don't mark it for delay load.
1324         Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
1325         
1326         Reviewed by Darin, Ada.
1327
1328         * WebKit.vcproj/WebKit.vcproj:
1329
1330 2007-10-11  Steve Falkenburg  <sfalken@apple.com>
1331
1332         Delay load additional libraries to improve startup time.
1333         
1334         Reviewed by Darin, Ada.
1335
1336         * WebKit.vcproj/WebKit.vcproj:
1337
1338 2007-10-11  Ada Chan  <adachan@apple.com>
1339
1340         <rdar://problem/5534421>
1341         Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
1342         Removed usage of ResourceHandle::cookieStorage().
1343
1344         Reviewed by Oliver.
1345
1346         * WebView.cpp:
1347         (WebView::updateWebCoreSettingsFromPreferences):
1348         (WebView::initWithFrame):
1349
1350 2007-10-10  Alice Liu  <alice.liu@apple.com>
1351
1352         Reviewed by Geoff Garen.
1353
1354         Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
1355
1356         * WebFrame.cpp:
1357         (WebFrame::createFrame):
1358         The crash was caused by the early destruction of the subframe.  To resolve this issue, 
1359         the manual deref of the child frame that occurs in between being appended to the 
1360         frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed 
1361         to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of 
1362         child frames because this test case involves removing a child frame immediately after 
1363         loading it, all in an onload handler.  Even better than just moving the deref would be 
1364         to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't 
1365         necessary. This is what was done in this patch. 
1366         * WebFrame.h:
1367         createFrame() now returns a RefPtr instead of a raw Frame pointer. 
1368         Making this change improves the way we handle frames on Windows WebKit. 
1369
1370
1371 2007-10-05  Ada Chan  <adachan@apple.com>
1372
1373         <rdar://problem/5436617>
1374         Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
1375
1376         Reviewed by Brady.
1377
1378         * WebIconDatabase.cpp:
1379         (WebIconDatabase::delayDatabaseCleanup):
1380         (WebIconDatabase::allowDatabaseCleanup):
1381
1382 2007-10-04  Adele Peterson  <adele@apple.com>
1383
1384         * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
1385
1386 2007-10-04  Adele Peterson  <adele@apple.com>
1387
1388         Reviewed by Darin.
1389
1390         WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
1391
1392         * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
1393           and so that it can specify the focus direction.
1394         * WebView.h: ditto.
1395         * Interfaces/IWebViewPrivate.idl: ditto.
1396
1397 2007-10-03  Ada Chan  <adachan@apple.com>
1398
1399         <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
1400
1401         Reviewed by Steve and Brady.
1402
1403         * Interfaces/IWebIconDatabase.idl:
1404         * WebIconDatabase.cpp:
1405         (WebIconDatabase::iconURLForURL):
1406         * WebIconDatabase.h:
1407
1408 2007-10-02  Sam Weinig  <sam@webkit.org>
1409
1410         Rubber-stamped by Adam Roben.
1411
1412         * Interfaces/IWebPreferences.idl: Remove unnecessary comments. 
1413
1414 2007-10-02  Darin Adler  <darin@apple.com>
1415
1416         Reviewed by Adam.
1417
1418         - started using the new OwnPtr everywhere we do DeleteObject
1419
1420         * WebNodeHighlight.cpp:
1421         (WebNodeHighlight::updateWindow):
1422         * WebView.cpp:
1423         (WebView::WebView):
1424         (WebView::deleteBackingStore):
1425         (WebView::ensureBackingStore):
1426         (WebView::addToDirtyRegion):
1427         (WebView::scrollBackingStore):
1428         (WebView::updateBackingStore):
1429         (WebView::paint):
1430         (WebView::paintIntoBackingStore):
1431         (WebView::paintIntoWindow):
1432         * WebView.h:
1433
1434 2007-10-02  Adam Roben  <aroben@apple.com>
1435
1436         Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1437
1438         I also added a few registry keys for our version-independent ProgIDs
1439         that we were missing.
1440
1441         Reviewed by Steve.
1442
1443         * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
1444         * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
1445         places, and added some new keys for version-independent ProgIDs.
1446
1447 2007-10-02  Anders Carlsson  <andersca@apple.com>
1448
1449         Reviewed by Adam.
1450
1451         Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
1452         
1453         Also rename some protection space constants and change their values to match the mac version.
1454         
1455         * Interfaces/IWebURLAuthenticationChallenge.idl:
1456         * WebURLProtectionSpace.cpp:
1457         (WebURLProtectionSpace::initWithHost):
1458         (WebURLProtectionSpace::initWithProxyHost):
1459         (WebURLProtectionSpace::protocol):
1460         (WebURLProtectionSpace::proxyType):
1461
1462 2007-09-29  Adam Roben  <aroben@apple.com>
1463
1464         Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1465
1466         Reviewed by Steve.
1467
1468         * ProgIDMacros.h: Stringify the passed in class name.
1469         * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
1470         lists stay in the right order, and updated uses of the *_PROGID macros
1471         for to take the stringification into account.
1472
1473 2007-09-27  Kevin McCullough  <kmccullough@apple.com>
1474
1475         Reviewed by Darin.
1476
1477         - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
1478         - Implemented IWebHTTPURLResponse::allHeaderFields so that if the content disposition is "attachment" we will download the file instead of display it.  Also implemented some missing functionality.
1479
1480         * HTTPHeaderPropertyBag.cpp: Added.
1481         (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
1482         (HTTPHeaderPropertyBag::createInstance):
1483         (HTTPHeaderPropertyBag::setResponse):
1484         (HTTPHeaderPropertyBag::response):
1485         (HTTPHeaderPropertyBag::QueryInterface):
1486         (HTTPHeaderPropertyBag::AddRef):
1487         (HTTPHeaderPropertyBag::Release):
1488         (ConvertFromLPCOLESTR):
1489         (ConvertToVariant):
1490         (ConvertFromVariant):
1491         (HTTPHeaderPropertyBag::Read):
1492         (HTTPHeaderPropertyBag::Write):
1493         * HTTPHeaderPropertyBag.h: Added.
1494         * Interfaces/IWebHTTPURLResponse.idl:
1495         * WebKit.vcproj/WebKit.vcproj:
1496         * WebURLResponse.cpp:
1497         (WebURLResponse::allHeaderFields):
1498         (WebURLResponse::isAttachment):
1499         * WebURLResponse.h:
1500
1501 2007-09-27  Ada Chan  <adachan@apple.com>
1502
1503         <rdar://problem/5507481> Added a delegate method to inform the client
1504         app that WebView has painted.
1505
1506         Reviewed by Steve.
1507
1508         * Interfaces/IWebUIDelegatePrivate.idl:
1509         * WebView.cpp:
1510         (WebView::updateBackingStore):
1511
1512 2007-09-25  Adam Roben  <aroben@apple.com>
1513
1514         Add WebKitInitializer to WebKit.sln
1515
1516         Reviewed by Sam.
1517
1518         * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
1519         WebKitInitializer.
1520
1521 2007-09-25  Darin Adler  <darin@apple.com>
1522
1523         Reviewed by Steve.
1524
1525         - fix <rdar://problem/5095701> Download requring HTTP auth fails
1526           (progress bar forever)
1527
1528         The functions in WebDownload relating to authentication challenges needed
1529         to be implemented.
1530
1531         * WebDownload.cpp:
1532         (WebDownload::cancelAuthenticationChallenge): Implement.
1533         (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
1534         (WebDownload::useCredential): Ditto.
1535         (WebDownload::willSendRequest): Fix storage leak by adopting request
1536         and response after creating them. Also retain the result before returning
1537         it, since that's the API contract with CFNetwork.
1538         (WebDownload::didReceiveAuthenticationChallenge): Implement.
1539         (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
1540         (WebDownload::willResumeWithResponse): Ditto.
1541         (WebDownload::didFail): Ditto.
1542
1543         * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
1544         instead using __declspec(uuid). Added a sender parameter to the
1545         create function and an m_sender data member.
1546         * WebURLAuthenticationChallenge.cpp:
1547         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
1548         explicit sender parameter so this can be used with a WebDownload, which
1549         does not involve a ResourceHandle. Later we should clean this up and not
1550         involve WebCore or ResourceHandle directly even for the non-download case.
1551         (WebURLAuthenticationChallenge::createInstance): Added an overload for the
1552         case with an explicit sender parameter.
1553         (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
1554         of this class. In general, we should move to __uuidof as much as possible
1555         and keep the separate macros to a minimum -- but we should do this for all
1556         uses of each class at one time to make sure we don't run into problems
1557         with two different UUIDs for the same class. This patch does it for three
1558         classes.
1559         (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
1560         constructor instead of an explicit QueryInterface for WebURLCredential.
1561         This is another class where I'm switching from CLSID/IID macros to the
1562         use of __uuidof, but in this case the use of __uuidof is implicit.
1563         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
1564         but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
1565         (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
1566         cache the sender object and also use the one that was passed into the
1567         constructor, if any.
1568
1569         * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
1570         instead using __declspec(uuid). Also minimize includes and make data
1571         members private instead of protected.
1572         * WebURLAuthenticationChallengeSender.cpp:
1573         (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
1574         of IID macro.
1575         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
1576         Use query constructor instead of QueryInterface.
1577         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
1578         Ditto.
1579         (WebURLAuthenticationChallengeSender::useCredential): Ditto.
1580
1581         * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
1582         instead of CLSID_WebURLCredential.
1583
1584         - tangentially-related cleanup
1585
1586         * WebFrame.cpp:
1587         (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
1588         constructor instead of a separate adoptRef call.
1589         (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
1590
1591 2007-09-24  Brady Eidson  <beidson@apple.com>
1592
1593         Reviewed by John Sullivan
1594
1595         Fix for <rdar://5493371> - Crash in Icon Database on Windows
1596         
1597         * WebIconDatabase.cpp:
1598         (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
1599
1600 2007-09-24  Adam Roben  <aroben@apple.com>
1601
1602         Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
1603
1604         Reviewed by Darin.
1605
1606         * WebView.cpp:
1607         (WebView::initWithFrame): Set the main FrameView's size to the size of
1608         the WebView.
1609
1610 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
1611
1612         - Fixed a syntax guideline mistake.
1613
1614         * WebChromeClient.cpp:
1615         (WebChromeClient::scrollbarsVisible):
1616
1617 2007-09-20  Oliver Hunt  <oliver@apple.com>
1618
1619         Reviewed by Steve.
1620
1621         <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
1622
1623         Adding support for per-localisation default character encodings on
1624         windows.
1625         
1626         * English.lproj/Localizable.strings:
1627         * WebPreferences.cpp:
1628         (WebPreferences::initializeDefaultSettings):
1629
1630 2007-09-20  Kevin McCullough  <kmccullough@apple.com>
1631
1632         Reviewed by Oliver.
1633
1634         - Added the ability to ask if scrollbars are visible
1635         - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
1636
1637         * WebChromeClient.cpp:
1638         (WebChromeClient::scrollbarsVisible):
1639
1640 2007-09-20  Ada Chan  <adachan@apple.com>
1641
1642         <rdar://problem/5477240> Regression: Footer is too high in print preview
1643
1644         Reviewed by Steve.
1645
1646         * WebFrame.cpp:
1647         (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
1648         (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
1649         computePageRectsForFrame().
1650         (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
1651         minus footer height.
1652         * WebFrame.h:
1653
1654 2007-09-19  Kevin McCullough  <kmccullough@apple.com>
1655
1656         Reviewed by Hyatt.
1657
1658         - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
1659         - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
1660
1661         * Interfaces/IWebFrame.idl:
1662         * Interfaces/IWebFrameView.idl:
1663         * WebChromeClient.cpp:
1664         (WebChromeClient::setScrollbarsVisible):
1665         * WebFrame.cpp:
1666         (WebFrame::setAllowsScrolling):
1667         (WebFrame::allowsScrolling):
1668         (WebFrame::frameView):
1669         * WebFrame.h:
1670
1671 2007-09-20  Brady Eidson  <beidson@apple.com>
1672
1673         Reviewed by Dave Hyatt
1674
1675         <rdar://problem/5245981> - No favicon shows up for cnet.com
1676         
1677         * WebIconDatabase.cpp:
1678         (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
1679         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
1680
1681 2007-09-19  Sam Weinig  <sam@webkit.org>
1682
1683         Rubber stamped by Adam Roben.
1684
1685         * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
1686         to point to their new locations.
1687
1688 2007-09-18  Brady Eidson  <beidson@apple.com>
1689
1690         Reviewed by Adam
1691
1692         Final part of <rdar://problem/5471308> - Hook up async icon database on Windows        
1693
1694         * CFDictionaryPropertyBag.cpp:
1695         (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
1696           since it became available after the initial implementation
1697         (CFDictionaryPropertyBag::setDictionary):
1698         (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
1699         (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
1700         (CFDictionaryPropertyBag::Read):
1701         (CFDictionaryPropertyBag::Write):
1702         * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
1703        
1704         * WebFrame.cpp:
1705         (WebFrame::url): Added accessor, gets the current URL from WebCore
1706         (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
1707         (WebFrame::registerForIconNotification): Ditto
1708         * WebFrame.h:        
1709
1710         * WebIconDatabase.cpp:
1711         (WebIconDatabase::iconDatabaseDidAddIconNotification):
1712         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
1713         (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
1714         (postDidRemoveAllIconsNotification):
1715         (postDidAddIconNotification):
1716         * WebIconDatabase.h:        
1717
1718         * WebView.cpp:
1719         (WebView::close): Unregister for the notification, just in case
1720         (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
1721           in the notification to the current main frame URL.  If they match, calls to dispatchDidReceiveIconFromWebFrame
1722         (WebView::registerForIconNotification): 
1723         (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call.  Once the delegate call is dispatched,
1724           either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the 
1725           IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
1726         (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
1727         * WebView.h:
1728
1729 2007-09-18  Brady Eidson  <beidson@apple.com>
1730
1731         Reviewed by Ada and Geoff
1732
1733         Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
1734         
1735         Hook up main thread delivery of Icon Database notifications from the secondary thread
1736         
1737         * WebIconDatabase.cpp:
1738         (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
1739         (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
1740         (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
1741           ask for the delivery
1742         (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
1743         (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
1744           and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
1745         (postDidRemoveAllIconsNotification):
1746         (postDidAddIconNotification):
1747         (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
1748         * WebIconDatabase.h:
1749
1750 2007-09-17  Geoffrey Garen  <ggaren@apple.com>
1751
1752         Reviewed by Darin Adler.
1753
1754         Fixed a hang due to an infinite script running in the window's unload 
1755         event handler, which may be the cause of <rdar://problem/5479443> 
1756         REGRESSION: Hang due to infinite JS recursion on close @ engadget.com 
1757         (onunload-based ad)
1758         
1759         Added a bunch of WebKitMac's close features, and reordered others to
1760         match WebKitMac.
1761
1762         * WebView.cpp:
1763         (WebView::close):
1764         (WebView::removeDragCaret):
1765
1766 2007-09-17  Adam Roben  <aroben@apple.com>
1767
1768         Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
1769
1770         Reviewed by Hyatt.
1771
1772         * WebView.cpp:
1773         (WebView::keyDown): Attempt to scroll an overflow area before
1774         scrolling the whole frame.
1775
1776 2007-09-17  Brady Eidson  <beidson@apple.com>
1777
1778         Reviewed by Adam
1779         
1780         <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
1781         
1782         Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit. 
1783         Critical now for the IconDatabase and might be for other things in the future.
1784
1785         * WebKitDLL.cpp:
1786         (shutDownWebKit): For now, just close the IconDatabase
1787         (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
1788
1789 2007-09-17  Anders Carlsson  <andersca@apple.com>
1790
1791         Reviewed by Adam.
1792
1793         <rdar://problem/5421997>
1794         http://bugs.webkit.org/show_bug.cgi?id=14247
1795         Display problem with Flash - image does not stop changing
1796
1797         Port the manual load code over from the Mac version.
1798
1799         * WebFrame.cpp:
1800         (WebFrame::WebFramePrivate::WebFramePrivate):
1801         Initialize the plugin pointer.
1802         
1803         (WebFrame::finishedLoading):
1804         (WebFrame::setMainDocumentError):
1805         (WebFrame::committedLoad):
1806         Feed the data to the plug-in.
1807                 
1808         (WebFrame::redirectDataToPlugin):
1809         Store the plug-in widget.
1810
1811 2007-09-14  Steve Falkenburg  <sfalken@apple.com>
1812
1813         Fix build.
1814
1815         * WebFrame.cpp:
1816         (WebFrame::createPlugin):
1817         (WebFrame::createJavaAppletWidget):
1818
1819 2007-09-13  Darin Adler  <darin@apple.com>
1820
1821         Reviewed by Oliver.
1822
1823         - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
1824           <input> elements with maxlength limit
1825
1826         * WebView.cpp:
1827         (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
1828         (WebView::updateSelectionForIME): Update for name changes, and to use new functions
1829         in Editor.
1830         (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
1831         (compositionToUnderlines): Removed startOffset parameter, since setComposition now
1832         handles this.
1833         (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
1834         Logic gets a lot cleaner.
1835         (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
1836         (WebView::onIMERequestCharPosition): Updated for name changes.
1837
1838 2007-09-12  Oliver Hunt  <oliver@apple.com>
1839
1840         Reviewed by Adam.
1841         
1842         Fixing 
1843             <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
1844             <rdar://problem/5224996> Add zoom in and zoom out cursors
1845             
1846         Add images for vertical text and zoom in and out cursors to WebKit resources.
1847             
1848         * WebKit.vcproj/verticalTextCursor.png: Added.
1849         * WebKit.vcproj/WebKit.rc:
1850         * WebKit.vcproj/WebKit.vcproj:
1851         * WebKit.vcproj/resource.h:
1852         * WebKit.vcproj/zoomInCursor.png: Added.
1853         * WebKit.vcproj/zoomOutCursor.png: Added.
1854         * WebKitDLL.cpp:
1855         (loadResourceIntoBuffer):
1856
1857 2007-09-12  Adam Roben  <aroben@apple.com>
1858
1859         Initialize SafariTheme early in WebKit's instantiation
1860
1861         New versions of SafariTheme will require this initialization. We have
1862         to use GetProcAddress for now since the initialize method doesn't
1863         exist in any released SafariTheme.
1864
1865         Reviewed by Ada.
1866
1867         * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
1868         * WebKitClassFactory.cpp:
1869         (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
1870
1871 2007-09-12  Ada Chan  <adachan@apple.com>
1872
1873         <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
1874
1875         Reviewed by Adam.
1876
1877         * WebFrame.cpp:
1878         (WebFrame::spoolPages): the footer rect is relative to the top left of the current page.  So 
1879         instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the 
1880         document), we should pass in headerHeight plus the height of the pageRect.
1881
1882 2007-09-12  Anders Carlsson   <andersca@apple.com>
1883
1884         Reviewed by Darin (reluctantly).
1885
1886         <rdar://problem/5320461>
1887         http://bugs.webkit.org/show_bug.cgi?id=14548
1888         REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
1889         
1890         Add a workaround which converts the string passed in to an URL if it's a path.
1891         
1892         * WebView.cpp:
1893         (WebView::updateWebCoreSettingsFromPreferences):
1894
1895 2007-09-10  Steve Falkenburg  <sfalken@apple.com>
1896
1897         Remove site-specific hacks that we don't need anymore.
1898
1899         Reviewed by Adam.
1900
1901         * WebView.cpp:
1902         (WebView::userAgentForKURL):
1903
1904 2007-09-08  Steve Falkenburg  <sfalken@apple.com>
1905
1906         Prevent WebKit version numbers from containing "4" in Windows.
1907
1908         Reviewed by Darin.
1909
1910         * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
1911         * WebKit.vcproj/auto-version.sh: Add version checking code.
1912
1913 2007-09-08  Brady Eidson  <beidson@apple.com>
1914
1915         <rdar://problem/5434431> - Asynchronous Icon Database
1916
1917         * WebFrame.cpp:
1918         (WebFrame::didPerformFirstNavigation): Empty impl for now
1919         (WebFrame::registerForIconNotification): Ditto
1920         * WebFrame.h:
1921
1922 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
1923
1924         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1925         
1926         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
1927         memory cache, or a very tiny one
1928         
1929         Keep the Windows build working with an empty stub.
1930         
1931         * WebFrame.cpp:
1932         (FrameLoaderClient::didPerformFirstNavigation):
1933         * WebFrame.h:
1934
1935 2007-09-07  Ada Chan  <adachan@apple.com>
1936
1937         Need to let the OS handle Alt+F4.
1938
1939         Reviewed by Hyatt.
1940
1941         * WebView.cpp:
1942         (WebView::keyUp):
1943         (WebView::keyDown):
1944
1945 2007-09-07  Anders Carlsson  <andersca@apple.com>
1946
1947         Reviewed by Oliver.
1948
1949         <rdar://problem/5461487>
1950         Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
1951         
1952         Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty, 
1953         we will try to display the content in a subframe instead, just like Mac WebKit.
1954         
1955         * WebFrame.cpp:
1956         (WebFrame::objectContentType):
1957
1958 2007-09-07  Ada Chan  <adachan@apple.com>
1959
1960         <rdar://problem/5395928> Need to be able to handle context menu item selection by index
1961
1962         Reviewed by Beth.
1963
1964         * WebView.cpp:
1965         (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
1966         item selection via WM_MENUCOMMAND (by specifying byPosition to be true).  In that case, we
1967         get the ContextMenuItem by position rather than by action id.
1968         (WebViewWndProc): handle WM_MENUCOMMAND
1969         * WebView.h:
1970
1971 2007-09-07  Ada Chan  <adachan@apple.com>
1972
1973         <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
1974         The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader.  If
1975         a WebDataSource is still around after the loader has been destroyed, it'll just point to
1976         a stale WebDocumentLoader.
1977         To fix this without a circular reference, WebDataSource now holds a strong reference to the
1978         WebDocumentLoader.  The WebDocumentLoader holds a strong reference to the WebDataSource
1979         until it's detached from the WebFrame.  When the WebDataSource is destroyed, it'll notify
1980         its WebDocumentLoader so the loader will clear any references to it.
1981
1982         Reviewed by Darin.
1983
1984         * WebDataSource.cpp:
1985         (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
1986         will clear any references to this data source
1987         (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
1988         * WebDataSource.h:
1989         * WebDocumentLoader.cpp:
1990         (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
1991         (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
1992         (WebDocumentLoader::setDataSource): add a reference to m_dataSource
1993         (WebDocumentLoader::dataSource): 
1994         (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
1995         (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
1996         (WebDocumentLoader::detachFromFrame): release the reference to the data source
1997         * WebDocumentLoader.h:
1998
1999 2007-09-05  Dave Hyatt <hyatt@apple.com>
2000
2001         Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
2002         detect key combos like ALT+Enter.
2003        
2004         Reviewed by Steve
2005
2006         * WebView.cpp:
2007         (WebView::keyUp):
2008         (WebView::keyDown):
2009         (WebViewWndProc):
2010         * WebView.h:
2011
2012 2007-09-04  Sam Weinig  <sam@webkit.org>
2013
2014         Build fix.
2015
2016         * WebKit.vcproj/WebKit.vcproj:
2017
2018 2007-09-01  Oliver Hunt  <oliver@apple.com>
2019
2020         Reviewed by Sam.
2021
2022         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2023  
2024         When focusing a password field or a non-editable element we disassociate any IME that may have
2025         been active, and reassociate should a non-password editable element is focused.
2026
2027         This makes password input with an IME active simpler, and brings our IME behaviour in line with
2028         IE.        
2029
2030         * WebEditorClient.cpp:
2031         (WebEditorClient::setInputMethodState):
2032         * WebEditorClient.h:
2033         * WebView.cpp:
2034         (IMMDict::IMMDict):
2035         (WebView::setInputMethodState):
2036         * WebView.h:
2037
2038 2007-08-31  Steve Falkenburg  <sfalken@apple.com>
2039
2040         <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
2041         
2042         In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
2043
2044         Reviewed by Oliver.
2045
2046         * WebLocalizableStrings.cpp:
2047         (WebLocalizedLPCTSTR):
2048
2049 2007-08-29  Ada Chan  <adachan@apple.com>
2050
2051         <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
2052
2053         Reviewed by Steve.
2054
2055         * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
2056         * WebError.cpp:
2057         (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
2058         (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
2059         * WebError.h:
2060         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
2061
2062 2007-08-28  Steve Falkenburg  <sfalken@apple.com>
2063
2064         <rdar://problem/5079253> Cannot set different margins for the page
2065         
2066         Added support for setting margins via page setup for Windows printing.
2067         
2068         Reviewed by Adam.
2069
2070         * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
2071         * WebFrame.cpp:
2072         (WebFrame::printerMarginRect): Added.
2073         (WebFrame::computePageRects): Account for margins when calculating page rects.
2074         (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
2075         * WebFrame.h:
2076
2077 2007-08-28  Jon Honeycutt  <jhoneycutt@apple.com>
2078
2079         Reviewed by Adam.
2080
2081         <rdar://problem/5444457>: Content is cut when page orientation changed
2082         in print preview
2083         Fix: Don't return WebFrame::m_pageRects if it exists; let
2084         computePageRectsForFrame clear and rewrite it.
2085
2086         * WebFrame.cpp:
2087         (WebFrame::computePageRects): Removed an early-return case. Added a
2088         space.
2089
2090 2007-08-28  Ada Chan  <adachan@apple.com>
2091
2092         <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
2093
2094         Reviewed by Adam and Steve.
2095
2096         * Interfaces/IWebURLResponsePrivate.idl: Added.
2097         * WebKit.vcproj/Interfaces.vcproj:
2098         * WebKit.vcproj/WebKitGUID.vcproj:
2099         * WebURLResponse.cpp:
2100         (WebURLResponse::QueryInterface):
2101         (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
2102         (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
2103         info from CFNetwork.  We retain the dictionary to ensure the certificate context is valid
2104         throughout the lifetime of the WebURLResponse.
2105         * WebURLResponse.h:
2106
2107 2007-08-27  Steve Falkenburg  <sfalken@apple.com>
2108
2109         <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
2110         
2111         Don't bypass WebView WM_PAINT if the WebView has never committed a page.
2112         
2113         Reviewed by Maciej.
2114
2115         * WebView.cpp:
2116         (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
2117
2118 2007-08-25  Oliver Hunt  <oliver@apple.com>
2119
2120         Reviewed by Adam and Sam
2121         
2122         <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562) 
2123         <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
2124         
2125         WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
2126         to be inserted.  This could cause unexpected behaviour when control characters (eg. escape) are sent,
2127         or could cause data loss when sent a null character (as happens when dead keys are used for international 
2128         input).
2129         
2130         This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent 
2131         to Editor::insertText.  This behaviour matches Firefox.
2132
2133         * WebView.cpp:
2134         (WebView::handleEditingKeyboardEvent):
2135
2136 2007-08-24  Sam Weinig  <sam@webkit.org>
2137
2138         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2139
2140 2007-08-24  Ada Chan  <adachan@apple.com>
2141
2142         <rdar://problem/5147315> and <rdar://problem/5183935>
2143         Added accelerator key mappings for Select All, Undo, and Redo.
2144
2145         Reviewed by Adam.
2146
2147         * WebView.cpp:
2148
2149 2007-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
2150
2151         Reviewed by Darin.
2152
2153         Part of <rdar://problem/5433236> Print preview of empty txt file crashes
2154         Safari
2155
2156         * WebFrame.cpp:
2157         (WebFrame::computePageRects): Pass m_pageRects by reference into 
2158         computePageRectsForFrame
2159
2160 2007-08-24  Sam Weinig  <sam@webkit.org>
2161
2162         Rubber-stamped by Adam Roben.
2163
2164         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2165
2166         Rename COM DOM bindings to use Deprecated prefix.
2167
2168         * DOMCSSClasses.cpp:
2169         (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
2170         (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
2171         (DeprecatedDOMCSSStyleDeclaration::createInstance):
2172         (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
2173         (DeprecatedDOMCSSStyleDeclaration::cssText):
2174         (DeprecatedDOMCSSStyleDeclaration::setCssText):
2175         (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
2176         (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
2177         (DeprecatedDOMCSSStyleDeclaration::removeProperty):
2178         (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
2179         (DeprecatedDOMCSSStyleDeclaration::setProperty):
2180         (DeprecatedDOMCSSStyleDeclaration::length):
2181         (DeprecatedDOMCSSStyleDeclaration::item):
2182         (DeprecatedDOMCSSStyleDeclaration::parentRule):
2183         * DOMCSSClasses.h:
2184         (DeprecatedDOMCSSStyleDeclaration::AddRef):
2185         (DeprecatedDOMCSSStyleDeclaration::Release):
2186         (DeprecatedDOMCSSStyleDeclaration::throwException):
2187         (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
2188         (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
2189         (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
2190         (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
2191         (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
2192         (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
2193         (DeprecatedDOMCSSStyleDeclaration::setException):
2194         * DOMCoreClasses.cpp:
2195         (DeprecatedDOMObject::QueryInterface):
2196         (DeprecatedDOMNode::QueryInterface):
2197         (DeprecatedDOMNode::nodeName):
2198         (DeprecatedDOMNode::nodeValue):
2199         (DeprecatedDOMNode::setNodeValue):
2200         (DeprecatedDOMNode::nodeType):
2201         (DeprecatedDOMNode::parentNode):
2202         (DeprecatedDOMNode::childNodes):
2203         (DeprecatedDOMNode::firstChild):
2204         (DeprecatedDOMNode::lastChild):
2205         (DeprecatedDOMNode::previousSibling):
2206         (DeprecatedDOMNode::nextSibling):
2207         (DeprecatedDOMNode::attributes):
2208         (DeprecatedDOMNode::ownerDocument):
2209         (DeprecatedDOMNode::insertBefore):
2210         (DeprecatedDOMNode::replaceChild):
2211         (DeprecatedDOMNode::removeChild):
2212         (DeprecatedDOMNode::appendChild):
2213         (DeprecatedDOMNode::hasChildNodes):
2214         (DeprecatedDOMNode::cloneNode):
2215         (DeprecatedDOMNode::normalize):
2216         (DeprecatedDOMNode::isSupported):
2217         (DeprecatedDOMNode::namespaceURI):
2218         (DeprecatedDOMNode::prefix):
2219         (DeprecatedDOMNode::setPrefix):
2220         (DeprecatedDOMNode::localName):
2221         (DeprecatedDOMNode::hasAttributes):
2222         (DeprecatedDOMNode::isSameNode):
2223         (DeprecatedDOMNode::isEqualNode):
2224         (DeprecatedDOMNode::textContent):
2225         (DeprecatedDOMNode::setTextContent):
2226         (DeprecatedDOMNode::addEventListener):
2227         (DeprecatedDOMNode::removeEventListener):
2228         (DeprecatedDOMNode::dispatchEvent):
2229         (DeprecatedDOMNode::DeprecatedDOMNode):
2230         (DeprecatedDOMNode::~DeprecatedDOMNode):
2231         (DeprecatedDOMNode::createInstance):
2232         (DeprecatedDOMNodeList::QueryInterface):
2233         (DeprecatedDOMNodeList::item):
2234         (DeprecatedDOMNodeList::length):
2235         (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
2236         (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
2237         (DeprecatedDOMNodeList::createInstance):
2238         (DeprecatedDOMDocument::QueryInterface):
2239         (DeprecatedDOMDocument::doctype):
2240         (DeprecatedDOMDocument::implementation):
2241         (DeprecatedDOMDocument::documentElement):
2242         (DeprecatedDOMDocument::createElement):
2243         (DeprecatedDOMDocument::createDocumentFragment):
2244         (DeprecatedDOMDocument::createTextNode):
2245         (DeprecatedDOMDocument::createComment):
2246         (DeprecatedDOMDocument::createCDATASection):
2247         (DeprecatedDOMDocument::createProcessingInstruction):
2248         (DeprecatedDOMDocument::createAttribute):
2249         (DeprecatedDOMDocument::createEntityReference):
2250         (DeprecatedDOMDocument::getElementsByTagName):
2251         (DeprecatedDOMDocument::importNode):
2252         (DeprecatedDOMDocument::createElementNS):
2253         (DeprecatedDOMDocument::createAttributeNS):
2254         (DeprecatedDOMDocument::getElementsByTagNameNS):
2255         (DeprecatedDOMDocument::getElementById):
2256         (DeprecatedDOMDocument::getComputedStyle):
2257         (DeprecatedDOMDocument::createEvent):
2258         (DeprecatedDOMDocument::DeprecatedDOMDocument):
2259         (DeprecatedDOMDocument::~DeprecatedDOMDocument):
2260         (DeprecatedDOMDocument::createInstance):
2261         (DeprecatedDOMElement::QueryInterface):
2262         (DeprecatedDOMElement::boundingBox):
2263         (DeprecatedDOMElement::lineBoxRects):
2264         (DeprecatedDOMElement::tagName):
2265         (DeprecatedDOMElement::getAttribute):
2266         (DeprecatedDOMElement::setAttribute):
2267         (DeprecatedDOMElement::removeAttribute):
2268         (DeprecatedDOMElement::getAttributeNode):
2269         (DeprecatedDOMElement::setAttributeNode):
2270         (DeprecatedDOMElement::removeAttributeNode):
2271         (DeprecatedDOMElement::getElementsByTagName):
2272         (DeprecatedDOMElement::getAttributeNS):
2273         (DeprecatedDOMElement::setAttributeNS):
2274         (DeprecatedDOMElement::removeAttributeNS):
2275         (DeprecatedDOMElement::getAttributeNodeNS):
2276         (DeprecatedDOMElement::setAttributeNodeNS):
2277         (DeprecatedDOMElement::getElementsByTagNameNS):
2278         (DeprecatedDOMElement::hasAttribute):
2279         (DeprecatedDOMElement::hasAttributeNS):
2280         (DeprecatedDOMElement::focus):
2281         (DeprecatedDOMElement::blur):
2282         (DeprecatedDOMElement::coreElement):
2283         (DeprecatedDOMElement::isEqual):
2284         (DeprecatedDOMElement::isFocused):
2285         (DeprecatedDOMElement::innerText):
2286         (DeprecatedDOMElement::style):
2287         (DeprecatedDOMElement::offsetLeft):
2288         (DeprecatedDOMElement::offsetTop):
2289         (DeprecatedDOMElement::offsetWidth):
2290         (DeprecatedDOMElement::offsetHeight):
2291         (DeprecatedDOMElement::offsetParent):
2292         (DeprecatedDOMElement::clientWidth):
2293         (DeprecatedDOMElement::clientHeight):
2294         (DeprecatedDOMElement::scrollLeft):
2295         (DeprecatedDOMElement::setScrollLeft):
2296         (DeprecatedDOMElement::scrollTop):
2297         (DeprecatedDOMElement::setScrollTop):
2298         (DeprecatedDOMElement::scrollWidth):
2299         (DeprecatedDOMElement::scrollHeight):
2300         (DeprecatedDOMElement::scrollIntoView):
2301         (DeprecatedDOMElement::scrollIntoViewIfNeeded):
2302         (DeprecatedDOMElement::DeprecatedDOMElement):
2303         (DeprecatedDOMElement::~DeprecatedDOMElement):
2304         (DeprecatedDOMElement::createInstance):
2305         * DOMCoreClasses.h:
2306         (DeprecatedDOMNode::AddRef):
2307         (DeprecatedDOMNode::Release):
2308         (DeprecatedDOMNode::throwException):
2309         (DeprecatedDOMNode::callWebScriptMethod):
2310         (DeprecatedDOMNode::evaluateWebScript):
2311         (DeprecatedDOMNode::removeWebScriptKey):
2312         (DeprecatedDOMNode::stringRepresentation):
2313         (DeprecatedDOMNode::webScriptValueAtIndex):
2314         (DeprecatedDOMNode::setWebScriptValueAtIndex):
2315         (DeprecatedDOMNode::setException):
2316         (DeprecatedDOMNodeList::AddRef):
2317         (DeprecatedDOMNodeList::Release):
2318         (DeprecatedDOMNodeList::throwException):
2319         (DeprecatedDOMNodeList::callWebScriptMethod):
2320         (DeprecatedDOMNodeList::evaluateWebScript):
2321         (DeprecatedDOMNodeList::removeWebScriptKey):
2322         (DeprecatedDOMNodeList::stringRepresentation):
2323         (DeprecatedDOMNodeList::webScriptValueAtIndex):
2324         (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
2325         (DeprecatedDOMNodeList::setException):
2326         (DeprecatedDOMDocument::AddRef):
2327         (DeprecatedDOMDocument::Release):
2328         (DeprecatedDOMDocument::throwException):
2329         (DeprecatedDOMDocument::callWebScriptMethod):
2330         (DeprecatedDOMDocument::evaluateWebScript):
2331         (DeprecatedDOMDocument::removeWebScriptKey):
2332         (DeprecatedDOMDocument::stringRepresentation):
2333         (DeprecatedDOMDocument::webScriptValueAtIndex):
2334         (DeprecatedDOMDocument::setWebScriptValueAtIndex):
2335         (DeprecatedDOMDocument::setException):
2336         (DeprecatedDOMDocument::nodeName):
2337         (DeprecatedDOMDocument::nodeValue):
2338         (DeprecatedDOMDocument::setNodeValue):
2339         (DeprecatedDOMDocument::nodeType):
2340         (DeprecatedDOMDocument::parentNode):
2341         (DeprecatedDOMDocument::childNodes):
2342         (DeprecatedDOMDocument::firstChild):
2343         (DeprecatedDOMDocument::lastChild):
2344         (DeprecatedDOMDocument::previousSibling):
2345         (DeprecatedDOMDocument::nextSibling):
2346         (DeprecatedDOMDocument::attributes):
2347         (DeprecatedDOMDocument::ownerDocument):
2348         (DeprecatedDOMDocument::insertBefore):
2349         (DeprecatedDOMDocument::replaceChild):
2350         (DeprecatedDOMDocument::removeChild):
2351         (DeprecatedDOMDocument::appendChild):
2352         (DeprecatedDOMDocument::hasChildNodes):
2353         (DeprecatedDOMDocument::cloneNode):
2354         (DeprecatedDOMDocument::normalize):
2355         (DeprecatedDOMDocument::isSupported):
2356         (DeprecatedDOMDocument::namespaceURI):
2357         (DeprecatedDOMDocument::prefix):
2358         (DeprecatedDOMDocument::setPrefix):
2359         (DeprecatedDOMDocument::localName):
2360         (DeprecatedDOMDocument::hasAttributes):
2361         (DeprecatedDOMDocument::isSameNode):
2362         (DeprecatedDOMDocument::isEqualNode):
2363         (DeprecatedDOMDocument::textContent):
2364         (DeprecatedDOMDocument::setTextContent):
2365         (DeprecatedDOMElement::AddRef):
2366         (DeprecatedDOMElement::Release):
2367         (DeprecatedDOMElement::throwException):
2368         (DeprecatedDOMElement::callWebScriptMethod):
2369         (DeprecatedDOMElement::evaluateWebScript):
2370         (DeprecatedDOMElement::removeWebScriptKey):
2371         (DeprecatedDOMElement::stringRepresentation):
2372         (DeprecatedDOMElement::webScriptValueAtIndex):
2373         (DeprecatedDOMElement::setWebScriptValueAtIndex):
2374         (DeprecatedDOMElement::setException):
2375         (DeprecatedDOMElement::nodeName):
2376         (DeprecatedDOMElement::nodeValue):
2377         (DeprecatedDOMElement::setNodeValue):
2378         (DeprecatedDOMElement::nodeType):
2379         (DeprecatedDOMElement::parentNode):
2380         (DeprecatedDOMElement::childNodes):
2381         (DeprecatedDOMElement::firstChild):
2382         (DeprecatedDOMElement::lastChild):
2383         (DeprecatedDOMElement::previousSibling):
2384         (DeprecatedDOMElement::nextSibling):
2385         (DeprecatedDOMElement::attributes):
2386         (DeprecatedDOMElement::ownerDocument):
2387         (DeprecatedDOMElement::insertBefore):
2388         (DeprecatedDOMElement::replaceChild):
2389         (DeprecatedDOMElement::removeChild):
2390         (DeprecatedDOMElement::appendChild):
2391         (DeprecatedDOMElement::hasChildNodes):
2392         (DeprecatedDOMElement::cloneNode):
2393         (DeprecatedDOMElement::normalize):
2394         (DeprecatedDOMElement::isSupported):
2395         (DeprecatedDOMElement::namespaceURI):
2396         (DeprecatedDOMElement::prefix):
2397         (DeprecatedDOMElement::setPrefix):
2398         (DeprecatedDOMElement::localName):
2399         (DeprecatedDOMElement::hasAttributes):
2400         (DeprecatedDOMElement::isSameNode):
2401         (DeprecatedDOMElement::isEqualNode):
2402         (DeprecatedDOMElement::textContent):
2403         (DeprecatedDOMElement::setTextContent):
2404         * DOMEventsClasses.cpp:
2405         (DeprecatedDOMEventListener::QueryInterface):
2406         (DeprecatedDOMEventListener::handleEvent):
2407         (DeprecatedDOMEvent::DeprecatedDOMEvent):
2408         (DeprecatedDOMEvent::~DeprecatedDOMEvent):
2409         (DeprecatedDOMEvent::createInstance):
2410         (DeprecatedDOMEvent::QueryInterface):
2411         (DeprecatedDOMEvent::type):
2412         (DeprecatedDOMEvent::target):
2413         (DeprecatedDOMEvent::currentTarget):
2414         (DeprecatedDOMEvent::eventPhase):
2415         (DeprecatedDOMEvent::bubbles):
2416         (DeprecatedDOMEvent::cancelable):
2417         (DeprecatedDOMEvent::timeStamp):
2418         (DeprecatedDOMEvent::stopPropagation):
2419         (DeprecatedDOMEvent::preventDefault):
2420         (DeprecatedDOMEvent::initEvent):
2421         (DeprecatedDOMUIEvent::QueryInterface):
2422         (DeprecatedDOMUIEvent::view):
2423         (DeprecatedDOMUIEvent::detail):
2424         (DeprecatedDOMUIEvent::initUIEvent):
2425         (DeprecatedDOMUIEvent::keyCode):
2426         (DeprecatedDOMUIEvent::charCode):
2427         (DeprecatedDOMUIEvent::layerX):
2428         (DeprecatedDOMUIEvent::layerY):
2429         (DeprecatedDOMUIEvent::pageX):
2430         (DeprecatedDOMUIEvent::pageY):
2431         (DeprecatedDOMUIEvent::which):
2432         (DeprecatedDOMKeyboardEvent::QueryInterface):
2433         (DeprecatedDOMKeyboardEvent::keyIdentifier):
2434         (DeprecatedDOMKeyboardEvent::keyLocation):
2435         (DeprecatedDOMKeyboardEvent::ctrlKey):
2436         (DeprecatedDOMKeyboardEvent::shiftKey):
2437         (DeprecatedDOMKeyboardEvent::altKey):
2438         (DeprecatedDOMKeyboardEvent::metaKey):
2439         (DeprecatedDOMKeyboardEvent::altGraphKey):
2440         (DeprecatedDOMKeyboardEvent::getModifierState):
2441         (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
2442         (DeprecatedDOMMouseEvent::QueryInterface):
2443         (DeprecatedDOMMouseEvent::screenX):
2444         (DeprecatedDOMMouseEvent::screenY):
2445         (DeprecatedDOMMouseEvent::clientX):
2446         (DeprecatedDOMMouseEvent::clientY):
2447         (DeprecatedDOMMouseEvent::ctrlKey):
2448         (DeprecatedDOMMouseEvent::shiftKey):
2449         (DeprecatedDOMMouseEvent::altKey):
2450         (DeprecatedDOMMouseEvent::metaKey):
2451         (DeprecatedDOMMouseEvent::button):
2452         (DeprecatedDOMMouseEvent::relatedTarget):
2453         (DeprecatedDOMMouseEvent::initMouseEvent):
2454         (DeprecatedDOMMouseEvent::offsetX):
2455         (DeprecatedDOMMouseEvent::offsetY):
2456         (DeprecatedDOMMouseEvent::x):
2457         (DeprecatedDOMMouseEvent::y):
2458         (DeprecatedDOMMouseEvent::fromElement):
2459         (DeprecatedDOMMouseEvent::toElement):
2460         (DeprecatedDOMMutationEvent::QueryInterface):
2461         (DeprecatedDOMMutationEvent::relatedNode):
2462         (DeprecatedDOMMutationEvent::prevValue):
2463         (DeprecatedDOMMutationEvent::newValue):
2464         (DeprecatedDOMMutationEvent::attrName):
2465         (DeprecatedDOMMutationEvent::attrChange):
2466         (DeprecatedDOMMutationEvent::initMutationEvent):
2467         (DeprecatedDOMOverflowEvent::QueryInterface):
2468         (DeprecatedDOMOverflowEvent::orient):
2469         (DeprecatedDOMOverflowEvent::horizontalOverflow):
2470         (DeprecatedDOMOverflowEvent::verticalOverflow):
2471         (DeprecatedDOMWheelEvent::QueryInterface):
2472         (DeprecatedDOMWheelEvent::screenX):
2473         (DeprecatedDOMWheelEvent::screenY):
2474         (DeprecatedDOMWheelEvent::clientX):
2475         (DeprecatedDOMWheelEvent::clientY):
2476         (DeprecatedDOMWheelEvent::ctrlKey):
2477         (DeprecatedDOMWheelEvent::shiftKey):
2478         (DeprecatedDOMWheelEvent::altKey):
2479         (DeprecatedDOMWheelEvent::metaKey):
2480         (DeprecatedDOMWheelEvent::wheelDelta):
2481         (DeprecatedDOMWheelEvent::wheelDeltaX):
2482         (DeprecatedDOMWheelEvent::wheelDeltaY):
2483         (DeprecatedDOMWheelEvent::offsetX):
2484         (DeprecatedDOMWheelEvent::offsetY):
2485         (DeprecatedDOMWheelEvent::x):
2486         (DeprecatedDOMWheelEvent::y):
2487         (DeprecatedDOMWheelEvent::isHorizontal):
2488         (DeprecatedDOMWheelEvent::initWheelEvent):
2489         * DOMEventsClasses.h:
2490         (DeprecatedDOMEventListener::AddRef):
2491         (DeprecatedDOMEventListener::Release):
2492         (DeprecatedDOMEventListener::throwException):
2493         (DeprecatedDOMEventListener::callWebScriptMethod):
2494         (DeprecatedDOMEventListener::evaluateWebScript):
2495         (DeprecatedDOMEventListener::removeWebScriptKey):
2496         (DeprecatedDOMEventListener::stringRepresentation):
2497         (DeprecatedDOMEventListener::webScriptValueAtIndex):
2498         (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
2499         (DeprecatedDOMEventListener::setException):
2500         (DeprecatedDOMEvent::AddRef):
2501         (DeprecatedDOMEvent::Release):
2502         (DeprecatedDOMEvent::throwException):
2503         (DeprecatedDOMEvent::callWebScriptMethod):
2504         (DeprecatedDOMEvent::evaluateWebScript):
2505         (DeprecatedDOMEvent::removeWebScriptKey):
2506         (DeprecatedDOMEvent::stringRepresentation):
2507         (DeprecatedDOMEvent::webScriptValueAtIndex):
2508         (DeprecatedDOMEvent::setWebScriptValueAtIndex):
2509         (DeprecatedDOMEvent::setException):
2510         (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
2511         (DeprecatedDOMUIEvent::AddRef):
2512         (DeprecatedDOMUIEvent::Release):
2513         (DeprecatedDOMUIEvent::throwException):
2514         (DeprecatedDOMUIEvent::callWebScriptMethod):
2515         (DeprecatedDOMUIEvent::evaluateWebScript):
2516         (DeprecatedDOMUIEvent::removeWebScriptKey):
2517         (DeprecatedDOMUIEvent::stringRepresentation):
2518         (DeprecatedDOMUIEvent::webScriptValueAtIndex):
2519         (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
2520         (DeprecatedDOMUIEvent::setException):
2521         (DeprecatedDOMUIEvent::type):
2522         (DeprecatedDOMUIEvent::target):
2523         (DeprecatedDOMUIEvent::currentTarget):
2524         (DeprecatedDOMUIEvent::eventPhase):
2525         (DeprecatedDOMUIEvent::bubbles):
2526         (DeprecatedDOMUIEvent::cancelable):
2527         (DeprecatedDOMUIEvent::timeStamp):
2528         (DeprecatedDOMUIEvent::stopPropagation):
2529         (DeprecatedDOMUIEvent::preventDefault):
2530         (DeprecatedDOMUIEvent::initEvent):
2531         (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
2532         (DeprecatedDOMKeyboardEvent::AddRef):
2533         (DeprecatedDOMKeyboardEvent::Release):
2534         (DeprecatedDOMKeyboardEvent::throwException):
2535         (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
2536         (DeprecatedDOMKeyboardEvent::evaluateWebScript):
2537         (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
2538         (DeprecatedDOMKeyboardEvent::stringRepresentation):
2539         (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
2540         (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
2541         (DeprecatedDOMKeyboardEvent::setException):
2542         (DeprecatedDOMKeyboardEvent::type):
2543         (DeprecatedDOMKeyboardEvent::target):
2544         (DeprecatedDOMKeyboardEvent::currentTarget):
2545         (DeprecatedDOMKeyboardEvent::eventPhase):
2546         (DeprecatedDOMKeyboardEvent::bubbles):
2547         (DeprecatedDOMKeyboardEvent::cancelable):
2548         (DeprecatedDOMKeyboardEvent::timeStamp):
2549         (DeprecatedDOMKeyboardEvent::stopPropagation):
2550         (DeprecatedDOMKeyboardEvent::preventDefault):
2551         (DeprecatedDOMKeyboardEvent::initEvent):
2552         (DeprecatedDOMKeyboardEvent::view):
2553         (DeprecatedDOMKeyboardEvent::detail):
2554         (DeprecatedDOMKeyboardEvent::initUIEvent):
2555         (DeprecatedDOMKeyboardEvent::keyCode):
2556         (DeprecatedDOMKeyboardEvent::charCode):
2557         (DeprecatedDOMKeyboardEvent::layerX):
2558         (DeprecatedDOMKeyboardEvent::layerY):
2559         (DeprecatedDOMKeyboardEvent::pageX):
2560         (DeprecatedDOMKeyboardEvent::pageY):
2561         (DeprecatedDOMKeyboardEvent::which):
2562         (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
2563         (DeprecatedDOMMouseEvent::AddRef):
2564         (DeprecatedDOMMouseEvent::Release):
2565         (DeprecatedDOMMouseEvent::throwException):
2566         (DeprecatedDOMMouseEvent::callWebScriptMethod):
2567         (DeprecatedDOMMouseEvent::evaluateWebScript):
2568         (DeprecatedDOMMouseEvent::removeWebScriptKey):
2569         (DeprecatedDOMMouseEvent::stringRepresentation):
2570         (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
2571         (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
2572         (DeprecatedDOMMouseEvent::setException):
2573         (DeprecatedDOMMouseEvent::type):
2574         (DeprecatedDOMMouseEvent::target):
2575         (DeprecatedDOMMouseEvent::currentTarget):
2576         (DeprecatedDOMMouseEvent::eventPhase):
2577         (DeprecatedDOMMouseEvent::bubbles):
2578         (DeprecatedDOMMouseEvent::cancelable):
2579         (DeprecatedDOMMouseEvent::timeStamp):
2580         (DeprecatedDOMMouseEvent::stopPropagation):
2581         (DeprecatedDOMMouseEvent::preventDefault):
2582         (DeprecatedDOMMouseEvent::initEvent):
2583         (DeprecatedDOMMouseEvent::view):
2584         (DeprecatedDOMMouseEvent::detail):
2585         (DeprecatedDOMMouseEvent::initUIEvent):
2586         (DeprecatedDOMMouseEvent::keyCode):
2587         (DeprecatedDOMMouseEvent::charCode):
2588         (DeprecatedDOMMouseEvent::layerX):
2589         (DeprecatedDOMMouseEvent::layerY):
2590         (DeprecatedDOMMouseEvent::pageX):
2591         (DeprecatedDOMMouseEvent::pageY):
2592         (DeprecatedDOMMouseEvent::which):
2593         (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
2594         (DeprecatedDOMMutationEvent::AddRef):
2595         (DeprecatedDOMMutationEvent::Release):
2596         (DeprecatedDOMMutationEvent::throwException):
2597         (DeprecatedDOMMutationEvent::callWebScriptMethod):
2598         (DeprecatedDOMMutationEvent::evaluateWebScript):
2599         (DeprecatedDOMMutationEvent::removeWebScriptKey):
2600         (DeprecatedDOMMutationEvent::stringRepresentation):
2601         (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
2602         (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
2603         (DeprecatedDOMMutationEvent::setException):
2604         (DeprecatedDOMMutationEvent::type):
2605         (DeprecatedDOMMutationEvent::target):
2606         (DeprecatedDOMMutationEvent::currentTarget):
2607         (DeprecatedDOMMutationEvent::eventPhase):
2608         (DeprecatedDOMMutationEvent::bubbles):
2609         (DeprecatedDOMMutationEvent::cancelable):
2610         (DeprecatedDOMMutationEvent::timeStamp):
2611         (DeprecatedDOMMutationEvent::stopPropagation):
2612         (DeprecatedDOMMutationEvent::preventDefault):
2613         (DeprecatedDOMMutationEvent::initEvent):
2614         (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
2615         (DeprecatedDOMOverflowEvent::AddRef):
2616         (DeprecatedDOMOverflowEvent::Release):
2617         (DeprecatedDOMOverflowEvent::throwException):
2618         (DeprecatedDOMOverflowEvent::callWebScriptMethod):
2619         (DeprecatedDOMOverflowEvent::evaluateWebScript):
2620         (DeprecatedDOMOverflowEvent::removeWebScriptKey):
2621         (DeprecatedDOMOverflowEvent::stringRepresentation):
2622         (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
2623         (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
2624         (DeprecatedDOMOverflowEvent::setException):
2625         (DeprecatedDOMOverflowEvent::type):
2626         (DeprecatedDOMOverflowEvent::target):
2627         (DeprecatedDOMOverflowEvent::currentTarget):
2628         (DeprecatedDOMOverflowEvent::eventPhase):
2629         (DeprecatedDOMOverflowEvent::bubbles):
2630         (DeprecatedDOMOverflowEvent::cancelable):
2631         (DeprecatedDOMOverflowEvent::timeStamp):
2632         (DeprecatedDOMOverflowEvent::stopPropagation):
2633         (DeprecatedDOMOverflowEvent::preventDefault):
2634         (DeprecatedDOMOverflowEvent::initEvent):
2635         (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
2636         (DeprecatedDOMWheelEvent::AddRef):
2637         (DeprecatedDOMWheelEvent::Release):
2638         (DeprecatedDOMWheelEvent::throwException):
2639         (DeprecatedDOMWheelEvent::callWebScriptMethod):
2640         (DeprecatedDOMWheelEvent::evaluateWebScript):
2641         (DeprecatedDOMWheelEvent::removeWebScriptKey):
2642         (DeprecatedDOMWheelEvent::stringRepresentation):
2643         (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
2644         (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
2645         (DeprecatedDOMWheelEvent::setException):
2646         (DeprecatedDOMWheelEvent::type):
2647         (DeprecatedDOMWheelEvent::target):
2648         (DeprecatedDOMWheelEvent::currentTarget):
2649         (DeprecatedDOMWheelEvent::eventPhase):
2650         (DeprecatedDOMWheelEvent::bubbles):
2651         (DeprecatedDOMWheelEvent::cancelable):
2652         (DeprecatedDOMWheelEvent::timeStamp):
2653         (DeprecatedDOMWheelEvent::stopPropagation):
2654         (DeprecatedDOMWheelEvent::preventDefault):
2655         (DeprecatedDOMWheelEvent::initEvent):
2656         (DeprecatedDOMWheelEvent::view):
2657         (DeprecatedDOMWheelEvent::detail):
2658         (DeprecatedDOMWheelEvent::initUIEvent):
2659         (DeprecatedDOMWheelEvent::keyCode):
2660         (DeprecatedDOMWheelEvent::charCode):
2661         (DeprecatedDOMWheelEvent::layerX):
2662         (DeprecatedDOMWheelEvent::layerY):
2663         (DeprecatedDOMWheelEvent::pageX):
2664         (DeprecatedDOMWheelEvent::pageY):
2665         (DeprecatedDOMWheelEvent::which):
2666         * DOMHTMLClasses.cpp:
2667         (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
2668         (DeprecatedDOMHTMLCollection::createInstance):
2669         (DeprecatedDOMHTMLCollection::QueryInterface):
2670         (DeprecatedDOMHTMLCollection::length):
2671         (DeprecatedDOMHTMLCollection::item):
2672         (DeprecatedDOMHTMLCollection::namedItem):
2673         (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
2674         (DeprecatedDOMHTMLOptionsCollection::length):
2675         (DeprecatedDOMHTMLOptionsCollection::setLength):
2676         (DeprecatedDOMHTMLOptionsCollection::item):
2677         (DeprecatedDOMHTMLOptionsCollection::namedItem):
2678         (DeprecatedDOMHTMLDocument::QueryInterface):
2679         (DeprecatedDOMHTMLDocument::title):
2680         (DeprecatedDOMHTMLDocument::setTitle):
2681         (DeprecatedDOMHTMLDocument::referrer):
2682         (DeprecatedDOMHTMLDocument::domain):
2683         (DeprecatedDOMHTMLDocument::URL):
2684         (DeprecatedDOMHTMLDocument::body):
2685         (DeprecatedDOMHTMLDocument::setBody):
2686         (DeprecatedDOMHTMLDocument::images):
2687         (DeprecatedDOMHTMLDocument::applets):
2688         (DeprecatedDOMHTMLDocument::links):
2689         (DeprecatedDOMHTMLDocument::forms):
2690         (DeprecatedDOMHTMLDocument::anchors):
2691         (DeprecatedDOMHTMLDocument::cookie):
2692         (DeprecatedDOMHTMLDocument::setCookie):
2693         (DeprecatedDOMHTMLDocument::open):
2694         (DeprecatedDOMHTMLDocument::close):
2695         (DeprecatedDOMHTMLDocument::write):
2696         (DeprecatedDOMHTMLDocument::writeln):
2697         (DeprecatedDOMHTMLDocument::getElementById_):
2698         (DeprecatedDOMHTMLDocument::getElementsByName):
2699         (DeprecatedDOMHTMLElement::QueryInterface):
2700         (DeprecatedDOMHTMLElement::idName):
2701         (DeprecatedDOMHTMLElement::setIdName):
2702         (DeprecatedDOMHTMLElement::title):
2703         (DeprecatedDOMHTMLElement::setTitle):
2704         (DeprecatedDOMHTMLElement::lang):
2705         (DeprecatedDOMHTMLElement::setLang):
2706         (DeprecatedDOMHTMLElement::dir):
2707         (DeprecatedDOMHTMLElement::setDir):
2708         (DeprecatedDOMHTMLElement::className):
2709         (DeprecatedDOMHTMLElement::setClassName):
2710         (DeprecatedDOMHTMLElement::innerHTML):
2711         (DeprecatedDOMHTMLElement::setInnerHTML):
2712         (DeprecatedDOMHTMLElement::innerText):
2713         (DeprecatedDOMHTMLElement::setInnerText):
2714         (DeprecatedDOMHTMLFormElement::QueryInterface):
2715         (DeprecatedDOMHTMLFormElement::elements):
2716         (DeprecatedDOMHTMLFormElement::length):
2717         (DeprecatedDOMHTMLFormElement::name):
2718         (DeprecatedDOMHTMLFormElement::setName):
2719         (DeprecatedDOMHTMLFormElement::acceptCharset):
2720         (DeprecatedDOMHTMLFormElement::setAcceptCharset):
2721         (DeprecatedDOMHTMLFormElement::action):
2722         (DeprecatedDOMHTMLFormElement::setAction):
2723         (DeprecatedDOMHTMLFormElement::encType):
2724         (DeprecatedDOMHTMLFormElement::setEnctype):
2725         (DeprecatedDOMHTMLFormElement::method):
2726         (DeprecatedDOMHTMLFormElement::setMethod):
2727         (DeprecatedDOMHTMLFormElement::target):
2728         (DeprecatedDOMHTMLFormElement::setTarget):
2729         (DeprecatedDOMHTMLFormElement::submit):
2730         (DeprecatedDOMHTMLFormElement::reset):
2731         (DeprecatedDOMHTMLSelectElement::QueryInterface):
2732         (DeprecatedDOMHTMLSelectElement::type):
2733         (DeprecatedDOMHTMLSelectElement::selectedIndex):
2734         (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
2735         (DeprecatedDOMHTMLSelectElement::value):
2736         (DeprecatedDOMHTMLSelectElement::setValue):
2737         (DeprecatedDOMHTMLSelectElement::length):
2738         (DeprecatedDOMHTMLSelectElement::form):
2739         (DeprecatedDOMHTMLSelectElement::options):
2740         (DeprecatedDOMHTMLSelectElement::disabled):
2741         (DeprecatedDOMHTMLSelectElement::setDisabled):
2742         (DeprecatedDOMHTMLSelectElement::multiple):
2743         (DeprecatedDOMHTMLSelectElement::setMultiple):
2744         (DeprecatedDOMHTMLSelectElement::name):
2745         (DeprecatedDOMHTMLSelectElement::setName):
2746         (DeprecatedDOMHTMLSelectElement::size):
2747         (DeprecatedDOMHTMLSelectElement::setSize):
2748         (DeprecatedDOMHTMLSelectElement::tabIndex):
2749         (DeprecatedDOMHTMLSelectElement::setTabIndex):
2750         (DeprecatedDOMHTMLSelectElement::add):
2751         (DeprecatedDOMHTMLSelectElement::remove):
2752         (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
2753         (DeprecatedDOMHTMLOptionElement::QueryInterface):
2754         (DeprecatedDOMHTMLOptionElement::form):
2755         (DeprecatedDOMHTMLOptionElement::defaultSelected):
2756         (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
2757         (DeprecatedDOMHTMLOptionElement::text):
2758         (DeprecatedDOMHTMLOptionElement::index):
2759         (DeprecatedDOMHTMLOptionElement::disabled):
2760         (DeprecatedDOMHTMLOptionElement::setDisabled):
2761         (DeprecatedDOMHTMLOptionElement::label):
2762         (DeprecatedDOMHTMLOptionElement::setLabel):
2763         (DeprecatedDOMHTMLOptionElement::selected):
2764         (DeprecatedDOMHTMLOptionElement::setSelected):
2765         (DeprecatedDOMHTMLOptionElement::value):
2766         (DeprecatedDOMHTMLOptionElement::setValue):
2767         (DeprecatedDOMHTMLInputElement::QueryInterface):
2768         (DeprecatedDOMHTMLInputElement::defaultValue):
2769         (DeprecatedDOMHTMLInputElement::setDefaultValue):
2770         (DeprecatedDOMHTMLInputElement::defaultChecked):
2771         (DeprecatedDOMHTMLInputElement::setDefaultChecked):
2772         (DeprecatedDOMHTMLInputElement::form):
2773         (DeprecatedDOMHTMLInputElement::accept):
2774         (DeprecatedDOMHTMLInputElement::setAccept):
2775         (DeprecatedDOMHTMLInputElement::accessKey):
2776         (DeprecatedDOMHTMLInputElement::setAccessKey):
2777         (DeprecatedDOMHTMLInputElement::align):
2778         (DeprecatedDOMHTMLInputElement::setAlign):
2779         (DeprecatedDOMHTMLInputElement::alt):
2780         (DeprecatedDOMHTMLInputElement::setAlt):
2781         (DeprecatedDOMHTMLInputElement::checked):
2782         (DeprecatedDOMHTMLInputElement::setChecked):
2783         (DeprecatedDOMHTMLInputElement::disabled):
2784         (DeprecatedDOMHTMLInputElement::setDisabled):
2785         (DeprecatedDOMHTMLInputElement::maxLength):
2786         (DeprecatedDOMHTMLInputElement::setMaxLength):
2787         (DeprecatedDOMHTMLInputElement::name):
2788         (DeprecatedDOMHTMLInputElement::setName):
2789         (DeprecatedDOMHTMLInputElement::readOnly):
2790         (DeprecatedDOMHTMLInputElement::setReadOnly):
2791         (DeprecatedDOMHTMLInputElement::size):
2792         (DeprecatedDOMHTMLInputElement::setSize):
2793         (DeprecatedDOMHTMLInputElement::src):
2794         (DeprecatedDOMHTMLInputElement::setSrc):
2795         (DeprecatedDOMHTMLInputElement::tabIndex):
2796         (DeprecatedDOMHTMLInputElement::setTabIndex):
2797         (DeprecatedDOMHTMLInputElement::type):
2798         (DeprecatedDOMHTMLInputElement::setType):
2799         (DeprecatedDOMHTMLInputElement::useMap):
2800         (DeprecatedDOMHTMLInputElement::setUseMap):
2801         (DeprecatedDOMHTMLInputElement::value):
2802         (DeprecatedDOMHTMLInputElement::setValue):
2803         (DeprecatedDOMHTMLInputElement::select):
2804         (DeprecatedDOMHTMLInputElement::click):
2805         (DeprecatedDOMHTMLInputElement::setSelectionStart):
2806         (DeprecatedDOMHTMLInputElement::selectionStart):
2807         (DeprecatedDOMHTMLInputElement::setSelectionEnd):
2808         (DeprecatedDOMHTMLInputElement::selectionEnd):
2809         (DeprecatedDOMHTMLInputElement::isTextField):
2810         (DeprecatedDOMHTMLInputElement::rectOnScreen):
2811         (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
2812         (DeprecatedDOMHTMLInputElement::selectedRange):
2813         (DeprecatedDOMHTMLInputElement::setAutofilled):
2814         (DeprecatedDOMHTMLInputElement::isUserEdited):
2815         (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
2816         (DeprecatedDOMHTMLTextAreaElement::defaultValue):
2817         (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
2818         (DeprecatedDOMHTMLTextAreaElement::form):
2819         (DeprecatedDOMHTMLTextAreaElement::accessKey):
2820         (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
2821         (DeprecatedDOMHTMLTextAreaElement::cols):
2822         (DeprecatedDOMHTMLTextAreaElement::setCols):
2823         (DeprecatedDOMHTMLTextAreaElement::disabled):
2824         (DeprecatedDOMHTMLTextAreaElement::setDisabled):
2825         (DeprecatedDOMHTMLTextAreaElement::name):
2826         (DeprecatedDOMHTMLTextAreaElement::setName):
2827         (DeprecatedDOMHTMLTextAreaElement::readOnly):
2828         (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
2829         (DeprecatedDOMHTMLTextAreaElement::rows):
2830         (DeprecatedDOMHTMLTextAreaElement::setRows):
2831         (DeprecatedDOMHTMLTextAreaElement::tabIndex):
2832         (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
2833         (DeprecatedDOMHTMLTextAreaElement::type):
2834         (DeprecatedDOMHTMLTextAreaElement::value):
2835         (DeprecatedDOMHTMLTextAreaElement::setValue):
2836         (DeprecatedDOMHTMLTextAreaElement::select):
2837         (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
2838         * DOMHTMLClasses.h:
2839         (DeprecatedDOMHTMLCollection::AddRef):
2840         (DeprecatedDOMHTMLCollection::Release):
2841         (DeprecatedDOMHTMLCollection::throwException):
2842         (DeprecatedDOMHTMLCollection::callWebScriptMethod):
2843         (DeprecatedDOMHTMLCollection::evaluateWebScript):
2844         (DeprecatedDOMHTMLCollection::removeWebScriptKey):
2845         (DeprecatedDOMHTMLCollection::stringRepresentation):
2846         (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
2847         (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
2848         (DeprecatedDOMHTMLCollection::setException):
2849         (DeprecatedDOMHTMLOptionsCollection::AddRef):
2850         (DeprecatedDOMHTMLOptionsCollection::Release):
2851         (DeprecatedDOMHTMLOptionsCollection::throwException):
2852         (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
2853         (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
2854         (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
2855         (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
2856         (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
2857         (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
2858         (DeprecatedDOMHTMLOptionsCollection::setException):
2859         (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
2860         (DeprecatedDOMHTMLDocument::AddRef):
2861         (DeprecatedDOMHTMLDocument::Release):
2862         (DeprecatedDOMHTMLDocument::throwException):
2863         (DeprecatedDOMHTMLDocument::callWebScriptMethod):
2864         (DeprecatedDOMHTMLDocument::evaluateWebScript):
2865         (DeprecatedDOMHTMLDocument::removeWebScriptKey):
2866         (DeprecatedDOMHTMLDocument::stringRepresentation):
2867         (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
2868         (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
2869         (DeprecatedDOMHTMLDocument::setException):
2870         (DeprecatedDOMHTMLDocument::nodeName):
2871         (DeprecatedDOMHTMLDocument::nodeValue):
2872         (DeprecatedDOMHTMLDocument::nodeType):
2873         (DeprecatedDOMHTMLDocument::parentNode):
2874         (DeprecatedDOMHTMLDocument::childNodes):
2875         (DeprecatedDOMHTMLDocument::firstChild):
2876         (DeprecatedDOMHTMLDocument::lastChild):
2877         (DeprecatedDOMHTMLDocument::previousSibling):
2878         (DeprecatedDOMHTMLDocument::nextSibling):
2879         (DeprecatedDOMHTMLDocument::attributes):
2880         (DeprecatedDOMHTMLDocument::ownerDocument):
2881         (DeprecatedDOMHTMLDocument::insertBefore):
2882         (DeprecatedDOMHTMLDocument::replaceChild):
2883         (DeprecatedDOMHTMLDocument::removeChild):
2884         (DeprecatedDOMHTMLDocument::appendChild):
2885         (DeprecatedDOMHTMLDocument::hasChildNodes):
2886         (DeprecatedDOMHTMLDocument::cloneNode):
2887         (DeprecatedDOMHTMLDocument::normalize):
2888         (DeprecatedDOMHTMLDocument::isSupported):
2889         (DeprecatedDOMHTMLDocument::namespaceURI):
2890         (DeprecatedDOMHTMLDocument::prefix):
2891         (DeprecatedDOMHTMLDocument::setPrefix):
2892         (DeprecatedDOMHTMLDocument::localName):
2893         (DeprecatedDOMHTMLDocument::hasAttributes):
2894         (DeprecatedDOMHTMLDocument::isSameNode):
2895         (DeprecatedDOMHTMLDocument::isEqualNode):
2896         (DeprecatedDOMHTMLDocument::textContent):
2897         (DeprecatedDOMHTMLDocument::setTextContent):
2898         (DeprecatedDOMHTMLDocument::doctype):
2899         (DeprecatedDOMHTMLDocument::implementation):
2900         (DeprecatedDOMHTMLDocument::documentElement):
2901         (DeprecatedDOMHTMLDocument::createElement):
2902         (DeprecatedDOMHTMLDocument::createDocumentFragment):
2903         (DeprecatedDOMHTMLDocument::createTextNode):
2904         (DeprecatedDOMHTMLDocument::createComment):
2905         (DeprecatedDOMHTMLDocument::createCDATASection):
2906         (DeprecatedDOMHTMLDocument::createProcessingInstruction):
2907         (DeprecatedDOMHTMLDocument::createAttribute):
2908         (DeprecatedDOMHTMLDocument::createEntityReference):
2909         (DeprecatedDOMHTMLDocument::getElementsByTagName):
2910         (DeprecatedDOMHTMLDocument::importNode):
2911         (DeprecatedDOMHTMLDocument::createElementNS):
2912         (DeprecatedDOMHTMLDocument::createAttributeNS):
2913         (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
2914         (DeprecatedDOMHTMLDocument::getElementById):
2915         (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
2916         (DeprecatedDOMHTMLElement::AddRef):
2917         (DeprecatedDOMHTMLElement::Release):
2918         (DeprecatedDOMHTMLElement::throwException):
2919         (DeprecatedDOMHTMLElement::callWebScriptMethod):
2920         (DeprecatedDOMHTMLElement::evaluateWebScript):
2921         (DeprecatedDOMHTMLElement::removeWebScriptKey):
2922         (DeprecatedDOMHTMLElement::stringRepresentation):
2923         (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
2924         (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
2925         (DeprecatedDOMHTMLElement::setException):
2926         (DeprecatedDOMHTMLElement::nodeName):
2927         (DeprecatedDOMHTMLElement::nodeValue):
2928         (DeprecatedDOMHTMLElement::setNodeValue):
2929         (DeprecatedDOMHTMLElement::nodeType):
2930         (DeprecatedDOMHTMLElement::parentNode):
2931         (DeprecatedDOMHTMLElement::childNodes):
2932         (DeprecatedDOMHTMLElement::firstChild):
2933         (DeprecatedDOMHTMLElement::lastChild):
2934         (DeprecatedDOMHTMLElement::previousSibling):
2935         (DeprecatedDOMHTMLElement::nextSibling):
2936         (DeprecatedDOMHTMLElement::attributes):
2937         (DeprecatedDOMHTMLElement::ownerDocument):
2938         (DeprecatedDOMHTMLElement::insertBefore):
2939         (DeprecatedDOMHTMLElement::replaceChild):
2940         (DeprecatedDOMHTMLElement::removeChild):
2941         (DeprecatedDOMHTMLElement::appendChild):
2942         (DeprecatedDOMHTMLElement::hasChildNodes):
2943         (DeprecatedDOMHTMLElement::cloneNode):
2944         (DeprecatedDOMHTMLElement::normalize):
2945         (DeprecatedDOMHTMLElement::isSupported):
2946         (DeprecatedDOMHTMLElement::namespaceURI):
2947         (DeprecatedDOMHTMLElement::prefix):
2948         (DeprecatedDOMHTMLElement::setPrefix):
2949         (DeprecatedDOMHTMLElement::localName):
2950         (DeprecatedDOMHTMLElement::hasAttributes):
2951         (DeprecatedDOMHTMLElement::isSameNode):
2952         (DeprecatedDOMHTMLElement::isEqualNode):
2953         (DeprecatedDOMHTMLElement::textContent):
2954         (DeprecatedDOMHTMLElement::setTextContent):
2955         (DeprecatedDOMHTMLElement::tagName):
2956         (DeprecatedDOMHTMLElement::getAttribute):
2957         (DeprecatedDOMHTMLElement::setAttribute):
2958         (DeprecatedDOMHTMLElement::removeAttribute):
2959         (DeprecatedDOMHTMLElement::getAttributeNode):
2960         (DeprecatedDOMHTMLElement::setAttributeNode):
2961         (DeprecatedDOMHTMLElement::removeAttributeNode):
2962         (DeprecatedDOMHTMLElement::getElementsByTagName):
2963         (DeprecatedDOMHTMLElement::getAttributeNS):
2964         (DeprecatedDOMHTMLElement::setAttributeNS):
2965         (DeprecatedDOMHTMLElement::removeAttributeNS):
2966         (DeprecatedDOMHTMLElement::getAttributeNodeNS):
2967         (DeprecatedDOMHTMLElement::setAttributeNodeNS):
2968         (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
2969         (DeprecatedDOMHTMLElement::hasAttribute):
2970         (DeprecatedDOMHTMLElement::hasAttributeNS):
2971         (DeprecatedDOMHTMLElement::focus):
2972         (DeprecatedDOMHTMLElement::blur):
2973         (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
2974         (DeprecatedDOMHTMLFormElement::AddRef):
2975         (DeprecatedDOMHTMLFormElement::Release):
2976         (DeprecatedDOMHTMLFormElement::throwException):
2977         (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
2978         (DeprecatedDOMHTMLFormElement::evaluateWebScript):
2979         (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
2980         (DeprecatedDOMHTMLFormElement::stringRepresentation):
2981         (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
2982         (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
2983         (DeprecatedDOMHTMLFormElement::setException):
2984         (DeprecatedDOMHTMLFormElement::nodeName):
2985         (DeprecatedDOMHTMLFormElement::nodeValue):
2986         (DeprecatedDOMHTMLFormElement::setNodeValue):
2987         (DeprecatedDOMHTMLFormElement::nodeType):
2988         (DeprecatedDOMHTMLFormElement::parentNode):
2989         (DeprecatedDOMHTMLFormElement::childNodes):
2990         (DeprecatedDOMHTMLFormElement::firstChild):
2991         (DeprecatedDOMHTMLFormElement::lastChild):
2992         (DeprecatedDOMHTMLFormElement::previousSibling):
2993         (DeprecatedDOMHTMLFormElement::nextSibling):
2994         (DeprecatedDOMHTMLFormElement::attributes):
2995         (DeprecatedDOMHTMLFormElement::ownerDocument):
2996         (DeprecatedDOMHTMLFormElement::insertBefore):
2997         (DeprecatedDOMHTMLFormElement::replaceChild):
2998         (DeprecatedDOMHTMLFormElement::removeChild):
2999         (DeprecatedDOMHTMLFormElement::appendChild):
3000         (DeprecatedDOMHTMLFormElement::hasChildNodes):
3001         (DeprecatedDOMHTMLFormElement::cloneNode):
3002         (DeprecatedDOMHTMLFormElement::normalize):
3003         (DeprecatedDOMHTMLFormElement::isSupported):
3004         (DeprecatedDOMHTMLFormElement::namespaceURI):
3005         (DeprecatedDOMHTMLFormElement::prefix):
3006         (DeprecatedDOMHTMLFormElement::setPrefix):
3007         (DeprecatedDOMHTMLFormElement::localName):
3008         (DeprecatedDOMHTMLFormElement::hasAttributes):
3009         (DeprecatedDOMHTMLFormElement::isSameNode):
3010         (DeprecatedDOMHTMLFormElement::isEqualNode):
3011         (DeprecatedDOMHTMLFormElement::textContent):
3012         (DeprecatedDOMHTMLFormElement::setTextContent):
3013         (DeprecatedDOMHTMLFormElement::tagName):
3014         (DeprecatedDOMHTMLFormElement::getAttribute):
3015         (DeprecatedDOMHTMLFormElement::setAttribute):
3016         (DeprecatedDOMHTMLFormElement::removeAttribute):
3017         (DeprecatedDOMHTMLFormElement::getAttributeNode):
3018         (DeprecatedDOMHTMLFormElement::setAttributeNode):
3019         (DeprecatedDOMHTMLFormElement::removeAttributeNode):
3020         (DeprecatedDOMHTMLFormElement::getElementsByTagName):
3021         (DeprecatedDOMHTMLFormElement::getAttributeNS):
3022         (DeprecatedDOMHTMLFormElement::setAttributeNS):
3023         (DeprecatedDOMHTMLFormElement::removeAttributeNS):
3024         (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
3025         (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
3026         (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
3027         (DeprecatedDOMHTMLFormElement::hasAttribute):
3028         (DeprecatedDOMHTMLFormElement::hasAttributeNS):
3029         (DeprecatedDOMHTMLFormElement::focus):
3030         (DeprecatedDOMHTMLFormElement::blur):
3031         (DeprecatedDOMHTMLFormElement::idName):
3032         (DeprecatedDOMHTMLFormElement::setIdName):
3033         (DeprecatedDOMHTMLFormElement::title):
3034         (DeprecatedDOMHTMLFormElement::setTitle):
3035         (DeprecatedDOMHTMLFormElement::lang):
3036         (DeprecatedDOMHTMLFormElement::setLang):
3037         (DeprecatedDOMHTMLFormElement::dir):
3038         (DeprecatedDOMHTMLFormElement::setDir):
3039         (DeprecatedDOMHTMLFormElement::className):
3040         (DeprecatedDOMHTMLFormElement::setClassName):
3041         (DeprecatedDOMHTMLFormElement::innerHTML):
3042         (DeprecatedDOMHTMLFormElement::setInnerHTML):
3043         (DeprecatedDOMHTMLFormElement::innerText):
3044         (DeprecatedDOMHTMLFormElement::setInnerText):
3045         (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
3046         (DeprecatedDOMHTMLSelectElement::AddRef):
3047         (DeprecatedDOMHTMLSelectElement::Release):
3048         (DeprecatedDOMHTMLSelectElement::throwException):
3049         (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
3050         (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
3051         (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
3052         (DeprecatedDOMHTMLSelectElement::stringRepresentation):
3053         (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
3054         (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
3055         (DeprecatedDOMHTMLSelectElement::setException):
3056         (DeprecatedDOMHTMLSelectElement::nodeName):
3057         (DeprecatedDOMHTMLSelectElement::nodeValue):
3058         (DeprecatedDOMHTMLSelectElement::setNodeValue):
3059         (DeprecatedDOMHTMLSelectElement::nodeType):
3060         (DeprecatedDOMHTMLSelectElement::parentNode):
3061         (DeprecatedDOMHTMLSelectElement::childNodes):
3062         (DeprecatedDOMHTMLSelectElement::firstChild):
3063         (DeprecatedDOMHTMLSelectElement::lastChild):
3064         (DeprecatedDOMHTMLSelectElement::previousSibling):
3065         (DeprecatedDOMHTMLSelectElement::nextSibling):
3066         (DeprecatedDOMHTMLSelectElement::attributes):
3067         (DeprecatedDOMHTMLSelectElement::ownerDocument):
3068         (DeprecatedDOMHTMLSelectElement::insertBefore):
3069         (DeprecatedDOMHTMLSelectElement::replaceChild):
3070         (DeprecatedDOMHTMLSelectElement::removeChild):
3071         (DeprecatedDOMHTMLSelectElement::appendChild):
3072         (DeprecatedDOMHTMLSelectElement::hasChildNodes):
3073         (DeprecatedDOMHTMLSelectElement::cloneNode):
3074         (DeprecatedDOMHTMLSelectElement::normalize):
3075         (DeprecatedDOMHTMLSelectElement::isSupported):
3076         (DeprecatedDOMHTMLSelectElement::namespaceURI):
3077         (DeprecatedDOMHTMLSelectElement::prefix):
3078         (DeprecatedDOMHTMLSelectElement::setPrefix):
3079         (DeprecatedDOMHTMLSelectElement::localName):
3080         (DeprecatedDOMHTMLSelectElement::hasAttributes):
3081         (DeprecatedDOMHTMLSelectElement::isSameNode):
3082         (DeprecatedDOMHTMLSelectElement::isEqualNode):
3083         (DeprecatedDOMHTMLSelectElement::textContent):
3084         (DeprecatedDOMHTMLSelectElement::setTextContent):
3085         (DeprecatedDOMHTMLSelectElement::tagName):
3086         (DeprecatedDOMHTMLSelectElement::getAttribute):
3087         (DeprecatedDOMHTMLSelectElement::setAttribute):
3088         (DeprecatedDOMHTMLSelectElement::removeAttribute):
3089         (DeprecatedDOMHTMLSelectElement::getAttributeNode):
3090         (DeprecatedDOMHTMLSelectElement::setAttributeNode):
3091         (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
3092         (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
3093         (DeprecatedDOMHTMLSelectElement::getAttributeNS):
3094         (DeprecatedDOMHTMLSelectElement::setAttributeNS):
3095         (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
3096         (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
3097         (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
3098         (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
3099         (DeprecatedDOMHTMLSelectElement::hasAttribute):
3100         (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
3101         (DeprecatedDOMHTMLSelectElement::focus):
3102         (DeprecatedDOMHTMLSelectElement::blur):
3103         (DeprecatedDOMHTMLSelectElement::idName):
3104         (DeprecatedDOMHTMLSelectElement::setIdName):
3105         (DeprecatedDOMHTMLSelectElement::title):
3106         (DeprecatedDOMHTMLSelectElement::setTitle):
3107         (DeprecatedDOMHTMLSelectElement::lang):
3108         (DeprecatedDOMHTMLSelectElement::setLang):
3109         (DeprecatedDOMHTMLSelectElement::dir):
3110         (DeprecatedDOMHTMLSelectElement::setDir):
3111         (DeprecatedDOMHTMLSelectElement::className):
3112         (DeprecatedDOMHTMLSelectElement::setClassName):
3113         (DeprecatedDOMHTMLSelectElement::innerHTML):
3114         (DeprecatedDOMHTMLSelectElement::setInnerHTML):
3115         (DeprecatedDOMHTMLSelectElement::innerText):
3116         (DeprecatedDOMHTMLSelectElement::setInnerText):
3117         (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
3118         (DeprecatedDOMHTMLOptionElement::AddRef):
3119         (DeprecatedDOMHTMLOptionElement::Release):
3120         (DeprecatedDOMHTMLOptionElement::throwException):
3121         (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
3122         (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
3123         (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
3124         (DeprecatedDOMHTMLOptionElement::stringRepresentation):
3125         (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
3126         (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
3127         (DeprecatedDOMHTMLOptionElement::setException):
3128         (DeprecatedDOMHTMLOptionElement::nodeName):
3129         (DeprecatedDOMHTMLOptionElement::nodeValue):
3130         (DeprecatedDOMHTMLOptionElement::setNodeValue):
3131         (DeprecatedDOMHTMLOptionElement::nodeType):
3132         (DeprecatedDOMHTMLOptionElement::parentNode):
3133         (DeprecatedDOMHTMLOptionElement::childNodes):
3134         (DeprecatedDOMHTMLOptionElement::firstChild):
3135         (DeprecatedDOMHTMLOptionElement::lastChild):
3136         (DeprecatedDOMHTMLOptionElement::previousSibling):
3137         (DeprecatedDOMHTMLOptionElement::nextSibling):
3138         (DeprecatedDOMHTMLOptionElement::attributes):
3139         (DeprecatedDOMHTMLOptionElement::ownerDocument):
3140         (DeprecatedDOMHTMLOptionElement::insertBefore):
3141         (DeprecatedDOMHTMLOptionElement::replaceChild):
3142         (DeprecatedDOMHTMLOptionElement::removeChild):
3143         (DeprecatedDOMHTMLOptionElement::appendChild):
3144         (DeprecatedDOMHTMLOptionElement::hasChildNodes):
3145         (DeprecatedDOMHTMLOptionElement::cloneNode):
3146         (DeprecatedDOMHTMLOptionElement::normalize):
3147         (DeprecatedDOMHTMLOptionElement::isSupported):
3148         (DeprecatedDOMHTMLOptionElement::namespaceURI):
3149         (DeprecatedDOMHTMLOptionElement::prefix):
3150         (DeprecatedDOMHTMLOptionElement::setPrefix):
3151         (DeprecatedDOMHTMLOptionElement::localName):
3152         (DeprecatedDOMHTMLOptionElement::hasAttributes):
3153         (DeprecatedDOMHTMLOptionElement::isSameNode):
3154         (DeprecatedDOMHTMLOptionElement::isEqualNode):
3155         (DeprecatedDOMHTMLOptionElement::textContent):
3156         (DeprecatedDOMHTMLOptionElement::setTextContent):
3157         (DeprecatedDOMHTMLOptionElement::tagName):
3158         (DeprecatedDOMHTMLOptionElement::getAttribute):
3159         (DeprecatedDOMHTMLOptionElement::setAttribute):
3160         (DeprecatedDOMHTMLOptionElement::removeAttribute):
3161         (DeprecatedDOMHTMLOptionElement::getAttributeNode):
3162         (DeprecatedDOMHTMLOptionElement::setAttributeNode):
3163         (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
3164         (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
3165         (DeprecatedDOMHTMLOptionElement::getAttributeNS):
3166         (DeprecatedDOMHTMLOptionElement::setAttributeNS):
3167         (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
3168         (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
3169         (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
3170         (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
3171         (DeprecatedDOMHTMLOptionElement::hasAttribute):
3172         (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
3173         (DeprecatedDOMHTMLOptionElement::focus):
3174         (DeprecatedDOMHTMLOptionElement::blur):
3175         (DeprecatedDOMHTMLOptionElement::idName):
3176         (DeprecatedDOMHTMLOptionElement::setIdName):
3177         (DeprecatedDOMHTMLOptionElement::title):
3178         (DeprecatedDOMHTMLOptionElement::setTitle):
3179         (DeprecatedDOMHTMLOptionElement::lang):
3180         (DeprecatedDOMHTMLOptionElement::setLang):
3181         (DeprecatedDOMHTMLOptionElement::dir):
3182         (DeprecatedDOMHTMLOptionElement::setDir):
3183         (DeprecatedDOMHTMLOptionElement::className):
3184         (DeprecatedDOMHTMLOptionElement::setClassName):
3185         (DeprecatedDOMHTMLOptionElement::innerHTML):
3186         (DeprecatedDOMHTMLOptionElement::setInnerHTML):
3187         (DeprecatedDOMHTMLOptionElement::innerText):
3188         (DeprecatedDOMHTMLOptionElement::setInnerText):
3189         (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
3190         (DeprecatedDOMHTMLInputElement::AddRef):
3191         (DeprecatedDOMHTMLInputElement::Release):
3192         (DeprecatedDOMHTMLInputElement::throwException):
3193         (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
3194         (DeprecatedDOMHTMLInputElement::evaluateWebScript):
3195         (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
3196         (DeprecatedDOMHTMLInputElement::stringRepresentation):
3197         (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
3198         (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
3199         (DeprecatedDOMHTMLInputElement::setException):
3200         (DeprecatedDOMHTMLInputElement::nodeName):
3201         (DeprecatedDOMHTMLInputElement::nodeValue):
3202         (DeprecatedDOMHTMLInputElement::setNodeValue):
3203         (DeprecatedDOMHTMLInputElement::nodeType):
3204         (DeprecatedDOMHTMLInputElement::parentNode):
3205         (DeprecatedDOMHTMLInputElement::childNodes):
3206         (DeprecatedDOMHTMLInputElement::firstChild):
3207         (DeprecatedDOMHTMLInputElement::lastChild):
3208         (DeprecatedDOMHTMLInputElement::previousSibling):
3209         (DeprecatedDOMHTMLInputElement::nextSibling):
3210         (DeprecatedDOMHTMLInputElement::attributes):
3211         (DeprecatedDOMHTMLInputElement::ownerDocument):
3212         (DeprecatedDOMHTMLInputElement::insertBefore):
3213         (DeprecatedDOMHTMLInputElement::replaceChild):
3214         (DeprecatedDOMHTMLInputElement::removeChild):
3215         (DeprecatedDOMHTMLInputElement::appendChild):
3216         (DeprecatedDOMHTMLInputElement::hasChildNodes):
3217         (DeprecatedDOMHTMLInputElement::cloneNode):
3218         (DeprecatedDOMHTMLInputElement::normalize):
3219         (DeprecatedDOMHTMLInputElement::isSupported):
3220         (DeprecatedDOMHTMLInputElement::namespaceURI):
3221         (DeprecatedDOMHTMLInputElement::prefix):
3222         (DeprecatedDOMHTMLInputElement::setPrefix):
3223         (DeprecatedDOMHTMLInputElement::localName):
3224         (DeprecatedDOMHTMLInputElement::hasAttributes):
3225         (DeprecatedDOMHTMLInputElement::isSameNode):
3226         (DeprecatedDOMHTMLInputElement::isEqualNode):
3227         (DeprecatedDOMHTMLInputElement::textContent):
3228         (DeprecatedDOMHTMLInputElement::setTextContent):
3229         (DeprecatedDOMHTMLInputElement::tagName):
3230         (DeprecatedDOMHTMLInputElement::getAttribute):
3231         (DeprecatedDOMHTMLInputElement::setAttribute):
3232         (DeprecatedDOMHTMLInputElement::removeAttribute):
3233         (DeprecatedDOMHTMLInputElement::getAttributeNode):
3234         (DeprecatedDOMHTMLInputElement::setAttributeNode):
3235         (DeprecatedDOMHTMLInputElement::removeAttributeNode):
3236         (DeprecatedDOMHTMLInputElement::getElementsByTagName):
3237         (DeprecatedDOMHTMLInputElement::getAttributeNS):
3238         (DeprecatedDOMHTMLInputElement::setAttributeNS):
3239         (DeprecatedDOMHTMLInputElement::removeAttributeNS):
3240         (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
3241         (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
3242         (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
3243         (DeprecatedDOMHTMLInputElement::hasAttribute):
3244         (DeprecatedDOMHTMLInputElement::hasAttributeNS):
3245         (DeprecatedDOMHTMLInputElement::focus):
3246         (DeprecatedDOMHTMLInputElement::blur):
3247         (DeprecatedDOMHTMLInputElement::idName):
3248         (DeprecatedDOMHTMLInputElement::setIdName):
3249         (DeprecatedDOMHTMLInputElement::title):
3250         (DeprecatedDOMHTMLInputElement::setTitle):
3251         (DeprecatedDOMHTMLInputElement::lang):
3252         (DeprecatedDOMHTMLInputElement::setLang):
3253         (DeprecatedDOMHTMLInputElement::dir):
3254         (DeprecatedDOMHTMLInputElement::setDir):
3255         (DeprecatedDOMHTMLInputElement::className):
3256         (DeprecatedDOMHTMLInputElement::setClassName):
3257         (DeprecatedDOMHTMLInputElement::innerHTML):
3258         (DeprecatedDOMHTMLInputElement::setInnerHTML):
3259         (DeprecatedDOMHTMLInputElement::innerText):
3260         (DeprecatedDOMHTMLInputElement::setInnerText):
3261         (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
3262         (DeprecatedDOMHTMLTextAreaElement::AddRef):
3263         (DeprecatedDOMHTMLTextAreaElement::Release):
3264         (DeprecatedDOMHTMLTextAreaElement::throwException):
3265         (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
3266         (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
3267         (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
3268         (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
3269         (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
3270         (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
3271         (DeprecatedDOMHTMLTextAreaElement::setException):
3272         (DeprecatedDOMHTMLTextAreaElement::nodeName):
3273         (DeprecatedDOMHTMLTextAreaElement::nodeValue):
3274         (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
3275         (DeprecatedDOMHTMLTextAreaElement::nodeType):
3276         (DeprecatedDOMHTMLTextAreaElement::parentNode):
3277         (DeprecatedDOMHTMLTextAreaElement::childNodes):
3278         (DeprecatedDOMHTMLTextAreaElement::firstChild):
3279         (DeprecatedDOMHTMLTextAreaElement::lastChild):
3280         (DeprecatedDOMHTMLTextAreaElement::previousSibling):
3281         (DeprecatedDOMHTMLTextAreaElement::nextSibling):
3282         (DeprecatedDOMHTMLTextAreaElement::attributes):
3283         (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
3284         (DeprecatedDOMHTMLTextAreaElement::insertBefore):
3285         (DeprecatedDOMHTMLTextAreaElement::replaceChild):
3286         (DeprecatedDOMHTMLTextAreaElement::removeChild):
3287         (DeprecatedDOMHTMLTextAreaElement::appendChild):
3288         (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
3289         (DeprecatedDOMHTMLTextAreaElement::cloneNode):
3290         (DeprecatedDOMHTMLTextAreaElement::normalize):
3291         (DeprecatedDOMHTMLTextAreaElement::isSupported):
3292         (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
3293         (DeprecatedDOMHTMLTextAreaElement::prefix):
3294         (DeprecatedDOMHTMLTextAreaElement::setPrefix):
3295         (DeprecatedDOMHTMLTextAreaElement::localName):
3296         (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
3297         (DeprecatedDOMHTMLTextAreaElement::isSameNode):
3298         (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
3299         (DeprecatedDOMHTMLTextAreaElement::textContent):
3300         (DeprecatedDOMHTMLTextAreaElement::setTextContent):
3301         (DeprecatedDOMHTMLTextAreaElement::tagName):
3302         (DeprecatedDOMHTMLTextAreaElement::getAttribute):
3303         (DeprecatedDOMHTMLTextAreaElement::setAttribute):
3304         (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
3305         (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
3306         (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
3307         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
3308         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
3309         (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
3310         (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
3311         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
3312         (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
3313         (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
3314         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
3315         (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
3316         (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
3317         (DeprecatedDOMHTMLTextAreaElement::focus):
3318         (DeprecatedDOMHTMLTextAreaElement::blur):
3319         (DeprecatedDOMHTMLTextAreaElement::idName):
3320         (DeprecatedDOMHTMLTextAreaElement::setIdName):
3321         (DeprecatedDOMHTMLTextAreaElement::title):
3322         (DeprecatedDOMHTMLTextAreaElement::setTitle):
3323         (DeprecatedDOMHTMLTextAreaElement::lang):
3324         (DeprecatedDOMHTMLTextAreaElement::setLang):
3325         (DeprecatedDOMHTMLTextAreaElement::dir):
3326         (DeprecatedDOMHTMLTextAreaElement::setDir):
3327         (DeprecatedDOMHTMLTextAreaElement::className):
3328         (DeprecatedDOMHTMLTextAreaElement::setClassName):
3329         (DeprecatedDOMHTMLTextAreaElement::innerHTML):
3330         (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
3331         (DeprecatedDOMHTMLTextAreaElement::innerText):
3332         (DeprecatedDOMHTMLTextAreaElement::setInnerText):
3333         * Interfaces/DOMCSS.idl:
3334         * Interfaces/DOMCore.idl:
3335         * Interfaces/DOMEvents.idl:
3336         * Interfaces/DOMExtensions.idl:
3337         * Interfaces/DOMHTML.idl:
3338         * Interfaces/DOMPrivate.idl:
3339         * Interfaces/DOMRange.idl:
3340         * Interfaces/DOMWindow.idl:
3341         * Interfaces/IWebEditingDelegate.idl:
3342         * Interfaces/IWebFormDelegate.idl:
3343         * Interfaces/IWebFrame.idl:
3344         * Interfaces/IWebHTMLRepresentation.idl:
3345         * Interfaces/IWebView.idl:
3346         * WebEditorClient.cpp:
3347         (WebEditorClient::shouldDeleteRange):
3348         (WebEditorClient::shouldInsertText):
3349         (WebEditorClient::textFieldDidBeginEditing):
3350         (WebEditorClient::textFieldDidEndEditing):
3351         (WebEditorClient::textDidChangeInTextField):
3352         (WebEditorClient::doTextFieldCommandFromEvent):
3353         (WebEditorClient::textWillBeDeletedInTextField):
3354         (WebEditorClient::textDidChangeInTextArea):
3355         * WebElementPropertyBag.cpp:
3356         (WebElementPropertyBag::Read):
3357         * WebFrame.cpp:
3358         (elementFromDOMElement):
3359         (formElementFromDOMElement):
3360         (inputElementFromDOMElement):
3361         (WebFrame::DOMDocument):
3362         (WebFrame::frameElement):
3363         (WebFrame::currentForm):
3364         (WebFrame::elementWithName):
3365         (WebFrame::formForElement):
3366         (WebFrame::elementDoesAutoComplete):
3367         (WebFrame::controlsInForm):
3368         (WebFrame::elementIsPassword):
3369         (WebFrame::searchForLabelsBeforeElement):
3370         (WebFrame::matchLabelsAgainstElement):
3371         (WebFrame::dispatchWillSubmitForm):
3372         * WebFrame.h:
3373         * WebHTMLRepresentation.cpp:
3374         (WebHTMLRepresentation::attributedStringFromDOMNodes):
3375         (WebHTMLRepresentation::elementWithName):
3376         (WebHTMLRepresentation::elementDoesAutoComplete):
3377         (WebHTMLRepresentation::elementIsPassword):
3378         (WebHTMLRepresentation::formForElement):
3379         (WebHTMLRepresentation::currentForm):
3380         (WebHTMLRepresentation::controlsInForm):
3381         (WebHTMLRepresentation::searchForLabels):
3382         (WebHTMLRepresentation::matchLabels):
3383         * WebHTMLRepresentation.h:
3384         * WebView.cpp:
3385         (WebView::mainFrameDocument):
3386         (WebView::computedStyleForElement):
3387         (WebView::editableDOMRangeForPoint):
3388         (WebView::setSelectedDOMRange):
3389         (WebView::selectedDOMRange):
3390         (WebView::setTypingStyle):
3391         (WebView::typingStyle):
3392         (WebView::styleDeclarationWithText):
3393         (WebView::replaceSelectionWithNode):
3394         (WebView::applyStyle):
3395         * WebView.h:
3396
3397 2007-08-22  Jon Honeycutt  <jhoneycutt@apple.com>
3398
3399         Reviewed by Adam.
3400
3401         Refactoring of <radr://problem/5220598> Dragging URL out and back
3402         inserts a second copy of the URL
3403
3404         * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
3405         removeCustomDropTarget
3406         * WebView.cpp: 
3407         (WebView::WebView): Initialize m_hasCustomDropTarget
3408         (WebView::setCustomDropTarget): Revoke any existing drop target and set
3409         the incoming drop target.
3410         (WebView::removeCustomDropTarget): Revoke any existing drop target and
3411         set the default drop target.
3412         * WebView.h:
3413
3414 2007-08-21  Ada Chan  <adachan@apple.com>
3415
3416         Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
3417         Placing tooltip window at the topmost in z-order brought windows that were opened in the
3418         background to the front.  Use HWND_TOP instead.
3419
3420         Reviewed by Adam.
3421         
3422         * WebView.cpp:
3423         (WebView::initializeToolTipWindow):
3424
3425 2007-08-21  Adam Roben  <aroben@apple.com>
3426
3427         Switch Windows to using FrameView::layoutIfNeededRecursive
3428
3429         Reviewed by Darin.
3430
3431         * WebFrame.cpp: Removed layoutIfNeededRecursive.
3432         * WebFrame.h: Ditto.
3433         * WebView.cpp:
3434         (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
3435
3436 2007-08-17  Adam Roben  <aroben@apple.com>
3437
3438         Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
3439
3440         We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
3441             1) If DisableWebKitDeveloperExtras is set to true, don't display it
3442             2) If not, and we're in a debug build, display it
3443             3) If not, and we're in a release build, display it if
3444                WebKitDeveloperExtras is set to true
3445
3446         Reviewed by Ada.
3447
3448         * Interfaces/IWebPreferencesPrivate.idl: Added.
3449         * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
3450         file to project.
3451         * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
3452         IWebPreferencesPrivate to project.
3453         * WebPreferenceKeysPrivate.h: Added new keys.
3454         * WebPreferences.cpp: Added IID_WebPreferences.
3455         (WebPreferences::postPreferencesChangesNotification): Added an explicit
3456         cast needed now that WebPreferences implements two interfaces.
3457         (WebPreferences::QueryInterface): Added new cases.
3458         (WebPreferences::setDeveloperExtrasEnabled): Added.
3459         (WebPreferences::developerExtrasEnabled): Added.
3460         (WebPreferences::developerExtrasDisabledByOverride): Added.
3461         * WebPreferences.h: Now implements IWebPreferencesPrivate.
3462         * WebView.cpp:
3463         (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
3464         (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
3465         * WebView.h:
3466
3467 2007-08-17  Adam Roben  <aroben@apple.com>
3468
3469         Add WebPreferences::sharedStandardPreferences
3470
3471         This is a convenience method to get the standard preferences object so
3472         that within WebKit we don't have to deal with the fact that COM doesn't
3473         support static methods.
3474
3475         Reviewed by Ada.
3476
3477         * WebHistory.cpp:
3478         (WebHistory::WebHistory): Use sharedStandardPreferences.
3479         * WebIconDatabase.cpp:
3480         (WebIconDatabase::init): Ditto.
3481         * WebPreferences.cpp:
3482         (WebPreferences::sharedStandardPreferences): Added.
3483         (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
3484         (WebPreferences::standardPreferences): Ditto.
3485         * WebPreferences.h:
3486         * WebView.cpp:
3487         (WebView::preferences): Ditto.
3488
3489 2007-08-17  Anders Carlsson  <andersca@apple.com>
3490
3491         Build fix.
3492         
3493         * WebFrame.cpp:
3494         (WebFrame::createPlugin):
3495         * WebFrame.h:
3496         
3497 2007-08-13  Geoffrey Garen  <ggaren@apple.com>
3498
3499         Reviewed by Dave Hyatt.
3500
3501         WebKit changes to support new cache eviction model in WebCore.
3502
3503         * WebPreferences.cpp:
3504         (WebPreferences::initialize):
3505
3506         * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
3507         * WebView.cpp:
3508         (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
3509         size on low memory systems to avoid affecting the PLT for now.
3510
3511 2007-08-14  Steve Falkenburg  <sfalken@apple.com>
3512
3513         <rdar://problem/5411482> Windows user agent language always returns "en"
3514         
3515         Call WebCore::defaultLanguage() to pick up UA language.
3516         
3517         Reviewed by Oliver.
3518
3519         * WebView.cpp:
3520         (WebView::userAgentForKURL):
3521
3522 2007-08-15  Peter Kasting  <zerodpx@gmail.org>
3523
3524         Reviewed by Darin.
3525         
3526         http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
3527         conversions of wtf::Vector<T> to T* by explicitly calling .data()
3528
3529         * WebView.cpp:
3530         (getCompositionString):
3531
3532 2007-08-12  Adam Roben  <aroben@apple.com>
3533
3534         Store user defaults in a non-mutable CFDictionaryRef
3535
3536         Also renamed WebPreferences' static members:
3537             m_standardPreferences -> s_standardPreferences
3538             m_standardUserDefaults -> s_defaultSettings
3539
3540         Reviewed by Darin and John.