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