WebCore: [chromium] REGRESSION(72141): Chromium fails acid3 on windows and linux
[WebKit-https.git] / WebKit / win / ChangeLog
1 2010-11-18  Steve Falkenburg  <sfalken@apple.com>
2
3         Reviewed by Adam Roben.
4
5         Debug_Internal Windows configuration is unnecessary, should be removed
6         https://bugs.webkit.org/show_bug.cgi?id=49753
7
8         * WebKitPrefix.h:
9
10 2010-11-17  Steve Falkenburg  <sfalken@apple.com>
11
12         Reviewed by Adam Roben.
13
14         WebKit Interfaces project should use vsprops file for common build settings
15         https://bugs.webkit.org/show_bug.cgi?id=49713
16         
17         * WebKit.vcproj/Interfaces.vcproj:
18         * WebKit.vcproj/InterfacesCommon.vsprops: Added.
19
20 2010-11-16  Steve Falkenburg  <sfalken@apple.com>
21
22         Reviewed by Adam Roben.
23
24         Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
25         https://bugs.webkit.org/show_bug.cgi?id=49632
26
27         * WebKit.vcproj/Interfaces.vcproj:
28         * WebKit.vcproj/WebKit.make:
29         * WebKit.vcproj/WebKit.sln:
30         * WebKit.vcproj/WebKit.submit.sln:
31         * WebKit.vcproj/WebKit.vcproj:
32         * WebKit.vcproj/WebKitGUID.vcproj:
33
34 2010-11-16  Dave Hyatt  <hyatt@apple.com>
35
36         Reviewed by Dan Bernstein.
37
38         https://bugs.webkit.org/show_bug.cgi?id=11004
39         
40         font-size:0 is ignored.  Remove the minimum font size of 1 in CSSStyleSelector.
41         Change the pref value for minimum font size from 1 to 0.  Make sure to never use the NSFont's size,
42         since it doesn't honor a size of 0.  Instead pass the size in to the FontPlatformData(NSFont*) version
43         of the constructor rather than using [NSFont pointSize].
44
45         https://bugs.webkit.org/show_bug.cgi?id=49582
46         
47         Negative leading is not handled correctly.  There are two bugs here.  The first is that
48         maxAscent and maxDescent can be negative, so we need a notion of whether or not we have
49         set them before so that we can allow them to be < 0.
50         
51         The second issue is that we should understand where fonts will end up relative to
52         our baseline (excluding line height), and only allow those boxes to impact ascent and
53         descent if the actual font box (without factoring in line height) is above or below the
54         root line box baseline.
55
56         Added fast/css/negative-leading.html
57         
58         These two bug fixes have to land together to keep the Acid 3 test rendering correctly.
59
60         * WebPreferences.cpp:
61         (WebPreferences::initializeDefaultSettings):
62
63 2010-11-16  Steve Falkenburg  <sfalken@apple.com>
64
65         Reviewed by Adam Roben.
66
67         Use vsprops files for common settings in Windows WebKit
68         https://bugs.webkit.org/show_bug.cgi?id=49622
69
70         * WebKit.vcproj/WebKit.vcproj:
71         * WebKit.vcproj/WebKitCommon.vsprops: Added.
72
73 2010-11-16  Steve Falkenburg  <sfalken@apple.com>
74
75         Rubber stamped by Adam Roben.
76
77         Remove unnecessary def file, remove outdated def files from vcproj.
78
79         * WebKit.vcproj/WebKit.vcproj:
80         * WebKit.vcproj/WebKit_debug.def: Removed.
81
82 2010-11-12  John Knottenbelt  <jknotten@chromium.org>
83
84         Reviewed by Steve Block.
85
86         Rename GeolocationControllerClient to GeolocationClient.
87         https://bugs.webkit.org/show_bug.cgi?id=49259
88
89         * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp.
90         (WebGeolocationClient::WebGeolocationClient):
91         (WebGeolocationClient::geolocationDestroyed):
92         (WebGeolocationClient::startUpdating):
93         (WebGeolocationClient::stopUpdating):
94         (WebGeolocationClient::lastPosition):
95         * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h.
96         (WebGeolocationClient::setEnableHighAccuracy):
97         * WebKit.vcproj/WebKit.vcproj:
98         * WebView.cpp:
99         (WebView::initWithFrame):
100
101 2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
102
103         Reviewed by David Hyatt.
104
105         HTML5 Ruby support should be mandatory feature
106         https://bugs.webkit.org/show_bug.cgi?id=49272
107
108         * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows.
109
110 2010-11-08  Alexey Proskuryakov  <ap@apple.com>
111
112         Windows build fix.
113
114         * WebCoreSupport/WebChromeClient.h: Added namespace prefix.
115
116 2010-11-08  Alexey Proskuryakov  <ap@apple.com>
117
118         Reviewed by Darin Adler.
119
120         https://bugs.webkit.org/show_bug.cgi?id=48685
121         Notify UI process about focused frame
122
123         Added an empty implementation of the new ChromeClient method.
124
125         * WebCoreSupport/WebChromeClient.cpp:
126         (WebChromeClient::focusedFrameChanged):
127         * WebCoreSupport/WebChromeClient.h:
128
129 2010-11-07  Adam Barth  <abarth@webkit.org>
130
131         Reviewed by Eric Seidel.
132
133         Rename Cache to MemoryCache
134         https://bugs.webkit.org/show_bug.cgi?id=49159
135
136         * WebCache.cpp:
137         (WebCache::statistics):
138         * WebFrame.cpp:
139         * WebView.cpp:
140
141 2010-11-05  Chris Marrin  <cmarrin@apple.com>
142
143         Reviewed by Simon Fraser.
144
145         Move resumeAnimations/suspendAnimations from Frame to AnimationController.
146         https://bugs.webkit.org/show_bug.cgi?id=49073
147
148         * WebFrame.cpp:
149         (WebFrame::suspendAnimations):
150         (WebFrame::resumeAnimations):
151
152 2010-11-05  Brian Weinstein  <bweinstein@apple.com>
153
154         Reviewed by Anders Carlsson.
155
156         Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html
157         https://bugs.webkit.org/show_bug.cgi?id=48751
158         <rdar://problem/8615536>
159         
160         Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were
161         running into a case where we were trying to load an empty plugin document, which uses a manual loader, and
162         PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire
163         an assert in the PluginStream destructor.
164
165         * WebCoreSupport/WebFrameLoaderClient.cpp:
166         (WebFrameLoaderClient::finishedLoading):
167
168 2010-11-05  Chris Marrin  <cmarrin@apple.com>
169
170         Reviewed by Simon Fraser.
171
172         Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state
173         https://bugs.webkit.org/show_bug.cgi?id=46945
174
175         * WebFrame.cpp:
176         (WebFrame::suspendAnimations):
177         (WebFrame::resumeAnimations):
178
179 2010-11-05  Patrick Gansterer  <paroga@webkit.org>
180
181         Reviewed by David Kilzer.
182
183         Replace ARRAYSIZE with WTF_ARRAY_LENGTH
184         https://bugs.webkit.org/show_bug.cgi?id=48903
185
186         * WebCoreSupport/WebChromeClient.cpp:
187         (WebChromeClient::exceededDatabaseQuota):
188         * WebKitDLL.cpp:
189         (DllGetClassObject):
190         * WebView.cpp:
191         (WebView::mouseWheel):
192
193 2010-11-02  Daniel Bates  <dbates@rim.com>
194
195         Reviewed by Adam Barth.
196
197         For unnamed frames, window.name returns a generated name
198         https://bugs.webkit.org/show_bug.cgi?id=6751
199
200         Part 1 of 2.
201
202         Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port.
203
204         * WebFrame.cpp:
205         (WebFrame::name):
206
207 2010-11-02  Brady Eidson  <beidson@apple.com>
208
209         Reviewed by Anders Carlsson.
210
211         <rdar://problem/8346191> and https://bugs.webkit.org/show_bug.cgi?id=48868
212         Implement IMutableWebRequest::setTimeoutInterval
213
214         * WebMutableURLRequest.cpp:
215         (WebMutableURLRequest::setTimeoutInterval):
216
217 2010-11-02  Daniel Bates  <dbates@rim.com>
218
219         Reviewed by Martin Robinson.
220
221         Set frame name before appending it to the frame tree in the Apple Windows,
222         GTK, and EFL ports
223         https://bugs.webkit.org/show_bug.cgi?id=48806
224
225         Make the frame creation process in the Apple Windows-port consistent
226         with the Mac, Qt, and Haiku ports. In particular, set the name of
227         the new frame before it's appended to the frame tree.
228
229         At this time we cannot test this change since it is being masked by
230         HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>.
231         We'll be able to test this once we fix bug #6751.
232
233         * WebCoreSupport/WebFrameLoaderClient.cpp:
234         (WebFrameLoaderClient::createFrame):
235
236 2010-11-01  Jenn Braithwaite  <jennb@chromium.org>
237
238         Reviewed by Adam Roben.
239
240         Windows: Update resource tracking when moving a frame between documents
241         https://bugs.webkit.org/show_bug.cgi?id=48364
242
243         * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added
244         Added removeIdentifierForRequest.
245         * Interfaces/WebKit.idl:
246         Added IWebResourceLoadDelegatePrivate2.idl.
247         * WebCoreSupport/WebFrameLoaderClient.cpp:
248         (WebFrameLoaderClient::transferLoadingResourceFromPage):
249
250 2010-11-01  Brady Eidson  <beidson@apple.com>
251
252         Reviewed by Anders Carlsson.
253
254         <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
255         Context menu support for WebKit 2.
256
257         * WebCoreSupport/WebChromeClient.h:
258         (WebChromeClient::showContextMenu):
259
260 2010-11-01  Adam Roben  <aroben@apple.com>
261
262         Cancel main resource loads after we hand them off to the media engine
263
264         This is the Windows equivalent of r51104. Clearly this code should be
265         moved to a cross-platform location someday.
266
267         Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion
268         failure in DocumentLoader::commitData when loading a media document in
269         WebKit1 on Windows
270
271         Reviewed by Dan Bernstein.
272
273         * WebCoreSupport/WebFrameLoaderClient.cpp:
274         (WebFrameLoaderClient::committedLoad): Cancel the main resource load
275         after handing off the load to the media engine. This code originally
276         came from -[WebHTMLRepresentation receivedData:withDataSource:].
277
278         * WebFrame.cpp:
279         (WebFrame::shouldFallBack): Don't fall back when handing the resource
280         load off to the media engine or a plugin. Added error domain checking
281         so that we don't rely on error codes being unique.
282
283 2010-10-29  Daniel Bates  <dbates@rim.com>
284
285         No review, rolling out 70971.
286         http://trac.webkit.org/changeset/70971
287         https://bugs.webkit.org/show_bug.cgi?id=6751
288
289         Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
290         it caused layout test failures on all bots. In particular, the
291         child count in a generated frame name differs after this patch. We need
292         to look into this further.
293
294         * WebFrame.cpp:
295         (WebFrame::name):
296
297 2010-10-28  Antonio Gomes  <agomes@rim.com>
298
299         Reviewed by Ojan Vafai.
300
301         Needs a "LinuxEditingBehavior", perhaps with a better name
302         https://bugs.webkit.org/show_bug.cgi?id=36627
303
304         Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
305
306         * Interfaces/IWebPreferences.idl:
307
308 2010-10-29  Daniel Bates  <dbates@rim.com>
309
310         Reviewed by Adam Barth.
311
312         For unnamed frames, window.name returns a generated name
313         https://bugs.webkit.org/show_bug.cgi?id=6751
314
315         Modified Apple Windows-port to use FrameTree::uniqueName().
316
317         * WebFrame.cpp:
318         (WebFrame::name):
319
320 2010-10-29  Darin Adler  <darin@apple.com>
321
322         Reviewed by Sam Weinig.
323
324         Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
325         https://bugs.webkit.org/show_bug.cgi?id=48574
326
327         * WebBackForwardList.cpp:
328         (backForwardListWrappers):
329         (WebBackForwardList::WebBackForwardList):
330         (WebBackForwardList::createInstance):
331         * WebBackForwardList.h:
332         * WebView.cpp:
333         (WebView::backForwardList):
334         Use BackForwardListImpl.
335
336 2010-10-29  Adam Roben  <aroben@apple.com>
337
338         Windows build fix
339
340         * WebKitPrefix.h: Touched to force a rebuild.
341
342 2010-10-29  Alexey Proskuryakov  <ap@apple.com>
343
344         Reviewed by Darin Adler.
345
346         https://bugs.webkit.org/show_bug.cgi?id=48576
347         Let WebKit2 client know when a frame is a frameset
348
349         Added a blank implementation of the new FrameLoaderClient method.
350
351         * WebCoreSupport/WebFrameLoaderClient.h:
352         * WebCoreSupport/WebFrameLoaderClient.cpp:
353         (WebFrameLoaderClient::dispatchDidBecomeFrameset):
354
355 2010-10-26  Brent Fulgham  <bfulgham@webkit.org>
356
357         Unreviewed build fix.
358
359         * WebView.cpp: Conditionalize includes for CFNetwork-specific
360         Cookie implementation.
361         * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION.
362         WinCairo doesn't use CoreAnimation.
363
364 2010-10-26  Jenn Braithwaite  <jennb@chromium.org>
365
366         Reviewed by Dmitry Titov.
367
368         Resource tracking failure when trying to move a frame between documents
369         https://bugs.webkit.org/show_bug.cgi?id=44713
370
371         * WebCoreSupport/WebFrameLoaderClient.cpp:
372         (WebFrameLoaderClient::transferLoadingResourceFromPage):
373         Empty method.
374         * WebCoreSupport/WebFrameLoaderClient.h:
375
376 2010-10-25  Patrick Gansterer  <paroga@webkit.org>
377
378         Reviewed by David Kilzer.
379
380         Replace _countof with WTF_ARRAY_LENGTH
381         https://bugs.webkit.org/show_bug.cgi?id=48229
382
383         * WebCoreSupport/WebContextMenuClient.cpp:
384         (isPreInspectElementTagSafari):
385         * WebView.cpp:
386         (WebView::interpretKeyEvent):
387
388 2010-10-24  Dan Bernstein  <mitz@apple.com>
389
390         Build fix.
391
392         * Interfaces/WebKit.idl: Touched.
393
394 2010-10-24  Dan Bernstein  <mitz@apple.com>
395
396         Reviewed by Anders Carlsson.
397
398         Expose HitTestResult::absoluteMediaURL() via WebKit API
399         https://bugs.webkit.org/show_bug.cgi?id=48219
400
401         * Interfaces/IWebView.idl: Added WebElementMediaURLKey.
402         * WebElementPropertyBag.cpp:
403         (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL().
404
405 2010-10-22  Andy Estes  <aestes@apple.com>
406
407         Fix the Windows build.
408
409         * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h.
410         * WebView.cpp: Ditto.
411
412 2010-10-22  Jenn Braithwaite  <jennb@chromium.org>
413
414         Reviewed by Adam Roben.
415
416         Windows client needs updating when live iframe element is moved between pages
417         https://bugs.webkit.org/show_bug.cgi?id=46915
418
419         * WebCoreSupport/WebFrameLoaderClient.cpp:
420         (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
421         Update WebView in WebFrame to match that of the current page.
422         * WebFrame.cpp:
423         (WebFrame::setWebView):
424         Added.
425         * WebFrame.h:
426
427 2010-10-22  Sam Weinig  <sam@webkit.org>
428
429         Fix windows build.
430
431         * WebCoreSupport/WebChromeClient.h:
432
433 2010-10-22  Sam Weinig  <sam@webkit.org>
434
435         Reviewed by Anders Carlsson.
436
437         WebKit2 needs to pass the current event modifier flags when requesting a new window
438         https://bugs.webkit.org/show_bug.cgi?id=48140
439
440         * WebCoreSupport/WebChromeClient.cpp:
441         (WebChromeClient::createWindow):
442         * WebCoreSupport/WebFrameLoaderClient.cpp:
443         (WebFrameLoaderClient::dispatchCreatePage):
444         * WebCoreSupport/WebFrameLoaderClient.h:
445         Add NavigationAction parameter.
446
447 2010-10-21 MORITA Hajime  <morrita@google.com>
448
449         Unreviewed, touched it to fix the build.
450
451         * Interfaces/WebKit.idl:
452
453 2010-10-21  MORITA Hajime  <morrita@google.com>
454
455         Reviewed by Kent Tamura.
456
457         [Win][DRT] should have LayoutTestController.hasSpellingMarker()
458         https://bugs.webkit.org/show_bug.cgi?id=47885
459
460         Added IWebFramePrivate::hasSpellingMarker() and impelmented it for
461         LayoutTestController.
462
463         * Interfaces/IWebFramePrivate.idl:
464         * WebFrame.cpp:
465         (WebFrame::hasSpellingMarker):
466         * WebFrame.h:
467
468 2010-10-20  Dumitru Daniliuc  <dumi@chromium.org>
469
470         Reviewed by David Levin.
471
472         Repost the DatabaseTracker notifications to the main thread, if needed.
473         https://bugs.webkit.org/show_bug.cgi?id=40655
474
475         * WebDatabaseManager.cpp:
476         (DidModifyOriginData::dispatchToMainThread):
477         (DidModifyOriginData::DidModifyOriginData):
478         (DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
479         (WebDatabaseManager::dispatchDidModifyOrigin):
480         (WebDatabaseManager::dispatchDidModifyDatabase):
481
482 2010-10-20  Dirk Schulze  <krit@webkit.org>
483
484         Reviewed by Nikolas Zimmermann.
485
486         Merge ColorSpace and ImageColorSpace enums
487         https://bugs.webkit.org/show_bug.cgi?id=47922
488
489         Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
490         to follow webkit style rules.
491
492         * FullscreenVideoController.cpp:
493         (HUDButton::draw):
494         (HUDSlider::draw):
495         (FullscreenVideoController::draw):
496         * WebCoreSupport/WebDragClient.cpp:
497         (WebDragClient::createDragImageForLink):
498         * WebKitGraphics.cpp:
499         (WebDrawText):
500
501 2010-10-18  Pavel Podivilov  <podivilov@chromium.org>
502
503         Reviewed by Timothy Hatcher.
504
505         Web Inspector: disable private browsing for inspector
506         https://bugs.webkit.org/show_bug.cgi?id=47827
507
508         * WebCoreSupport/WebInspectorClient.cpp:
509         (WebInspectorClient::openInspectorFrontend):
510
511 2010-10-17  Adam Barth  <abarth@webkit.org>
512
513         Reviewed by Dimitri Glazkov.
514
515         FrameLoader doesn't need an explicit userGesture parameter
516         https://bugs.webkit.org/show_bug.cgi?id=47777
517
518         Update for the new API.
519
520         * WebCoreSupport/WebContextMenuClient.cpp:
521         (WebContextMenuClient::searchWithGoogle):
522
523 2010-10-15  Brian Weinstein  <bweinstein@apple.com>
524
525         Reviewed by Sam Weinig.
526
527         REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request.
528         https://bugs.webkit.org/show_bug.cgi?id=47753
529         <rdar://problem/8558242>
530         
531         VerQueryValue returns a null terminated string, but we need to strip off the null terminating character
532         when we turn it into a WebCore string, or else concatenation using this string will break.
533
534         * WebView.cpp:
535
536 2010-10-15  Jessie Berlin  <jberlin@apple.com>
537
538         Windows build fix. Unreviewed.
539
540         * WebCoreSupport/WebInspectorClient.cpp:
541         Add a missing include.
542
543 2010-10-15  Nikolas Zimmermann  <nzimmermann@rim.com>
544
545         Reviewed by Dirk Schulze.
546
547         Replace some String::format() usages by StringConcatenate in WebKit
548         https://bugs.webkit.org/show_bug.cgi?id=47714
549
550         * WebCoreSupport/WebInspectorClient.cpp:
551         (WebInspectorFrontendClient::updateWindowTitle):
552         * WebView.cpp:
553         (WebView::standardUserAgentWithApplicationName):
554         (osVersion):
555
556 2010-10-14  Ilya Tikhonovsky  <loislo@chromium.org>
557
558         Reviewed by Pavel Feldman.
559
560         Web Inspector: inspector settings/properties/states management
561         should be extracted into separate class.
562
563         We have a lot of flags/values in InspectorController.
564         Some flags are persisting into profile.
565         Others are part of inspector state for frontend.
566         All these flags should keep their values after navigation.
567         It'd be better to extract these flags/values into separate
568         class which will care about theirs lifetime.
569
570         https://bugs.webkit.org/show_bug.cgi?id=47275
571
572         * WebCoreSupport/WebInspectorClient.cpp:
573         (WebInspectorFrontendClient::attachWindow):
574         (WebInspectorFrontendClient::detachWindow):
575         (WebInspectorFrontendClient::showWindowWithoutNotifications):
576
577 2010-10-13  Gavin Barraclough  <barraclough@apple.com>
578
579         Reviewed by Oliver Hunt.
580
581         https://bugs.webkit.org/show_bug.cgi?id=43987
582         Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
583         to construct their internal result string.  Remove ScriptString (this is now
584         redundant).
585
586         * WebCoreSupport/WebFrameLoaderClient.cpp:
587
588 2010-10-12  Adam Roben  <aroben@apple.com>
589
590         Build TestWebKitAPI on Windows
591
592         Fixes <http://webkit.org/b/47552> <rdar://problem/8541708> Make
593         TestWebKitAPI work on Windows
594
595         Reviewed by Sam Weinig.
596
597         * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and
598         TestWebKitAPIGenerated and made them build just after
599         WebKitTestRunner.
600
601 2010-10-11  Shinichiro Hamaji  <hamaji@chromium.org>
602
603         Attempt to fix windows build failure.
604
605         Remove WebIconFetcher from WebKit and IconFetcher from WebCore
606         https://bugs.webkit.org/show_bug.cgi?id=47523
607
608         * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/
609         * Interfaces/WebKit.idl: Touched.
610         * WebFrame.cpp: s/unused1/unused2/
611         (WebFrame::unused2):
612         * WebFrame.h: s/unused1/unused2/
613
614 2010-10-11  Anders Carlsson  <andersca@apple.com>
615
616         Reviewed by Darin Adler.
617
618         Remove WebIconFetcher from WebKit and IconFetcher from WebCore
619         https://bugs.webkit.org/show_bug.cgi?id=47523
620
621         Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses.
622
623         * Interfaces/IWebFramePrivate.idl:
624         * Interfaces/IWebIconFetcher.idl: Removed.
625         * Interfaces/WebKit.idl:
626         * WebFrame.cpp:
627         (WebFrame::unused1):
628         * WebFrame.h:
629         * WebIconFetcher.cpp: Removed.
630         * WebIconFetcher.h: Removed.
631         * WebKit.vcproj/Interfaces.vcproj:
632         * WebKit.vcproj/WebKit.vcproj:
633
634 2010-10-11  Jessie Berlin  <jberlin@apple.com>
635
636         Reviewed by Darin Adler.
637
638         Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal
639         representation of a WebKit1 WebSerializedJSValue.
640         https://bugs.webkit.org/show_bug.cgi?id=47439
641
642         * Interfaces/IWebSerializedJSValuePrivate.idl:
643         Because it is taking a void** parameter, getInternalRepresentation must be declared [local].
644
645         * WebSerializedJSValue.cpp:
646         (WebSerializedJSValue::getInternalRepresentation):
647         * WebSerializedJSValue.h:
648
649 2010-10-07  Jessie Berlin  <jberlin@apple.com>
650
651         Reviewed by Sam Weinig.
652
653         Add Private API for creating a WebKit1 WebSerializedJSValue from the internal
654         representation of a WebKit2 WebSerializedScriptValue.
655         https://bugs.webkit.org/show_bug.cgi?id=47390
656
657         * Interfaces/WebKit.idl:
658         Generate IWebSerializedJSValuePrivate.
659         
660         * Interfaces/IWebSerializedJSValuePrivate.idl: Added.
661         Because it is taking a void* parameter, setInternalRepresentation must be declared [local].
662
663         * WebKit.vcproj/Interfaces.vcproj:
664         Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl.
665
666         * WebSerializedJSValue.cpp:
667         (WebSerializedJSValue::QueryInterface):
668         Since there are now two interfaces that inherit from IUnknown, do not try to cast to
669         IUnknown* anymore. Cast to IWebSerializedJSValue* instead.
670         (WebSerializedJSValue::setInternalRepresentation):
671         Only set the internal representation if it hasn't already been set.
672         * WebSerializedJSValue.h:
673
674 2010-10-04  Jon Honeycutt  <jhoneycutt@apple.com>
675
676         Prevent an assertion failure when trying to create a protection space
677         for file/data URLs.
678
679         Reviewed by Sam Weinig.
680
681         * WebURLProtectionSpace.cpp:
682         (WebURLProtectionSpace::initWithHost):
683         Remove the ASSERT_NOT_REACHED().
684
685 2010-10-05  Brent Fulgham  <bfulgham@webkit.org>
686
687         Unreviewed build correction.
688
689         * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project
690         off for WinCairo release builds.  Somehow this was
691         incorrectly turned on.
692
693 2010-10-01  Mark Rowe  <mrowe@apple.com>
694
695         Build fix.
696
697         Clear the executable bit from a number of source files.
698
699         * WebView.cpp:
700         * WebView.h:
701
702 2010-09-30  Darin Adler  <darin@apple.com>
703
704         Reviewed by Sam Weinig.
705
706         Remove remaining calls to deprecatedParseURL
707         https://bugs.webkit.org/show_bug.cgi?id=26599
708
709         * WebCoreSupport/WebFrameLoaderClient.cpp:
710         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
711         Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL.
712
713 2010-09-28  Jenn Braithwaite  <jennb@chromium.org>
714
715         Reviewed by Dmitry Titov.
716
717         Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
718         https://bugs.webkit.org/show_bug.cgi?id=46663
719
720         * WebCoreSupport/WebFrameLoaderClient.cpp:
721         (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
722         * WebCoreSupport/WebFrameLoaderClient.h:
723
724 2010-09-27  Andrey Kosyakov  <caseq@chromium.org>
725
726         Unreviewed build fix (win; broken in r68371)
727
728         * WebFrame.cpp: remove include <WebCore/ResourceHandleWin.h>
729
730 2010-09-23  Matthew Delaney  <mdelaney@apple.com>
731
732         Reviewed by Simon Fraser.
733
734         Reduce minimum DOMTimer interval
735         https://bugs.webkit.org/show_bug.cgi?id=45362
736
737         * WebView.cpp:
738         Updating set interval call to use Settings' static version inside
739         one time init block.
740
741 2010-09-23  Nate Chapin  <japhet@chromium.org>
742
743         Unreviewed, build fix.
744
745         Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl
746         and touch WebKit.idl
747
748         * Interfaces/IWebPreferences.idl:
749         * Interfaces/IWebPreferencesPrivate.idl:
750         * Interfaces/WebKit.idl:
751         * WebView.cpp:
752         (WebView::notifyPreferencesChanged):
753
754 2010-09-23  Nate Chapin  <japhet@chromium.org>
755
756         Unreviewed, build fix.
757
758         Look for hyperlinkAuditingEnabled in the right set of preferences.
759
760         * WebView.cpp:
761         (WebView::notifyPreferencesChanged):
762
763 2010-09-23  Nate Chapin  <japhet@chromium.org>
764
765         Reviewed by Darin Fisher.
766
767         Add hyperlink auditing settings (i.e., <a ping>).
768         https://bugs.webkit.org/show_bug.cgi?id=30458
769
770         * Interfaces/IWebPreferences.idl:
771         * WebPreferenceKeysPrivate.h:
772         * WebPreferences.cpp:
773         (WebPreferences::initializeDefaultSettings):
774         (WebPreferences::hyperlinkAuditingEnabled):
775         (WebPreferences::setHyperlinkAuditingEnabled):
776         * WebPreferences.h:
777         * WebView.cpp:
778         (WebView::notifyPreferencesChanged):
779
780 2010-09-23  Matthew Delaney  <mdelaney@apple.com>
781
782         Reviewed by Adam Roben.
783
784         Create one time initialization block for WebView's initWithFrame
785         https://bugs.webkit.org/show_bug.cgi?id=46307
786
787         * WebView.cpp: Added one time initialization block for webview code
788         that needs only be run once and not for each webview. This is just as
789         the mac version WebView.mm does.
790
791 2010-09-22  Brent Fulgham  <bfulgham@webkit.org>
792
793         Reviewed by Martin Robinson.
794
795         [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
796         https://bugs.webkit.org/show_bug.cgi?id=46303.
797
798         * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
799         Release_Cairo configurations to select appropriate build
800         targets for WebKitTestRunner and MiniBrowser.
801
802 2010-09-22  Brent Fulgham  <bfulgham@webkit.org>
803
804         Reviewed by Martin Robinson.
805
806         [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt
807         https://bugs.webkit.org/show_bug.cgi?id=46303.
808
809         * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
810         Release_Cairo configurations to select appropriate build
811         targets for InjectionBundle.
812
813 2010-09-22  Balazs Kelemen  <kb@inf.u-szeged.hu>
814
815         Reviewed by Kenneth Rohde Christiansen.
816
817         PluginStrategy should satisfy the needs of Qt
818         https://bugs.webkit.org/show_bug.cgi?id=45857
819         No new functionality so no new tests.
820
821         * WebCoreSupport/WebPlatformStrategies.cpp:
822         (WebPlatformStrategies::getPluginInfo):
823         * WebCoreSupport/WebPlatformStrategies.h:
824
825 2010-09-20  Philippe Normand  <pnormand@igalia.com>
826
827         Reviewed by Eric Carlson.
828
829         [GTK] enhanced context menu for media elements
830         https://bugs.webkit.org/show_bug.cgi?id=45021
831
832         New localized strings for the media element context-menu.
833
834         * WebCoreSupport/WebPlatformStrategies.cpp:
835         (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow):
836         (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow):
837         (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard):
838         (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard):
839         (WebPlatformStrategies::contextMenuItemTagToggleMediaControls):
840         (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop):
841         (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen):
842         (WebPlatformStrategies::contextMenuItemTagMediaPlay):
843         (WebPlatformStrategies::contextMenuItemTagMediaPause):
844         (WebPlatformStrategies::contextMenuItemTagMediaMute):
845         * WebCoreSupport/WebPlatformStrategies.h:
846
847 2010-09-17  Darin Adler  <darin@apple.com>
848
849         Reviewed by Sam Weinig.
850
851         REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
852         https://bugs.webkit.org/show_bug.cgi?id=42863
853
854         * WebView.cpp:
855         (WebView::setZoomMultiplier):
856         Call functions on Frame instead of FrameView.
857
858 2010-09-17  Matthew Delaney  <mdelaney@apple.com>
859
860         Reviewed by Simon Fraser.
861
862         Reduce minimum DOMTimer interval
863         https://bugs.webkit.org/show_bug.cgi?id=45362
864
865         * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
866
867 2010-09-17  Simon Fraser  <simon.fraser@apple.com>
868
869         Reviewed by Chris Marrin.
870
871         Remove scroll and clip layers for WKCACFLayerRenderer
872         https://bugs.webkit.org/show_bug.cgi?id=45922
873
874         WKCACFLayerRenderer no longer needs its own layers for managing scrolling
875         and clipping, because RenderLayerCompositor provides this functionality.
876
877         * WebView.cpp:
878         (WebView::sizeChanged): Moved code that handles the WM_SIZE message
879         into this method. Use it to resize the layer renderer.
880         (WebView::WebViewWndProc): Call sizeChanged().
881         (WebView::updateRootLayerContents): No need to call setScrollFrame() any more.
882         (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline).
883         * WebView.h:
884
885 2010-09-16  Darin Adler  <darin@apple.com>
886
887         Reviewed by Andreas Kling.
888
889         Reduce use of HTMLInputElement::inputType so we can remove it later
890         https://bugs.webkit.org/show_bug.cgi?id=45903
891
892         * WebFrame.cpp:
893         (WebFrame::elementDoesAutoComplete): Use isPasswordField.
894         (WebFrame::elementIsPassword): Use isPasswordField.
895
896 2010-09-14  Ada Chan  <adachan@apple.com>
897
898         Reviewed by Adam Roben.
899
900         Add an IWebFramePrivate API to load string as plain text into the WebFrame.
901         https://bugs.webkit.org/show_bug.cgi?id=45782
902
903         * Interfaces/IWebFramePrivate.idl:
904         * Interfaces/WebKit.idl: Touch the file.
905         * WebFrame.cpp:
906         (WebFrame::loadPlainTextString):
907         * WebFrame.h:
908
909 2010-09-13  Enrica Casucci  <enrica@apple.com>
910
911         Reviewed by Sam Weinig.
912
913         Paste should be implemented in WebCore like Copy and Cut for Mac also.
914         https://bugs.webkit.org/show_bug.cgi?id=45494
915         <rdar://problem/7660537>
916
917         On the Mac platform, the implementation of the paste operation is all done
918         at the WebKit level. In order to support it on WebKit2 it is necessary to
919         refactor the code and move this functionality at the level of WebCore like
920         we already have on Windows.
921         The original code relies on some in AppKit functions that call back into
922         WebKit causing problems in WebKit2. All this functionality has been moved
923         at the level of the editor client where it can be dealt with appropriately.
924
925         * WebFrame.cpp:
926         (WebFrame::canShowMIMETypeASHTML): Added.
927
928 2010-09-11  Adam Barth  <abarth@webkit.org>
929
930         Reviewed by Sam Weinig.
931
932         Make SecurityOrigin::canDisplay an instance function
933         https://bugs.webkit.org/show_bug.cgi?id=45219
934
935         * WebFrame.cpp:
936         (WebFrame::allowsFollowingLink):
937
938 2010-09-10  Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
939
940         Reviewed by Darin Adler.
941
942         Add NetworkingContext to avoid layer violations
943         https://bugs.webkit.org/show_bug.cgi?id=42292
944
945         * WebCoreSupport/WebFrameNetworkingContext.cpp:
946         (WebFrameNetworkingContext::blockedError):
947         * WebCoreSupport/WebFrameNetworkingContext.h:
948
949 2010-09-10  Jer Noble  <jer.noble@apple.com>
950
951         Reviewed by Simon Fraser.
952
953         Movies with track or movie matrices don't display in <video> elements (Safari 5/Windows)
954         https://bugs.webkit.org/show_bug.cgi?id=45333
955         
956         The rootChild layer must be set as flipped, otherwise transformed movies will appear
957         incorrectly rotated.
958
959         * FullscreenVideoController.cpp:
960         (FullscreenVideoController::enterFullscreen):
961
962 2010-09-10  Sam Weinig  <sam@webkit.org>
963
964         Reviewed by Darin Adler.
965
966         Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
967         Precursor to <rdar://problem/7660657>
968         https://bugs.webkit.org/show_bug.cgi?id=45522
969
970         * WebFrame.cpp:
971         * WebFrame.h:
972         Remove dead code.
973
974         * WebView.cpp:
975         (WebView::WebView):
976         (WebView::setZoomMultiplier):
977         (WebView::zoomMultiplier):
978         (WebView::canMakeTextLarger):
979         (WebView::makeTextLarger):
980         (WebView::canMakeTextSmaller):
981         (WebView::makeTextSmaller):
982         (WebView::notifyPreferencesChanged):
983         * WebView.h:
984         Move tracking of text only zoom here from WebCore.
985
986 2010-09-10  Brian Weinstein  <bweinstein@apple.com>
987
988         Windows Build Fix. Fix some fallout from r67238, currentForm is now off of 
989         SelectionController instead of frame. Also fix a style issue.
990
991         * WebFrame.cpp:
992         (WebFrame::currentForm):
993
994 2010-09-10  Adam Barth  <abarth@webkit.org>
995
996         Reviewed by Darin Fisher.
997
998         Move code from WebKit-layer to DocumentLoader
999         https://bugs.webkit.org/show_bug.cgi?id=45569
1000
1001         * WebCoreSupport/WebFrameLoaderClient.cpp:
1002         (WebFrameLoaderClient::committedLoad):
1003         * WebCoreSupport/WebFrameLoaderClient.h:
1004
1005 2010-09-09  Darin Adler  <darin@apple.com>
1006
1007         Reviewed by Adam Barth.
1008
1009         Move functions from Frame to SelectionController as planned
1010         https://bugs.webkit.org/show_bug.cgi?id=45508
1011
1012         * WebView.cpp:
1013         (WebView::selectionRect):
1014         (WebView::centerSelectionInVisibleArea):
1015         Call functions on selection().
1016
1017 2010-09-10  Adam Barth  <abarth@webkit.org>
1018
1019         Reviewed by Eric Seidel.
1020
1021         Main resource bytes shouldn't bounce through FrameLoader
1022         https://bugs.webkit.org/show_bug.cgi?id=45496
1023
1024         Now return the bytes to the DocumentLoader.
1025
1026         * WebCoreSupport/WebFrameLoaderClient.cpp:
1027         (WebFrameLoaderClient::receivedData):
1028
1029 2010-09-09  Simon Fraser  <simon.fraser@apple.com>
1030
1031         Reviewed by Adam Roben.
1032
1033         Scrollbars fail to render in composited iframes.
1034         https://bugs.webkit.org/show_bug.cgi?id=45335
1035
1036         Use LocalWindowsContext when painting scrollbars.
1037
1038         * WebCoreSupport/WebChromeClient.cpp:
1039         (WebChromeClient::paintCustomScrollbar):
1040         (WebChromeClient::paintCustomScrollCorner):
1041
1042 2010-09-08  Darin Adler  <darin@apple.com>
1043
1044         Reviewed by Adam Barth.
1045
1046         Move functions from Frame to Editor as planned
1047         https://bugs.webkit.org/show_bug.cgi?id=45218
1048
1049         * WebCoreSupport/WebContextMenuClient.cpp:
1050         (WebContextMenuClient::searchWithGoogle):
1051         * WebFrame.cpp:
1052         (WebFrame::selectedString):
1053         * WebView.cpp:
1054         (WebView::selectedText):
1055         (WebView::prepareCandidateWindow):
1056         (WebView::onIMERequestCharPosition):
1057         Changed call sites to use editor().
1058
1059 2010-09-08  Peter Kasting  <pkasting@google.com>
1060
1061         Not reviewed, build fix.
1062
1063         * WebScrollBar.cpp:
1064         (WebScrollBar::setScrollOffsetFromAnimation):
1065
1066 2010-09-08  Peter Kasting  <pkasting@google.com>
1067
1068         Not reviewed, build fix.
1069
1070         * WebScrollBar.cpp:
1071         (WebScrollBar::scrollSize):
1072         (WebScrollBar::setScrollOffsetFromAnimation):
1073
1074 2010-09-08  Peter Kasting  <pkasting@google.com>
1075
1076         Not reviewed, build fix.
1077
1078         * WebScrollBar.cpp:
1079         (WebScrollBar::setValue):
1080         (WebScrollBar::scrollSize):
1081         (WebScrollBar::setScrollOffsetFromAnimation):
1082         * WebScrollBar.h:
1083
1084 2010-09-08  Adam Barth  <abarth@webkit.org>
1085
1086         Attempted Window build fix.
1087
1088         * WebDataSource.cpp:
1089         (WebDataSource::subresourceForURL):
1090
1091 2010-09-08  Adam Barth  <abarth@webkit.org>
1092
1093         Rubber-stamped by Eric Seidel.
1094
1095         Rename DocLoader to CachedResourceLoader because that's what it does.
1096
1097         * WebDataSource.cpp:
1098
1099 2010-09-07  Brent Fulgham  <bfulgham@webkit.org>
1100
1101         Reviewed by Adam Roben.
1102
1103         Clean up a potential resource leak.
1104         https://bugs.webkit.org/show_bug.cgi?id=45198
1105
1106         Several bitmap device context were being created and used,
1107         and destroyed without returning the context to its original
1108         state.  This showed up as bitmap leaks in BoundsChecker.
1109
1110         * FullscreenVideoController.cpp:
1111         * WebView.cpp:
1112         (WebView::scrollBackingStore):
1113         (WebView::paint):
1114
1115 2010-09-06  Adam Barth  <abarth@webkit.org>
1116
1117         Reviewed by Darin Adler.
1118
1119         Rename SecurityOrigin::canLoad to canDisplay
1120         https://bugs.webkit.org/show_bug.cgi?id=45214
1121
1122         Propagate name change.
1123
1124         * WebFrame.cpp:
1125         (WebFrame::allowsFollowingLink):
1126
1127 2010-09-03  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1128
1129         Reviewed by Darin Adler.
1130
1131         Add NetworkingContext to avoid layer violations
1132         https://bugs.webkit.org/show_bug.cgi?id=42292
1133
1134         Add Win's specific implementation of NetworkingContext.
1135
1136         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1137         (WebFrameNetworkingContext::create):
1138         (WebFrameNetworkingContext::userAgent):
1139         (WebFrameNetworkingContext::referrer):
1140         * WebFrame.cpp:
1141         (WebFrame::createNetworkingContext):
1142         * WebFrame.h:
1143
1144 2010-09-03  Adam Roben  <aroben@apple.com>
1145
1146         Attempt to fixing Windows nightlies again
1147
1148         The fix in r66438 should be sufficient, but we have to touch
1149         WebKit.idl to force that change to be picked up by the build.
1150
1151         * Interfaces/WebKit.idl: Touched this file to force a build.
1152
1153 2010-09-02  Yury Semikhatsky  <yurys@chromium.org>
1154
1155         Reviewed by PavelFeldman.
1156
1157         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
1158         https://bugs.webkit.org/show_bug.cgi?id=44230
1159
1160         * WebCoreSupport/WebInspectorClient.cpp:
1161         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
1162         (WebInspectorFrontendClient::closeWindow):
1163         (WebInspectorFrontendClient::disconnectFromBackend):
1164         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1165         (WebInspectorFrontendClient::destroyInspectorView):
1166         * WebCoreSupport/WebInspectorClient.h:
1167
1168 2010-09-01  Jessie Berlin  <jberlin@apple.com>
1169
1170         Reviewed by Adam Roben.
1171
1172         WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages.
1173         https://bugs.webkit.org/show_bug.cgi?id=45047
1174
1175         * WebView.cpp:
1176         (WebView::WebViewWndProc):
1177
1178 2010-08-31  Dave Hyatt  <hyatt@apple.com>
1179
1180         Reviewed by Sam Weinig.
1181
1182         https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
1183         the former can occur in more places without having to do the latter.
1184
1185         * WebFrame.cpp:
1186         (WebFrame::paintDocumentRectToContext):
1187         * WebView.cpp:
1188         (WebView::updateBackingStore):
1189
1190 2010-08-30  Adam Roben  <aroben@apple.com>
1191
1192         Fix crash on launch on Windows due to changing IWebFramePrivate's
1193         vtable
1194
1195         This regressed in r65107.
1196
1197         Fixes <http://webkit.org/b/44755>.
1198
1199         Rubber-stamped by Jon Honeycutt.
1200
1201         * Interfaces/IWebFramePrivate.idl: Moved suspendAnimations and
1202         resumeAnimations to the end of the interface so that the vtable will
1203         match what Safari expects.
1204
1205 2010-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1206
1207         Unreviewed, rolling out r66198.
1208         http://trac.webkit.org/changeset/66198
1209         https://bugs.webkit.org/show_bug.cgi?id=44856
1210
1211         It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
1212
1213         * WebCoreSupport/WebInspectorClient.cpp:
1214         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
1215         (WebInspectorFrontendClient::closeWindow):
1216         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1217         (WebInspectorFrontendClient::destroyInspectorView):
1218         * WebCoreSupport/WebInspectorClient.h:
1219
1220 2010-08-27  Yury Semikhatsky  <yurys@chromium.org>
1221
1222         Reviewed by Pavel Feldman.
1223
1224         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
1225         https://bugs.webkit.org/show_bug.cgi?id=44230
1226
1227         * WebCoreSupport/WebInspectorClient.cpp:
1228         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
1229         (WebInspectorFrontendClient::closeWindow):
1230         (WebInspectorFrontendClient::disconnectFromBackend):
1231         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1232         (WebInspectorFrontendClient::destroyInspectorView):
1233         * WebCoreSupport/WebInspectorClient.h:
1234
1235 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
1236
1237         Unreviewed. Revert r66103 since Qt tests are failing.
1238
1239         * WebCoreSupport/WebInspectorClient.cpp:
1240         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
1241         (WebInspectorFrontendClient::closeWindow):
1242         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1243         (WebInspectorFrontendClient::destroyInspectorView):
1244         * WebCoreSupport/WebInspectorClient.h:
1245
1246 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
1247
1248         Reviewed by Pavel Feldman.
1249
1250         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
1251         https://bugs.webkit.org/show_bug.cgi?id=44230
1252
1253         * WebCoreSupport/WebInspectorClient.cpp:
1254         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
1255         (WebInspectorFrontendClient::closeWindow):
1256         (WebInspectorFrontendClient::disconnectFromBackend):
1257         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1258         (WebInspectorFrontendClient::destroyInspectorView):
1259         * WebCoreSupport/WebInspectorClient.h:
1260
1261 2010-08-24  Ada Chan  <adachan@apple.com>
1262
1263         Reviewed by Steve Falkenburg.
1264
1265         <rdar://problem/8185379> Possible null dereference in WebView::canShowMIMEType.
1266         https://bugs.webkit.org/show_bug.cgi?id=44564
1267
1268         * WebView.cpp:
1269         (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL
1270         if plugins are disabled.
1271
1272 2010-08-22  Daniel Bates  <dbates@rim.com>
1273
1274         Reviewed by Eric Seidel.
1275
1276         Encapsulate document marker management into DocumentMarkerController
1277         https://bugs.webkit.org/show_bug.cgi?id=44383
1278
1279         Modify call sites in the Apple Windows port to use DocumentMarkerController.
1280
1281         No functionality was changed, so no new tests.
1282
1283         * WebFrame.cpp:
1284         (WebFrame::unmarkAllMisspellings):
1285         (WebFrame::unmarkAllBadGrammar):
1286         * WebView.cpp:
1287         (WebView::rectsForTextMatches):
1288
1289 2010-08-18  Jessie Berlin  <jberlin@apple.com>
1290
1291         Reviewed by Adam Roben.
1292
1293         Bug 44180 - WebView::paint fails to paint a child WebView of a Layered Window.
1294         https://bugs.webkit.org/show_bug.cgi?id=44180
1295         
1296         Decide to end painting if the m_backingStoreBitmap is null after the call to
1297         ensureBackingStore() instead of when the rcPaint rect filled by BeginPaint is empty.
1298         The rcPaint rect filled by BeginPaint is always empty for a child WebView of a Layered 
1299         Window, even if GetUpdateRect and GetUpdateRgn report a non-empty region that needs
1300         painting.
1301
1302         * WebView.cpp:
1303         (WebView::paint):
1304
1305 2010-08-17  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1306
1307         Reviewed by Darin Adler.
1308
1309         Add NetworkingContext to avoid layer violations
1310         https://bugs.webkit.org/show_bug.cgi?id=42292
1311
1312         Preparation: Just add the files to the build system.
1313
1314         * WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
1315         Empty placeholder for now.
1316         * WebCoreSupport/WebFrameNetworkingContext.h: Added.
1317         Placeholder with tentative code that might be changed when landing
1318         the rest of it.
1319         * WebKit.vcproj/WebKit.vcproj: Added new files.
1320
1321 2010-08-17  Brady Eidson  <beidson@apple.com>
1322
1323         Reviewed by Sam Weinig.
1324
1325         Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
1326         <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131
1327
1328         * WebView.cpp:
1329         (WebView::canGoBack): Return false if loads are deferred.
1330         (WebView::canGoForward): Ditto.
1331
1332 2010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
1333
1334         Unreviewed; build fix attempt for Windows.
1335
1336         * DefaultDownloadDelegate.cpp:
1337
1338 2010-08-12  Jeremy Orlow  <jorlow@chromium.org>
1339
1340         Revert for now
1341         https://bugs.webkit.org/show_bug.cgi?id=43794 
1342
1343         * WebView.cpp:
1344         (WebView::initWithFrame):
1345
1346 2010-08-12  Jeremy Orlow  <jorlow@chromium.org>
1347
1348         Build fix.  Matches solutions in qt and mac ports for
1349         https://bugs.webkit.org/show_bug.cgi?id=43794 
1350
1351         * WebView.cpp:
1352         (WebView::initWithFrame):
1353
1354 2010-08-10  Gavin Barraclough  <barraclough@apple.com>
1355
1356         Build fix (update more includes)
1357
1358         * WebKitDLL.h:
1359         * WebLocalizableStrings.cpp:
1360         * WebNotificationCenter.cpp:
1361         * WebPreferences.cpp:
1362
1363 2010-08-10  Chris Marrin  <cmarrin@apple.com>
1364
1365         Reviewed by Oliver Hunt.
1366
1367         Add suspendAnimations/resumeAnimation API to DRT
1368         https://bugs.webkit.org/show_bug.cgi?id=43733
1369
1370         Win specific API
1371
1372         * Interfaces/IWebFramePrivate.idl:
1373         * WebFrame.cpp:
1374         (WebFrame::suspendAnimations):
1375         (WebFrame::resumeAnimations):
1376         * WebFrame.h:
1377
1378 2010-08-06  Gavin Barraclough  <barraclough@apple.com>
1379
1380         Rubber stamped by Sam Weinig
1381
1382         Bug 43594 - Add string forwards to Forward.h
1383         This allows us to remove forward declarations for these classes from
1384         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
1385
1386         * COMVariantSetter.h:
1387         * MarshallingHelpers.h:
1388         * WebCoreSupport/WebContextMenuClient.h:
1389         * WebCoreSupport/WebPluginHalterClient.h:
1390         * WebHistory.h:
1391
1392 2010-08-06  Jessie Berlin  <jberlin@apple.com>
1393
1394         Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
1395         Unreviewed.
1396
1397         * COMVariantSetter.h:
1398         * MarshallingHelpers.h:
1399         * WebCoreSupport/WebContextMenuClient.h:
1400         * WebCoreSupport/WebPluginHalterClient.h:
1401         * WebHistory.h:
1402
1403 2010-08-05  Jessie Berlin  <jberlin@apple.com>
1404
1405         Reviewed by Jon Honeycutt.
1406
1407         Bug 43593 - WebView::backingStore should check if m_backingStoreBitmap is NULL.
1408         https://bugs.webkit.org/show_bug.cgi?id=43593
1409
1410         * WebView.cpp:
1411         (WebView::backingStore):
1412         If m_backingStoreBitmap is NULL, return E_FAIL.
1413
1414 2010-08-05  Gavin Barraclough  <barraclough@apple.com>
1415
1416         Rubber stamped by Sam Weinig
1417
1418         Bug 43594 - Add string forwards to Forward.h
1419         This allows us to remove forward declarations for these classes from
1420         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
1421
1422         * COMVariantSetter.h:
1423         * MarshallingHelpers.h:
1424         * WebCoreSupport/WebContextMenuClient.h:
1425         * WebCoreSupport/WebPluginHalterClient.h:
1426         * WebHistory.h:
1427
1428 2010-08-03  Adam Roben  <aroben@apple.com>
1429
1430         Turn on PLATFORM_STRATEGIES on Windows
1431
1432         Fixes <http://webkit.org/b/43431>.
1433
1434         Reviewed by Anders Carlsson.
1435
1436         * WebCoreLocalizedStrings.cpp: Removed.
1437         * WebCoreSupport/WebPlatformStrategies.cpp: Added. Based on the Mac
1438         equivalent.
1439         (WebPlatformStrategies::initialize): Creates the singleton instance.
1440         (WebPlatformStrategies::WebPlatformStrategies): Registers the
1441         singleton instance as the PlatformStrategies instance for WebCore.
1442
1443         (WebPlatformStrategies::createPluginStrategy):
1444         (WebPlatformStrategies::createLocalizationStrategy):
1445         (WebPlatformStrategies::createVisitedLinkStrategy):
1446         Return ourselves as the strategy.
1447
1448         (WebPlatformStrategies::refreshPlugins):
1449         (WebPlatformStrategies::getPluginInfo):
1450         Moved code here from WebCore's PluginDataWin.cpp file.
1451
1452         (WebPlatformStrategies::searchableIndexIntroduction):
1453         (WebPlatformStrategies::submitButtonDefaultLabel):
1454         (WebPlatformStrategies::inputElementAltText):
1455         (WebPlatformStrategies::resetButtonDefaultLabel):
1456         (WebPlatformStrategies::fileButtonChooseFileLabel):
1457         (WebPlatformStrategies::fileButtonNoFileSelectedLabel):
1458         (WebPlatformStrategies::contextMenuItemTagOpenLinkInNewWindow):
1459         (WebPlatformStrategies::contextMenuItemTagDownloadLinkToDisk):
1460         (WebPlatformStrategies::contextMenuItemTagCopyLinkToClipboard):
1461         (WebPlatformStrategies::contextMenuItemTagOpenImageInNewWindow):
1462         (WebPlatformStrategies::contextMenuItemTagDownloadImageToDisk):
1463         (WebPlatformStrategies::contextMenuItemTagCopyImageToClipboard):
1464         (WebPlatformStrategies::contextMenuItemTagOpenFrameInNewWindow):
1465         (WebPlatformStrategies::contextMenuItemTagCopy):
1466         (WebPlatformStrategies::contextMenuItemTagGoBack):
1467         (WebPlatformStrategies::contextMenuItemTagGoForward):
1468         (WebPlatformStrategies::contextMenuItemTagStop):
1469         (WebPlatformStrategies::contextMenuItemTagReload):
1470         (WebPlatformStrategies::contextMenuItemTagCut):
1471         (WebPlatformStrategies::contextMenuItemTagPaste):
1472         (WebPlatformStrategies::contextMenuItemTagNoGuessesFound):
1473         (WebPlatformStrategies::contextMenuItemTagIgnoreSpelling):
1474         (WebPlatformStrategies::contextMenuItemTagLearnSpelling):
1475         (WebPlatformStrategies::contextMenuItemTagSearchWeb):
1476         (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
1477         (WebPlatformStrategies::contextMenuItemTagOpenLink):
1478         (WebPlatformStrategies::contextMenuItemTagIgnoreGrammar):
1479         (WebPlatformStrategies::contextMenuItemTagSpellingMenu):
1480         (WebPlatformStrategies::contextMenuItemTagCheckSpelling):
1481         (WebPlatformStrategies::contextMenuItemTagCheckSpellingWhileTyping):
1482         (WebPlatformStrategies::contextMenuItemTagCheckGrammarWithSpelling):
1483         (WebPlatformStrategies::contextMenuItemTagFontMenu):
1484         (WebPlatformStrategies::contextMenuItemTagBold):
1485         (WebPlatformStrategies::contextMenuItemTagItalic):
1486         (WebPlatformStrategies::contextMenuItemTagUnderline):
1487         (WebPlatformStrategies::contextMenuItemTagOutline):
1488         (WebPlatformStrategies::contextMenuItemTagWritingDirectionMenu):
1489         (WebPlatformStrategies::contextMenuItemTagTextDirectionMenu):
1490         (WebPlatformStrategies::contextMenuItemTagDefaultDirection):
1491         (WebPlatformStrategies::contextMenuItemTagLeftToRight):
1492         (WebPlatformStrategies::contextMenuItemTagRightToLeft):
1493         (WebPlatformStrategies::contextMenuItemTagShowSpellingPanel):
1494         (WebPlatformStrategies::contextMenuItemTagInspectElement):
1495         (WebPlatformStrategies::searchMenuNoRecentSearchesText):
1496         (WebPlatformStrategies::searchMenuRecentSearchesText):
1497         (WebPlatformStrategies::searchMenuClearRecentSearchesText):
1498         (WebPlatformStrategies::AXWebAreaText):
1499         (WebPlatformStrategies::AXLinkText):
1500         (WebPlatformStrategies::AXListMarkerText):
1501         (WebPlatformStrategies::AXImageMapText):
1502         (WebPlatformStrategies::AXHeadingText):
1503         (WebPlatformStrategies::AXDefinitionListTermText):
1504         (WebPlatformStrategies::AXDefinitionListDefinitionText):
1505         (WebPlatformStrategies::AXButtonActionVerb):
1506         (WebPlatformStrategies::AXRadioButtonActionVerb):
1507         (WebPlatformStrategies::AXTextFieldActionVerb):
1508         (WebPlatformStrategies::AXCheckedCheckBoxActionVerb):
1509         (WebPlatformStrategies::AXUncheckedCheckBoxActionVerb):
1510         (WebPlatformStrategies::AXLinkActionVerb):
1511         (WebPlatformStrategies::AXMenuListActionVerb):
1512         (WebPlatformStrategies::AXMenuListPopupActionVerb):
1513         (WebPlatformStrategies::unknownFileSizeText):
1514         (WebPlatformStrategies::uploadFileText):
1515         (WebPlatformStrategies::allFilesText):
1516         (WebPlatformStrategies::missingPluginText):
1517         (WebPlatformStrategies::crashedPluginText):
1518         (WebPlatformStrategies::imageTitle):
1519         (WebPlatformStrategies::multipleFileUploadText):
1520         (WebPlatformStrategies::mediaElementLoadingStateText):
1521         (WebPlatformStrategies::mediaElementLiveBroadcastStateText):
1522         (WebPlatformStrategies::localizedMediaControlElementString):
1523         (WebPlatformStrategies::localizedMediaControlElementHelpText):
1524         (WebPlatformStrategies::localizedMediaTimeDescription):
1525         (WebPlatformStrategies::validationMessageValueMissingText):
1526         (WebPlatformStrategies::validationMessageTypeMismatchText):
1527         (WebPlatformStrategies::validationMessagePatternMismatchText):
1528         (WebPlatformStrategies::validationMessageTooLongText):
1529         (WebPlatformStrategies::validationMessageRangeUnderflowText):
1530         (WebPlatformStrategies::validationMessageRangeOverflowText):
1531         (WebPlatformStrategies::validationMessageStepMismatchText):
1532         Moved code here from WebCoreLocalizedStrings.cpp (and slightly cleaned
1533         it up).
1534
1535         (WebPlatformStrategies::isLinkVisited):
1536         (WebPlatformStrategies::addVisitedLink):
1537         Copied code from WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm.
1538
1539         * WebCoreSupport/WebPlatformStrategies.h: Added.
1540
1541         * WebKit.vcproj/WebKit.vcproj: Removed WebCoreLocalizedStrings, added
1542         WebPlatformStrategies.
1543
1544         * WebView.cpp:
1545         (WebView::initWithFrame): Initialize WebPlatformStrategies.
1546
1547 2010-08-03  Alexey Proskuryakov  <ap@apple.com>
1548
1549         Reviewed by Sam Weinig.
1550
1551         https://bugs.webkit.org/show_bug.cgi?id=42939
1552         WebEditorClient::didBeginEditing is never called in WebKit2
1553
1554         * WebView.cpp: (WebView::WebViewWndProc): Removed a call to setFocusedFrame. WebCore will
1555         now set it to main frame, and besides, this call should have been before setFocused(), not
1556         after it. My understanding is that we weren't getting all the same editing delegates on Windows,
1557         so this change may make WebKit1 on Windows behave more like Mac - but I haven't tested it.
1558
1559 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
1560
1561         Reviewed by Darin Fisher.
1562
1563         PopupMenu refactoring in preparation to WebKit2
1564         https://bugs.webkit.org/show_bug.cgi?id=42592
1565
1566         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
1567         instances, concrete classes that inherit from ChromeClient needed to be changed to
1568         implement the new methods.
1569
1570         * WebCoreSupport/WebChromeClient.cpp:
1571         (WebChromeClient::selectItemWritingDirectionIsNatural):
1572         (WebChromeClient::createPopupMenu):
1573         (WebChromeClient::createSearchPopupMenu):
1574         * WebCoreSupport/WebChromeClient.h:
1575
1576 2010-08-02  Jon Honeycutt  <jhoneycutt@apple.com>
1577
1578         Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.
1579
1580         Reviewed by Sam Weinig.
1581
1582         * WebKit.vcproj/WebKit.sln:
1583
1584 2010-08-02  Jeremy Orlow  <jorlow@chromium.org>
1585
1586         Speculative revert of 64425 due to Chromium instability
1587         https://bugs.webkit.org/show_bug.cgi?id=43347
1588
1589         * WebCoreSupport/WebChromeClient.cpp:
1590         * WebCoreSupport/WebChromeClient.h:
1591         * WebView.cpp:
1592         (WebView::mouseWheel):
1593
1594 2010-07-31  Luiz Agostini  <luiz.agostini@openbossa.org>
1595
1596         Build fix: Windows.
1597
1598         * WebView.cpp:
1599         (WebView::mouseWheel):
1600
1601 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
1602
1603         Reviewed by Darin Fisher.
1604
1605         PopupMenu refactoring in preparation to WebKit2
1606         https://bugs.webkit.org/show_bug.cgi?id=42592
1607
1608         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
1609         instances, concrete classes that inherit from ChromeClient needed to be changed to
1610         implement the new methods.
1611
1612         * WebCoreSupport/WebChromeClient.cpp:
1613         (WebChromeClient::selectItemWritingDirectionIsNatural):
1614         (WebChromeClient::createPopupMenu):
1615         (WebChromeClient::createSearchPopupMenu):
1616         * WebCoreSupport/WebChromeClient.h:
1617
1618 2010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1619
1620         Unreviewed, rolling out r64422.
1621         http://trac.webkit.org/changeset/64422
1622         https://bugs.webkit.org/show_bug.cgi?id=43304
1623
1624         Build fixes are needed for Snow Leopard and Windows.
1625         (Requested by lca on #webkit).
1626
1627         * WebCoreSupport/WebChromeClient.cpp:
1628         * WebCoreSupport/WebChromeClient.h:
1629
1630 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
1631
1632         Reviewed by Darin Fisher.
1633
1634         PopupMenu refactoring in preparation to WebKit2
1635         https://bugs.webkit.org/show_bug.cgi?id=42592
1636
1637         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
1638         instances, concrete classes that inherit from ChromeClient needed to be changed to
1639         implement the new methods.
1640
1641         * WebCoreSupport/WebChromeClient.cpp:
1642         (WebChromeClient::selectItemWritingDirectionIsNatural):
1643         (WebChromeClient::createPopupMenu):
1644         (WebChromeClient::createSearchPopupMenu):
1645         * WebCoreSupport/WebChromeClient.h:
1646
1647 2010-07-31  Daniel Bates  <dbates@rim.com>
1648
1649         Attempt to fix the Windows build after changeset 64409 <http://trac.webkit.org/changeset/64409>.
1650
1651         * WebFrame.cpp:
1652         (WebFrame::setPrinting):
1653
1654 2010-07-30  Dan Bernstein  <mitz@apple.com>
1655
1656         Reviewed by Darin Adler.
1657
1658         <rdar://problem/8257783> Short documents may print a second blank page
1659         https://bugs.webkit.org/show_bug.cgi?id=43271
1660
1661         * WebFrame.cpp:
1662         (WebFrame::setPrinting): Updated for changes to Frame::setPrinting(). Passing 0 for the
1663         page height, which maintains existing behavior.
1664
1665 2010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
1666
1667         Reviewed by David Kilzer.
1668
1669         Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
1670         https://bugs.webkit.org/show_bug.cgi?id=40627
1671
1672         * WebCoreSupport/WebChromeClient.cpp:
1673         (WebChromeClient::reachedApplicationCacheOriginQuota):
1674         * WebCoreSupport/WebChromeClient.h:
1675
1676 2010-07-26  Steve Block  <steveblock@google.com>
1677
1678         Reviewed by Jeremy Orlow.
1679
1680         Page clients should be passed to Page constructor via structure of pointers
1681         https://bugs.webkit.org/show_bug.cgi?id=42834
1682
1683         * WebView.cpp:
1684         (WebView::initWithFrame):
1685
1686 2010-07-27  Steve Block  <steveblock@google.com>
1687
1688         Reviewed by Alexey Proskuryakov.
1689
1690         Client-based Geolocation does not pass enableHighAccuracy option to controller and client
1691         https://bugs.webkit.org/show_bug.cgi?id=40374
1692
1693         Stub out setEnableHighAccuracy method for the Win port.
1694
1695         * WebCoreSupport/WebGeolocationControllerClient.h:
1696         (WebGeolocationControllerClient::setEnableHighAccuracy):
1697
1698 2010-07-22  Sam Weinig  <sam@webkit.org>
1699
1700         Reviewed by Maciej Stachowiak.
1701
1702         Fix for <rdar://problem/8222626>
1703         Send textDidChangeInTextField delegate callback only in response to typing or other forms of user text input.
1704
1705         The function name no longer perfectly matches the behavior, but I didn't want to break any existing clients. Maybe we
1706         should migrate to a new function name eventually
1707
1708         * WebCoreSupport/WebEditorClient.cpp:
1709         (WebEditorClient::textDidChangeInTextField):
1710
1711 2010-07-21  Brady Eidson  <beidson@apple.com>
1712
1713         Reviewed by Geoffrey Garen.
1714
1715         Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
1716         https://bugs.webkit.org/show_bug.cgi?id=42783
1717
1718         * WebView.cpp:
1719         (WebView::registerURLSchemeAsLocal):
1720         (WebView::registerURLSchemeAsSecure):
1721
1722 2010-07-20  Steve Falkenburg  <sfalken@apple.com>
1723
1724         Reviewed by Adam Roben.
1725
1726         WebKit on Windows should build optionally with an unversioned ICU DLL
1727         https://bugs.webkit.org/show_bug.cgi?id=42722
1728         <rdar://problem/8211767> WebKit needs to link against unversioned ICU
1729
1730         To get the proper value for U_DISABLE_RENAMING into all source files, we force
1731         the include of ICUVersion.h (our generated header) via the compiler options.
1732
1733         * WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h.        
1734
1735 2010-07-21  Adam Roben  <aroben@apple.com>
1736
1737         Update WebKit.sln for InjectedBundle's Debug_Internal configuration
1738
1739         Fixes <http://webkit.org/b/42749> InjectedBundle's build
1740         configurations are screwy
1741
1742         Reviewed by Darin Adler.
1743
1744         * WebKit.vcproj/WebKit.sln: Build the Debug_Internal variant of
1745         InjectedBundle when we're using the Debug_Internal solution
1746         configuration.
1747
1748 2010-07-21  Adam Roben  <aroben@apple.com>
1749
1750         Add MiniBrowser to WebKit.sln
1751
1752         It is the last project to build.
1753
1754         Fixes <http://webkit.org/b/42747> build-webkit should build
1755         MiniBrowser
1756
1757         Reviewed by Darin Adler.
1758
1759         * WebKit.vcproj/WebKit.sln: Added MiniBrowser, and made it depend on
1760         WebKitTestRunner.
1761
1762 2010-07-20  Adam Roben  <aroben@apple.com>
1763
1764         Add WebKitTestRunner and friends to WebKit.sln
1765
1766         We added these projects to WebKit2.sln in r63585, but removed them
1767         again in r63600 because WebKitTestRunner required getopt, which
1768         doesn't exist in WebKitAuxiliaryLibrary. r63700 and r63788 removed the
1769         use of getopt in WebKitTestRunner, so we can now add it to WebKit.sln
1770         (which has replaced WebKit2.sln).
1771
1772         Fixes <http://webkit.org/b/42711> WebKit.sln should build
1773         WebKitTestRunner
1774
1775         Reviewed by Steve Falkenburg.
1776
1777         * WebKit.vcproj/WebKit.sln: Added the following projects to the end of
1778         the build order (in first-built to last-built order):
1779         InjectedBundleGenerated, InjectedBundle, WebKitTestRunner. Also
1780         removed an unnecessary dependency from testapi on WebKit2WebProcess.
1781
1782 2010-07-19  Daniel Bates  <dbates@rim.com>
1783
1784         Reviewed by Adam Roben.
1785
1786         [Win] Implement LayoutTestController::markerTextForListItem()
1787         https://bugs.webkit.org/show_bug.cgi?id=37930
1788
1789         Implements support for markerTextForListItem in the Windows port.
1790
1791         * DOMCoreClasses.cpp:
1792         (DOMElement::markerTextForListItem): Added.
1793         * DOMCoreClasses.h:
1794         * Interfaces/DOMPrivate.idl: Added declaration for markerTextForListItem().
1795         * Interfaces/IWebViewPrivate.idl: Added declaration for elementFromJS().
1796         * Interfaces/WebKit.idl: Touch it to force a rebuild (and for good luck :-)).
1797         * WebView.cpp:
1798         (WebView::elementFromJS): Added.
1799         * WebView.h:
1800
1801 2010-07-16  Zhe Su  <suzhe@chromium.org>
1802
1803         Reviewed by Darin Adler.
1804
1805         REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
1806         https://bugs.webkit.org/show_bug.cgi?id=42253
1807
1808         Dummy implementation of EditorClient::willSetInputMethodState.
1809
1810         * WebCoreSupport/WebEditorClient.cpp:
1811         (WebEditorClient::willSetInputMethodState):
1812         * WebCoreSupport/WebEditorClient.h:
1813
1814 2010-07-16  Mikhail Naganov  <mnaganov@chromium.org>
1815
1816         Reviewed by Pavel Feldman.
1817
1818         Make JS memory stats available via 'Performance' object (Web Timing).
1819         This statistics is populated only if 'WebKitMemoryInfoEnabled'
1820         preference is set.
1821
1822         'console.memory' is kept until Web Timing object becomes visible by
1823         default (currently it is hidden under compile-time flag).  These stats
1824         are guarded with the same preference.
1825
1826         https://bugs.webkit.org/show_bug.cgi?id=41617
1827
1828         * Interfaces/IWebPreferencesPrivate.idl:
1829         * WebPreferenceKeysPrivate.h:
1830         * WebPreferences.cpp:
1831         (WebPreferences::initializeDefaultSettings):
1832         (WebPreferences::memoryInfoEnabled):
1833         (WebPreferences::setMemoryInfoEnabled):
1834         * WebPreferences.h:
1835         * WebView.cpp:
1836         (WebView::notifyPreferencesChanged):
1837
1838 2010-07-14  Brent Fulgham  <bfulgham@webkit.org>
1839
1840         Reviewed by Steve Falkenburg.
1841
1842         Patch for https://bugs.webkit.org/show_bug.cgi?id=42299
1843         Correct WinCairo build for new WebKit2 project structure.
1844
1845         * WebKit.vcproj/WebKit.sln:
1846
1847 2010-07-14  Sam Weinig  <sam@webkit.org>
1848
1849         Reviewed by Darin Adler.
1850
1851         Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
1852         Make changing Cursors work in WebKit2.
1853
1854         * WebCoreSupport/WebChromeClient.cpp:
1855         (WebChromeClient::setCursor):
1856         We now need to grab the native cursor out of the WebCore cursor.
1857
1858         (WebChromeClient::setLastSetCursorToCurrentCursor):
1859         Sets the WebView's "last set cursor" to be the current cursor so that
1860         the cursor is set correctly for plugins.
1861         * WebCoreSupport/WebChromeClient.h:
1862         * WebView.cpp:
1863         (WebView::WebView):
1864         (WebView::WebViewWndProc):
1865         * WebView.h:
1866         (WebView::setLastCursor):
1867         Change the "last set cursor" to be stored as a member instead of a global.
1868
1869 2010-07-13  Steve Falkenburg  <sfalken@apple.com>
1870
1871         Windows build fix.
1872         Make WebKit.sln build WebKit.dll as it used to in the past.
1873         (sln is updated to include necessary projects)
1874
1875         * WebKit.vcproj/WebKit.sln:
1876
1877 2010-07-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1878
1879         Windows build fix
1880
1881         * Interfaces/WebKit.idl: Touched to force a build
1882
1883 2010-07-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1884
1885         Reviewed by Darin Adler.
1886
1887         Prevent assertion/duplicate loads for non-deferred subtitute-data loads
1888
1889         https://bugs.webkit.org/show_bug.cgi?id=30879
1890
1891         MainResourceLoader uses the member m_initialRequest to store requests for future
1892         deferred loads. When doing the actual load in handleDataLoadNow(), we therefore
1893         have to clear this request so that subsequent entries into the loader will not
1894         start yet another load.
1895
1896         This can happen as a result of a PageGroupLoadDeferrer going out of scope when
1897         returning from Chrome::runJavaScriptAlert(), which calls setDeferredLoading(false),
1898         but only in the case of using both substitute-data and non-deferred main resource
1899         load together. That's why two new DRT functions were added:
1900
1901          * queueLoadHTMLString()
1902          * setDeferMainResourceLoad()
1903
1904         The change adds DRT hooks for Mac, Win and Qt for these two functions. For Mac
1905         and Win the hook uses new SPI in WebDataSource. For Qt a new static member was
1906         added to the FrameLoaderClientQt and accessed though DumpRenderTreeSupportQt.
1907
1908         * Interfaces/IWebDataSource.idl:
1909         * WebDataSource.cpp:
1910         (WebDataSource::setDeferMainResourceDataLoad):
1911         * WebDataSource.h:
1912
1913 2010-07-12  Steve Falkenburg  <sfalken@apple.com>
1914
1915         Reviewed by Alice Liu.
1916
1917         <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL
1918         https://bugs.webkit.org/show_bug.cgi?id=40921
1919
1920         Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib.
1921         WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code.
1922         
1923         This is a first step. We'll likely want to migrate the remainder of
1924         the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2.
1925
1926         * WebKit.vcproj/WebKit.def: Removed.
1927         * WebKit.vcproj/WebKit.make: Don't fail if WebKit doesn't produce a DLL.
1928         * WebKit.vcproj/WebKit.vcproj: Build WebKit as a static lib.
1929         Renamed project name to WebKitLib to avoid confusion and naming conflicts.
1930         Generate intermediate pdb file for debuggability of static lib.
1931         Removed DLL-related options.        
1932         * WebKit.vcproj/deleteButton.png: Removed.
1933         * WebKit.vcproj/deleteButtonPressed.png: Removed.
1934         * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed.
1935         * WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed.
1936         * WebKit.vcproj/fsVideoExitFullscreen.png: Removed.
1937         * WebKit.vcproj/fsVideoPause.png: Removed.
1938         * WebKit.vcproj/fsVideoPlay.png: Removed.
1939         * WebKit.vcproj/missingImage.png: Removed.
1940         * WebKit.vcproj/nullplugin.png: Removed.
1941         * WebKit.vcproj/panEastCursor.png: Removed.
1942         * WebKit.vcproj/panIcon.png: Removed.
1943         * WebKit.vcproj/panNorthCursor.png: Removed.
1944         * WebKit.vcproj/panNorthEastCursor.png: Removed.
1945         * WebKit.vcproj/panNorthWestCursor.png: Removed.
1946         * WebKit.vcproj/panSouthCursor.png: Removed.
1947         * WebKit.vcproj/panSouthEastCursor.png: Removed.
1948         * WebKit.vcproj/panSouthWestCursor.png: Removed.
1949         * WebKit.vcproj/panWestCursor.png: Removed.
1950         * WebKit.vcproj/searchCancel.png: Removed.
1951         * WebKit.vcproj/searchCancelPressed.png: Removed.
1952         * WebKit.vcproj/searchMagnifier.png: Removed.
1953         * WebKit.vcproj/searchMagnifierResults.png: Removed.
1954         * WebKit.vcproj/textAreaResizeCorner.png: Removed.
1955         * WebKit.vcproj/verticalTextCursor.png: Removed.
1956         * WebKit.vcproj/zoomInCursor.png: Removed.
1957         * WebKit.vcproj/zoomOutCursor.png: Removed.
1958
1959 2010-07-08  Aaron Boodman  <aa@chromium.org>
1960
1961         Reviewed by Timothy Hatcher.
1962
1963         Add the ability for user scripts and user styles to affect just the top frame.
1964
1965         https://bugs.webkit.org/show_bug.cgi?id=41529
1966
1967         * WebView.cpp:
1968         (WebView::addUserScriptToGroup):
1969         (WebView::addUserStyleSheetToGroup):
1970
1971 2010-07-08  Adele Peterson  <adele@apple.com>
1972
1973         Reviewed by Jon Honeycutt, Adam Roben, and Darin Adler.
1974
1975         Fix for https://bugs.webkit.org/show_bug.cgi?id=41721
1976         <rdar://problem/8158561> Missing plug-in indicator should have a pressed state
1977
1978         Implement shouldMissingPluginMessageBeButton.
1979
1980         * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::shouldMissingPluginMessageBeButton):
1981         * WebCoreSupport/WebChromeClient.h:
1982
1983 2010-07-07  Anders Carlsson  <andersca@apple.com>
1984
1985         Reviewed by Simon Fraser.
1986
1987         Rename TestNetscapePlugin.subproj and move platform specific files to subdirectories
1988         https://bugs.webkit.org/show_bug.cgi?id=41781
1989
1990         * WebKit.vcproj/WebKit.sln:
1991
1992 2010-07-07  Sam Weinig  <sam@webkit.org>
1993
1994         Reviewed by Anders Carlsson.
1995
1996         Patch for https://bugs.webkit.org/show_bug.cgi?id=41772
1997         Add basic piping for BackForwardControllerClient.
1998
1999         * WebView.cpp:
2000         (WebView::initWithFrame):
2001
2002 2010-07-07  Adam Roben  <aroben@apple.com>
2003
2004         Windows build fix
2005
2006         * Interfaces/WebKit.idl: Touched to force a build.
2007
2008 2010-07-06  Steve Falkenburg  <sfalken@apple.com>
2009
2010         Reviewed by Simon Fraser.
2011
2012         Expose URL matching from WebUserContentURLPattern
2013         https://bugs.webkit.org/show_bug.cgi?id=41726
2014         <rdar://problem/7910144>
2015         
2016         We previously had a way to construct WebUserContentURLPattern
2017         instances via WebKit, but no way for callers to perform matching.
2018         This patch adds the matchesURL functionality to allow for this.
2019
2020         * Interfaces/IWebUserContentURLPattern.idl: Added matchesURL.
2021         * Interfaces/IWebView.idl: Touch to force a build.
2022         * WebUserContentURLPattern.cpp:
2023         (WebUserContentURLPattern::matchesURL): Added. Calls through to WebCore::UserContentURLPattern::matches.
2024         * WebUserContentURLPattern.h: Added matchesURL.
2025
2026 2010-07-03  Jon Honeycutt  <jhoneycutt@apple.com>
2027
2028         The missing plug-in indicator should be clickable
2029
2030         https://bugs.webkit.org/show_bug.cgi?id=41550
2031         <rdar://problem/8132162>
2032
2033         From an original patch by Kevin Decker.
2034
2035         Reviewed by Darin Adler.
2036
2037         * Interfaces/IWebUIDelegatePrivate.idl:
2038         Added a new delegate interface, and declare a function
2039         didPressMissingPluginButton().
2040
2041         * Interfaces/WebKit.idl:
2042         Touch this file to force interfaces to be rebuilt.
2043
2044         * WebCoreSupport/WebChromeClient.cpp:
2045         (WebChromeClient::missingPluginButtonClicked):
2046         Get the UI delegate, and query it for IWebUIDelegatePrivate3. Call its
2047         didPressMissingPluginButton() function.
2048
2049         * WebCoreSupport/WebChromeClient.h:
2050         Declare an override of missingPluginButtonClicked().
2051
2052 2010-07-03  Erik Arvidsson  <arv@chromium.org>
2053
2054         Reviewed by Ojan Vafai.
2055
2056         Fix issue where a contextmenu event was reporting the wrong target
2057         if the context menu was shown due to pressing the context menu key
2058         (or Shift+F10).
2059
2060         * WebView.cpp:
2061         (WebView::handleContextMenuEvent):
2062
2063 2010-07-01  Steve Falkenburg  <sfalken@apple.com>
2064
2065         Reviewed by Adele Peterson.
2066
2067         Provide a WebView preference to disable DNS prefetching on Windows
2068         https://bugs.webkit.org/show_bug.cgi?id=41504
2069         <rdar://problem/8151939>
2070
2071         * Interfaces/IWebPreferencesPrivate.idl: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled.
2072         * Interfaces/WebKit.idl: Touched to force IDL build.
2073         * WebPreferenceKeysPrivate.h: Added WebKitDNSPrefetchingEnabledPreferenceKey.
2074         * WebPreferences.cpp:
2075         (WebPreferences::initializeDefaultSettings): Default prefetch to true.
2076         (WebPreferences::setDNSPrefetchingEnabled): Added.
2077         (WebPreferences::isDNSPrefetchingEnabled): Added.
2078         * WebPreferences.h: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled.
2079         * WebView.cpp:
2080         (WebView::notifyPreferencesChanged): Propagate prefetch pref into settings.
2081
2082 2010-06-21  Nate Chapin  <japhet@chromium.org>
2083
2084         Unreviewed, Windows build fix.
2085
2086         Update WebFrame to use FrameLoaderStateMachine in
2087          firstLayoutDone().
2088
2089         * WebFrame.cpp:
2090         (WebFrame::firstLayoutDone):
2091
2092 2010-06-15  Dumitru Daniliuc  <dumi@chromium.org>
2093
2094         Reviewed by Adam Barth.
2095
2096         Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
2097         https://bugs.webkit.org/show_bug.cgi?id=39041
2098
2099         * WebView.cpp:
2100         (WebView::notifyPreferencesChanged):
2101
2102 2010-06-16  Adam Roben  <aroben@apple.com>
2103
2104         Add a "forPrinting" boolean parameter to
2105         IWebFramePrivate::renderTreeAsExternalRepresentation
2106
2107         Fixes <http://webkit.org/b/40727> Respect
2108         LayoutTestController::isPrinting on Windows.
2109
2110         Reviewed by Dan Bernstein.
2111
2112         * Interfaces/IWebFramePrivate.idl: Renamed the current
2113         renderTreeAsExternalRepresentation to unused1, and added a new version
2114         that takes a boolean "forPrinting" parameter.
2115
2116         * Interfaces/WebKit.idl: Touched to force a build.
2117
2118         * WebFrame.cpp:
2119         (WebFrame::renderTreeAsExternalRepresentation): Added a boolean
2120         "forPrinting" parameter, and used it to tell externalRepresentation
2121         what kind of behavior to use.
2122
2123         * WebFrame.h: Renamed the old renderTreeAsExternalRepresentation and
2124         added the new one.
2125
2126 2010-06-15  Darin Adler  <darin@apple.com>
2127
2128         Reviewed by Adam Barth.
2129
2130         Move functions out of Frame class that were marked "move to Chrome"
2131         https://bugs.webkit.org/show_bug.cgi?id=39636
2132
2133         * WebView.cpp:
2134         (WebView::shouldClose): Call shouldClose on FrameLoader instead of
2135         going through Frame.
2136
2137 2010-06-14  Adam Roben  <aroben@apple.com>
2138
2139         Add WebKitLauncherWin to WebKit.sln
2140
2141         Fixes <http://webkit.org/b/40583>.
2142
2143         Reviewed by Darin Adler.
2144
2145         * WebKit.vcproj/WebKit.sln: Added WebKitLauncherWin.vcproj. It depends
2146         on WebKitAPITest, so is the last project to build. (Also removed
2147         QTMovieWin's direct dependency on JavaScriptCore, since it already has
2148         an indirect dependency on it.)
2149
2150 2010-06-14  Chang Shu  <chang.shu@nokia.com>
2151
2152         Reviewed by Kenneth Rohde Christiansen.
2153
2154         [win] Make windows compile after API changes.
2155
2156         https://bugs.webkit.org/show_bug.cgi?id=40434
2157
2158         * WebKitGraphics.cpp:
2159         (WebDrawText):
2160
2161 2010-06-14  Ilya Tikhonovsky  <loislo@chromium.org>
2162
2163         Reviewed by Pavel Feldman.
2164
2165         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
2166         data from inspected page to WebInspector as JSON string via http. The native
2167         serialization to JSON string is supported by InspectorValue's classes. This patch
2168         has the implementation of sendMessageToFrontend function. WebKit version of it still
2169         uses ScriptFunctionCall and will be switched to another transport a little bit later.
2170         https://bugs.webkit.org/show_bug.cgi?id=40134
2171
2172         * WebCoreSupport/WebInspectorClient.cpp:
2173         (WebInspectorClient::WebInspectorClient):
2174         (WebInspectorClient::~WebInspectorClient):
2175         (WebInspectorClient::openInspectorFrontend):
2176         * WebCoreSupport/WebInspectorClient.h:
2177
2178 2010-06-10  Eric Seidel  <eric@webkit.org>
2179
2180         Reviewed by Adam Barth.
2181
2182         Reduce FrameView.h includes to speed up build times
2183         https://bugs.webkit.org/show_bug.cgi?id=40408
2184
2185         Another fix for Windows.
2186
2187         * WebView.cpp:
2188
2189 2010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2190
2191         Unreviewed, rolling out r60889.
2192         http://trac.webkit.org/changeset/60889
2193         https://bugs.webkit.org/show_bug.cgi?id=40365
2194
2195         gtk bot has some kind of memory corruption (Requested by
2196         loislo on #webkit).
2197
2198         * WebCoreSupport/WebInspectorClient.cpp:
2199         (WebInspectorClient::WebInspectorClient):
2200         (WebInspectorClient::~WebInspectorClient):
2201         (WebInspectorClient::openInspectorFrontend):
2202         * WebCoreSupport/WebInspectorClient.h:
2203         (WebInspectorClient::frontendClosing):
2204
2205 2010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
2206
2207         Reviewed by Pavel Feldman.
2208
2209         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
2210         data from inspected page to WebInspector as JSON string via http. The native
2211         serialization to JSON string is supported by InspectorValue's classes. This patch
2212         has the implementation of sendMessageToFrontend function. WebKit version of it still
2213         uses ScriptFunctionCall and will be switched to another transport a little bit later.
2214         https://bugs.webkit.org/show_bug.cgi?id=40134
2215
2216         * WebCoreSupport/WebInspectorClient.cpp:
2217         (WebInspectorClient::WebInspectorClient):
2218         (WebInspectorClient::~WebInspectorClient):
2219         (WebInspectorClient::openInspectorFrontend):
2220         * WebCoreSupport/WebInspectorClient.h:
2221
2222 2010-06-08  Antonio Gomes  <tonikitoo@webkit.org>
2223
2224         Reviewed by Ojan Vafai and Darin Adler.
2225
2226         Refactor platform dependent editing behavior code out of Settings
2227         https://bugs.webkit.org/show_bug.cgi?id=39854
2228
2229         EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
2230         EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
2231
2232         * WebView.cpp:
2233         (WebView::notifyPreferencesChanged):
2234
2235 2010-06-04  Alice Liu  <alice.liu@apple.com>
2236
2237         Reviewed by Jon Honeycutt.
2238
2239         WebFrame::paintDocumentRectToContextAtPoint doesn't paint scrollbars
2240         https://bugs.webkit.org/show_bug.cgi?id=40034
2241         <rdar://problem/7799848>
2242
2243         * WebFrame.cpp:
2244         (WebFrame::paintScrollViewRectToContextAtPoint): Renamed from paintDocumentRectToContextAtPoint. 
2245         Call paint() instead of paintContents(). Also move the dirtyRect to counteract the moving that happens in paint().
2246
2247         Just renaming changes:
2248         * Interfaces/IWebFramePrivate.idl:
2249         * Interfaces/IWebViewPrivate.idl:
2250         * WebFrame.h:
2251         * WebView.cpp:
2252         (WebView::paintScrollViewRectToContextAtPoint):
2253         * WebView.h:
2254
2255         * Interfaces/WebKit.idl: Touched for rebuild.
2256
2257 2010-05-30  Daniel Bates  <dbates@rim.com>
2258
2259         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
2260
2261         * WebFrame.cpp:
2262         (WebFrame::elementWithName):
2263         (WebFrame::controlsInForm):
2264
2265 2010-05-22  Jer Noble  <jer.noble@apple.com>
2266
2267         Reviewed by Adam Roben.
2268
2269         Full screen doesn't work for video elements
2270         https://bugs.webkit.org/show_bug.cgi?id=39557
2271         rdar://problem/8011813
2272         
2273         Modified FullscreenVideoController to work with MediaPlayerPrivateFullscreenWindow.  The FullscreenVideoController
2274         is now MediaPlayerPrivate agnostic..
2275
2276         * FullscreenVideoController.cpp:
2277         (FullscreenVideoController::LayoutClient::LayoutClient): New helper class which implements WKCACFLayerLayoutClient.
2278         (FullscreenVideoController::LayoutClient::layoutSublayersOfLayer):
2279         (FullscreenVideoController::FullscreenVideoController):
2280         (FullscreenVideoController::~FullscreenVideoController):
2281         (FullscreenVideoController::enterFullscreen):
2282         (FullscreenVideoController::exitFullscreen):
2283         (FullscreenVideoController::fullscreenClientWndProc): Handle WM_KEYDOWN.
2284         (FullscreenVideoController::createHUDWindow):
2285         (FullscreenVideoController::hudWndProc):  Handle WM_KEYDOWN.
2286         (FullscreenVideoController::onChar):
2287         (FullscreenVideoController::onKeyDown):  New function: handles the VK_ESCAPE case more reliably than WM_CHAR.
2288         * FullscreenVideoController.h:
2289         * WebView.h: 
2290         (WebView::viewWindow): Added a simple viewWindow() accessor.
2291
2292 2010-05-25  Brady Eidson  <beidson@apple.com>
2293
2294         Reviewed by Darin Adler.
2295
2296         Database origins aren't populated at launch (missing db in prefs sheet, possible other symptoms)
2297         <rdar://problem/8013233> and https://bugs.webkit.org/show_bug.cgi?id=39486
2298
2299         * WebDatabaseManager.cpp:
2300         (WebKitInitializeWebDatabasesIfNecessary): Call initializeTracker() instead of trying to set the path on
2301           an already created tracker that already has its origins populated.
2302         * WebDatabaseManager.h:
2303
2304         * WebView.cpp:
2305         (WebView::initWithFrame): Call a renamed method instead.
2306
2307 2010-05-25  Ada Chan  <adachan@apple.com>
2308
2309         Reviewed by Steve Falkenburg.
2310
2311         https://bugs.webkit.org/show_bug.cgi?id=39651
2312         
2313         Make m_closeWindowTimer a SuspendableTimer, so it is properly suspended
2314         when page loading is deferred.
2315
2316         * WebView.cpp:
2317         (WebView::WebView): m_closeWindowTimer is now a pointer to a SuspendableTimer.
2318         (WindowCloseTimer::create):
2319         (WindowCloseTimer::WindowCloseTimer):
2320         (WindowCloseTimer::contextDestroyed): Make sure we delete the WindowCloseTimer in the end.
2321         (WindowCloseTimer::fired):
2322         (WebView::closeWindowSoon):
2323         (WebView::closeWindowTimerFired):
2324         (WebView::notifyPreferencesChanged): Can just check for the existence m_closeWindowTimer, since
2325         we only create it when we need to start the timer.
2326         * WebView.h:
2327
2328 2010-05-24  Darin Adler  <darin@apple.com>
2329
2330         Reviewed by Eric Seidel.
2331
2332         Move view-related functions from Frame to FrameView
2333         https://bugs.webkit.org/show_bug.cgi?id=39366
2334
2335         * WebFrame.cpp:
2336         (WebFrame::setTextSizeMultiplier): Call function on FrameView.
2337         * WebView.cpp:
2338         (WebView::setZoomMultiplier): Ditto.
2339
2340 2010-05-24  Anders Carlsson  <andersca@apple.com>
2341
2342         Yet another Windows build fix.
2343         
2344         * WebView.cpp:
2345         (WebView::canShowMIMEType):
2346         Use the right capitalizatinon of 'MIME' (which also happens to be incorrect according to our guidelines).
2347
2348 2010-05-24  Anders Carlsson  <andersca@apple.com>
2349
2350         Another Windows build fix.
2351
2352         * WebView.cpp:
2353         Don't include PlugInInfoStore.h, instead include PluginData.h
2354
2355 2010-05-24  Anders Carlsson  <andersca@apple.com>
2356
2357         Fix Windows build.
2358
2359         * WebView.cpp:
2360         (WebView::canShowMIMEType):
2361
2362 2010-05-21  Steve Block  <steveblock@google.com>
2363
2364         Reviewed by Jeremy Orlow.
2365
2366         Add DeviceOrientation and DeviceOrientationClient
2367         https://bugs.webkit.org/show_bug.cgi?id=39479
2368
2369         * WebView.cpp:
2370         (WebView::initWithFrame):
2371
2372 2010-05-20  Simon Fraser  <simon.fraser@apple.com>
2373
2374         Build fix, no review.
2375
2376         Fix the non-accelerated-compositing Windows build with some
2377         #if USE(ACCELERATED_COMPOSITING) loving.
2378
2379         * WebView.cpp:
2380         * WebView.h:
2381
2382 2010-05-20  Simon Fraser  <simon.fraser@apple.com>
2383
2384         Reviewed by Adam Roben.
2385
2386         Avoid flushing CA layers when a layout is pending
2387         https://bugs.webkit.org/show_bug.cgi?id=39463
2388
2389         <rdar://problem/7999463>
2390
2391         Avoid rendering the compositing layers to the screen if there's a layout pending,
2392         since the layer tree not in a state that should be presented to the user.
2393         
2394         This fixes flashes in some types of content that dynamically add and remove layers.
2395
2396         Have the WebView implement WKCACFLayerRendererClient so that the
2397         WKCACFLayerRenderer can ask whether it's a good time to render. If the FrameView
2398         has a layout pending, say no.
2399
2400         * WebView.h: 
2401         * WebView.cpp:
2402         (WebView::setAcceleratedCompositing):
2403         (WebView::shouldRender):
2404
2405 2010-05-18  Brent Fulgham  <bfulgham@webkit.org>
2406
2407         Reviewed by Adam Roben.
2408
2409         [WinCairo] Correct scaling for print preview
2410         https://bugs.webkit.org/show_bug.cgi?id=39329
2411
2412         Cairo does not properly deal with Windows HDCs that have been
2413         scaled using MM_ANISOTROPIC mapping mode, and a WindowExt and
2414         ViewportExt setting.
2415         (see http://bugs.freedesktop.org/show_bug.cgi?id=28161)
2416
2417         Instead, reset the HDC's WorldTransform to be unscaled, then
2418         scale the cairo context to the desired scaling, and perform
2419         the drawing operation.
2420
2421         * WebFrame.cpp:
2422         (WebFrame::drawHeader): Use pre-positioned context to simplify 
2423           this method.
2424         (WebFrame::drawFooter): Use pre-positioned context to simplify
2425           this method.
2426         (WebFrame::spoolPage): Revise scaling logic to turn off HDC
2427           scaling, and scale using only Cairo.  Revert scaling at end
2428           so that user-defined GDI-based routines (e.g., header/footer)
2429           will draw in the right position.
2430         (WebFrame::spoolPages): Identify print preview case, and
2431           retrieve scaling factors from preview context.  Set the
2432           Cairo context to use these factors during the spoolPage
2433           operation.
2434
2435 2010-05-20  Martin Robinson  <mrobinson@igalia.com>
2436
2437         Unreviewed.
2438
2439         Touch WebKit.idl to ensure that interfaces rebuild.
2440
2441         * Interfaces/WebKit.idl: Touched.
2442
2443 2010-05-20  Martin Robinson  <mrobinson@igalia.com>
2444
2445         Reviewed by Adam Roben.
2446
2447         Fix the Windows build and move new IDL declarations to the bottom of the file.
2448
2449         * Interfaces/IWebPreferences.idl: Move new API to the bottom of the IDL file to prevent vtable mismatch.
2450         * WebPreferences.cpp: 
2451         (WebPreferences::setEditingBehavior): Change the type of the parameter to setEditingBehavior to the proper type.
2452
2453 2010-05-20  Martin Robinson  <mrobinson@igalia.com>
2454
2455         Unreviewed.
2456
2457         Fix the Windows build.
2458
2459         * WebView.cpp:
2460         (WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'.
2461
2462 2010-05-20  Martin Robinson  <mrobinson@webkit.org>
2463
2464         Reviewed by Ojan Vafai.
2465
2466         Expose the editing behavior setting in DRT to test all editing code paths
2467         https://bugs.webkit.org/show_bug.cgi?id=38603
2468
2469         Expose the EditingBehavior setting in the Windows API.
2470
2471         * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior.
2472         * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting.
2473         * WebPreferences.cpp:
2474         (WebPreferences::editingBehavior): Added.
2475         (WebPreferences::setEditingBehavior): Added.
2476         * WebPreferences.h: Add method declarations.
2477         * WebView.cpp:
2478         (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting.
2479
2480 2010-05-20  Chris Jerdonek  <cjerdonek@webkit.org>
2481
2482         Reviewed by Eric Seidel.
2483
2484         Modified FrameLoader::urlSelected() to accept a KURL instead of a
2485         ResourceRequest.
2486
2487         https://bugs.webkit.org/show_bug.cgi?id=39320
2488
2489         Since ResourceRequest has non-explicit single-parameter constructors for
2490         String and KURL, urlSelected() previously accepted any of String, KURL,
2491         and ResourceRequest.  This revision changes urlSelected() to accept only
2492         a KURL to make the API tighter and easier to refactor.
2493
2494         * WebCoreSupport/WebContextMenuClient.cpp:
2495         (WebContextMenuClient::searchWithGoogle):
2496           - Updated the call to urlSelected().
2497
2498 2010-05-13  Brian Weinstein  <bweinstein@apple.com>
2499
2500         Reviewed by Tim Hatcher.
2501
2502         <rdar://problem/7982652>
2503
2504         Allow reporting exceptions that occur when using JavaScriptCore APIs to the Web Inspector.
2505
2506         * Interfaces/IWebViewPrivate.idl: Add a reportException function off of IWebViewPrivate.
2507         * Interfaces/WebKit.idl: Touch WebKit.idl to make sure Interfaces rebuild.
2508         * WebView.cpp:
2509         (WebView::reportException): Make sure the function was called with a context from a WebView, and call
2510             WebCore::reportException.
2511         * WebView.h:
2512
2513 2010-05-12  Jer Noble  <jer.noble@apple.com>
2514
2515         Reviewed by Darin Adler.
2516
2517         Bug 38689: #34005 will break fullscreen video playback
2518         https://bugs.webkit.org/show_bug.cgi?id=38689
2519
2520         Use the new definition of PlatformMedia to check the actual type 
2521         returned by MediaPlayer.
2522
2523         * FullscreenVideoController.cpp:
2524         (FullscreenVideoController::movie):
2525
2526 2010-05-11  Jer Noble  <jer.noble@apple.com>
2527
2528         No Review.
2529
2530         Fix build error: The QTMovieWin project is dependent on the JavaScriptCore project.
2531
2532         * WebKit.vcproj/WebKit.sln:
2533
2534 2010-05-11  Alice Liu  <alice.liu@apple.com>
2535
2536         Rubber-stamped by Gavin Barraclough.
2537
2538         Fix build error when enabling debugging block in WebKit win painting code
2539
2540         * WebView.cpp:
2541         (WebView::paintIntoBackingStore):
2542
2543 2010-05-11  Alice Liu  <alice.liu@apple.com>
2544
2545         Reviewed by Steve Falkenburg.
2546
2547         https://bugs.webkit.org/show_bug.cgi?id=38937        
2548         W7 window preview paints content at the wrong location
2549
2550         * WebFrame.cpp:
2551         (WebFrame::paintDocumentRectToContext): Revert r58895
2552         (WebFrame::paintDocumentRectToContextAtPoint): Added
2553
2554         * Interfaces/IWebFramePrivate.idl: Added paintDocumentRectToContextAtPoint
2555         * Interfaces/IWebViewPrivate.idl: ditto
2556         * Interfaces/WebKit.idl: touch to rebuild
2557         * WebFrame.h: ditto
2558         * WebView.cpp: ditto
2559         (WebView::paintDocumentRectToContextAtPoint): ditto
2560         * WebView.h: ditto
2561
2562 2010-05-07  Jer Noble  <jer.noble@apple.com>
2563
2564         Reviewed by Adele Peterson.
2565
2566         Safari pegs CPU and drops tons of frames using HTML5 Vimeo player
2567         https://bugs.webkit.org/show_bug.cgi?id=34005
2568         
2569         QTMovieWin is now QTMovieGWorld.  
2570         * FullscreenVideoController.cpp:
2571         (FullscreenVideoController::movie):
2572         * FullscreenVideoController.h:
2573
2574 2010-05-06  Adam Roben  <aroben@apple.com>
2575
2576         Bail out of WebView::paint when there's nothing to paint
2577
2578         Fixes <http://webkit.org/b/38670> <rdar://problem/7947105> REGRESSION
2579         (r58067): Crash in WebView::paint when Web Inspector is docked and
2580         window is resized so small that WebView disappears
2581
2582         When the WebView is 0-sized, ensureBackingStore() bails out without
2583         creating a bitmap, leaving m_backingStoreBitmap null. Before r58067,
2584         m_backingStoreBitmap was an HBITMAP, so we were happily passing along
2585         a null HBITMAP to various Windows APIs. These calls would fail but not
2586         crash. r58067 changed m_backingStoreBitmap to a RefCountedHBITMAP, and
2587         dereferencing a null RefCountedHBITMAP* of course crashes.
2588
2589         Reviewed by Steve Falkenburg.
2590
2591         * WebView.cpp:
2592         (WebView::paint): Bail if the rect to paint is empty.
2593
2594 2010-05-06  Steve Falkenburg  <sfalken@apple.com>
2595
2596         Reviewed by Adam Roben.
2597
2598         WebFrame::paintDocumentRectToContext paints content at the wrong location
2599         https://bugs.webkit.org/show_bug.cgi?id=38651
2600
2601         * WebFrame.cpp:
2602         (WebFrame::paintDocumentRectToContext):
2603
2604 2010-05-05  Stuart Morgan  <stuartmorgan@chromium.org>
2605
2606         Reviewed by Darin Fisher.
2607
2608         Update setFocus for the new boolean argument; no behavioral change.
2609
2610         https://bugs.webkit.org/show_bug.cgi?id=37961
2611
2612         * WebCoreSupport/EmbeddedWidget.cpp:
2613         (EmbeddedWidget::setFocus):
2614         * WebCoreSupport/EmbeddedWidget.h:
2615
2616 2010-05-03  Abhishek Arya  <inferno@chromium.org>
2617
2618         Reviewed by Adam Barth.
2619
2620         Add support for controlling clipboard access from javascript.
2621         Clipboard access from javascript is disabled by default.
2622         https://bugs.webkit.org/show_bug.cgi?id=27751
2623
2624         * Interfaces/IWebPreferencesPrivate.idl:
2625         * WebPreferenceKeysPrivate.h:
2626         * WebPreferences.cpp:
2627         (WebPreferences::initializeDefaultSettings):
2628         (WebPreferences::javaScriptCanAccessClipboard):
2629         (WebPreferences::setJavaScriptCanAccessClipboard):
2630         * WebPreferences.h:
2631         * WebView.cpp:
2632         (WebView::notifyPreferencesChanged):
2633
2634 2010-05-03  Jens Alfke  <snej@chromium.org>
2635
2636         Reviewed by Darin Fisher.
2637
2638         [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
2639         https://bugs.webkit.org/show_bug.cgi?id=38397
2640
2641         No tests (functionality is exposed only through native WebKit API.)
2642
2643         * WebFrame.h:
2644
2645 2010-04-30  Jon Honeycutt  <jhoneycutt@apple.com>
2646
2647         Caret may fail to blink if a focus handler brings up a modal dialog 
2648         https://bugs.webkit.org/show_bug.cgi?id=38372
2649
2650         Reviewed by Darin Adler.
2651
2652         * WebView.cpp:
2653         (WebView::handleMouseEvent):
2654         If the message is WM_CANCELMODE, which indicates that we our capturing
2655         of mouse events has been cancelled, tell the EventHandler.
2656         It's possible to re-enter this function if handling a mouse event allows
2657         the message loop to run; moved up the call to setMouseActivated(), so
2658         that if we do re-enter this function, the later mouse event will not be
2659         considered as activating the window.
2660         (WebView::WebViewWndProc):
2661         Handle WM_CANCELMODE by calling handleMouseEvent().
2662
2663 2010-04-29  Anders Carlsson  <andersca@apple.com>
2664
2665         Reviewed by Dan Bernstein.
2666
2667         First part of
2668         https://bugs.webkit.org/show_bug.cgi?id=20784
2669         move npapi.h to C99 integer types.
2670
2671         * WebKit.vcproj/WebKit.vcproj:
2672
2673 2010-04-28  Beth Dakin  <bdakin@apple.com>
2674
2675         Reviewed by Darin Adler.
2676
2677         Fix for <rdar://problem/7474349>
2678
2679         Add a synchronous display mechanism for WKCACFLayerRenderer. 
2680
2681         * Interfaces/IWebViewPrivate.idl:
2682         * Interfaces/WebKit.idl:
2683         * WebView.cpp:
2684         (WebView::WebView):
2685         (WebView::updateRootLayerContents):
2686         (WebView::nextDisplayIsSynchronous):
2687         * WebView.h:
2688
2689 2010-04-28  Steve Falkenburg  <sfalken@apple.com>
2690
2691         Reviewed by Maciej Stachowiak.
2692
2693         WebView drawing code may access null backing store dirty region
2694         https://bugs.webkit.org/show_bug.cgi?id=38245
2695         <rdar://problem/7916101> REGRESSION (r58067): All loaded pages fail to display after running iBench HTML test (intermittent)
2696         
2697         * WebView.cpp:
2698         (WebView::updateBackingStore): Add null check for m_backingStoreDirtyRegion.
2699
2700 2010-04-27  Jon Honeycutt  <jhoneycutt@apple.com>
2701
2702         <rdar://problem/7911140> Hitting the "delete" key goes back twice
2703
2704         Reviewed by Maciej Stachowiak.
2705
2706         * WebView.cpp:
2707         (WebView::keyDown):
2708         Return true if we navigated back or forward from the key event to
2709         prevent the event from being propagated further.
2710
2711 2010-04-25  Sam Weinig  <sam@webkit.org>
2712
2713         Reviewed by Maciej Stachowiak.
2714
2715         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
2716         Disentangle initializing the main thread from initializing threading
2717
2718         * WebKitClassFactory.cpp:
2719         (WebKitClassFactory::WebKitClassFactory): Add call to initializeMainThread.
2720         * WebView.cpp:
2721         (WebView::WebView): Ditto.
2722
2723 2010-04-25  Yury Semikhatsky  <yurys@chromium.org>
2724
2725         Reviewed by Pavel Feldman.
2726
2727         Web Inspector: inspector client shouldn't check if it can be opened
2728         docked if it is already in that state.
2729
2730         https://bugs.webkit.org/show_bug.cgi?id=37946
2731
2732         * WebCoreSupport/WebInspectorClient.cpp:
2733         (WebInspectorFrontendClient::WebInspectorFrontendClient):
2734         (WebInspectorFrontendClient::showWindowWithoutNotifications):
2735         * WebCoreSupport/WebInspectorClient.h:
2736
2737 2010-04-24  Steve Falkenburg  <sfalken@apple.com>
2738
2739         Reviewed by Sam Weinig.
2740
2741         Typo in Geolocation code causes crashes when updates are stopped
2742         https://bugs.webkit.org/show_bug.cgi?id=38089
2743         <rdar://problem/7904104> Crash closing geolocation tab after allowing to use geolocation
2744
2745         * WebCoreSupport/WebGeolocationControllerClient.cpp:
2746         (WebGeolocationControllerClient::stopUpdating): Call unregister instead of register.
2747
2748 2010-04-23  Andy Estes  <aestes@apple.com>
2749
2750         Rubber stamped by Steve Falkenburg.
2751
2752         Roll out http://trac.webkit.org/changeset/55385.
2753
2754         <rdar://problem/7884444>
2755
2756         * Interfaces/IWebUIDelegatePrivate.idl:
2757         * Interfaces/WebKit.idl:
2758         * WebCoreSupport/WebFrameLoaderClient.cpp:
2759         (WebFrameLoaderClient::createPlugin):
2760
2761 2010-04-22  Dave Moore  <davemoore@chromium.org>
2762
2763         Reviewed by Dimitri Glazkov.
2764
2765         Added notification when the favicons for a page are changed
2766         from a script.
2767         The Document object will notify the frame loader, which will
2768         notify the client. Implementations of FrameLoaderClient will
2769         have to add one method; dispatchDidChangeIcons().
2770
2771         https://bugs.webkit.org/show_bug.cgi?id=33812
2772
2773         * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
2774         * WebCoreSupport/WebFrameLoaderClient.cpp:
2775         (WebFrameLoaderClient::dispatchDidChangeIcons):
2776         * WebCoreSupport/WebFrameLoaderClient.h:
2777         * WebFrame.cpp:
2778         (WebFrame::didChangeIcons):
2779         * WebFrame.h:
2780
2781 2010-04-22  Adam Barth  <abarth@webkit.org>
2782
2783         Unreviewed, rolling out r58069.
2784         http://trac.webkit.org/changeset/58069
2785         https://bugs.webkit.org/show_bug.cgi?id=27751
2786
2787         Broke compile on Windows.
2788
2789         * Interfaces/IWebPreferencesPrivate.idl:
2790         * WebPreferenceKeysPrivate.h:
2791         * WebPreferences.cpp:
2792         (WebPreferences::initializeDefaultSettings):
2793         * WebPreferences.h:
2794         * WebView.cpp:
2795         (WebView::notifyPreferencesChanged):
2796
2797 2010-04-22  Abhishek Arya  <inferno@chromium.org>
2798
2799         Reviewed by Adam Barth.
2800
2801         Add support for controlling clipboard access from javascript.
2802         Clipboard access from javascript is disabled by default.
2803         https://bugs.webkit.org/show_bug.cgi?id=27751
2804
2805         * Interfaces/IWebPreferencesPrivate.idl:
2806         * WebPreferenceKeysPrivate.h:
2807         * WebPreferences.cpp:
2808         (WebPreferences::initializeDefaultSettings):
2809         (WebPreferences::javaScriptCanAccessClipboard):
2810         (WebPreferences::setJavaScriptCanAccessClipboard):
2811         * WebPreferences.h:
2812         * WebView.cpp:
2813         (WebView::notifyPreferencesChanged):
2814
2815 2010-04-21  Andy Estes  <aestes@apple.com>
2816
2817         Reviewed by Maciej Stachowiak.
2818
2819         Reference count WebView's backing store bitmap to prevent
2820         deleteBackingStore() from freeing the bitmap while it is still being
2821         referenced by Core Animation.
2822
2823         https://bugs.webkit.org/show_bug.cgi?id=37954
2824
2825         * WebView.cpp:
2826         (WebView::ensureBackingStore):
2827         (WebView::addToDirtyRegion):
2828         (WebView::scrollBackingStore):
2829         (WebView::updateBackingStore):
2830         (WebView::paint):
2831         (WebView::backingStore):
2832         (releaseBackingStoreCallback): deref m_backingStoreBitmap once Core
2833         Animation has dropeed its reference to the memory.
2834         (WebView::updateRootLayerContents): ref m_backingStoreBitmap before
2835         passing the memory to Core Animation to prevent deleteBackingStore()
2836         from freeing it while it is still referenced by CA.
2837         * WebView.h: Make m_backingStoreBitmap a RefCountedGDIHandle<HBITMAP>,
2838         and make m_backingStoreDirtyRegion a RefCountedGDIHandle<HRGN>.
2839
2840 2010-04-20  Adam Barth  <abarth@webkit.org>
2841
2842         Reviewed by Eric Seidel.
2843
2844         Factor DocumentWriter out of FrameLoader
2845         https://bugs.webkit.org/show_bug.cgi?id=37175
2846
2847         Update these callsites because the method moved to DocumentWriter.
2848
2849         * WebCoreSupport/WebFrameLoaderClient.cpp:
2850         (WebFrameLoaderClient::receivedData):
2851
2852 2010-04-20  Kent Tamura  <tkent@chromium.org>
2853
2854         Reviewed by Darin Adler.
2855
2856         Change a parameter type of chooseIconForFiles()
2857         https://bugs.webkit.org/show_bug.cgi?id=37504
2858
2859         * WebCoreSupport/WebChromeClient.cpp:
2860         (WebChromeClient::chooseIconForFiles):
2861         * WebCoreSupport/WebChromeClient.h:
2862
2863 2010-04-16  Gavin Barraclough  <barraclough@apple.com>
2864
2865         Reviewed by NOBODY (Windows build fix).
2866
2867         * WebFrame.cpp:
2868         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
2869         * WebView.cpp:
2870         (WebView::stringByEvaluatingJavaScriptFromString):
2871
2872 2010-04-16  Adam Roben  <aroben@apple.com>
2873
2874         Make it possible for clients to instantiate a WebUserContentURLPattern
2875
2876         Reviewed by Tim Hatcher.
2877
2878         * ForEachCoClass.h: Added WebUserContentURLPattern to the FOR_EACH_COCLASS macro, which
2879         lists all our instantiatable classes.
2880
2881         * WebKitClassFactory.cpp: Added a now-required #include.
2882
2883 2010-04-15  Adam Roben  <aroben@apple.com>
2884
2885         Expose UserContentURLPattern as WebKit SPI
2886
2887         Fixes <http://webkit.org/b/37354>.
2888
2889         Reviewed by Tim Hatcher.
2890
2891         * Interfaces/IWebUserContentURLPattern.idl: Added.
2892
2893         * Interfaces/WebKit.idl: Added WebUserContentURLPattern.
2894
2895         * WebKit.vcproj/Interfaces.vcproj: Added IWebUserContentURLPattern.
2896
2897         * WebKit.vcproj/WebKit.vcproj: Added WebUserContentURLPattern.
2898
2899         * WebUserContentURLPattern.cpp: Added.
2900         (WebUserContentURLPattern::WebUserContentURLPattern):
2901         (WebUserContentURLPattern::~WebUserContentURLPattern):
2902         (WebUserContentURLPattern::createInstance):
2903         (WebUserContentURLPattern::AddRef):
2904         (WebUserContentURLPattern::Release):
2905         (WebUserContentURLPattern::QueryInterface):
2906         Standard COM implementations.
2907
2908         (WebUserContentURLPattern::parse): Parse the string into a
2909         UserContentURLPattern and store it.
2910
2911         (WebUserContentURLPattern::isValid):
2912         (WebUserContentURLPattern::scheme):
2913         (WebUserContentURLPattern::host):
2914         (WebUserContentURLPattern::matchesSubdomains):
2915         Call through to UserContentURLPattern.
2916
2917         * WebUserContentURLPattern.h: Added.
2918
2919 2010-04-14  Adam Roben  <aroben@apple.com>
2920
2921         Expose DOMWrapperWorld::unregisterWorld as WebKit SPI on Windows
2922
2923         Fixes <http://webkit.org/b/37619>.
2924
2925         Reviewed by Steve Falkenburg.
2926
2927         * Interfaces/IWebScriptWorld.idl: Added unregisterWorld.
2928
2929         * Interfaces/WebKit.idl: Touched to force a build.
2930
2931         * WebScriptWorld.cpp:
2932         (WebScriptWorld::unregisterWorld):
2933         * WebScriptWorld.h:
2934         Added. Just calls through to DOMWrapperWorld::unregisterWorld.
2935
2936 2010-04-12  Timothy Hatcher  <timothy@apple.com>
2937
2938         SecurityOrigin needs a way to remove individual OriginAccessEntries
2939         https://bugs.webkit.org/show_bug.cgi?id=37449
2940
2941         Reviewed by Dave Hyatt.
2942
2943         * Interfaces/IWebViewPrivate.idl:
2944         * WebView.cpp:
2945         (WebView::removeOriginAccessWhitelistEntry): Call SecurityOrigin::removeOriginAccessWhitelistEntry.
2946         * WebView.h: Added removeOriginAccessWhitelistEntry.
2947
2948 2010-04-13  Timothy Hatcher  <timothy@apple.com>
2949
2950         Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
2951         And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
2952
2953         SecurityOrigin needs a way to remove individual OriginAccessEntries
2954         https://bugs.webkit.org/show_bug.cgi?id=37449
2955
2956         Reviewed by Dave Hyatt.
2957
2958         * Interfaces/IWebViewPrivate.idl:
2959         * WebView.cpp:
2960         (WebView::addOriginAccessWhitelistEntry):
2961         (WebView::resetOriginAccessWhitelists):
2962         * WebView.h:
2963
2964 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2965
2966         Unreviewed, rolling out r57468.
2967         http://trac.webkit.org/changeset/57468
2968         https://bugs.webkit.org/show_bug.cgi?id=37433
2969
2970         Broke the world...  Must have applied the patch wrong
2971         (Requested by abarth on #webkit).
2972
2973         * WebCoreSupport/WebFrameLoaderClient.cpp:
2974         (WebFrameLoaderClient::receivedData):
2975
2976 2010-04-11  Adam Barth  <abarth@webkit.org>
2977
2978         Reviewed by Eric Seidel.
2979
2980         Factor DocumentWriter out of FrameLoader
2981         https://bugs.webkit.org/show_bug.cgi?id=37175
2982
2983         Update these callsites because the method moved to DocumentWriter.
2984
2985         * WebCoreSupport/WebFrameLoaderClient.cpp:
2986         (WebFrameLoaderClient::receivedData):
2987
2988 2010-04-09  Adam Roben  <aroben@apple.com>
2989
2990         Windows Debug/Release build fix after r57244
2991
2992         * WebKit.vcproj/WebKit.vcproj: Don't delay-load QuartzCore.dll or
2993         QuartzCoreInterface.dll in any configurations. r57244 made this change
2994         only for Debug_Internal.
2995
2996 2010-04-08  Steve Falkenburg  <sfalken@apple.com>
2997
2998         Reviewed by Darin Adler.
2999
3000         WebView::isLoading should null check m_mainFrame
3001         https://bugs.webkit.org/show_bug.cgi?id=37294
3002
3003         * WebView.cpp:
3004         (WebView::isLoading):
3005
3006 2010-04-07  Chris Marrin  <cmarrin@apple.com>
3007
3008         Reviewed by Steve Falkenburg.
3009
3010         Remove QuartzCoreInterface from the build
3011         
3012         No longer needed since QuartzCore.dll is now included in  the latest Safari release (4.0.5).
3013
3014         * WebKit.vcproj/WebKit.vcproj:Removed delay load for QuartzCore and QuartzCoreInterface
3015
3016 2010-04-07  Andrey Kosyakov  <caseq@chromium.org>
3017
3018         Reviewed by Yury Semikhatsky.
3019
3020         Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
3021         https://bugs.webkit.org/show_bug.cgi?id=36949
3022
3023         * WebCoreSupport/WebFrameLoaderClient.cpp:
3024         * WebCoreSupport/WebFrameLoaderClient.h:
3025
3026 2010-04-05  Peter Nelson  <charn.opcode@gmail.com>
3027
3028         Reviewed by Eric Seidel.
3029
3030         Fixed style errors in DOMCoreClasses.h to bring it up to scratch
3031         for https://bugs.webkit.org/show_bug.cgi?id=34979.
3032
3033         * DOMCoreClasses.h:
3034         (DOMObject::throwException):
3035         (DOMObject::callWebScriptMethod):
3036         (DOMObject::evaluateWebScript):
3037         (DOMObject::removeWebScriptKey):
3038         (DOMObject::stringRepresentation):
3039         (DOMObject::webScriptValueAtIndex):
3040         (DOMObject::setWebScriptValueAtIndex):
3041         (DOMObject::setException):
3042         (DOMNodeList::throwException):
3043         (DOMNodeList::callWebScriptMethod):
3044         (DOMNodeList::evaluateWebScript):
3045         (DOMNodeList::removeWebScriptKey):
3046         (DOMNodeList::stringRepresentation):
3047         (DOMNodeList::webScriptValueAtIndex):
3048         (DOMNodeList::setWebScriptValueAtIndex):
3049         (DOMNodeList::setException):
3050         (DOMDocument::throwException):
3051         (DOMDocument::callWebScriptMethod):
3052         (DOMDocument::evaluateWebScript):
3053         (DOMDocument::removeWebScriptKey):
3054         (DOMDocument::stringRepresentation):
3055         (DOMDocument::webScriptValueAtIndex):
3056         (DOMDocument::setWebScriptValueAtIndex):
3057         (DOMDocument::setException):
3058         (DOMDocument::nodeName):
3059         (DOMDocument::nodeValue):
3060         (DOMDocument::setNodeValue):
3061         (DOMDocument::nodeType):
3062         (DOMDocument::parentNode):
3063         (DOMDocument::childNodes):
3064         (DOMDocument::firstChild):
3065         (DOMDocument::lastChild):
3066         (DOMDocument::previousSibling):
3067         (DOMDocument::nextSibling):
3068         (DOMDocument::attributes):
3069         (DOMDocument::ownerDocument):
3070         (DOMDocument::insertBefore):
3071         (DOMDocument::replaceChild):
3072         (DOMDocument::removeChild):
3073         (DOMDocument::appendChild):
3074         (DOMDocument::hasChildNodes):
3075         (DOMDocument::cloneNode):
3076         (DOMDocument::isSupported):
3077         (DOMDocument::namespaceURI):
3078         (DOMDocument::prefix):
3079         (DOMDocument::setPrefix):
3080         (DOMDocument::localName):
3081         (DOMDocument::hasAttributes):
3082         (DOMDocument::isSameNode):
3083         (DOMDocument::isEqualNode):
3084         (DOMDocument::textContent):
3085         (DOMDocument::setTextContent):
3086         (DOMElement::throwException):
3087         (DOMElement::callWebScriptMethod):
3088         (DOMElement::evaluateWebScript):
3089         (DOMElement::removeWebScriptKey):
3090         (DOMElement::stringRepresentation):
3091         (DOMElement::webScriptValueAtIndex):
3092         (DOMElement::setWebScriptValueAtIndex):
3093         (DOMElement::setException):
3094         (DOMElement::nodeName):
3095         (DOMElement::nodeValue):
3096         (DOMElement::setNodeValue):
3097         (DOMElement::nodeType):
3098         (DOMElement::parentNode):
3099         (DOMElement::childNodes):
3100         (DOMElement::firstChild):
3101         (DOMElement::lastChild):
3102         (DOMElement::previousSibling):
3103         (DOMElement::nextSibling):
3104         (DOMElement::attributes):
3105         (DOMElement::ownerDocument):
3106         (DOMElement::insertBefore):
3107         (DOMElement::replaceChild):
3108         (DOMElement::removeChild):
3109         (DOMElement::appendChild):
3110         (DOMElement::hasChildNodes):
3111         (DOMElement::cloneNode):
3112         (DOMElement::isSupported):
3113         (DOMElement::namespaceURI):
3114         (DOMElement::prefix):
3115         (DOMElement::setPrefix):
3116         (DOMElement::localName):
3117         (DOMElement::hasAttributes):
3118         (DOMElement::isSameNode):
3119         (DOMElement::isEqualNode):
3120         (DOMElement::textContent):
3121         (DOMElement::setTextContent):
3122
3123 2010-04-05  Alexey Proskuryakov  <ap@apple.com>
3124
3125         Reviewed by Darin Adler.
3126
3127         https://bugs.webkit.org/show_bug.cgi?id=37111
3128         <rdar://problem/7790327> Draw replacement text when plug-in host crashes
3129
3130         * WebCoreLocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in
3131         failure.
3132
3133 2010-04-02  Rafael Weinstein  <rafaelw@chromium.org>
3134
3135         Reviewed by Adam Barth.
3136
3137         Clean up unused calls after changes to checkPermission and requestPermission argument lists.
3138
3139         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
3140         (WebDesktopNotificationsDelegate::requestPermission):
3141         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
3142
3143 2010-04-01  Chris Marrin  <cmarrin@apple.com>
3144
3145         Reviewed by Simon Fraser.
3146
3147         Added layerTreeAsText function to DRT (for Mac)
3148         https://bugs.webkit.org/show_bug.cgi?id=36782
3149
3150         This is the WebKit side for Windows. It plumbs the
3151         call from WebCore to DRT.
3152
3153         * Interfaces/IWebFramePrivate.idl:
3154         * WebFrame.cpp:WebKit (Windows) side of plumbing
3155         (WebFrame::layerTreeAsText):
3156         * WebFrame.h:
3157
3158 2010-03-31  Marcus Bulach  <bulach@chromium.org>
3159
3160         Reviewed by Jeremy Orlow.
3161
3162         Adds Geolocation param for cancelGeolocationPermissionRequestForFrame.
3163         https://bugs.webkit.org/show_bug.cgi?id=35031
3164
3165         * WebCoreSupport/WebChromeClient.h:
3166         (WebChromeClient::cancelGeolocationPermissionRequestForFrame):
3167
3168 2010-03-30  Gavin Barraclough  <barraclough@apple.com>
3169
3170         Rubber stamped by Sam Weinig.
3171
3172         https://bugs.webkit.org/show_bug.cgi?id=36866
3173         Move CString to WTF
3174
3175         * WebDownload.cpp:
3176         * WebDownloadCFNet.cpp:
3177         * WebDownloadCurl.cpp:
3178         * WebHistoryItem.cpp:
3179         * WebLocalizableStrings.cpp:
3180         * WebMutableURLRequest.cpp:
3181         * WebPreferences.cpp:
3182         (WebPreferences::migrateWebKitPreferencesToCFPreferences):
3183         * WebView.cpp:
3184
3185 2010-03-30  Adam Roben  <aroben@apple.com>
3186
3187         Windows build fix
3188
3189         * Interfaces/WebKit.idl: Touched this to force a build.
3190
3191 2010-03-29  Steve Falkenburg  <sfalken@apple.com>
3192
3193         Reviewed by Adele Peterson.
3194
3195         Default value of accelerated compositing should be false for Windows
3196         https://bugs.webkit.org/show_bug.cgi?id=36805
3197
3198         * WebPreferences.cpp:
3199         (WebPreferences::initializeDefaultSettings):
3200
3201 2010-03-29  Rafael Weinstein  <rafaelw@chromium.org>
3202
3203         Reviewed by Adam Barth.
3204
3205         Change NotificationPresenter::checkPermission() to take the source frames full KURL,
3206         rather than its SecurityOrigin. This will aid chromium in having more fine grained
3207         permissions to control notification spam.
3208
3209         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
3210         (WebDesktopNotificationsDelegate::checkPermission):
3211         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
3212
3213 2010-03-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3214
3215         Reviewed by Antti Koivisto.
3216
3217         Change method name due to it dealing with both flattening
3218         of frame sets and inner frames.
3219
3220         * Interfaces/IWebPreferencesPrivate.idl:
3221         * WebPreferenceKeysPrivate.h:
3222         * WebPreferences.cpp:
3223         (WebPreferences::initializeDefaultSettings):
3224         (WebPreferences::isFrameFlatteningEnabled):
3225         (WebPreferences::setFrameFlatteningEnabled):
3226         * WebPreferences.h:
3227         * WebView.cpp:
3228         (WebView::notifyPreferencesChanged):
3229
3230 2010-03-24  Jon Honeycutt  <jhoneycutt@apple.com>
3231
3232         <rdar://problem/7780798> Missing plug-ins should be represented by text
3233         only, instead of lego block
3234
3235         https://bugs.webkit.org/show_bug.cgi?id=36583
3236
3237         Reviewed by Dan Bernstein.
3238
3239         * WebCoreSupport/WebFrameLoaderClient.cpp:
3240         (WebFrameLoaderClient::createPlugin):
3241         Return 0 if we failed to initialize the plug-in, which causes the new
3242         "missing plug-in" text to draw.
3243
3244 2010-03-24  Kent Tamura  <tkent@chromium.org>
3245
3246         Reviewed by Darin Adler.
3247
3248         Make Icon::createIconForFiles() optional.
3249         https://bugs.webkit.org/show_bug.cgi?id=35072
3250
3251         - Rename iconForFiles() to chooseIconForFiles().
3252         - Call Icon::createIconForFiles() from chooseIconForFiles().
3253
3254         * WebCoreSupport/WebChromeClient.cpp:
3255         (WebChromeClient::chooseIconForFiles):
3256         * WebCoreSupport/WebChromeClient.h:
3257
3258 2010-03-22  Darin Adler  <darin@apple.com>
3259
3260         * WebCoreLocalizedStrings.cpp:
3261         (WebCore::missingPluginText): Fixed localization helper text to match the same
3262         string from Mac WebKit.
3263
3264 2010-03-22  Kevin Decker  <kdecker@apple.com>
3265
3266         Reviewed by John Sullivan.
3267
3268         https://bugs.webkit.org/show_bug.cgi?id=36328
3269         
3270         * WebCoreLocalizedStrings.cpp:
3271         (WebCore::missingPluginText): Added.
3272
3273 2010-03-17  Enrica Casucci  <enrica@apple.com>
3274
3275         Reviewed by Darin Adler.
3276
3277         Missing support for showing compositing layers borders and repaint count on Windows.
3278         <rdar://problem/7760736>
3279         <https://bugs.webkit.org/show_bug.cgi?id=36197>
3280
3281         * Interfaces/IWebPreferencesPrivate.idl:
3282         * WebPreferenceKeysPrivate.h:
3283         * WebPreferences.cpp:
3284         (WebPreferences::initializeDefaultSettings):
3285         (WebPreferences::showDebugBorders):
3286         (WebPreferences::setShowDebugBorders):
3287         (WebPreferences::showRepaintCounter):
3288         (WebPreferences::setShowRepaintCounter):
3289         * WebPreferences.h:
3290         * WebView.cpp:
3291         (WebView::notifyPreferencesChanged):
3292
3293 2010-03-16  Yury Semikhatsky <yurys@chromium.org>
3294
3295         Reviewed by Pavel Feldman.
3296
3297         Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
3298
3299         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
3300         https://bugs.webkit.org/show_bug.cgi?id=35036
3301
3302         * WebCoreSupport/WebInspectorClient.cpp:
3303         (WebInspectorClient::WebInspectorClient):
3304         (WebInspectorClient::~WebInspectorClient):
3305         (WebInspectorClient::openInspectorFrontend):
3306         (WebInspectorClient::highlight):
3307         (WebInspectorClient::hideHighlight):
3308         (WebInspectorClient::updateHighlight):
3309         (WebInspectorFrontendClient::WebInspectorFrontendClient):
3310         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3311         (WebInspectorFrontendClient::frontendLoaded):
3312         (WebInspectorFrontendClient::localizedStringsURL):
3313         (WebInspectorFrontendClient::hiddenPanels):
3314         (WebInspectorFrontendClient::bringToFront):
3315         (WebInspectorFrontendClient::closeWindow):
3316         (WebInspectorFrontendClient::attachWindow):
3317         (WebInspectorFrontendClient::detachWindow):
3318         (WebInspectorFrontendClient::setAttachedWindowHeight):
3319         (WebInspectorFrontendClient::inspectedURLChanged):
3320         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3321         (WebInspectorFrontendClient::showWindowWithoutNotifications):
3322         (WebInspectorFrontendClient::destroyInspectorView):
3323         (WebInspectorFrontendClient::updateWindowTitle):
3324         (WebInspectorFrontendClient::onGetMinMaxInfo):
3325         (WebInspectorFrontendClient::onSize):
3326         (WebInspectorFrontendClient::onClose):
3327         (WebInspectorFrontendClient::onSetFocus):
3328         (WebInspectorFrontendClient::onWebViewWindowPosChanging):
3329         (WebInspectorWndProc):
3330         (WebInspectorFrontendClient::windowReceivedMessage):
3331         * WebCoreSupport/WebInspectorClient.h:
3332         (WebInspectorClient::frontendClosing):
3333         * WebInspector.cpp:
3334         (WebInspector::attach):
3335         (WebInspector::detach):
3336
3337 2010-03-14  Dan Bernstein  <mitz@apple.com>
3338
3339         Reviewed by Darin Adler.
3340
3341         WebKit part of removing support for legacy versions of Core Graphics
3342
3343         * WebKitClassFactory.cpp:
3344         (WebKitClassFactory::WebKitClassFactory): Removed call to populateFontDatabase().
3345         * WebKitGraphics.cpp:
3346         (makeFont): Ditto.
3347         * WebTextRenderer.cpp:
3348         (WebTextRenderer::registerPrivateFont): Removed call to wkAddFontsAtPath().
3349
3350 2010-03-12  Enrica Casucci  <enrica@apple.com>
3351
3352         Fixed broken build on Windows.
3353         Added contditional compilation for accelerated compositing.
3354
3355         * WebView.cpp:
3356         (WebView::deleteBackingStore):
3357         (WebView::addToDirtyRegion):
3358         (WebView::updateBackingStore):
3359
3360 2010-03-12  Beth Dakin  <bdakin@apple.com>
3361
3362         Reviewed by Simon Fraser.
3363
3364         Fix for https://bugs.webkit.org/show_bug.cgi?id=34942 Fullscreen 
3365         API naming is inconsistent
3366         -and corresponding-
3367         <rdar://problem/7729165>
3368
3369         This patch changes all occurrences of "fullScreen" to the more 
3370         popular "fullscreen."
3371
3372         * FullscreenVideoController.cpp:
3373         (FullscreenVideoController::onMouseDown):
3374         (FullscreenVideoController::onMouseMove):
3375         (FullscreenVideoController::onMouseUp):
3376         * FullscreenVideoController.h:
3377         (FullscreenVideoController::fullscreenToHUDCoordinates):
3378
3379 2010-03-12  Beth Dakin  <bdakin@apple.com>
3380
3381         Reviewed by Adam Roben.
3382
3383         Fix for https://bugs.webkit.org/show_bug.cgi?id=33739 Fullscreen 
3384         video HUD stays on top when switching to another window (e.g. via 
3385         Alt-Tab)
3386         -and corresponding-
3387         <rdar://problem/7547574>
3388
3389         The HUD was always on top because it had the WS_EX_TOPMOST style. 
3390         So I removed the style and made m_videoWindow the owner of 
3391         m_hudWindow. This keeps m_hudWindow on top only when m_videoWindow 
3392         is the focused window.
3393
3394         * FullscreenVideoController.cpp:
3395         (FullscreenVideoController::exitFullscreen): ASSERT that movie()->exitFullscreen() also destroyed the hud.
3396         (FullscreenVideoController::createHUDWindow):
3397
3398 2010-03-12  Enrica Casucci  <enrica@apple.com>
3399
3400         Reviewed by Simon Fraser.
3401
3402         Content of 3D tests appears at the bottom right corner sometimes.
3403         <rdar://problem/7556244>
3404         <https://bugs.webkit.org/show_bug.cgi?id=36027>
3405
3406         See detailed comments in WebCore/ChangeLog.
3407
3408         * WebView.cpp:
3409         (WebView::deleteBackingStore): Reset the dirty flag when deleting the backing store.
3410         (WebView::addToDirtyRegion): Set the dirty flag when adding dirty rectangles to the
3411         backing store dirty region.
3412         (WebView::updateBackingStore): Reset the dirty flag after painting into the backing store.
3413         (WebView::setAcceleratedCompositing): Removed unnecessary call to updateRootLayerContents.
3414         (WebView::updateRootLayerContents): Changed the way we pass parameters to setScrollFrame.
3415         We are passing width and height of the view content together with the offset for the scrolling.
3416         It was confusing to pass it all as a rectangle, when it is not a rectangle.
3417         
3418 2010-03-11  Aaron Boodman  <aa@chromium.org>
3419
3420         Kill WebDocument::applicationID() (part 1).
3421
3422         Modify interface to WebCore::NotificationPresenter::checkPermission()
3423         and remove implementation of WebDocument::applicationID(). Breaking
3424         API changes will be in a subsequent change.
3425         https://bugs.webkit.org/show_bug.cgi?id=35846
3426
3427         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
3428         (WebDesktopNotificationsDelegate::checkPermission):
3429         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
3430
3431 2010-03-11  Anders Carlsson  <andersca@apple.com>
3432
3433         Reviewed by David Hyatt.
3434
3435         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
3436
3437         * WebCoreSupport/WebChromeClient.cpp:
3438         * WebCoreSupport/WebChromeClient.h:
3439
3440 2010-03-10  Eric Uhrhane  <ericu@chromium.org>
3441
3442         Reviewed by David Levin.
3443
3444         The build fix for my patch on bug #35763 wasn't quite right--it removed
3445         the call entirely, instead of replacing it with the new API.  This adds
3446         the call to Database::setIsAvailable.
3447
3448         https://bugs.webkit.org/show_bug.cgi?id=35763
3449
3450         * WebView.cpp: Added a call to Database::setIsAvailable where change 55667 removed the old Settings API call <http://trac.webkit.org/changeset/55667>.
3451         (WebView::notifyPreferencesChanged):
3452
3453 2010-03-10  John Sullivan  <sullivan@apple.com>
3454
3455         Reviewed by Tim Hatcher.
3456         
3457         <rdar://problem/7735387> input type other than text won't work with autofill
3458         <https://bugs.webkit.org/show_bug.cgi?id=35963>
3459
3460         * WebFrame.cpp:
3461         (WebFrame::elementDoesAutoComplete):
3462         Return true for any text field that's not a password, rather than only
3463         for TEXT type.
3464
3465 2010-03-09  Brady Eidson  <beidson@apple.com>
3466
3467         Reviewed by Tim Hatcher.
3468
3469         REGRESSION: WebInspector docking busted on Windows
3470         <rdar://problem/7728433> and https://bugs.webkit.org/show_bug.cgi?id=35953
3471
3472         * WebCoreSupport/WebInspectorClient.cpp:
3473         (WebInspectorClient::attachWindow): Use the InspectorController:: copy of the should attach settings key.
3474         (WebInspectorClient::detachWindow): Ditto.
3475         (WebInspectorClient::showWindowWithoutNotifications): Ditto.
3476
3477 2010-03-09  John Sullivan  <sullivan@apple.com>
3478
3479         Fixed localized string key collision. update-webkit-localized-strings now
3480         runs without errors.
3481
3482         Reviewed by Adam Roben.
3483
3484         * WebCoreLocalizedStrings.cpp:
3485         (WebCore::AXMenuListPopupActionVerb):
3486         Used LPCTSTR_UI_STRING_KEY for the 2nd use of "press".
3487
3488 2010-03-08  Adam Treat  <atreat@rim.com>
3489
3490         Unreviewed build fix for Windows.
3491
3492         * WebCoreSupport/WebChromeClient.cpp:
3493         (WebChromeClient::invalidateContents):
3494
3495 2010-03-02  Adam Treat  <atreat@rim.com>
3496
3497         Reviewed by Dave Hyatt.
3498
3499         Adapt the win port to the refactoring of repaint methods.
3500
3501         https://bugs.webkit.org/show_bug.cgi?id=34214
3502
3503         * WebCoreSupport/WebChromeClient.cpp:
3504         (WebChromeClient::invalidateContents):
3505         (WebChromeClient::invalidateWindow):
3506         (WebChromeClient::invalidateContentsAndWindow):
3507         (WebChromeClient::invalidateContentsForSlowScroll):
3508         * WebCoreSupport/WebChromeClient.h:
3509
3510 2010-03-08  Daniel Bates  <dbates@rim.com>
3511
3512         Unreviewed, build fix.
3513
3514         Attempt to fix the Windows builds by applying the corresponding change
3515         made in bug #35763 <https://bugs.webkit.org/show_bug.cgi?id=35763>.
3516
3517         * WebView.cpp: Removed call to settings->setDatabasesEnabled since this
3518         setting no longer exists following changeset 55666 <http://trac.webkit.org/changeset/55666>.
3519         (WebView::notifyPreferencesChanged):
3520
3521 2010-03-07  Mark Rowe  <mrowe@apple.com>
3522
3523         Windows build fix.
3524
3525         * WebKitPrefix.h: Include CoreFoundation/CoreFoundation.h from the Windows prefix header
3526         since some WebCore headers rely on the types declared within being available via the prefix
3527         header.
3528
3529 2010-03-05  Chris Marrin  <cmarrin@apple.com>
3530
3531         Reviewed by Simon Fraser.
3532
3533         Got rid of platformLayer use in WebView.
3534         https://bugs.webkit.org/show_bug.cgi?id=35798
3535         
3536         WKCACFLayer no longer depends on GraphicsLayer, so I got rid of
3537         that dependency on WebView. Now WebChromeClient casts platformLayer
3538         to WKCACFLayer which will always be the case on Windows.
3539
3540         * WebCoreSupport/WebChromeClient.cpp:
3541         (WebChromeClient::attachRootGraphicsLayer):
3542         * WebView.cpp:
3543         (WebView::setRootChildLayer):
3544         * WebView.h:
3545
3546 2010-03-04  Beth Dakin  <bdakin@apple.com>
3547
3548         Reviewed by Anders Carlsson.
3549
3550         WebCore::Page::setInstanceHandle() is now just 
3551         WebCore::setInstanceHandle()
3552
3553         * WebKitDLL.cpp:
3554         (DllMain):
3555
3556 2010-03-03  Alice Liu  <alice.liu@apple.com>
3557
3558         Reviewed by Jon Honeycutt.
3559
3560         Add a way to get an iframe's content frame
3561
3562         * DOMCoreClasses.cpp:
3563         (DOMElement::createInstance):
3564         Added case for DOMHTMLIFrameElement
3565         * DOMHTMLClasses.cpp:
3566         Adding the few DOMHTMLIFrameElement functions definitions that have 
3567         distinct implementations (all others just call parent implementation)
3568         (DOMHTMLIFrameElement::QueryInterface):
3569         (DOMHTMLIFrameElement::contentFrame):
3570         * DOMHTMLClasses.h:
3571         Most of these function declarations have definitions that just call the parent implementation
3572         (DOMHTMLIFrameElement::DOMHTMLIFrameElement):
3573         (DOMHTMLIFrameElement::AddRef):
3574         (DOMHTMLIFrameElement::Release):
3575         (DOMHTMLIFrameElement::throwException):
3576         (DOMHTMLIFrameElement::callWebScriptMethod):
3577         (DOMHTMLIFrameElement::evaluateWebScript):
3578         (DOMHTMLIFrameElement::removeWebScriptKey):
3579         (DOMHTMLIFrameElement::stringRepresentation):
3580         (DOMHTMLIFrameElement::webScriptValueAtIndex):
3581         (DOMHTMLIFrameElement::setWebScriptValueAtIndex):
3582         (DOMHTMLIFrameElement::setException):
3583         (DOMHTMLIFrameElement::nodeName):
3584         (DOMHTMLIFrameElement::nodeValue):
3585         (DOMHTMLIFrameElement::setNodeValue):
3586         (DOMHTMLIFrameElement::nodeType):
3587         (DOMHTMLIFrameElement::parentNode):
3588         (DOMHTMLIFrameElement::childNodes):
3589         (DOMHTMLIFrameElement::firstChild):
3590         (DOMHTMLIFrameElement::lastChild):
3591         (DOMHTMLIFrameElement::previousSibling):
3592         (DOMHTMLIFrameElement::nextSibling):
3593         (DOMHTMLIFrameElement::attributes):
3594         (DOMHTMLIFrameElement::ownerDocument):
3595         (DOMHTMLIFrameElement::insertBefore):
3596         (DOMHTMLIFrameElement::replaceChild):
3597         (DOMHTMLIFrameElement::removeChild):
3598         (DOMHTMLIFrameElement::appendChild):
3599         (DOMHTMLIFrameElement::hasChildNodes):
3600         (DOMHTMLIFrameElement::cloneNode):
3601         (DOMHTMLIFrameElement::normalize):
3602         (DOMHTMLIFrameElement::isSupported):
3603         (DOMHTMLIFrameElement::namespaceURI):
3604         (DOMHTMLIFrameElement::prefix):
3605         (DOMHTMLIFrameElement::setPrefix):
3606         (DOMHTMLIFrameElement::localName):
3607         (DOMHTMLIFrameElement::hasAttributes):
3608         (DOMHTMLIFrameElement::isSameNode):
3609         (DOMHTMLIFrameElement::isEqualNode):
3610         (DOMHTMLIFrameElement::textContent):
3611         (DOMHTMLIFrameElement::setTextContent):
3612         (DOMHTMLIFrameElement::tagName):
3613         (DOMHTMLIFrameElement::getAttribute):
3614         (DOMHTMLIFrameElement::setAttribute):
3615         (DOMHTMLIFrameElement::removeAttribute):
3616         (DOMHTMLIFrameElement::getAttributeNode):
3617         (DOMHTMLIFrameElement::setAttributeNode):
3618         (DOMHTMLIFrameElement::removeAttributeNode):
3619         (DOMHTMLIFrameElement::getElementsByTagName):
3620         (DOMHTMLIFrameElement::getAttributeNS):
3621         (DOMHTMLIFrameElement::setAttributeNS):
3622         (DOMHTMLIFrameElement::removeAttributeNS):
3623         (DOMHTMLIFrameElement::getAttributeNodeNS):
3624         (DOMHTMLIFrameElement::setAttributeNodeNS):
3625         (DOMHTMLIFrameElement::getElementsByTagNameNS):
3626         (DOMHTMLIFrameElement::hasAttribute):
3627         (DOMHTMLIFrameElement::hasAttributeNS):
3628         (DOMHTMLIFrameElement::focus):
3629         (DOMHTMLIFrameElement::blur):
3630         (DOMHTMLIFrameElement::idName):
3631         (DOMHTMLIFrameElement::setIdName):
3632         (DOMHTMLIFrameElement::title):
3633         (DOMHTMLIFrameElement::setTitle):
3634         (DOMHTMLIFrameElement::lang):
3635         (DOMHTMLIFrameElement::setLang):
3636         (DOMHTMLIFrameElement::dir):
3637         (DOMHTMLIFrameElement::setDir):
3638         (DOMHTMLIFrameElement::className):
3639         (DOMHTMLIFrameElement::setClassName):
3640         (DOMHTMLIFrameElement::innerHTML):
3641         (DOMHTMLIFrameElement::setInnerHTML):
3642         (DOMHTMLIFrameElement::innerText):
3643         (DOMHTMLIFrameElement::setInnerText):
3644         * Interfaces/DOMHTML.idl:
3645         Added IDOMHTMLIFrameElement interface
3646
3647 2010-03-03  Chris Marrin  <cmarrin@apple.com>
3648
3649         Reviewed by Simon Fraser.
3650
3651         Export acceleratedCompositing flag in IWebPreferences.
3652         https://bugs.webkit.org/show_bug.cgi?id=35610
3653
3654         * Interfaces/IWebPreferences.idl:
3655
3656 2010-03-02  Beth Dakin  <bdakin@apple.com>
3657
3658         Reviewed by Darin Adler and Adam Roben.
3659
3660         Tiny WebKit portion of fix for <rdar://problem/7485289> WebKit 
3661         crashes on systems that don't support CoreAnimation
3662
3663         setHostWindow() no longer calls createRenderer(), so now that has 
3664         to be called manually.
3665
3666         * WebView.cpp:
3667         (WebView::setAcceleratedCompositing):
3668
3669 2010-03-02  Adam Roben  <aroben@apple.com>
3670
3671         Add IWebViewPrivate::registerURLSchemeAsSecure
3672
3673         Fixes <http://webkit.org/b/35580> <rdar://problem/7706407> Expose
3674         SecurityOrigin::registerURLSchemeAsSecure as WebKit SPI
3675
3676         Reviewed by Tim Hatcher.
3677
3678         * Interfaces/WebKit.idl: Touched to force a build.