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