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