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