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