Remove an unneeded argument from FrameLoaderClient::download
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2011-11-30  Alexey Proskuryakov  <ap@apple.com>
2
3         Remove an unneeded argument from FrameLoaderClient::download
4         https://bugs.webkit.org/show_bug.cgi?id=73486
5
6         Reviewed by Andreas Kling.
7
8         * WebFrame.cpp:
9         (WebFrame::download):
10         * WebFrame.h:
11         Updated for the change.
12
13 2011-11-26  Pavel Feldman  <pfeldman@google.com>
14
15         Web Inspector: remove disconnectFromBackend from the protocol.
16         https://bugs.webkit.org/show_bug.cgi?id=73127
17
18         Reviewed by Yury Semikhatsky.
19
20         * WebCoreSupport/WebInspectorClient.cpp:
21         (WebInspectorClient::inspectorDestroyed):
22         (WebInspectorClient::closeInspectorFrontend):
23         * WebCoreSupport/WebInspectorClient.h:
24
25 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
26
27         Unreviewed, rolling out r101193.
28         http://trac.webkit.org/changeset/101193
29         https://bugs.webkit.org/show_bug.cgi?id=73158
30
31         Breaks Windows and Qt minimal. (Requested by pfeldman on
32         #webkit).
33
34         * WebCoreSupport/WebInspectorClient.cpp:
35         (WebInspectorClient::inspectorDestroyed):
36         (WebInspectorFrontendClient::disconnectFromBackend):
37         * WebCoreSupport/WebInspectorClient.h:
38
39 2011-11-26  Pavel Feldman  <pfeldman@google.com>
40
41         Web Inspector: remove disconnectFromBackend from the protocol.
42         https://bugs.webkit.org/show_bug.cgi?id=73127
43
44         Reviewed by Yury Semikhatsky.
45
46         * WebCoreSupport/WebInspectorClient.cpp:
47         (WebInspectorClient::inspectorDestroyed):
48         (WebInspectorClient::closeInspectorFrontend):
49         * WebCoreSupport/WebInspectorClient.h:
50
51 2011-11-22  Pavel Feldman  <pfeldman@google.com>
52
53         Web Inspector: remove Inspector::bringToFront from the protocol.
54         https://bugs.webkit.org/show_bug.cgi?id=72937
55
56         Reviewed by Yury Semikhatsky.
57
58         * WebCoreSupport/WebInspectorClient.cpp:
59         (WebInspectorClient::bringFrontendToFront):
60         * WebCoreSupport/WebInspectorClient.h:
61
62 2011-11-21  Pavel Feldman  <pfeldman@google.com>
63
64         Not reviewed: an attempt to fix windows build.
65
66         * WebInspector.cpp:
67         (WebInspector::isJavaScriptProfilingEnabled):
68         (WebInspector::setJavaScriptProfilingEnabled):
69
70 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
71
72         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
73         https://bugs.webkit.org/show_bug.cgi?id=62985
74
75         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
76         methods for plumbing the menu action handlers through the WebKit and WebCore.
77         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
78         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
79         WebKit/win and WebKit2 to follow.
80
81         Reviewed by Yury Semikhatsky.
82
83         * WebInspector.cpp:
84         (WebInspector::createInstance):
85         (WebInspector::WebInspector):
86         (WebInspector::webViewClosed):
87         (WebInspector::showConsole):
88         (WebInspector::isDebuggingJavaScript):
89         (WebInspector::toggleDebuggingJavaScript):
90         (WebInspector::isProfilingJavaScript):
91         (WebInspector::toggleProfilingJavaScript):
92         (WebInspector::isJavaScriptProfilingEnabled):
93         (WebInspector::setJavaScriptProfilingEnabled):
94         (WebInspector::isTimelineProfilingEnabled):
95         (WebInspector::setTimelineProfilingEnabled):
96         * WebInspector.h:
97         * WebView.cpp:
98         (WebView::WebView):
99         (WebView::close):
100         (WebView::initWithFrame):
101         (WebView::inspector):
102         * WebView.h:
103
104 2011-10-17  Antonio Gomes  <agomes@rim.com>
105
106         Pass a Frame* parameter in EditorClient::respondToChangedSelection
107         https://bugs.webkit.org/show_bug.cgi?id=70248
108
109         Reviewed by Ryosuke Niwa.
110
111         * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
112         (WebEditorClient::respondToChangedSelection):
113         * WebCoreSupport/WebEditorClient.h:
114
115 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
116
117         Rename ReferrerPolicy to clarify its meaning
118         https://bugs.webkit.org/show_bug.cgi?id=72420
119
120         Reviewed by Nate Chapin.
121
122         * WebCoreSupport/WebContextMenuClient.cpp:
123         (WebContextMenuClient::searchWithGoogle):
124
125 2011-11-15  Anders Carlsson  <andersca@apple.com>
126
127         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
128         https://bugs.webkit.org/show_bug.cgi?id=72397
129
130         Reviewed by Dan Bernstein.
131
132         * WebCoreSupport/WebChromeClient.cpp:
133         (WebChromeClient::rootViewToScreen):
134         (WebChromeClient::screenToRootView):
135         * WebCoreSupport/WebChromeClient.h:
136
137 2011-11-14  Anders Carlsson  <andersca@apple.com>
138
139         HostWindow invalidation functions should use root view coordinates
140         https://bugs.webkit.org/show_bug.cgi?id=72338
141
142         Reviewed by Dan Bernstein.
143
144         * WebCoreSupport/WebChromeClient.cpp:
145         (WebChromeClient::invalidateRootView):
146         (WebChromeClient::invalidateContentsAndRootView):
147         * WebCoreSupport/WebChromeClient.h:
148
149 2011-11-07  Adam Barth  <abarth@webkit.org>
150
151         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
152         https://bugs.webkit.org/show_bug.cgi?id=71755
153
154         Reviewed by Eric Seidel.
155
156         * WebView.cpp:
157         (WebView::addOriginAccessWhitelistEntry):
158         (WebView::removeOriginAccessWhitelistEntry):
159         (WebView::resetOriginAccessWhitelists):
160
161 2011-11-07  Adam Barth  <abarth@webkit.org>
162
163         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
164         https://bugs.webkit.org/show_bug.cgi?id=71750
165
166         Reviewed by Eric Seidel.
167
168         * WebView.cpp:
169         (WebView::setDomainRelaxationForbiddenForURLScheme):
170
171 2011-11-07  Beth Dakin  <bdakin@apple.com>
172
173         https://bugs.webkit.org/show_bug.cgi?id=71490
174         Support uiStateTransitionProgress for scrollbars
175         -and corresponding-
176         <rdar://problem/9849612>
177
178         Reviewed by Sam Weinig.
179
180         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
181         * WebScrollBar.cpp:
182         (WebScrollBar::handleMouseEvent):
183
184 2011-11-02  Darin Adler  <darin@apple.com>
185
186         Change remaining callers of releaseRef to call leakRef
187         https://bugs.webkit.org/show_bug.cgi?id=71422
188
189         Reviewed by Darin Fisher.
190
191         * WebCache.cpp:
192         (WebCache::statistics):
193         * WebDatabaseManager.cpp:
194         (WebDatabaseManager::origins):
195         (WebDatabaseManager::databasesWithOrigin):
196         * WebHistoryItem.cpp:
197         (WebHistoryItem::redirectURLs):
198         * WebKitClassFactory.cpp:
199         (leakRefFromCreateInstance):
200         (WebKitClassFactory::CreateInstance):
201         * WebScriptWorld.cpp:
202         (WebScriptWorld::standardWorld):
203         Use leakRef.
204
205 2011-11-02  Jon Lee  <jonlee@apple.com>
206
207         Expand DragController to provide more information about the dragging session
208         https://bugs.webkit.org/show_bug.cgi?id=71324
209         <rdar://problem/10379175>
210
211         Reviewed by Darin Adler.
212
213         * WebView.cpp:
214         (WebView::DragEnter): Minor refactoring because operation is stored in
215         new DragSession struct.
216         (WebView::DragOver): Ditto.
217
218 2011-11-02  Tom Sepez  <tsepez@chromium.org>
219
220         XSSAuditor is silent
221         https://bugs.webkit.org/show_bug.cgi?id=70973
222
223         Reviewed by Adam Barth.
224
225         * WebCoreSupport/WebFrameLoaderClient.cpp:
226         (WebFrameLoaderClient::didDetectXSS):
227         * WebCoreSupport/WebFrameLoaderClient.h:
228
229 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
230
231         Rename a number of methods mentioning JavaScript to just Script instead
232         https://bugs.webkit.org/show_bug.cgi?id=71105
233
234         Reviewed by Adam Barth.
235
236         * WebFrame.cpp:
237         (WebFrame::dispatchDidClearWindowObjectInWorld):
238         * WebView.cpp:
239         (WebView::notifyPreferencesChanged):
240
241 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
242
243         Build fix: removed some cases of threadsafeCopy() that I missed in
244         my previous patch.
245
246         * WebDatabaseManager.cpp:
247         (DidModifyOriginData::dispatchToMainThread):
248         * WebDownloadCFNet.cpp:
249         (WebDownload::initToResumeWithBundle):
250         * WebIconDatabase.cpp:
251         (WebIconDatabase::didImportIconURLForPageURL):
252
253 2011-10-24  Ryosuke Niwa  <rniwa@webkit.org>
254
255         threadsafeCopy has been renamed to isolatedCopy.
256
257         * WebDatabaseManager.cpp:
258         (DidModifyOriginData::dispatchToMainThread):
259
260 2011-10-24  Adam Barth  <abarth@webkit.org>
261
262         Attempt to fix Windows build by updating to the new interface.
263
264         * DOMEventsClasses.cpp:
265         (DOMEvent::createInstance):
266
267 2011-10-18  Adam Barth  <abarth@webkit.org>
268
269         Always enable ENABLE(XPATH)
270         https://bugs.webkit.org/show_bug.cgi?id=70217
271
272         Reviewed by Eric Seidel.
273
274         * Interfaces/DOMWindow.idl:
275
276 2011-10-14  Julien Chaffraix  <jchaffraix@webkit.org>
277
278         Remove layerX / layerY from the Windows API
279         https://bugs.webkit.org/show_bug.cgi?id=70051
280
281         Reviewed by Darin Adler.
282
283         Renamed layerX to unused1 and layerY to unused2 to keep the
284         binary compatibility.
285
286         * DOMEventsClasses.cpp:
287         (DOMUIEvent::unused1):
288         (DOMUIEvent::unused2):
289         * DOMEventsClasses.h:
290         (DOMKeyboardEvent::unused1):
291         (DOMKeyboardEvent::unused2):
292         (DOMMouseEvent::unused1):
293         (DOMMouseEvent::unused2):
294         (DOMWheelEvent::unused1):
295         (DOMWheelEvent::unused2):
296         * Interfaces/DOMEvents.idl:
297
298 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
299
300         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
301         https://bugs.webkit.org/show_bug.cgi?id=68134
302
303         Reviewed by Darin Adler.
304
305         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
306         
307         Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
308         that reads the setting, and returns the mock theme if set. All callers now use
309         theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
310
311         * WebScrollBar.cpp:
312         (WebScrollBar::requestedWidth):
313         (WebScrollBar::requestedHeight):
314         * WebView.cpp:
315         (WebView::WebViewWndProc):
316
317 2011-10-03  Anders Carlsson  <andersca@apple.com>
318
319         Remove custom scrollbar painting hooks
320         https://bugs.webkit.org/show_bug.cgi?id=69163
321
322         Reviewed by Alexey Proskuryakov.
323
324         Remove now unused WebPreferences and ChromeClient overrides.
325
326         * Interfaces/IWebPreferences.idl:
327         * WebCoreSupport/WebChromeClient.cpp:
328         * WebCoreSupport/WebChromeClient.h:
329         * WebPreferenceKeysPrivate.h:
330         * WebPreferences.cpp:
331         (WebPreferences::unused3):
332         (WebPreferences::unused4):
333         * WebPreferences.h:
334         * WebView.cpp:
335         (WebView::notifyPreferencesChanged):
336
337 2011-09-23  Adam Roben  <aroben@apple.com>
338
339         Remove WebKitAPITest
340
341         WebKit part of <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate
342         functionality (and names!)
343
344         Reviewed by Anders Carlsson.
345
346         * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which
347         formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest
348         depended on.
349
350 2011-09-24  Adam Barth  <abarth@webkit.org>
351
352         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
353         https://bugs.webkit.org/show_bug.cgi?id=68767
354
355         Reviewed by Eric Seidel.
356
357         * WebCoreSupport/WebChromeClient.cpp:
358         (WebChromeClient::reachedApplicationCacheOriginQuota):
359         * WebCoreSupport/WebChromeClient.h:
360
361 2011-09-22  Adam Roben  <aroben@apple.com>
362
363         Remove FindSafari from all our .sln files
364
365         It isn't used anymore, so there's no point in building it.
366
367         Part of <http://webkit.org/b/68628> Remove FindSafari
368
369         Reviewed by Steve Falkenburg.
370
371         * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it.
372
373 2011-09-22  Adam Roben  <aroben@apple.com>
374
375         Add testRegExp.vcproj to WebKit.sln
376
377         Fixes <http://webkit.org/b/68403> Windows bots don't build testRegExp.vcproj
378
379         Reviewed by Brian Weinstein.
380
381         * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it
382         does when built as part of JavaScriptCore.sln.
383
384 2011-09-21  Steve Falkenburg  <sfalken@apple.com>
385
386         Branch builds don't launch on Windows when run against trunk WebKit
387         https://bugs.webkit.org/show_bug.cgi?id=68546
388
389         Reviewed by Darin Adler.
390
391         * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily
392         in IDL for binary compatibility between branch and trunk.
393
394 2011-09-21  Andras Becsi  <andras.becsi@nokia.com>
395
396         [Qt] Remove Qt specific code from css/SelectorChecker.cpp
397         https://bugs.webkit.org/show_bug.cgi?id=67702
398
399         Reviewed by Csaba Osztrogonác.
400
401         * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
402         (WebPlatformStrategies::isLinkVisited):
403         * WebCoreSupport/WebPlatformStrategies.h: Ditto.
404
405 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
406
407         FrameLoaderClient BackForwardList-related methods are unsued
408         https://bugs.webkit.org/show_bug.cgi?id=68293
409
410         Reviewed by Darin Adler.
411
412         Remove FrameLoaderClient methods that were added by r51629, since only        
413         the old (since-deleted) Android port needed them.
414
415         * WebCoreSupport/WebFrameLoaderClient.cpp:
416         * WebCoreSupport/WebFrameLoaderClient.h:
417
418 2011-09-15  Adam Barth  <abarth@webkit.org>
419
420         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
421         https://bugs.webkit.org/show_bug.cgi?id=68205
422
423         Reviewed by Eric Seidel.
424
425         * ForEachCoClass.h:
426         * WebCoreSupport/WebChromeClient.cpp:
427         * WebCoreSupport/WebChromeClient.h:
428         * WebDatabaseManager.cpp:
429         * WebDatabaseManager.h:
430         * WebSecurityOrigin.cpp:
431         (WebSecurityOrigin::usage):
432         (WebSecurityOrigin::quota):
433         (WebSecurityOrigin::setQuota):
434         * WebView.cpp:
435         (WebView::initWithFrame):
436         (WebView::notifyPreferencesChanged):
437
438 2011-09-15  Kentaro Hara  <haraken@google.com>
439
440         A single line must not be split into two pages.
441         https://bugs.webkit.org/show_bug.cgi?id=65005
442
443         Reviewed by David Hyatt.
444
445         When the document width of a page is overflowed, the last line of the page can be
446         split into the next page. This is the regression caused by r88737. r88737 tried to
447         fix rounding errors in rendering calculations by expanding and shrinking a page
448         using one common method, resizePageRectsKeepingRatio(), but overlooked the case where
449         a document width gets overflowed.
450
451         Test: printing/single-line-must-not-be-split-into-two-pages.html
452
453         * WebFrame.cpp:
454         (WebFrame::setPrinting): Passes an original page size to setPrinting().
455         (WebFrame::setInPrintingMode): Ditto.
456         * WebFrame.h:
457
458 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
459
460         Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
461         https://bugs.webkit.org/show_bug.cgi?id=67569
462
463         Reviewed by Antonio Gomes.
464
465         * WebView.cpp:
466         (WebView::resetIME):
467
468 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
469
470         DumpRenderTree should begin each test with an empty cookie store
471         https://bugs.webkit.org/show_bug.cgi?id=63545
472         <rdar://problem/5666907>
473
474         Reviewed by Darin Adler.
475
476         * WebCookieManagerCFNet.cpp:
477         (WebCookieManager::cookieStorage):
478         (WebCookieManager::setCookieStorage):
479         Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
480         returns an unretained reference, which we cannot provide any more, but it should not be a
481         practical issue.
482
483         * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage()
484         instead of currentCookieStorage().
485
486 2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
487
488         The unused ScrollView* argument can and should be removed from
489         scrollRectIntoView.
490         https://bugs.webkit.org/show_bug.cgi?id=67117
491
492         Reviewed by Darin Adler.
493
494         * WebCoreSupport/WebChromeClient.h:
495         (WebChromeClient::scrollRectIntoView):
496
497 2011-08-29  Ryosuke Niwa  <rniwa@webkit.org>
498
499         Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
500         https://bugs.webkit.org/show_bug.cgi?id=67152
501
502         Reviewed by Darin Adler.
503
504         Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl
505         to HTMLTextFormControlElement.
506
507         * DOMHTMLClasses.cpp:
508         (DOMHTMLInputElement::isUserEdited):
509         (DOMHTMLTextAreaElement::isUserEdited):
510
511 2011-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
512
513         Unreviewed, rolling out r93987, r93992, r93995, r93998, and
514         r93999.
515         http://trac.webkit.org/changeset/93987
516         http://trac.webkit.org/changeset/93992
517         http://trac.webkit.org/changeset/93995
518         http://trac.webkit.org/changeset/93998
519         http://trac.webkit.org/changeset/93999
520         https://bugs.webkit.org/show_bug.cgi?id=67147
521
522         Many failing tests (Requested by ap on #webkit).
523
524         * WebCookieManagerCFNet.cpp:
525         (WebCookieManager::cookieStorage):
526         (WebCookieManager::setCookieStorage):
527         * WebView.cpp:
528         (updateSharedSettingsFromPreferencesIfNeeded):
529
530 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
531
532         Windows build fix.
533
534         * WebView.cpp:
535         (updateSharedSettingsFromPreferencesIfNeeded):
536         Updated for new function name and signature: currentCFHTTPCookieStorage().
537
538 2011-08-26  Alexey Proskuryakov  <ap@apple.com>
539
540         DumpRenderTree should begin each test with an empty cookie store
541         https://bugs.webkit.org/show_bug.cgi?id=63545
542         <rdar://problem/5666907>
543
544         Reviewed by Darin Adler.
545
546         * WebCookieManagerCFNet.cpp:
547         (WebCookieManager::cookieStorage):
548         (WebCookieManager::setCookieStorage):
549         Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
550         returns an unretained reference, which we cannot provide any more, but it should not be a
551         practical issue.
552
553 2011-08-17  Adam Roben  <aroben@apple.com>
554
555         Make WebCore keep track of the current device scale factor
556
557         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
558         device scale factor
559
560         Reviewed by Darin Adler.
561
562         * WebCoreSupport/WebChromeClient.cpp:
563         * WebCoreSupport/WebChromeClient.h:
564         Removed deviceScaleFactor.
565
566 2011-08-15  Dmitry Titov  <dimich@chromium.org>
567
568         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
569         https://bugs.webkit.org/show_bug.cgi?id=66165
570
571         Reviewed by Darin Fisher.
572
573         * WebCoreSupport/WebFrameLoaderClient.cpp:
574         (WebFrameLoaderClient::transferLoadingResourceFromPage):
575         * WebCoreSupport/WebFrameLoaderClient.h:
576
577 2011-08-15  Adam Roben  <aroben@apple.com>
578
579         Touch a file to trigger a Windows build
580
581         I'm trying to ferret out some issues with our Debug builder.
582
583         * WebView.cpp: Sorted #includes.
584
585 2011-08-10  Adam Roben  <aroben@apple.com>
586
587         Clear up scale factor terminology
588
589         WebKit by and large deals with two scale factors: one intrinsic to the device on which the
590         software is running, and one that is per-Page and can be controlled via API calls. This
591         patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
592         code use those names. It should introduce no behavior changes.
593
594         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
595         device scale factor
596
597         Reviewed by Simon Fraser.
598
599         * WebCoreSupport/WebChromeClient.cpp:
600         * WebCoreSupport/WebChromeClient.h:
601
602 2011-08-13  Dan Bernstein  <mitz@apple.com>
603
604         Changed the value of WebKitShowsToolTipOverTruncatedTextPreferenceKey to match the naming everywhere else.
605
606         Reviewed by Joseph Pecoraro.
607
608         * WebPreferenceKeysPrivate.h:
609
610 2011-08-13  Dan Bernstein  <mitz@apple.com>
611
612         Build fix.
613
614         * WebView.cpp:
615         (WebView::notifyPreferencesChanged):
616
617 2011-08-12  Dan Bernstein  <mitz@apple.com>
618
619         Add an option to automatically show tooltips (with the full text) over truncated text
620         https://bugs.webkit.org/show_bug.cgi?id=66178
621
622         Reviewed by Simon Fraser.
623
624         * Interfaces/IWebPreferencesPrivate.idl: Added accessors.
625         * WebPreferenceKeysPrivate.h: Defined a preference key.
626         * WebPreferences.cpp:
627         (WebPreferences::initializeDefaultSettings): Added a default value of
628         false for the ShowsToolTipOverTruncatedText preference.
629         (WebPreferences::showsToolTipOverTruncatedText): Added this getter.
630         (WebPreferences::setShowsToolTipOverTruncatedText): Added this setter.
631         * WebPreferences.h:
632         * WebView.cpp:
633         (WebView::notifyPreferencesChanged): Added call to Settings::setShowsToolTipOverTruncatedText().
634
635 2011-08-05  Brent Fulgham  <bfulgham@webkit.org>
636
637         WebView::performLayeredWindowUpdate() crashes with
638         NULL pointer when using layered window updates.
639         https://bugs.webkit.org/show_bug.cgi?id=60618
640
641         Reviewed by Adam Roben.
642
643         During resize operations, the backing store will be destroyed if
644         the window's size (either height or width) is set to zero. The
645         bug was identified when a user first resized a WebView to zero
646         dimensions, then attempted to perform a MoveWindow. The paint
647         message triggered by the MoveWindow attempted to use the layered
648         window update logic, which encountered the nulled backing store.
649
650         * WebView.cpp:
651         (WebView::performLayeredWindowUpdate): Add an early
652          return when there is no backing store to blend with.
653
654 2011-08-05  Anders Carlsson  <andersca@apple.com>
655
656         Remove PluginHalter
657         https://bugs.webkit.org/show_bug.cgi?id=65729
658
659         Reviewed by Darin Adler.
660
661         Remove plug-in halter and associated classes.
662
663         * Interfaces/IWebPluginHalterDelegate.idl: Removed.
664         * Interfaces/IWebPreferencesPrivate.idl:
665         * Interfaces/IWebViewPrivate.idl:
666         * Interfaces/WebKit.idl:
667         * WebCoreSupport/WebPluginHalterClient.cpp: Removed.
668         * WebCoreSupport/WebPluginHalterClient.h: Removed.
669         * WebKit.vcproj/Interfaces.vcproj:
670         * WebKit.vcproj/WebKit.vcproj:
671         * WebPreferenceKeysPrivate.h:
672         * WebPreferences.cpp:
673         (WebPreferences::initializeDefaultSettings):
674         * WebPreferences.h:
675         * WebView.cpp:
676         (WebView::close):
677         (WebView::initWithFrame):
678         (WebView::notifyPreferencesChanged):
679         (WebView::unused1):
680         (WebView::unused2):
681         (WebView::unused3):
682         (WebView::unused4):
683         (WebView::unused5):
684         * WebView.h:
685
686 2011-08-04  Jeff Miller  <jeffm@apple.com>
687
688         Add support for setting and getting whether AVFoundation is enabled to IWebPreferences
689         https://bugs.webkit.org/show_bug.cgi?id=65718
690
691         Reviewed by Adam Roben.
692
693         * Interfaces/IWebPreferences.idl: Added setAVFoundationEnabled() and avFoundationEnabled().
694
695         * WebPreferenceKeysPrivate.h: Added WebKitAVFoundationEnabledPreferenceKey.
696
697         * WebPreferences.cpp:
698         (WebPreferences::avFoundationEnabled): Added.
699         (WebPreferences::setAVFoundationEnabled): Added.
700
701         * WebPreferences.h: Added setAVFoundationEnabled() and avFoundationEnabled().
702
703         * WebView.cpp:
704         (WebView::notifyPreferencesChanged): Keep settings for AVFoundation being enabled in sync.
705
706 2011-08-03  Kent Tamura  <tkent@chromium.org>
707
708         [Windows] Fix build without ENABLE_VIDEO.
709
710         * WebView.cpp:
711         (WebView::enterFullscreenForNode):
712
713 2011-08-03  Kent Tamura  <tkent@chromium.org>
714
715         Fix incorrect checks for HTMLMediaElement
716         https://bugs.webkit.org/show_bug.cgi?id=65590
717
718         Reviewed by Dimitri Glazkov.
719
720         <video> and <audio> can be an HTMLElement instance instead of
721         HTMLMediaElement if MediaPlayer::isAvailable() returns false or
722         the media feature is disabled at runtime.
723
724         * WebView.cpp:
725         (WebView::enterFullscreenForNode):
726
727 2011-08-03  Joseph Pecoraro  <joepeck@webkit.org>
728
729         Web Inspector: Remove InspectorFrontendHost load/saveSessionSetting
730         https://bugs.webkit.org/show_bug.cgi?id=65582
731
732         Reviewed by Pavel Feldman.
733
734         * WebCoreSupport/WebInspectorClient.cpp:
735         * WebCoreSupport/WebInspectorClient.h:
736
737 2011-08-03  Adam Roben  <aroben@apple.com>
738
739         Windows nightly build fix after r91777
740
741         * Interfaces/IWebPreferences.idl: Moved [set]PictographFontFamily to the end of the
742         interface to maintain binary compatibility with Safari 5.1.
743
744 2011-08-03  Pavel Feldman  <pfeldman@google.com>
745
746         Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
747         https://bugs.webkit.org/show_bug.cgi?id=65510
748
749         Reviewed by Yury Semikhatsky.
750
751         * WebNodeHighlight.cpp:
752         (WebNodeHighlight::update):
753
754 2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
755
756         Web Inspector: remove Node parameter from the InspectorClient::highlight
757         https://bugs.webkit.org/show_bug.cgi?id=65549
758
759         Reviewed by Yury Semikhatsky.
760
761         * WebCoreSupport/WebInspectorClient.cpp:
762         (WebInspectorClient::highlight):
763         * WebCoreSupport/WebInspectorClient.h:
764
765 2011-07-31  Daniel Bates  <dbates@webkit.org>
766
767         Attempt to fix the WinCairo Debug build after r92059 (https://bugs.webkit.org/show_bug.cgi?id=65419).
768
769         * WebKit.vcproj/WebKit_Cairo.def: Export some symbols.
770         * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
771
772 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
773
774         Remove inclusion of MainThread.h from Threading.h
775         https://bugs.webkit.org/show_bug.cgi?id=65081
776
777         Reviewed by Darin Adler.
778
779         Add missing include statements for MainThread.
780
781         * WebKitClassFactory.cpp:
782         * WebView.cpp:
783
784 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
785
786         Add support for download='filename' attribute in anchors.
787         https://bugs.webkit.org/show_bug.cgi?id=64580
788
789         Reviewed by Adam Barth.
790
791         * WebFrame.cpp:
792         (WebFrame::startDownload):
793         * WebFrame.h:
794
795 2011-07-26  Dan Bernstein  <mitz@apple.com>
796
797         <rdar://problem/9842889> Add a generic pictograph font family
798         https://bugs.webkit.org/show_bug.cgi?id=65197
799
800         Reviewed by Anders Carlsson.
801
802         * Interfaces/IWebPreferences.idl: Added pictographFontFamily() and
803         setPictographFontFamily().
804         * WebPreferenceKeysPrivate.h: Added WebKitPictographFontPreferenceKey.
805         * WebPreferences.cpp:
806         (WebPreferences::initializeDefaultSettings): Initialize the pictograph font
807         preference to "Times New Roman".
808         (WebPreferences::pictographFontFamily): Added this getter.
809         (WebPreferences::setPictographFontFamily): Added this setter.
810         * WebPreferences.h:
811         * WebView.cpp:
812         (WebView::notifyPreferencesChanged): Pass the preference value through to
813         WebCore.
814
815 2011-07-18  Dean Jackson  <dino@apple.com>
816
817         https://bugs.webkit.org/show_bug.cgi?id=64742
818         Expose WebPreferences for media playback requiring user gestures and inline playback
819
820         Reviewed by Simon Fraser.
821
822         Two new WebPreferences: MediaPlaybackRequiresUserGesture and
823         MediaPlaybackAllowsInline.
824
825         * Interfaces/IWebPreferencesPrivate.idl:
826         * WebPreferenceKeysPrivate.h:
827         * WebPreferences.cpp:
828         (WebPreferences::initializeDefaultSettings):
829         (WebPreferences::setMediaPlaybackRequiresUserGesture):
830         (WebPreferences::mediaPlaybackRequiresUserGesture):
831         (WebPreferences::setMediaPlaybackAllowsInline):
832         (WebPreferences::mediaPlaybackAllowsInline):
833         * WebPreferences.h:
834         * WebView.cpp:
835         (WebView::notifyPreferencesChanged):
836
837 2011-07-16  Simon Fraser  <simon.fraser@apple.com>
838
839         Add code to attempt to align compositing layers to pixel boundaries when page scale changes
840         https://bugs.webkit.org/show_bug.cgi?id=64658
841
842         Reviewed by Dan Bernstein.
843
844         Removed implementations of backingScaleFactor() and pageScaleFactor() now
845         that GraphicsLayerClient has default implementations.
846
847         * WebView.h:
848
849 2011-07-15  Simon Fraser  <simon.fraser@apple.com>
850
851         Fix Windows build.
852         
853         * WebView.h:
854         (WebView::backingScaleFactor):
855         (WebView::pageScaleFactor):
856
857 2011-07-15  Dan Bernstein  <mitz@apple.com>
858
859         REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
860         https://bugs.webkit.org/show_bug.cgi?id=64615
861
862         Reviewed by Anders Carlsson.
863
864         * WebCoreSupport/WebChromeClient.cpp:
865         (WebChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
866         * WebCoreSupport/WebChromeClient.h:
867
868 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
869
870         ApplicationCache update should not immediately fail when reaching per-origin quota
871         https://bugs.webkit.org/show_bug.cgi?id=64177
872
873         Reviewed by Alexey Proskuryakov.
874
875         * WebCoreSupport/WebChromeClient.cpp:
876         (WebChromeClient::reachedApplicationCacheOriginQuota):
877         * WebCoreSupport/WebChromeClient.h:
878
879 2011-07-11  Hironori Bono  <hbono@chromium.org>
880
881         Reviewed by Adam Roben.
882
883         Implement layoutTestController.setTextDirection for WebKit2 and Windows.
884         https://bugs.webkit.org/show_bug.cgi?id=61931
885
886         This change implements layoutTextController.setTextDirection for WebKit2
887         and Windows so we can run a layout test added by r87770 on them. Each
888         implementation adds a wrapper function for Editor::setBaseWritingDirection()
889         so LayoutTestController can call it.
890
891         * Interfaces/IWebFramePrivate.idl: Added setTextDirection to allow
892         LayoutTestController to change the text direction.
893         * WebFrame.cpp: ditto.
894         (WebFrame::setTextDirection):
895         * WebFrame.h: ditto.
896
897 2011-07-08  Chang Shu  <cshu@webkit.org>
898
899         Update calling sites after function renamed.
900         https://bugs.webkit.org/show_bug.cgi?id=59114
901
902         Reviewed by Alexey Proskuryakov.
903
904         * WebKitGraphics.cpp:
905         (WebDrawText):
906
907 2011-06-30  Anders Carlsson  <andersca@apple.com>
908
909         Reviewed by Dan Bernstein.
910
911         More ScrollableArea scaffolding
912         https://bugs.webkit.org/show_bug.cgi?id=63678
913
914         * WebScrollBar.h:
915         (WebScrollBar::enclosingScrollableArea):
916         Always return 0, WebScrollbar has no concept of an enclosing scrollable area.
917
918 2011-06-28  Ilya Sherman  <isherman@chromium.org>
919
920         Reviewed by Adam Barth.
921
922         form.autocomplete="off" does not work
923         https://bugs.webkit.org/show_bug.cgi?id=35823
924
925         * WebFrame.cpp:
926         (WebFrame::elementDoesAutoComplete): Updated callsite.
927
928 2011-06-27  Brent Fulgham  <bfulgham@webkit.org>
929
930         Reviewed by Adam Roben.
931
932         Avoid attempt to create a zero-size DIB.
933         https://bugs.webkit.org/show_bug.cgi?id=63484.
934
935         * WebNodeHighlight.cpp:
936         (WebNodeHighlight::update): Check for zero-height (or zero-width)
937         region for DIB, and exit early if attempting to create a zero-size
938         DIB/BITMAP.
939
940 2011-06-24  Dan Bernstein  <mitz@apple.com>
941
942         Reviewed by Anders Carlsson.
943
944         Add an option to enable legacy rounding hacks
945         https://bugs.webkit.org/show_bug.cgi?id=63363
946
947         * WebKitGraphics.cpp:
948         (CenterTruncateStringToWidth): Enabled rounding hacks in the string truncator.
949         (RightTruncateStringToWidth): Ditto.
950
951 2011-06-24  Yuta Kitamura  <yutak@chromium.org>
952
953         Reviewed by Adam Barth.
954
955         WebSocket: Add run-time flag for new HyBi protocol
956         https://bugs.webkit.org/show_bug.cgi?id=60348
957
958         Make a new flag (Setting::m_useHixie76WebSocketProtocol)
959         switchable from WebView and WebPreferences.
960
961         * Interfaces/IWebPreferencesPrivate.idl:
962         * WebPreferenceKeysPrivate.h:
963         * WebPreferences.cpp:
964         (WebPreferences::initializeDefaultSettings):
965         (WebPreferences::setHixie76WebSocketProtocolEnabled):
966         (WebPreferences::hixie76WebSocketProtocolEnabled):
967         * WebPreferences.h:
968         * WebView.cpp:
969         (WebView::notifyPreferencesChanged):
970
971 2011-06-22  Dominic Cooney  <dominicc@chromium.org>
972
973         Reviewed by Mark Rowe.
974
975         Add window.internals to WebKit2's WebKitTestRunner.
976         https://bugs.webkit.org/show_bug.cgi?id=61073
977
978         * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
979
980 2011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
981
982         Reviewed by Kent Tamura.
983
984         FileChooser should be only created when we need to choose files.
985         https://bugs.webkit.org/show_bug.cgi?id=63039
986
987         * WebCoreSupport/WebChromeClient.cpp:
988         (WebChromeClient::runOpenPanel): Changed to use settings.
989
990 2011-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
991
992         Unreviewed, rolling out r89354.
993         http://trac.webkit.org/changeset/89354
994         https://bugs.webkit.org/show_bug.cgi?id=63099
995
996         Broke tests on Mac (Requested by rniwa on #webkit).
997
998         * WebCoreSupport/WebInspectorClient.cpp:
999         (WebInspectorClient::WebInspectorClient):
1000         (WebInspectorClient::openInspectorFrontend):
1001         (WebInspectorFrontendClient::destroyInspectorView):
1002         * WebCoreSupport/WebInspectorClient.h:
1003         * WebInspector.cpp:
1004         (WebInspector::createInstance):
1005         (WebInspector::WebInspector):
1006         (WebInspector::webViewClosed):
1007         (WebInspector::showConsole):
1008         (WebInspector::isDebuggingJavaScript):
1009         (WebInspector::toggleDebuggingJavaScript):
1010         (WebInspector::isProfilingJavaScript):
1011         (WebInspector::toggleProfilingJavaScript):
1012         (WebInspector::isJavaScriptProfilingEnabled):
1013         (WebInspector::setJavaScriptProfilingEnabled):
1014         (WebInspector::isTimelineProfilingEnabled):
1015         (WebInspector::setTimelineProfilingEnabled):
1016         * WebInspector.h:
1017         * WebView.cpp:
1018         (WebView::WebView):
1019         (WebView::close):
1020         (WebView::initWithFrame):
1021         (WebView::inspector):
1022         * WebView.h:
1023
1024 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
1025
1026         Reviewed by Yury Semikhatsky.
1027
1028         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
1029         https://bugs.webkit.org/show_bug.cgi?id=62985
1030
1031         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
1032         methods for plumbing the menu action handlers through the WebKit and WebCore.
1033         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
1034         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
1035         WebKit/win and WebKit2 to follow.
1036
1037         * WebInspector.cpp:
1038         (WebInspector::createInstance):
1039         (WebInspector::WebInspector):
1040         (WebInspector::webViewClosed):
1041         (WebInspector::showConsole):
1042         (WebInspector::isDebuggingJavaScript):
1043         (WebInspector::toggleDebuggingJavaScript):
1044         (WebInspector::isProfilingJavaScript):
1045         (WebInspector::toggleProfilingJavaScript):
1046         (WebInspector::isJavaScriptProfilingEnabled):
1047         (WebInspector::setJavaScriptProfilingEnabled):
1048         (WebInspector::isTimelineProfilingEnabled):
1049         (WebInspector::setTimelineProfilingEnabled):
1050         * WebInspector.h:
1051         * WebView.cpp:
1052         (WebView::WebView):
1053         (WebView::close):
1054         (WebView::initWithFrame):
1055         (WebView::inspector):
1056         * WebView.h:
1057
1058 2011-06-18  Dimitri Glazkov  <dglazkov@chromium.org>
1059
1060         Reviewed by Darin Adler.
1061
1062         Separate concerns of loading file icons and choosing files.
1063         https://bugs.webkit.org/show_bug.cgi?id=62931
1064
1065         * WebCoreSupport/WebChromeClient.cpp:
1066         (WebChromeClient::loadIconForFiles): Renamed.
1067         * WebCoreSupport/WebChromeClient.h:
1068
1069 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1070
1071         Unreviewed, rolling out r89026.
1072         http://trac.webkit.org/changeset/89026
1073         https://bugs.webkit.org/show_bug.cgi?id=62804
1074
1075         These patches were likely correct.  I'll investigate the
1076         browser_test failures. (Requested by abarth on #webkit).
1077
1078         * FullscreenVideoController.cpp:
1079         (FullscreenVideoController::play):
1080         (FullscreenVideoController::pause):
1081
1082 2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>
1083
1084         Unreviewed.
1085
1086         Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
1087         https://bugs.webkit.org/show_bug.cgi?id=62796
1088
1089         The patches broke chromium browser tests.
1090
1091         * FullscreenVideoController.cpp:
1092         (FullscreenVideoController::play):
1093         (FullscreenVideoController::pause):
1094
1095 2011-06-16  Adam Barth  <abarth@webkit.org>
1096
1097         Reviewed by Eric Seidel.
1098
1099         Remove HTMLVideoElement::processingUserGesture
1100         https://bugs.webkit.org/show_bug.cgi?id=62784
1101
1102         * FullscreenVideoController.cpp:
1103         (FullscreenVideoController::play):
1104         (FullscreenVideoController::pause):
1105
1106 2011-06-13  Kentaro Hara  <haraken@google.com>
1107
1108         Reviewed by Alexey Proskuryakov.
1109
1110         Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
1111         https://bugs.webkit.org/show_bug.cgi?id=61256
1112
1113         In order to prevent rounding error caused by expanding/shrinking a page
1114         using different calculation here and there, I added a common calculation
1115         method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
1116         keeping the ratio of width and height of the original page.
1117         WebFrame::setInPrintingMode() uses resizePageRectsKeepingRatio() to
1118         expand/shrink a page.
1119
1120         Test: printing/page-count-with-one-word.html
1121
1122         * WebFrame.cpp:
1123         (WebFrame::setPrinting):
1124         (WebFrame::setInPrintingMode):
1125         * WebFrame.h:
1126
1127 2011-06-12  MORITA Hajime  <morrita@google.com>
1128
1129         Unreviewed, rolling out r88625.
1130         http://trac.webkit.org/changeset/88625
1131         https://bugs.webkit.org/show_bug.cgi?id=61073
1132
1133         Breaks SL Webkit2 Tests
1134
1135         * WebKit.vcproj/WebKit.sln:
1136
1137 2011-06-12  Adam Barth  <abarth@webkit.org>
1138
1139         Reviewed by Alexey Proskuryakov.
1140
1141         Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
1142         https://bugs.webkit.org/show_bug.cgi?id=62516
1143
1144         * WebFrame.cpp:
1145         (WebFrame::interruptedForPolicyChangeError):
1146         * WebFrame.h:
1147
1148 2011-06-12  Dominic Cooney  <dominicc@chromium.org>
1149
1150         Reviewed by Hajime Morita.
1151
1152         Add window.internals to WebKit2's WebKitTestRunner.
1153         https://bugs.webkit.org/show_bug.cgi?id=61073
1154
1155         * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
1156
1157 2011-06-12  Adam Barth  <abarth@webkit.org>
1158
1159         Reviewed by Alexey Proskuryakov.
1160
1161         Remove trival "forward-to-client" member functions from FrameLoader
1162         https://bugs.webkit.org/show_bug.cgi?id=62510
1163
1164         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1165         (WebFrameNetworkingContext::blockedError):
1166
1167 2011-06-06  Michael Saboff  <msaboff@apple.com>
1168
1169         Reviewed by Geoffrey Garen.
1170
1171         Fonts returned by FontCache::getFontDataForCharacters() are never released
1172         https://bugs.webkit.org/show_bug.cgi?id=61875
1173
1174         This change allows fonts allocated as system fallback fonts to be
1175         released.  Previously, the reference counts for these fonts grew
1176         without bound.  This is implemented as an auto release class that wraps
1177         accesses to the cache for system fallback fonts. All such accesses are
1178         via the method FontCache::getFontDataForCharacters. The new class is
1179         called FontCachePurgePreventer. When such an object exists, it protects
1180         these fonts from deletion.
1181
1182         See more comments for this defect in Source/WebCore/ChangeLog.
1183
1184         * WebKitGraphics.cpp:
1185         (CenterTruncateStringToWidth):
1186         (RightTruncateStringToWidth):
1187         Wrapped code accessing fallback fonts with local
1188         FontCachePurgePreventer in these methods.
1189
1190 2011-06-04  Dominic Cooney  <dominicc@chromium.org>
1191
1192         Reviewed by Dimitri Glazkov.
1193
1194         Add WebCoreTestSupport project containing window.internals.
1195         https://bugs.webkit.org/show_bug.cgi?id=61076
1196
1197         * WebKit.vcproj/WebKit.sln:
1198
1199 2011-05-18  Anthony Johnson <anthony.johnson@flexsim.com>
1200
1201         Reviewed by Brent Fulgham.
1202
1203         Implement the ability to add C++ event listeners to html dom
1204         elements and dom window. 
1205         https://bugs.webkit.org/show_bug.cgi?id=60269
1206
1207         * DOMCoreClasses.cpp: Add new DOMWindow class and implementations.
1208         (DOMNode::QueryInterface): Report that the DOMNode implements
1209          the IDomEventTarget interface.
1210         (DOMNode::addEventListener): Add implementation of a COM-based
1211          event listener.
1212         (DOMNode::removeEventListener):
1213         (DOMNode::dispatchEvent): 
1214         (DOMDocument::createInstance):
1215         (DOMWindow::QueryInterface): New implementation.
1216         (DOMWindow::document): New implementation.
1217         (DOMWindow::getComputedStyle): Stub.
1218         (DOMWindow::getMatchedCSSRules): Stub.
1219         (DOMWindow::devicePixelRatio): Stub.
1220         (DOMWindow::addEventListener): New implementation.
1221         (DOMWindow::removeEventListener): New implementation.
1222         (DOMWindow::dispatchEvent): New implementation.
1223         (DOMWindow::DOMWindow): New implementation.
1224         (DOMWindow::~DOMWindow): New implementation.
1225         (DOMWindow::createInstance): New implementation.
1226         * DOMCoreClasses.h: Add new DOMWindow class and declarations.
1227         (DOMWindow::AddRef): New declaration.
1228         (DOMWindow::Release): New declaration.
1229         (DOMWindow::throwException): New declaration.
1230         (DOMWindow::callWebScriptMethod): New declaration.
1231         (DOMWindow::evaluateWebScript): New declaration.
1232         (DOMWindow::removeWebScriptKey): New declaration.
1233         (DOMWindow::stringRepresentation): New declaration.
1234         (DOMWindow::webScriptValueAtIndex): New declaration.
1235         (DOMWindow::setWebScriptValueAtIndex): New declaration.
1236         (DOMWindow::setException): New declaration.
1237         (DOMWindow::window): New declaration.
1238         * DOMEventsClasses.cpp: Add new WebEventListener and implementation.
1239         (DOMEventListener::handleEvent): New implementation.
1240         (WebEventListener::WebEventListener): New implementation.
1241         (WebEventListener::~WebEventListener): New implementation.
1242         (WebEventListener::operator==): New implementation.
1243         (WebEventListener::handleEvent): New implementation.
1244         (WebEventListener::create): New implementation.
1245         * DOMEventsClasses.h: Add new WebEventListener class declaration.
1246         * Interfaces/IWebFrame.idl: Add new DOMWindow accessor to the
1247          main Web Frame interface.
1248         * WebFrame.cpp: Add implementation of new DOMWindow creation method.
1249         (WebFrame::DOMWindow):
1250         * WebFrame.h: Add DOMWindow declaration.
1251
1252 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
1253
1254         Reviewed by Sam Weinig.
1255
1256         numberOfActiveAnimations() can include animations from documents in the page cache
1257         https://bugs.webkit.org/show_bug.cgi?id=53641
1258
1259         Pass the Frame's document as the one to count animations on.
1260
1261         * WebFrame.cpp:
1262         (WebFrame::numberOfActiveAnimations):
1263
1264 2011-05-20  Jer Noble  <jer.noble@apple.com>
1265
1266         Reviewed by Maciej Stachowiak.
1267
1268         Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa)
1269         https://bugs.webkit.org/show_bug.cgi?id=61108
1270
1271         * WebView.cpp:
1272         (WebView::fullScreenClientForceRepaint): Repaint the view and immediately notify the 
1273             full screen controller.
1274         * WebView.h:
1275
1276 2011-05-13  Jon Lee  <jonlee@apple.com>
1277
1278         Reviewed by Simon Fraser.
1279
1280         Can't horizontally scroll iframes and overflow because wheel events are always accepted
1281         https://bugs.webkit.org/show_bug.cgi?id=60779
1282
1283         * WebCoreSupport/WebChromeClient.h:
1284         (WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method
1285         (WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method
1286
1287 2011-05-13  Sam Weinig  <sam@webkit.org>
1288
1289         Reviewed by Anders Carlsson.
1290
1291         Prune #includes from FrameView.h (Part 2)
1292         https://bugs.webkit.org/show_bug.cgi?id=60748
1293
1294         - Update files that were depending on FrameView.h #including Frame.h or
1295           Page.h.
1296
1297         * WebCoreSupport/WebChromeClient.cpp:
1298         * WebCoreSupport/WebDragClient.cpp:
1299         * WebCoreSupport/WebFrameLoaderClient.cpp:
1300         * WebFrame.cpp:
1301         (WebFrame::setPrinting):
1302         * WebView.cpp:
1303
1304 2011-05-12  Patrick Gansterer  <paroga@webkit.org>
1305
1306         Reviewed by Adam Barth.
1307
1308         Enable OwnPtr strict mode in PluginHalter
1309         https://bugs.webkit.org/show_bug.cgi?id=60681
1310
1311         * WebView.cpp:
1312         (WebView::initWithFrame):
1313
1314 2011-05-12  Adam Roben  <aroben@apple.com>
1315
1316         A little gtest cleanup after r86287
1317
1318         * WebKit.vcproj/WebKit.sln:
1319             - Move gtest into the Tools folder
1320             - Make gtest build just before TestWebKitAPIGenerated
1321             - Use gtest's new Debug_All and Production configurations as appropriate
1322
1323 2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
1324
1325         Reviewed by Darin Adler.
1326
1327         String operator+ reallocates unnecessarily when concatting > 2 strings
1328         https://bugs.webkit.org/show_bug.cgi?id=58420
1329
1330         Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
1331
1332         * AccessibleBase.cpp:
1333         (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked.
1334
1335 2011-05-11  Dmitry Lomov  <dslomov@google.com>
1336
1337         Reviewed by David Levin.
1338
1339         https://bugs.webkit.org/show_bug.cgi?id=59561
1340         Switch TestWebKitAPI to GTest
1341
1342         Fixes Makefiles and WinCairo build as well
1343
1344         * WebKit.vcproj/WebKit.sln:
1345
1346 2011-05-11  Jessie Berlin  <jberlin@apple.com>
1347
1348         Reviewed by Steve Falkenburg.
1349
1350         [Windows WebKit2] Use cookies set in WebKit1
1351         https://bugs.webkit.org/show_bug.cgi?id=60274
1352
1353         * WebView.cpp:
1354         (WebView::setCacheModel):
1355         Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
1356
1357 2011-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1358
1359         Unreviewed, rolling out r86255.
1360         http://trac.webkit.org/changeset/86255
1361         https://bugs.webkit.org/show_bug.cgi?id=60660
1362
1363         REGRESSION (r86255): Lots of tests crashing in
1364         CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
1365         (WebKit2 Tests) (Requested by aroben on #webkit).
1366
1367         * WebView.cpp:
1368         (WebView::setCacheModel):
1369
1370 2011-05-11  Jessie Berlin  <jberlin@apple.com>
1371
1372         Reviewed by Steve Falkenburg.
1373
1374         [Windows WebKit2] Use cookies set in WebKit1
1375         https://bugs.webkit.org/show_bug.cgi?id=60274
1376
1377         * WebView.cpp:
1378         (WebView::setCacheModel):
1379         Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
1380
1381 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1382
1383         Unreviewed, rolling out r86108.
1384         http://trac.webkit.org/changeset/86108
1385         https://bugs.webkit.org/show_bug.cgi?id=60533
1386
1387         Broke makefile based builds and Cairo (Requested by weinig on
1388         #webkit).
1389
1390         * WebKit.vcproj/WebKit.sln:
1391
1392 2011-05-09  Dmitry Lomov  <dslomov@google.com>
1393
1394         Reviewed by Sam Weinig.
1395
1396         Switch TestWebKitAPI to GTest
1397         https://bugs.webkit.org/show_bug.cgi?id=59561
1398
1399         * WebKit.vcproj/WebKit.sln:
1400
1401 2011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1402
1403         Unreviewed, rolling out r86016.
1404         http://trac.webkit.org/changeset/86016
1405         https://bugs.webkit.org/show_bug.cgi?id=60445
1406
1407         caused crashes on the WK2 Windows bots (Requested by
1408         jessieberlin on #webkit).
1409
1410         * WebView.cpp:
1411         (WebView::setCacheModel):
1412
1413 2011-05-07  Jessie Berlin  <jberlin@apple.com>
1414
1415         Reviewed by Steve Falkenburg.
1416
1417         [Windows WebKit2] Use cookies set in WebKit1
1418         https://bugs.webkit.org/show_bug.cgi?id=60274
1419
1420         * WebView.cpp:
1421         (WebView::setCacheModel):
1422         Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
1423
1424 2011-05-06  Adam Roben  <aroben@apple.com>
1425
1426         Touch WebKit.idl to fix the build
1427
1428         I needed this on my own machine. Maybe others will need it, too.
1429
1430         * Interfaces/WebKit.idl:
1431
1432 2011-05-04  Philippe Normand  <pnormand@igalia.com>
1433
1434         Reviewed by Dimitri Glazkov.
1435
1436         Implement LayoutTestController::pseudoShadowId()
1437         https://bugs.webkit.org/show_bug.cgi?id=60034
1438
1439         * DOMCoreClasses.cpp:
1440         (DOMElement::shadowPseudoId):
1441         * DOMCoreClasses.h:
1442
1443 2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
1444
1445         Reviewed by Eric Seidel.
1446
1447         Rename SelectionController to FrameSelection
1448         https://bugs.webkit.org/show_bug.cgi?id=60234
1449
1450         * WebView.cpp:
1451
1452 2011-05-04  Ryosuke Niwa  <rniwa@webkit.org>
1453
1454         Windows build fix attempt after r85823
1455
1456         * WebCoreSupport/WebChromeClient.h:
1457         (WebChromeClient::webView):
1458         * WebView.cpp:
1459         (kit):
1460
1461 2011-05-04  Cris Neckar  <cdn@chromium.org>
1462
1463         Reviewed by Adam Barth.
1464
1465         Expose WebView directly through ChromeClient.
1466         https://bugs.webkit.org/show_bug.cgi?id=49902
1467
1468         * WebCoreSupport/WebChromeClient.h:
1469         (WebChromeClient::webView):
1470
1471 2011-05-04  Tao Bai  <michaelbai@chromium.org>
1472
1473         Reviewed by David Kilzer.
1474
1475         Populate touch-icon url to FrameLoaderClient
1476         https://bugs.webkit.org/show_bug.cgi?id=59143
1477
1478         Respect the interface change in FrameLoaderClient.
1479
1480         * WebCoreSupport/WebFrameLoaderClient.cpp:
1481         (WebFrameLoaderClient::dispatchDidChangeIcons):
1482         * WebCoreSupport/WebFrameLoaderClient.h:
1483
1484 2011-05-02  Jer Noble  <jer.noble@apple.com>
1485
1486         Reviewed by Adam Roben.
1487
1488         Implement FULLSCREEN_API on Windows, Part 3: WebKit2
1489         https://bugs.webkit.org/show_bug.cgi?id=59845
1490
1491         Implementation of WebFullScreenController has been moved into WebCore, and 
1492         required virutal functions of WebFullScreenControllerClient have been added to
1493         WebView.  These functions are mostly simple accessors of existing ivars, but 
1494         m_fullScreenElement and its accessors have also been added to WebView.
1495
1496         * WebCoreSupport/WebChromeClient.cpp:
1497         (WebChromeClient::enterFullScreenForElement):
1498         * WebFullScreenController.cpp: Removed.
1499         * WebKit.vcproj/WebKit.vcproj:
1500         * WebView.cpp:
1501         (WebView::setFullScreenElement): Added accessor.
1502         (WebVIew::fullScreenElement): Ditto.
1503         (WebView::fullScreenClientWindow): Ditto.
1504         (WebView::fullScreenClientParentWindow): Ditto.
1505         (WebView::fullScreenClientSetParentWindow): Ditto.
1506         (WebView::fullScreenClientWillEnterFullScreen): Pass through to Document.
1507         (WebView::fullScreenClientDidEnterFullScreen): Ditto.
1508         (WebView::fullScreenClientWillExitFullScreen): Ditto.
1509         (WebView::fullScreenClientDidExitFullScreen): Ditto.
1510         * WebView.h:
1511
1512 2011-05-03  Brian Weinstein  <bweinstein@apple.com>
1513
1514         Reviewed by Steve Falkenburg.
1515
1516         REGRESSION(r84990): Nightly builds don't launch on Windows
1517         https://bugs.webkit.org/show_bug.cgi?id=60081
1518         <rdar://problem/9358635>
1519         
1520         Fix nightlies on Window by moving the layered window functions to the bottom
1521         of IWebViewPrivate and touch WebKit.idl to make sure Interfaces rebuild.
1522
1523         * Interfaces/IWebViewPrivate.idl: Move functions added in r84990 to the bottom of the file.
1524         * Interfaces/WebKit.idl: Touch to force a rebuild.
1525
1526 2011-05-03  David Kilzer  <ddkilzer@apple.com>
1527
1528         <http://webkit.org/b/59838> Implement HTTP pipelining for CoreFoundation-based networking
1529
1530         Reviewed by Antti Koivisto.
1531
1532         * Interfaces/IWebViewPrivate.idl:
1533         (IWebViewPrivate::httpPipeliningEnabled): Added declaration.
1534         (IWebViewPrivate::setHTTPPipeliningEnabled): Added declaration.
1535         * WebView.cpp:
1536         (WebView::httpPipeliningEnabled): Added.
1537         (WebView::setHTTPPipeliningEnabled): Added.
1538         * WebView.h:
1539         (WebView::httpPipeliningEnabled): Added declaration.
1540         (WebView::setHTTPPipeliningEnabled): Added declaration.
1541
1542 2011-05-03  Adam Roben  <aroben@apple.com>
1543
1544         Add some missing virtual keywords on derived-class destructors
1545
1546         Darin Adler noticed one, I noticed the other. This doesn't change the generated code; it
1547         just matches our style of explicitly marking overrides "virtual".
1548
1549         * WebCoreSupport/WebInspectorClient.h: Made the WebInspectorClient and
1550         WebInspectorFrontendClient destructors explicitly virtual.
1551
1552 2011-05-03  Adam Roben  <aroben@apple.com>
1553
1554         Fix most strict PassOwnPtr violations on Windows
1555
1556         Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr
1557         enabled
1558
1559         Reviewed by Anders Carlsson.
1560
1561         * WebCoreSupport/WebInspectorClient.h: Made the destructor public, which is required now
1562         that this type is put into a PassOwnPtr. (Previously, only
1563         WebCore::InspectorFrontendClientLocal was put into a [Pass]OwnPtr.)
1564
1565         * FullscreenVideoController.cpp:
1566         * WebCoreSupport/WebFrameLoaderClient.cpp:
1567         * WebCoreSupport/WebInspectorClient.cpp:
1568         * WebHistory.cpp:
1569         * WebHistoryItem.cpp:
1570         * WebView.cpp:
1571
1572 2011-05-01  Sam Weinig  <sam@webkit.org>
1573
1574         Fix windows build.
1575
1576         * WebFrame.cpp:
1577
1578 2011-05-01  Patrick Gansterer  <paroga@webkit.org>
1579
1580         Reviewed by Adam Barth.
1581
1582         Fix OwnPtr strict issues in windows build
1583         https://bugs.webkit.org/show_bug.cgi?id=59878
1584
1585         * FullscreenVideoController.cpp:
1586         (FullscreenVideoController::FullscreenVideoController):
1587         (FullscreenVideoController::createHUDWindow):
1588         * WebCoreSupport/WebInspectorClient.cpp:
1589         (WebInspectorClient::highlight):
1590         * WebElementPropertyBag.cpp:
1591         (WebElementPropertyBag::WebElementPropertyBag):
1592         * WebNodeHighlight.cpp:
1593         (WebNodeHighlight::update):
1594         * WebNotificationCenter.cpp:
1595         (WebNotificationCenter::WebNotificationCenter):
1596         * WebView.cpp:
1597         (WebView::close):
1598         (WebView::paint):
1599         (WebView::handleMouseEvent):
1600         (WebView::registerEmbeddedViewMIMEType):
1601
1602 2011-04-29  Jer Noble  <jer.noble@apple.com>
1603
1604         Reviewed by Adam Roben.
1605
1606         Implement FULLSCREEN_API on Windows, Part 2: WebKit
1607         https://bugs.webkit.org/show_bug.cgi?id=59785
1608
1609         Initial implementation of full screen API on windows.  No animation
1610         occurs when entering or exiting full screen.  Re-use existing window
1611         classes (MediaPlayerPrivateFullscreenWindow) to host the webView.
1612
1613         * WebCoreSupport/WebChromeClient.cpp:
1614         (WebChromeClient::supportsFullScreenForElement): Call into WebView.
1615         (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController.
1616         (WebChromeClient::exitFullScreenForElement): Ditto.
1617         * WebFullScreenController.cpp: Added.
1618         (WebFullScreenController::Private::Private): Private data storage class.
1619         (WebFullScreenController::Private::~Private):
1620         (WebFullScreenController::Private::fullscreenClientWndProc): Handle window
1621             message for full screen window.
1622         (WebFullScreenController::WebFullScreenController):
1623         (WebFullScreenController::~WebFullScreenController):
1624         (WebFullScreenController::setElement): Added.
1625         (WebFullScreenController::element): Added.
1626         (WebFullScreenController::isFullScreen): Added.
1627         (WebFullScreenController::enterFullScreen): Create and display full screen
1628             window, moving webView as child window.
1629         (WebFullScreenController::exitFullScreen): Destroy full screen window and
1630             move webView back where we found it.
1631         * WebFullScreenController.h: Added.
1632         * WebKit.vcproj/WebKit.vcproj:
1633         * WebView.cpp:
1634         (WebView::keyDown): Handle the ESC key.
1635         (WebView::notifyPreferencesChanged):
1636         (WebView::supportsFullScreenForElement): Do not support full screen if
1637             full screen preference is disabled, or if keyboard access is requested.
1638         (WebView::isFullScreen): Added.
1639         (WebView::fullScreenController): Added.
1640         * WebView.h:
1641
1642 2011-04-28  Jer Noble  <jer.noble@apple.com>
1643
1644         Reviewed by Jon Honeycutt.
1645
1646         Implement FULLSCREEN_API on Windows, Part 1: Stubs
1647         https://bugs.webkit.org/show_bug.cgi?id=59778
1648
1649         Create all the stubs necessary to for enabling FULLSCREEN_API
1650         on Windows. This includes the COM interfaces for preferences and
1651         for overriding full screen behavior in a UI Delegate.
1652
1653         * Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling
1654             full screen preference.
1655         * Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding
1656             full screen behavior.
1657         * WebCoreSupport/WebChromeClient.cpp:
1658         (WebChromeClient::supportsFullScreenForElement): Added.
1659         (WebChromeClient::enterFullScreenForElement): Added.
1660         (WebChromeClient::exitFullScreenForElement): Added.
1661         * WebCoreSupport/WebChromeClient.h:
1662         * WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key.
1663         * WebPreferences.cpp:
1664         (WebPreferences::isFullScreenEnabled): Added. Implements function
1665            defined in IWebUIDelegatePrivate.
1666         (WebPreferences::setFullScreenEnabled): Ditto.
1667         * WebPreferences.h:
1668
1669 2011-04-28  Adam Barth  <abarth@webkit.org>
1670
1671         Reviewed by Eric Seidel.
1672
1673         Remove WML
1674         https://bugs.webkit.org/show_bug.cgi?id=59678
1675
1676         Remove WML-related enumeration.
1677
1678         * Interfaces/IWebFramePrivate.idl:
1679
1680 2011-04-26  Brent Fulgham  <bfulgham@webkit.org>
1681
1682         Reviewed by Adam Roben.
1683
1684         Implement a transparent WebView under Windows.  This feature
1685         allows the user to create small web-based applications, similar
1686         to the dashboard on Mac OS X.
1687         https://bugs.webkit.org/show_bug.cgi?id=58300
1688
1689         * Interfaces/IWebViewPrivate.idl: Add new set/get accessors to
1690         change the state of a WebView into a Layered Window, or back
1691         into a standard window.
1692         * Interfaces/WebKit.idl: touch to force clean build
1693         * WebView.cpp:
1694         (WebView::WebView): Set layered window state in constructor.
1695         (WebView::updateBackingStore): Cleanup old bitmap when finished.
1696         (WebView::performLayeredWindowUpdate): New method to do the work
1697         of calling ::UpdateLayeredWindow for the WebView with proper
1698         alpha blending.
1699         (WebView::paint): Small change to prevent accelerated compositing
1700         when using a layered window.  DirectX is not compatible with
1701         ::UpdateLayeredWindow (at least currently).
1702         (WebView::WebViewWndProc): Adjust main window procedure to avoid
1703         painting a default background on a layered window (this is handled
1704         by Windows during compositing), and to deal with paint messages
1705         properly in the layered window case.
1706         (WebView::active): The layered window is not a child window,
1707         so the active state logic is slightly different.
1708         (WebView::setUsesLayeredWindow): New set method for layered stated.
1709         When called, it will convert a WebView into a Layered Window.
1710         (WebView::usesLayeredWindow): Accessor
1711         * WebView.h:
1712         (WebView::setUsesLayeredWindow): Declare new accessor
1713         (WebView::usesLayeredWindow): Declare new accessor
1714
1715 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
1716
1717         Windows build fix.
1718
1719         * WebCoreSupport/WebEditorClient.h:
1720
1721 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
1722
1723         Reviewed by Sam Weinig.
1724
1725         Add Frame* to the argument lists of canCopyCut and canPaste
1726         https://bugs.webkit.org/show_bug.cgi?id=59153
1727
1728         * WebCoreSupport/WebEditorClient.cpp:
1729         (WebEditorClient::canCopyCut):
1730         (WebEditorClient::canPaste):
1731         * WebCoreSupport/WebEditorClient.h:
1732
1733 2011-04-20  Brent Fulgham  <bfulgham@webkit.org>
1734
1735         Reviewed by Martin Robinson.
1736
1737         Provide missing implementation of WebMutableURLRequest::mutableCopy.
1738         This was preventing DumpRenderTree from working properly under
1739         the WinCairo port.
1740         https://bugs.webkit.org/show_bug.cgi?id=59034
1741
1742         * WebMutableURLRequest.cpp:
1743         (WebMutableURLRequest::mutableCopy): Implement cURL version of the
1744         copy operation.
1745
1746 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
1747
1748         Reviewed by Pavel Feldman.
1749
1750         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
1751         https://bugs.webkit.org/show_bug.cgi?id=58883
1752
1753         * WebCoreSupport/WebFrameLoaderClient.h:
1754
1755 2011-04-18  Timothy Hatcher  <timothy@apple.com>
1756
1757         Remove the two commands that make en.lproj and copy Localizable.strings.
1758
1759         Rubber-stamped by Adam Roben.
1760
1761         * WebKit.vcproj/WebKitLibPostBuild.cmd:
1762
1763 2011-04-18  Patrick Gansterer  <paroga@webkit.org>
1764
1765         Reviewed by Adam Roben.
1766
1767         Include <WebCore/COMPtr.h> instead of "COMPtr.h"
1768         https://bugs.webkit.org/show_bug.cgi?id=58744
1769
1770         * DOMCoreClasses.cpp:
1771         * DOMHTMLClasses.cpp:
1772         * WebActionPropertyBag.cpp:
1773         * WebBackForwardList.cpp:
1774         * WebCoreSupport/WebGeolocationClient.h:
1775         * WebDownload.h:
1776         * WebDropSource.h:
1777         * WebFrame.cpp:
1778         * WebHistoryItem.cpp:
1779         * WebIconDatabase.cpp:
1780         * WebNavigationData.h:
1781         * WebPreferences.cpp:
1782         * WebResource.h:
1783         * WebURLAuthenticationChallenge.cpp:
1784         * WebURLAuthenticationChallengeSender.cpp:
1785         * WebURLAuthenticationChallengeSenderCFNet.cpp:
1786         * WebURLAuthenticationChallengeSenderCurl.cpp:
1787         * WebView.h:
1788
1789 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
1790
1791         Reviewed by Adam Barth.
1792
1793         Rename PLATFORM(CG) to USE(CG)
1794         https://bugs.webkit.org/show_bug.cgi?id=58729
1795
1796         * WebFrame.cpp:
1797         (WebFrame::spoolPages):
1798         * WebFrame.h:
1799         * WebPreferences.cpp:
1800         (WebPreferences::setFontSmoothing):
1801         (WebPreferences::setFontSmoothingContrast):
1802         * WebView.cpp:
1803         (systemParameterChanged):
1804
1805 2011-04-16  Sam Weinig  <sam@webkit.org>
1806
1807         Reviewed by Simon Fraser.
1808
1809         Windows should use WebCore localized strings
1810         <rdar://problem/9119405>
1811         https://bugs.webkit.org/show_bug.cgi?id=58733
1812
1813         * WebCoreSupport/WebEditorClient.cpp:
1814         (undoNameForEditAction):
1815         (WebEditorClient::registerCommandForUndo):
1816         * WebPreferences.cpp:
1817         (WebPreferences::initializeDefaultSettings):
1818         * WebURLResponse.cpp:
1819         (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
1820         (WebURLResponse::localizedStringForStatusCode):
1821         Change to use WEB_UI_STRING.
1822
1823         * WebCoreSupport/WebPlatformStrategies.cpp:
1824         * WebCoreSupport/WebPlatformStrategies.h:
1825         Remove the localization strategy in favor of using the default one.
1826
1827 2011-04-16  Patrick Gansterer  <paroga@webkit.org>
1828
1829         Reviewed by Eric Seidel.
1830
1831         Rename PLATFORM(CAIRO) to USE(CAIRO)
1832         https://bugs.webkit.org/show_bug.cgi?id=55192
1833
1834         * WebFrame.cpp:
1835         (WebFrame::spoolPages):
1836         * WebFrame.h:
1837
1838 2011-04-14  Adam Roben  <aroben@apple.com>
1839
1840         Replace some known-to-fail assertions with FIXMEs
1841
1842         These assertions get hit during various layout tests. They indicate that we're sometimes
1843         doing some extra work when a page goes into accelerated compositing mode, but otherwise
1844         there's no bad effect.
1845
1846         See <http://webkit.org/b/58539> for more details.
1847
1848         Rubber-stamped by John Sullivan.
1849
1850         * WebView.cpp:
1851         (WebView::paintIntoBackingStore):
1852         (WebView::paintIntoWindow):
1853         Replaced assertions with FIXMEs.
1854
1855 2011-04-13  James Robinson  <jamesr@chromium.org>
1856
1857         Reviewed by Simon Fraser.
1858
1859         Allow setting composited backing stores for scrollbars and scroll corners
1860         https://bugs.webkit.org/show_bug.cgi?id=57202
1861
1862         Update WebScrollBar to reflect ScrollableArea interface changes.
1863
1864         * WebScrollBar.h:
1865         (WebScrollBar::invalidateScrollCornerRect):
1866         (WebScrollBar::scrollCornerPresent):
1867         (WebScrollBar::scrollCornerRect):
1868
1869 2011-04-12  Alice Liu  <alice.liu@apple.com>
1870
1871         Reviewed by Sam Weinig.
1872
1873         https://bugs.webkit.org/show_bug.cgi?id=58292
1874         Provide new setting to allow site icon loading despite disabling automatic image loading in general.
1875
1876         * Interfaces/IWebPreferencesPrivate.idl: Added prefs. 
1877         * Interfaces/WebKit.idl: Touch file to force autogeneration
1878         * WebPreferenceKeysPrivate.h: Add preference key.
1879         * WebPreferences.cpp:
1880         (WebPreferences::initializeDefaultSettings): Initialize setting to false.
1881         (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter
1882         (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter
1883         * WebPreferences.h:
1884         * WebView.cpp:
1885         (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes.
1886
1887 2011-04-11  Alexey Proskuryakov  <ap@apple.com>
1888
1889         Reviewed by Maciej Stachowiak.
1890
1891         WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
1892         https://bugs.webkit.org/show_bug.cgi?id=58265
1893         <rdar://problem/9221468>
1894
1895         * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary
1896         now that WebCore implements it.
1897
1898 2011-04-06  Brian Weinstein  <bweinstein@apple.com>
1899
1900         Reviewed by Adam Roben.
1901
1902         WebKit2: Support Windows 7 Gestures
1903         https://bugs.webkit.org/show_bug.cgi?id=49824
1904         <rdar://problem/8689728>
1905         
1906         Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
1907         used in both WebKit and WebKit2.
1908
1909         * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
1910         * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
1911         * WindowsTouch.h: Removed.
1912
1913 2011-04-05  Martin Robinson  <mrobinson@igalia.com>
1914
1915         Reviewed by Eric Seidel.
1916
1917         [Cairo] Better separate the concerns of GraphicsContextCairo
1918         https://bugs.webkit.org/show_bug.cgi?id=55150
1919
1920         * WebFrame.cpp:
1921         (hdcFromContext): Modify this method to take PlatformContextCairo
1922         instead of a cairo_t.
1923         (WebFrame::spoolPage): Update to reflect new platform context.
1924         (WebFrame::spoolPages): Ditto.
1925         * WebFrame.h: Ditto.
1926
1927 2011-04-04  MORITA Hajime  <morrita@google.com>
1928
1929         Reviewed by Ryosuke Niwa.
1930
1931         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
1932         https://bugs.webkit.org/show_bug.cgi?id=56085
1933
1934         * WebCoreSupport/WebEditorClient.h:
1935         (WebEditorClient::requestCheckingOfString):
1936
1937 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
1938
1939         Reviewed by Dan Bernstein.
1940
1941         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
1942         https://bugs.webkit.org/show_bug.cgi?id=51230
1943         <rdar://problem/8780989>
1944
1945         * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore,
1946         because WebKit shouldn't be smart.
1947
1948 2011-04-04  Steve Falkenburg  <sfalken@apple.com>
1949
1950         Reviewed by Adam Roben.
1951
1952         Remove unused AnalyzeWithLargeStack code from Windows build files
1953         https://bugs.webkit.org/show_bug.cgi?id=57771
1954         
1955         This was used for us to build with prefast automatically,
1956         but it is out-of-date and hasn't been used for some time.
1957         Removing completely for now.
1958
1959         * WebKit.vcproj/WebKitLibPreBuild.cmd:
1960
1961 2011-04-01  Adam Roben  <aroben@apple.com>
1962
1963         Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received
1964
1965         This will ensure we don't try to process any window messages after the window has been
1966         destroyed.
1967
1968         Covered by existing tests.
1969
1970         Fixes <http://webkit.org/b/55054>.
1971
1972         Reviewed by Steve Falkenburg and John Sullivan.
1973
1974         * WebView.cpp:
1975         (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
1976         out the this pointer from the HWND.
1977         (WebView::WebViewWndProc): Changed a runtime check into an assertion.
1978
1979         * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.
1980
1981 2011-03-31  Evan Martin  <evan@chromium.org>
1982
1983         Reviewed by Eric Seidel.
1984
1985         <title> should support dir attribute
1986         https://bugs.webkit.org/show_bug.cgi?id=50961
1987
1988         Update to new FrameLoaderClient interface.
1989
1990         * WebCoreSupport/WebFrameLoaderClient.cpp:
1991         (WebFrameLoaderClient::dispatchDidReceiveTitle):
1992         * WebCoreSupport/WebFrameLoaderClient.h:
1993
1994 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
1995
1996         Reviewed by Adam Roben.
1997
1998         Share most vsprops between Release and Production builds in releaseproduction.vsprops
1999         https://bugs.webkit.org/show_bug.cgi?id=57508
2000
2001         * WebKit.vcproj/InterfacesProduction.vsprops:
2002         * WebKit.vcproj/InterfacesRelease.vsprops:
2003         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
2004         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
2005         * WebKit.vcproj/WebKitGUIDRelease.vsprops:
2006         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
2007         * WebKit.vcproj/WebKitLibProduction.vsprops:
2008         * WebKit.vcproj/WebKitLibRelease.vsprops:
2009         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
2010
2011 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
2012
2013         Reviewed by Adam Roben.
2014
2015         Update Windows production build logic for new production configurations
2016         https://bugs.webkit.org/show_bug.cgi?id=57494
2017
2018         * WebKit.vcproj/InterfacesProduction.vsprops:
2019         * WebKit.vcproj/WebKit.make:
2020         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
2021         * WebKit.vcproj/WebKitLibProduction.vsprops:
2022
2023 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
2024
2025         Reviewed by Adam Roben.
2026
2027         Rename Windows configuration Release_LTCG to Production for clarity
2028         https://bugs.webkit.org/show_bug.cgi?id=57465
2029
2030         * WebKit.vcproj/Interfaces.vcproj:
2031         * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
2032         * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
2033         * WebKit.vcproj/WebKit.sln:
2034         * WebKit.vcproj/WebKit.submit.sln:
2035         * WebKit.vcproj/WebKit.vcproj:
2036         * WebKit.vcproj/WebKitGUID.vcproj:
2037         * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
2038         * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
2039         * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
2040         * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
2041
2042 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2043
2044         Reviewed by Adam Roben.
2045
2046         [WIN] Remove unused GEN_DOMObject files
2047         https://bugs.webkit.org/show_bug.cgi?id=57370
2048
2049         * GEN_DOMObject.cpp: Removed.
2050         * GEN_DOMObject.h: Removed.
2051
2052 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
2053
2054         More build fix.
2055
2056         * WebCoreSupport/WebPlatformStrategies.h:
2057
2058 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
2059
2060         Build fix.
2061
2062         * WebCoreSupport/WebPlatformStrategies.cpp:
2063         (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
2064
2065 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2066
2067         Unreviewed. Try to fix Windows build.
2068
2069         * DOMEventsClasses.cpp: Added initguid.h again.
2070
2071 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2072
2073         Reviewed by Adam Roben.
2074
2075         [WIN] Cleanup includes in WebKit files
2076         https://bugs.webkit.org/show_bug.cgi?id=57381
2077
2078         Add missing includes to fix build without precompiled header.
2079         Also fix paths in #include statements (e.g. WTF -> wtf).
2080
2081         * AccessibleBase.h:
2082         * AccessibleDocument.h: Replace using statement with a qualified name.
2083         * CFDictionaryPropertyBag.h:
2084         * DOMEventsClasses.cpp:
2085         * DOMHTMLClasses.h:
2086         * DefaultDownloadDelegate.cpp:
2087         * DefaultDownloadDelegate.h:
2088         * DefaultPolicyDelegate.cpp:
2089         * DefaultPolicyDelegate.h:
2090         * WebCoreSupport/EmbeddedWidget.h:
2091         * WebCoreSupport/WebInspectorDelegate.h:
2092         * WebDataSource.h:
2093         * WebDatabaseManager.h:
2094         * WebElementPropertyBag.h:
2095         * WebFramePolicyListener.h:
2096         * WebGeolocationPolicyListener.h:
2097         * WebHistory.h:
2098         * WebKitClassFactory.h:
2099         * WebScriptWorld.h:
2100         * WebSerializedJSValue.h:
2101         * WebUserContentURLPattern.h:
2102
2103 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
2104
2105         Reviewed by Darin Adler.
2106
2107         Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
2108         https://bugs.webkit.org/show_bug.cgi?id=57383
2109
2110         Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
2111         InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
2112         the IDE. To avoid this, add a separate vsprops file for each project configuration that
2113         contains the required inherited property sheets.
2114
2115         * WebKit.vcproj/Interfaces.vcproj:
2116         * WebKit.vcproj/InterfacesDebug.vsprops: Added.
2117         * WebKit.vcproj/InterfacesDebugAll.vsprops: Added.
2118         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added.
2119         * WebKit.vcproj/InterfacesRelease.vsprops: Added.
2120         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added.
2121         * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added.
2122         * WebKit.vcproj/WebKit.vcproj:
2123         * WebKit.vcproj/WebKitGUID.vcproj:
2124         * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added.
2125         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added.
2126         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added.
2127         * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added.
2128         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added.
2129         * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added.
2130         * WebKit.vcproj/WebKitLibDebug.vsprops: Added.
2131         * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added.
2132         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added.
2133         * WebKit.vcproj/WebKitLibRelease.vsprops: Added.
2134         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added.
2135         * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added.
2136
2137 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2138
2139         Reviewed by Adam Roben.
2140
2141         Remove #pragma warning push and pop statements
2142         https://bugs.webkit.org/show_bug.cgi?id=57198
2143
2144         We do not need to disable warnings via #pragma since we started
2145         compiling WebCore with the same compiler warnings flags as WebKit.
2146
2147         * DOMCSSClasses.cpp:
2148         * DOMCoreClasses.cpp:
2149         * DOMEventsClasses.cpp:
2150         * DOMHTMLClasses.cpp:
2151         * DefaultDownloadDelegate.cpp:
2152         * DefaultPolicyDelegate.cpp:
2153         * MarshallingHelpers.cpp:
2154         * WebActionPropertyBag.cpp:
2155         * WebActionPropertyBag.h:
2156         * WebCache.cpp:
2157         * WebCoreSupport/WebDragClient.cpp:
2158         * WebCoreSupport/WebEditorClient.cpp:
2159         * WebCoreSupport/WebEditorClient.h:
2160         * WebCoreSupport/WebFrameLoaderClient.cpp:
2161         * WebCoreSupport/WebFrameLoaderClient.h:
2162         * WebCoreSupport/WebInspectorClient.cpp:
2163         * WebDocumentLoader.h:
2164         * WebDownload.cpp:
2165         * WebDownloadCFNet.cpp:
2166         * WebDownloadCurl.cpp:
2167         * WebElementPropertyBag.cpp:
2168         * WebError.cpp:
2169         * WebError.h:
2170         * WebFrame.cpp:
2171         * WebFrame.h:
2172         * WebFramePolicyListener.cpp:
2173         * WebFramePolicyListener.h:
2174         * WebHistory.cpp:
2175         * WebHistoryItem.cpp:
2176         * WebIconDatabase.cpp:
2177         * WebIconDatabase.h:
2178         * WebInspector.cpp:
2179         * WebJavaScriptCollector.cpp:
2180         * WebKitGraphics.cpp:
2181         * WebKitSystemBits.cpp:
2182         * WebLocalizableStrings.cpp:
2183         * WebMutableURLRequest.cpp:
2184         * WebMutableURLRequest.h:
2185         * WebNodeHighlight.cpp:
2186         * WebNodeHighlight.h:
2187         * WebNotificationCenter.cpp:
2188         * WebResource.cpp:
2189         * WebResource.h:
2190         * WebScrollBar.cpp:
2191         * WebScrollBar.h:
2192         * WebURLAuthenticationChallenge.cpp:
2193         * WebURLAuthenticationChallenge.h:
2194         * WebURLAuthenticationChallengeSender.cpp:
2195         * WebURLAuthenticationChallengeSenderCFNet.cpp:
2196         * WebURLAuthenticationChallengeSenderCurl.cpp:
2197         * WebURLCredential.cpp:
2198         * WebURLCredential.h:
2199         * WebURLProtectionSpace.cpp:
2200         * WebURLProtectionSpace.h:
2201         * WebURLResponse.cpp:
2202         * WebURLResponse.h:
2203
2204 2011-03-29  Brent Fulgham  <bfulgham@webkit.org>
2205
2206         Unreviewed build fix after r82247.
2207
2208         * WebMutableURLRequest.cpp: The new CertificateCFWin routines
2209         are not CFNetwork-specific. All CF-based ports can use them.
2210
2211 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2212
2213         Reviewed by Adam Roben.
2214
2215         [WIN] Use WCHAR instead of TCHAR
2216         https://bugs.webkit.org/show_bug.cgi?id=57191
2217
2218         We always use the UNICODE versions of windows functions, so
2219         the usage of TCHAR makes no sense and mixing them is bad style.
2220
2221         * DefaultDownloadDelegate.cpp:
2222         * WebCoreSupport/WebChromeClient.cpp:
2223         * WebCoreSupport/WebContextMenuClient.cpp:
2224         * WebCoreSupport/WebInspectorClient.cpp:
2225         * WebKitDLL.cpp:
2226         * WebNotificationCenter.cpp:
2227         * WebPreferences.cpp:
2228         * WebURLResponse.cpp:
2229         * WebView.cpp:
2230
2231 2011-03-29  Jeff Miller  <jeffm@apple.com>
2232
2233         Reviewed by Jon Honeycutt.
2234
2235         Add WebCore::copyCertificateToData() on Windows
2236         https://bugs.webkit.org/show_bug.cgi?id=57296
2237
2238         Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead. 
2239
2240         * WebMutableURLRequest.cpp:
2241         (WebMutableURLRequest::setClientCertificate):  Use WebCore::copyCertificateToData().
2242
2243 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
2244
2245         Reviewed by Adam Roben.
2246
2247         [WIN] Remove unused DOMCreateInstance files
2248         https://bugs.webkit.org/show_bug.cgi?id=57193
2249
2250         * DOMCreateInstance.cpp: Removed.
2251         * DOMCreateInstance.h: Removed.
2252
2253 2011-03-28  Adele Peterson  <adele@apple.com>
2254
2255         Build fix.
2256         
2257         * WebFrame.cpp: (WebFrame::hasSpellingMarker):
2258         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
2259
2260 2011-03-28  Jeff Miller  <jeffm@apple.com>
2261
2262         Reviewed by Adam Roben.
2263
2264         Include certificate when sending a WebCore::ResourceError to UI process on Windows
2265         https://bugs.webkit.org/show_bug.cgi?id=57195
2266         
2267         Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*.
2268
2269         * WebError.cpp:
2270         (WebError::sslPeerCertificate):
2271         * WebURLResponse.cpp:
2272         (WebURLResponse::sslPeerCertificate):
2273
2274 2011-03-28  Darin Adler  <darin@apple.com>
2275
2276         Set eol-style to native on more files. I noticed the last check-in had an entire file
2277         changing because of an EOL style change, and setting this property prevents that from
2278         happening in future. We may want to do this systematically for more of WebKit later.
2279
2280         * AccessibleBase.cpp: Added property svn:eol-style.
2281         * AccessibleBase.h: Added property svn:eol-style.
2282         * AccessibleDocument.cpp: Added property svn:eol-style.
2283         * AccessibleDocument.h: Added property svn:eol-style.
2284         * AccessibleImage.cpp: Added property svn:eol-style.
2285         * AccessibleImage.h: Added property svn:eol-style.
2286         * COMVariantSetter.h: Added property svn:eol-style.
2287         * FullscreenVideoController.cpp: Added property svn:eol-style.
2288         * FullscreenVideoController.h: Added property svn:eol-style.
2289         * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style.
2290         * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style.
2291         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style.
2292         * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style.
2293         * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style.
2294         * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style.
2295         * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style.
2296         * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style.
2297         * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style.
2298         * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style.
2299         * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style.
2300
2301 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
2302
2303         Unreviewed build fix.
2304
2305         * COMPropertyBag.h: Added missing include.
2306         * WebKitCOMAPI.h: Ditto.
2307         * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration.
2308
2309 2011-03-25  Sam Weinig  <sam@webkit.org>
2310
2311         Reviewed by Jon Honeycutt.
2312
2313         WebScrollBar not updating when calling WebScrollBar::setValue.
2314         <rdar://problem/9143871>
2315
2316         * WebScrollBar.cpp:
2317         (WebScrollBar::setValue):
2318         Call scrollToOffsetWithoutAnimation to actually update the scroll position.
2319
2320 2011-03-25  Andy Estes  <aestes@apple.com>
2321
2322         Reviewed by Adele Peterson.
2323
2324         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
2325         https://bugs.webkit.org/show_bug.cgi?id=49016
2326
2327         Update objectContentType() implementation to handle the
2328         shouldPreferPlugInsForImages flag.
2329
2330         * WebFrame.cpp:
2331         (WebFrame::objectContentType):
2332         * WebFrame.h:
2333
2334 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2335
2336         Unreviewed, rolling out r81916 and r81917.
2337         http://trac.webkit.org/changeset/81916
2338         http://trac.webkit.org/changeset/81917
2339         https://bugs.webkit.org/show_bug.cgi?id=57071
2340
2341         broke a test on platforms that do not have QuickTime installed
2342         (Requested by estes on #webkit).
2343
2344         * WebFrame.cpp:
2345         (WebFrame::objectContentType):
2346         * WebFrame.h:
2347
2348 2011-03-24  Andy Estes  <aestes@apple.com>
2349
2350         Reviewed by Darin Adler.
2351
2352         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
2353         https://bugs.webkit.org/show_bug.cgi?id=49016
2354
2355         Update objectContentType() implementation to handle the
2356         shouldPreferPlugInsForImages flag.
2357
2358         * WebFrame.cpp:
2359         (WebFrame::objectContentType):
2360         * WebFrame.h:
2361
2362 2011-03-23  Brady Eidson  <beidson@apple.com>
2363
2364         Reviewed by Sam Weinig.
2365
2366         Change IconDatabase opening to allow for arbitrary filenames
2367         https://bugs.webkit.org/show_bug.cgi?id=56977
2368
2369         * WebIconDatabase.cpp:
2370         (WebIconDatabase::startUpIconDatabase):
2371
2372 2011-03-22  Brady Eidson  <beidson@apple.com>
2373
2374         Reviewed by Sam Weinig.
2375
2376         <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
2377         WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
2378
2379         Note that while the new client calls always come through on the main thread, our mechanisms to
2380         route dispatches to the main thread are still valid and will still work.
2381
2382         Update to the new IconDatabaseClient interface:
2383         * WebIconDatabase.cpp:
2384         (WebIconDatabase::performImport):
2385         (WebIconDatabase::didRemoveAllIcons):
2386         (WebIconDatabase::didImportIconURLForPageURL):
2387         (WebIconDatabase::didImportIconDataForPageURL):
2388         (WebIconDatabase::didChangeIconForPageURL):
2389         (WebIconDatabase::didFinishURLImport):
2390         * WebIconDatabase.h:
2391
2392 2011-03-17  Brady Eidson  <beidson@apple.com>
2393
2394         Reviewed by Sam Weinig.
2395
2396         https://bugs.webkit.org/show_bug.cgi?id=56425
2397         More groundwork for WebKit2 IconDatabase
2398
2399         Update already-used function names:
2400         * WebIconDatabase.cpp:
2401         (WebIconDatabase::iconForURL):
2402         (WebIconDatabase::iconURLForURL):
2403         (WebIconDatabase::hasIconForURL):
2404
2405 2011-03-18  Pavel Podivilov  <podivilov@chromium.org>
2406
2407         Reviewed by Yury Semikhatsky.
2408
2409         Web Inspector: implement inspector session storage.
2410         https://bugs.webkit.org/show_bug.cgi?id=56643
2411
2412         * WebCoreSupport/WebInspectorClient.cpp:
2413         (WebInspectorClient::saveSessionSetting):
2414         (WebInspectorClient::loadSessionSetting):
2415         (WebInspectorFrontendClient::saveSessionSetting):
2416         (WebInspectorFrontendClient::loadSessionSetting):
2417         * WebCoreSupport/WebInspectorClient.h:
2418
2419 2011-03-11  Brady Eidson  <beidson@apple.com>
2420
2421         More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
2422
2423         * WebCoreStatistics.cpp:
2424         * WebIconDatabase.cpp:
2425
2426 2011-03-09  Peter Kasting  <pkasting@google.com>
2427
2428         Reviewed by Mihai Parparita.
2429
2430         Unify Windows version checks.
2431         https://bugs.webkit.org/show_bug.cgi?id=55979
2432
2433         * WebView.cpp:
2434         (WebView::standardUserAgentWithApplicationName):
2435         (webKitVersionString):
2436
2437 2011-03-07  Sam Weinig  <sam@webkit.org>
2438
2439         Reviewed by Anders Carlsson.
2440
2441         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
2442         https://bugs.webkit.org/show_bug.cgi?id=55827
2443
2444         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
2445         and pass the entire response, instead of just the MIMEType.
2446
2447         * WebFrame.cpp:
2448         (WebFrame::dispatchDecidePolicyForResponse):
2449         * WebFrame.h:
2450
2451 2011-03-04  Steve Falkenburg  <sfalken@apple.com>
2452
2453         Reviewed by Darin Adler.
2454
2455         Adopt VersionStamper tool for Windows WebKit DLLs
2456         https://bugs.webkit.org/show_bug.cgi?id=55784
2457
2458         Calculate the WebKit version for the useragent via autoversion.h
2459         instead of reading it back from the DLL.
2460         
2461         We now use a tool to stamp the version number onto the Apple WebKit DLLs
2462         during the post-build step.
2463
2464         * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
2465         * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
2466         * WebView.cpp:
2467         (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
2468         (osVersion): Removed
2469
2470 2011-03-03  Anders Carlsson  <andersca@apple.com>
2471
2472         Reviewed by Sam Weinig.
2473
2474         Get rid of Page::globalHistoryItem
2475         https://bugs.webkit.org/show_bug.cgi?id=55738
2476
2477         * WebCoreSupport/WebFrameLoaderClient.cpp:
2478         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
2479         Get the current history item and update it using WebView::setGlobalHistoryItem.
2480         
2481         * WebCoreSupport/WebFrameLoaderClient.h:
2482         * WebView.cpp:
2483         (WebView::globalHistoryItem):
2484         (WebView::setGlobalHistoryItem):
2485         * WebView.h:
2486
2487 2011-03-03  Brent Fulgham  <bfulgham@webkit.org>
2488
2489         Unreviewed build correction.
2490
2491         * WebFrame.cpp:
2492         (scaleFactor): Update after 77286 to replace right/bottom
2493         with new maxX/maxY terminology.
2494
2495 2011-03-03  Brady Eidson  <beidson@apple.com>
2496
2497         Reviewed by Darin Adler.
2498
2499         https://bugs.webkit.org/show_bug.cgi?id=55721
2500         Global IconDatabase should be returned by reference, not as a pointer
2501
2502         * WebCoreStatistics.cpp:
2503         (WebCoreStatistics::iconPageURLMappingCount):
2504         (WebCoreStatistics::iconRetainedPageURLCount):
2505         (WebCoreStatistics::iconRecordCount):
2506         (WebCoreStatistics::iconsWithDataCount):
2507         * WebIconDatabase.cpp:
2508         (WebIconDatabase::init):
2509         (WebIconDatabase::startUpIconDatabase):
2510         (WebIconDatabase::iconForURL):
2511         (WebIconDatabase::retainIconForURL):
2512         (WebIconDatabase::releaseIconForURL):
2513         (WebIconDatabase::removeAllIcons):
2514         (WebIconDatabase::iconURLForURL):
2515         (WebIconDatabase::isEnabled):
2516         (WebIconDatabase::setEnabled):
2517         (WebIconDatabase::hasIconForURL):
2518         (WebIconDatabase::getOrCreateDefaultIconBitmap):
2519         * WebKitDLL.cpp:
2520         (shutDownWebKit):
2521
2522 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
2523
2524         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
2525         via ChromeClient.h
2526
2527         * WebCoreSupport/WebChromeClient.h:
2528
2529 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
2530
2531         Reviewed by Darin Adler.
2532
2533         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
2534         https://bugs.webkit.org/show_bug.cgi?id=55633
2535         <rdar://problem/8963023>
2536
2537         * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode):
2538         * WebCoreSupport/WebChromeClient.h:
2539         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
2540         this platform doesn't observe or have full keyboard access state.
2541
2542 2011-03-03  Peter Kasting  <pkasting@google.com>
2543
2544         Reviewed by James Robinson.
2545
2546         Drop redundant "Windows; " from the Windows-specific User Agent string.
2547         https://bugs.webkit.org/show_bug.cgi?id=54567
2548
2549         * WebView.cpp:
2550         (WebView::standardUserAgentWithApplicationName):
2551
2552 2011-03-01  Brian Weinstein  <bweinstein@apple.com>
2553
2554         Reviewed by Adam Roben.
2555
2556         Part of WebKit2: Need a way to send notifications to client when cookies change
2557         https://bugs.webkit.org/show_bug.cgi?id=55427
2558         <rdar://problem/9056027>
2559         
2560         Add stubs for CookiesStrategy on Windows WebKit1.
2561
2562         * WebCoreSupport/WebPlatformStrategies.cpp:
2563         (WebPlatformStrategies::createCookiesStrategy):
2564         (WebPlatformStrategies::notifyCookiesChanged):
2565         * WebCoreSupport/WebPlatformStrategies.h:
2566
2567 2011-02-28  Chang Shu  <cshu@webkit.org>
2568
2569         Reviewed by Ryosuke Niwa.
2570
2571         Remove the support of Frame::isContentEditable and its dependencies.
2572         https://bugs.webkit.org/show_bug.cgi?id=54292
2573
2574         Remove the WebKit side implementation.
2575
2576         * WebCoreSupport/WebEditorClient.cpp:
2577         * WebCoreSupport/WebEditorClient.h:
2578
2579 2011-02-28  Adam Roben  <aroben@apple.com>
2580
2581         Build TestWebKitAPIInjectedBundle on Windows
2582
2583         Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
2584
2585         Reviewed by Darin Adler.
2586
2587         * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to
2588         the project files.
2589
2590 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2591
2592         Unreviewed, rolling out r78789.
2593         http://trac.webkit.org/changeset/78789
2594         https://bugs.webkit.org/show_bug.cgi?id=55409
2595
2596         Incorrect canvas fallback implementation (Requested by
2597         inferno-sec on #webkit).
2598
2599         * AccessibleBase.cpp:
2600         (MSAARole):
2601
2602 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
2603
2604         Reviewed by Pavel Feldman.
2605
2606         DumpRenderTree should reset frame opener between tests.
2607         https://bugs.webkit.org/show_bug.cgi?id=54874
2608
2609         Added clearOpener method to IWebFramePrivate.
2610         Touched WebKit.idl to trigger build scripts.
2611
2612         * Interfaces/IWebFramePrivate.idl:
2613         * Interfaces/WebKit.idl:
2614         * WebFrame.cpp:
2615         (WebFrame::clearOpener):
2616         * WebFrame.h:
2617
2618 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2619
2620         Unreviewed, rolling out r79764.
2621         http://trac.webkit.org/changeset/79764
2622         https://bugs.webkit.org/show_bug.cgi?id=55295
2623
2624         "broke Chromium builds" (Requested by rniwa on #webkit).
2625
2626         * Interfaces/IWebFramePrivate.idl:
2627         * Interfaces/WebKit.idl:
2628         * WebFrame.cpp:
2629         * WebFrame.h:
2630
2631 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
2632
2633         Reviewed by Pavel Feldman.
2634
2635         DumpRenderTree should reset frame opener between tests.
2636         https://bugs.webkit.org/show_bug.cgi?id=54874
2637
2638         Added clearOpener method to IWebFramePrivate.
2639         Touched WebKit.idl to trigger build scripts.
2640
2641         * Interfaces/IWebFramePrivate.idl:
2642         * Interfaces/WebKit.idl:
2643         * WebFrame.cpp:
2644         (WebFrame::clearOpener):
2645         * WebFrame.h:
2646
2647 2011-02-24  Peter Kasting  <pkasting@google.com>
2648
2649         Reviewed by Eric Seidel.
2650
2651         Drop the "U; " encryption level from the User Agent string.
2652         https://bugs.webkit.org/show_bug.cgi?id=54566
2653
2654         * WebView.cpp:
2655         (WebView::standardUserAgentWithApplicationName):
2656
2657 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
2658
2659         Unreviewed, rolling out r79570.
2660         http://trac.webkit.org/changeset/79570
2661         https://bugs.webkit.org/show_bug.cgi?id=54874
2662
2663         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
2664         was not updated
2665
2666         * Interfaces/IWebFramePrivate.idl:
2667         * Interfaces/WebKit.idl:
2668         * WebFrame.cpp:
2669         * WebFrame.h:
2670
2671 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
2672
2673         Reviewed by Alexey Proskuryakov.
2674
2675         DumpRenderTree should reset frame opener between tests.
2676         https://bugs.webkit.org/show_bug.cgi?id=54874
2677
2678         Added clearOpener method to IWebFramePrivate.
2679         Touched WebKit.idl to trigger build scripts.
2680
2681         * Interfaces/IWebFramePrivate.idl:
2682         * Interfaces/WebKit.idl:
2683         * WebFrame.cpp:
2684         (WebFrame::clearOpener):
2685         * WebFrame.h:
2686
2687 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
2688
2689         Reviewed by Darin Adler.
2690
2691         Rename PLATFORM(CF) to USE(CF)
2692         https://bugs.webkit.org/show_bug.cgi?id=53540
2693
2694         * WebView.cpp:
2695
2696 2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
2697
2698         Reviewed by Alexey Proskuryakov.
2699
2700         Drop the language tag part from the User Agent string
2701         https://bugs.webkit.org/show_bug.cgi?id=54560
2702
2703         * WebView.cpp:
2704         (WebView::standardUserAgentWithApplicationName):
2705
2706 2011-02-19  Charlie Reis  <creis@chromium.org>
2707
2708         Reviewed by Mihai Parparita.
2709
2710         Ensure loading has stopped in HistoryController::goToItem
2711         https://bugs.webkit.org/show_bug.cgi?id=54517
2712
2713         Add a FrameLoaderClient callback for whether to stop loading before goToItem.
2714
2715         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
2716
2717         * WebCoreSupport/WebFrameLoaderClient.cpp:
2718         (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added.
2719         * WebCoreSupport/WebFrameLoaderClient.h:
2720
2721 2011-02-16  David Hyatt  <hyatt@apple.com>
2722
2723         Reviewed by Dan Bernstein.
2724
2725         https://bugs.webkit.org/show_bug.cgi?id=54244
2726         
2727         Convert the line box tree to floating point and eliminate font rounding hacks.  This patch removes all of the rounding
2728         hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
2729         
2730         The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
2731         been changed as well.
2732         
2733         In terms of pixel adjustments, overflow is using an enclosing model (so it will be enclosingIntRect of a line box's x/y/width/height).
2734         
2735         Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
2736         
2737         Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
2738         still have a precise floating point position.
2739
2740         Justification will now allow subpixel positioning to occur as well.  Platforms that don't support subpixel positioning should already
2741         be rounding justification spacing in their font code.
2742
2743         Many layout test results change on Mac, since rounding hacks were used there and are now gone.
2744
2745         * WebKitGraphics.cpp:
2746         (CenterTruncateStringToWidth):
2747         (RightTruncateStringToWidth):
2748
2749 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
2750
2751         Reviewed by Adam Roben.
2752
2753         HTML5 <details> and <summary>: localized text
2754         https://bugs.webkit.org/show_bug.cgi?id=54260
2755
2756         The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
2757         provide the default label to be used by a <details> tag that has no <summary> child.
2758
2759         * WebCoreSupport/WebPlatformStrategies.cpp:
2760         (WebPlatformStrategies::defaultDetailsSummaryText):
2761         * WebCoreSupport/WebPlatformStrategies.h:
2762
2763 2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
2764
2765         Reviewed by Chris Fleizach.
2766
2767         Add new role for canvas elements.
2768
2769         https://bugs.webkit.org/show_bug.cgi?id=50126
2770
2771         Test: accessibility/canvas-fallback-content.html
2772
2773         * AccessibleBase.cpp:
2774         (MSAARole):
2775
2776 2011-02-15  Kenneth Russell  <kbr@google.com>
2777
2778         Unreviewed. Remove whitespace-only change from
2779         http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312)
2780         now that the patch has passed the Windows build bots.
2781
2782         * Interfaces/WebKit.idl:
2783
2784 2011-02-15  Kenneth Russell  <kbr@google.com>
2785
2786         Reviewed by Darin Fisher.
2787
2788         Allow controlling minimum DOMTimer interval on a per-page basis
2789         https://bugs.webkit.org/show_bug.cgi?id=54312
2790
2791         Added needed methods to implement LayoutTestController's new
2792         setMinimumTimerInterval method. Includes whitespace-only change to
2793         WebKit.idl to trigger proper rebuild on bots; will be removed in
2794         subsequent checkin.
2795
2796         * Interfaces/IWebViewPrivate.idl:
2797         * Interfaces/WebKit.idl:
2798         * WebView.cpp:
2799         (WebView::initWithFrame):
2800         (WebView::defaultMinimumTimerInterval):
2801         (WebView::setMinimumTimerInterval):
2802         * WebView.h:
2803
2804 2011-01-26  MORITA Hajime  <morrita@google.com>
2805
2806         Reviewed by Ryosuke Niwa.
2807
2808         Refactoring: Extract TextCheckerClient from EditorClient
2809         https://bugs.webkit.org/show_bug.cgi?id=53213
2810
2811         * WebCoreSupport/WebEditorClient.h:
2812         (WebEditorClient::textChecker):
2813
2814 2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
2815
2816         Reviewed by Adam Barth.
2817
2818         Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
2819         https://bugs.webkit.org/show_bug.cgi?id=52417
2820
2821         Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
2822         not implemented.
2823
2824         * WebCoreSupport/WebEditorClient.cpp:
2825         (WebEditorClient::canCopyCut): Added.
2826         (WebEditorClient::canPaste): Added.
2827         * WebCoreSupport/WebEditorClient.h:
2828
2829 2011-02-14  Brian Weinstein  <bweinstein@apple.com>
2830
2831         Reviewed by Brady Eidson.
2832
2833         Need WebKit API to determine whether we have a site icon for a given URL
2834         https://bugs.webkit.org/show_bug.cgi?id=54400
2835         
2836         This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not
2837         we have a site icon for the given URL.
2838
2839         * Interfaces/IWebIconDatabase.idl: Added new function.
2840         * Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds.
2841         * WebIconDatabase.cpp:
2842         (WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we
2843             load the icon from disk, and call iconURLForPageURL to determine whether or not
2844             we actually have an icon.
2845         * WebIconDatabase.h:
2846
2847 2011-02-11  Geoffrey Garen  <ggaren@apple.com>
2848
2849         Reviewed by Oliver Hunt.
2850
2851         A little more encapsulation for the heap: Removed CollectorHeapIterator
2852         https://bugs.webkit.org/show_bug.cgi?id=54298
2853
2854         * WebCoreStatistics.cpp:
2855         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
2856
2857 2011-02-09  Pavel Feldman  <pfeldman@chromium.org>
2858
2859         Reviewed by Yury Semikhatsky.
2860
2861         Web Inspector: follow up on InspectorAgent split -
2862         removing unnecessary methods from InspectorController.
2863         https://bugs.webkit.org/show_bug.cgi?id=54093
2864
2865         * WebInspector.cpp:
2866         (WebInspector::showConsole):
2867         (WebInspector::toggleProfilingJavaScript):
2868
2869 2011-02-08  Adam Barth  <abarth@webkit.org>
2870
2871         Reviewed by Eric Seidel.
2872
2873         Remove orphan code from old parser
2874         https://bugs.webkit.org/show_bug.cgi?id=53984
2875
2876         * WebCoreSupport/WebChromeClient.h:
2877
2878 2011-02-08  David Hyatt  <hyatt@apple.com>
2879
2880         Reviewed by Adam Roben.
2881
2882         <rdar://problem/8932077> REGRESSION (5.0.3-ToT): United boarding pass has wrong layout when printed
2883         
2884         Windows never got patched to pass in the page height to WebCore, so when WebCore's pagination got re-written to depend on this
2885         value, Windows got broken.  Patch setPrinting to be identical to WebKit1 on OS X and to have it take an extra minimum page height
2886         argument.
2887
2888         * WebFrame.cpp:
2889         (WebFrame::setPrinting):
2890         (WebFrame::setInPrintingMode):
2891         * WebFrame.h:
2892
2893 2011-02-02  Ilya Tikhonovsky  <loislo@chromium.org>
2894
2895         Reviewed by Yury Semikhatsky.
2896
2897         Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController.
2898
2899         https://bugs.webkit.org/show_bug.cgi?id=53169
2900
2901         Minor change enforced by major changes in WebCore/inspector/InspectorController.
2902
2903         * WebInspector.cpp:
2904         (WebInspector::isTimelineProfilingEnabled):
2905
2906 2011-02-07  Enrica Casucci  <enrica@apple.com>
2907
2908         Reviewed Adam Roben and Darin Adler.
2909
2910         WebKit2: drag and drop support on Windows.
2911         https://bugs.webkit.org/show_bug.cgi?id=52775
2912
2913         Removed createDragImageForLink from DragClient.
2914
2915         * WebCoreSupport/WebDragClient.cpp:
2916         (WebDragClient::startDrag):
2917         * WebCoreSupport/WebDragClient.h:
2918
2919 2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>
2920
2921         Reviewed by Darin Adler.
2922
2923         OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
2924         https://bugs.webkit.org/show_bug.cgi?id=52867
2925
2926         * WebHistory.cpp:
2927         (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr.
2928         * WebPreferences.cpp:
2929         (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto.
2930
2931 2011-02-03  Yury Semikhatsky  <yurys@chromium.org>
2932
2933         Reviewed by Pavel Feldman.
2934
2935         Web Inspector: remove settings related methods from InspectorClient
2936         https://bugs.webkit.org/show_bug.cgi?id=53686
2937
2938         * WebCoreSupport/WebInspectorClient.cpp:
2939         (WebInspectorClient::openInspectorFrontend):
2940         (WebInspectorFrontendClient::WebInspectorFrontendClient):
2941         * WebCoreSupport/WebInspectorClient.h:
2942
2943 2011-02-03  Adam Langley  <agl@chromium.org>
2944
2945         Reviewed by Adam Barth.
2946
2947         Plumb mixed script URL to FrameLoaderClient
2948         https://bugs.webkit.org/show_bug.cgi?id=52384
2949
2950         Regressions covered by http/tests/security/mixedContent/*
2951
2952         * WebCoreSupport/WebFrameLoaderClient.cpp:
2953         (WebFrameLoaderClient::didRunInsecureContent):
2954         * WebCoreSupport/WebFrameLoaderClient.h:
2955
2956 2011-02-02  David Hyatt  <hyatt@apple.com>
2957
2958         Reviewed by Darin Adler.
2959
2960         Removal of right()/bottom(), converting to maxX()/maxY().
2961
2962         * DOMHTMLClasses.cpp:
2963         (DOMHTMLInputElement::rectOnScreen):
2964         * WebCoreSupport/EmbeddedWidget.cpp:
2965         (EmbeddedWidget::frameRectsChanged):
2966         * WebFrame.cpp:
2967         (WebFrame::computePageRects):
2968         * WebScrollBar.cpp:
2969         (WebScrollBar::frameRect):
2970         * WebView.cpp:
2971         (WebView::addToDirtyRegion):
2972         (WebView::visibleContentRect):
2973         (WebView::prepareCandidateWindow):
2974
2975 2011-01-31  Brady Eidson  <beidson@apple.com>
2976
2977         Reviewed by Adam Roben.
2978
2979         Fix the clean Windows build.
2980
2981         * WebKitGraphics.cpp:
2982         (WebDrawText):
2983
2984 2011-01-28  Jon Honeycutt  <jhoneycutt@apple.com>
2985
2986         Downloads in WK2 on Windows should write resume data to bundle
2987         https://bugs.webkit.org/show_bug.cgi?id=53282
2988         <rdar://problem/8753077>
2989
2990         Reviewed by Alice Liu.
2991
2992         * WebDownload.cpp:
2993         (WebDownload::bundlePathForTargetPath):
2994         Use the new WebCore::DownloadBundle function.
2995         (WebDownload::request):
2996
2997         * WebDownload.h:
2998         Removed declarations for functions that were moved to a new location.
2999
3000         * WebDownloadCFNet.cpp:
3001         (WebDownload::initToResumeWithBundle):
3002         Use the new WebCore::DownloadBundle function.
3003         (WebDownload::cancelForResume):
3004         Fix a leak of the resume data CFDataRef by using adoptCF(). Use the new
3005         WebCore::DownloadBundle function.
3006
3007 2011-01-28  Dan Bernstein  <mitz@apple.com>
3008
3009         Reviewed by Sam Weinig.
3010
3011         <select> can't display right-to-left (rtl) languages
3012         https://bugs.webkit.org/show_bug.cgi?id=19785
3013
3014         * WebCoreSupport/WebChromeClient.cpp:
3015         (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): Added.
3016         * WebCoreSupport/WebChromeClient.h:
3017
3018 2011-01-27  Nate Chapin  <japhet@chromium.org>
3019
3020         Reviewed by Adam Barth.
3021
3022         Use Document::url() instead of FrameLoader::url().
3023         https://bugs.webkit.org/show_bug.cgi?id=41165
3024
3025         * WebFrame.cpp:
3026         (WebFrame::url):
3027
3028 2011-01-27  Sam Weinig  <sam@webkit.org>
3029
3030         Reviewed by Adam Roben.
3031
3032         Fix scrollbars in Safari's Downloads window and Bookmarks view by
3033         implementing two needed functions from ScrollableArea.
3034
3035         * WebScrollBar.cpp:
3036         (WebScrollBar::horizontalScrollbar): Return the WebCore::Scrollbar if
3037         we are a horizontal scrollbar.
3038         (WebScrollBar::verticalScrollbar): Return the WebCore::Scrollbar if we
3039         are a vertical scrollbar.
3040         * WebScrollBar.h:
3041
3042 2011-01-27  Adam Roben  <aroben@apple.com>
3043
3044         Trim down #includes in WebView.h
3045
3046         Rubber-stamped by Steve Falkenburg.
3047
3048         * WebView.cpp: Moved some #includes here from the header file.
3049
3050         * WebView.h: Replaced some broader #includes with more specific ones, plus a
3051         forward-declaration.
3052
3053 2011-01-25  Steve Falkenburg  <sfalken@apple.com>
3054
3055         Windows production build fix.
3056         Build correct configuration of Interfaces for Debug_All.
3057
3058         * WebKit.vcproj/WebKit.submit.sln:
3059
3060 2011-01-25  Steve Falkenburg  <sfalken@apple.com>
3061
3062         Rubber-stamped by Adam Roben.
3063
3064         Windows production build fix.
3065         Use correct environment variable escaping
3066
3067         * WebKit.vcproj/WebKit.make:
3068
3069 2011-01-24  Chris Marrin  <cmarrin@apple.com>
3070
3071         Reviewed by Eric Seidel.
3072
3073         Change ENABLE_3D_CANVAS to ENABLE_WEBGL
3074         https://bugs.webkit.org/show_bug.cgi?id=53041
3075
3076         * WebView.cpp:
3077         (WebView::notifyPreferencesChanged):
3078
3079 2011-01-25  Yury Semikhatsky  <yurys@chromium.org>
3080
3081         Reviewed by Pavel Feldman.
3082
3083         Web Inspector: remove "attached" state related methods from InspectorAgent
3084         https://bugs.webkit.org/show_bug.cgi?id=53086
3085
3086         * WebCoreSupport/WebInspectorClient.cpp:
3087         (WebInspectorFrontendClient::attachWindow):
3088         (WebInspectorFrontendClient::detachWindow):
3089         (WebInspectorFrontendClient::showWindowWithoutNotifications):
3090         * WebCoreSupport/WebInspectorClient.h:
3091
3092 2011-01-24  Adam Roben  <aroben@apple.com>
3093
3094         Windows Production build fix
3095
3096         * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
3097
3098 2011-01-21  Nikolas Zimmermann  <nzimmermann@rim.com>
3099
3100         Reviewed by Dirk Schulze.
3101
3102         Introduce FontMetrics abstraction
3103         https://bugs.webkit.org/show_bug.cgi?id=51456
3104
3105         * FullscreenVideoController.cpp: Use FontMetrics instead of Font to access the metrics.
3106         (FullscreenVideoController::draw):
3107         * WebCoreSupport/WebDragClient.cpp: Ditto.
3108         (WebDragClient::createDragImageForLink):
3109         * WebKitGraphics.cpp: Ditto.
3110         (FontMetrics):
3111
3112 2011-01-21  Chris Rogers  <crogers@google.com>
3113
3114         Reviewed by Darin Fisher.
3115
3116         Add run-time enable support for the web audio API
3117         https://bugs.webkit.org/show_bug.cgi?id=52741
3118
3119         * WebPreferenceKeysPrivate.h:
3120         * WebView.cpp:
3121         (WebView::notifyPreferencesChanged):
3122
3123 2011-01-21  Sam Weinig  <sam@webkit.org>
3124
3125         Fix windows build.
3126
3127         * WebScrollBar.h:
3128
3129 2011-01-21  Sam Weinig  <sam@webkit.org>
3130
3131         Reviewed by Anders Carlsson.
3132
3133         Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
3134         https://bugs.webkit.org/show_bug.cgi?id=52779
3135
3136         Rename ScrollbarClient -> ScrollableArea.
3137
3138         * WebScrollBar.cpp:
3139         (WebScrollBar::scroll):
3140         * WebScrollBar.h:
3141
3142 2011-01-20  Adam Roben  <aroben@apple.com>
3143
3144         Update for CACFLayerTreeHost changes
3145
3146         Fixes <http://webkit.org/b/52852> Flushing layer changes and rendering are intertwined in
3147         CACFLayerTreeHost, but shouldn't be
3148
3149         Reviewed by Simon Fraser.
3150
3151         * WebView.cpp:
3152         (WebView::paint): Changed to flush layer changes via CACFLayerTreeHost, which will call back
3153         to our own flushing function if needed.
3154
3155         * WebView.h: Removed shouldRender, which is no longer used or needed.
3156
3157 2011-01-21  Adam Roben  <aroben@apple.com>
3158
3159         Update for WKCACFLayerRenderer -> CACFLayerTreeHost rename
3160
3161         Also renamed WebView::m_layerRenderer to WebView::m_layerTreeHost to match.
3162
3163         Fixes <http://webkit.org/b/52898> WKCACFLayerRenderer sounds like a render object, but isn't
3164
3165         Reviewed by Simon Fraser.
3166
3167         * WebPreferences.cpp:
3168         * WebView.cpp:
3169         (WebView::setAcceleratedCompositing): Also made sure to remove our HWND from the layer tree
3170         host before we get rid of the layer tree host itself.
3171         * WebView.h:
3172
3173 2011-01-21  Adam Roben  <aroben@apple.com>
3174
3175         Replace some "sync compositing state" terminology with "flush pending GraphicsLayer changes"
3176
3177         This seems to be the direction in which our code is moving. I chose "GraphicsLayer" as
3178         opposed to just "layer" because there are cases where we flush changes to CACFLayers that
3179         don't have a corresponding GraphicsLayer.
3180
3181         Fixes <http://webkit.org/b/52894> "Sync compositing state" terminology in
3182         WKCACFLayerRenderer and friends is confusing
3183
3184         Reviewed by Simon Fraser.
3185
3186         * WebCoreSupport/WebChromeClient.cpp:
3187         (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes.
3188
3189         * WebView.cpp:
3190         (WebView::paint): Updated for rename.
3191         (WebView::flushPendingGraphicsLayerChangesSoon): Renamed from scheduleCompositingLayerSync.
3192         (WebView::notifySyncRequired): Updated for rename.
3193         (WebView::flushPendingGraphicsLayerChanges): Renamed from syncCompositingState.
3194
3195         * WebView.h: Did the renames.
3196
3197 2011-01-20  Sam Weinig  <sam@webkit.org>
3198
3199         Reviewed by Dave Hyatt.
3200
3201         Cleanup Scrollbar/ScrollbarClient relationship
3202         https://bugs.webkit.org/show_bug.cgi?id=52779
3203
3204         * WebScrollBar.cpp:
3205         (WebScrollBar::WebScrollBar):
3206         (WebScrollBar::setValue):
3207         (WebScrollBar::value):
3208         (WebScrollBar::scroll):
3209         (WebScrollBar::scrollPosition):
3210         (WebScrollBar::setScrollOffset):
3211         * WebScrollBar.h:
3212
3213 2011-01-19  Adam Roben  <aroben@apple.com>
3214
3215         Update for WKCACFLayerRenderer changes
3216
3217         Fixes <http://webkit.org/b/52749> WKCACFLayerRenderer should be
3218         ref-counted
3219
3220         Reviewed by Simon Fraser.
3221
3222         * WebView.cpp:
3223         (WebView::~WebView): Added some assertions to make sure we've gotten rid of our
3224         compositing-related members. My biggest concern was making sure that m_layerRenderer was
3225         gone, which would also mean we had nulled out its client pointer.
3226         (WebView::setAcceleratedCompositing): Changed to call WKCACFLayerRenderer::setClient instead
3227         of passing the client into create(), and to clear out the client before nulling out
3228         m_layerRenderer.
3229
3230         * WebView.h: Changed m_layerRenderer from an OwnPtr to a RefPtr.
3231
3232 2011-01-19  Adam Roben  <aroben@apple.com>
3233
3234         Teach WebView::scrollBackingStore about compositing mode
3235
3236         Test:
3237             compositing/scroll-painted-composited-content.html
3238
3239         Fixes <http://webkit.org/b/52720> REGRESSION (r75987): Assertion failure in
3240         WebView::scrollBackingStore when scrolling page with composited content
3241
3242         Reviewed by Anders Carlsson.
3243
3244         * WebView.cpp:
3245         (WebView::scrollBackingStore): Do something sensible (though naive) when in compositing
3246         mode, rather than incorrectly asserting that this function is never called in that case. For
3247         now we just repaint the entire scrolled region; someday hopefully we can avoid having to
3248         repaint the areas that have just been moved.
3249
3250 2011-01-19  Simon Fraser  <simon.fraser@apple.com>
3251
3252         Reviewed by Sam Weinig.
3253
3254         GraphicsLayers in subframes can get sync'd multiple times
3255         https://bugs.webkit.org/show_bug.cgi?id=52489
3256
3257         * WebView.cpp:
3258         (WebView::syncCompositingState): syncCompositingStateRecursive()
3259         was renamed to syncCompositingStateIncludingSubframes().
3260
3261 2011-01-17  Adam Roben  <aroben@apple.com>
3262
3263         Update for WKCACFLayerRenderer changes
3264
3265         Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use
3266
3267         Reviewed by Chris Marrin.
3268
3269         * WebView.cpp:
3270         (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible
3271         when handling WM_SHOWWINDOW. All this did was try to create the
3272         renderer, but it had already been created in setAcceleratedCompositing,
3273         so wasn't needed.
3274         (WebView::setAcceleratedCompositing): Removed call to createRenderer;
3275         setHostWindow does this for us now.
3276
3277         * WebView.h: Removed animationsStarted and layerRendererBecameVisible.
3278
3279 2011-01-17  Adam Roben  <aroben@apple.com>
3280
3281         Paint directly into a GraphicsLayer when using accelerated compositing
3282
3283         Before this patch, we were painting into our normal backing store
3284         HBITMAP, wrapping it in a CGImage, and handing it off to Core
3285         Animation. This had at least two disadvantages:
3286            1) The bitmap could be modified while Core Animation was using it.
3287            2) It introduced extra complexity.
3288
3289         When entering accelerated compositing mode, WebView now creates a
3290         GraphicsLayer to draw into. This GraphicsLayer sits between the root
3291         layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When
3292         WebView invalidates, it just calls setNeedsDisplayInRect on its
3293         GraphicsLayer. When WebView paints, it just tells its
3294         WKCACFLayerRenderer to paint, which will call back to WebView to draw
3295         into the GraphicsLayer if it has a dirty region. This is very similar
3296         to the current implementation of LayerBackedDrawingArea in WebKit2.
3297
3298         Fixes <http://webkit.org/b/52582> WebView should paint directly into a
3299         GraphicsLayer when in accelerated compositing mode
3300
3301         Reviewed by Simon Fraser and Chris Marrin.
3302
3303         * WebCoreSupport/WebChromeClient.cpp:
3304         (WebChromeClient::attachRootGraphicsLayer):
3305         (WebChromeClient::scheduleCompositingLayerSync):
3306         Updated for WebView changes.
3307
3308         * WebView.cpp:
3309         (WebView::repaint): When using accelerated compositing, just invalidate
3310         our backing layer. This matches the behavior of LayerBackedDrawingArea.
3311         (WebView::deleteBackingStore): Removed accelerated compositing code.
3312         The WKCACFLayerRenderer doesn't need to know about our backing store
3313         anymore; we don't use it at all when in accelerated compositing mode.
3314         (WebView::addToDirtyRegion): When using accelerated compositing, just
3315         invalidate our backing layer.
3316         (WebView::scrollBackingStore): Added an assertion that this isn't
3317         called in accelerated compositing mode.
3318         (WebView::sizeChanged): Update our backing layer's size, too, and
3319         invalidate it.
3320         (WebView::updateBackingStore): Added an assertion that this isn't
3321         called in accelerated compositing mode.
3322         (WebView::paint): If we're in accelerated compositing mode, sync our
3323         compositing state. If we're *still* in accelerated compositing mode,
3324         just tell our WKCACFLayerRenderer to paint and clear our dirty region.
3325         (The later changes in this function are just un-indenting code that
3326         used to be inside an if.)
3327
3328         (WebView::paintIntoBackingStore):
3329         (WebView::paintIntoWindow):
3330         Added assertions that these aren't called in accelerated compositing
3331         mode.
3332
3333         (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for
3334         removal of setRootLayerNeedsDisplay.
3335         (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now
3336         set the layer as a child of our own backing layer.
3337         (WebView::scheduleCompositingLayerSync): Just call through to
3338         WKCACFLayerRenderer.
3339         (WebView::setAcceleratedCompositing): Create our backing layer and set
3340         it as the child of WKCACFLayerRenderer's root layer.
3341         (WebView::notifyAnimationStarted): Added. We never expect this
3342         GraphicsLayerClient override to be called, as we don't use animations
3343         on our backing layer.
3344         (WebView::notifySyncRequired): Added. Just schedule a sync.
3345         (WebView::paintContents): Added. Just clip and paint!
3346
3347         (WebView::showDebugBorders):
3348         (WebView::showRepaintCounter):
3349         Added. These just call through to Settings.
3350
3351         (WebView::syncCompositingState): Changed to first update layout, then
3352         sync state for our backing layer, then sync WebCore's state. This
3353         matches LayerBackedDrawingArea.
3354
3355         * WebView.h: WebView now implements the GraphicsLayerClient interface.
3356         Removed setRootLayerNeedsDisplay; it's been replaced by calling
3357         setNeedsDisplay on our backing layer and calling
3358         syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed
3359         updateRootLayerContents; that function was used to pass our backing
3360         store to Core Animation, which we no longer do. Added m_backingLayer.
3361
3362 2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
3363
3364         Reviewed by Alexey Proskuryakov.
3365
3366         Fix some headers with missing or misspelled #ifndef guards
3367         https://bugs.webkit.org/show_bug.cgi?id=52545
3368
3369         * WebKitStatistics.h:
3370
3371 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
3372
3373         Reviewed by Yury Semikhatsky.
3374
3375         Web Inspector: simplify debugger enabling routine.
3376         https://bugs.webkit.org/show_bug.cgi?id=52472
3377
3378         * WebInspector.cpp:
3379         (WebInspector::toggleDebuggingJavaScript):
3380
3381 2011-01-16  Adam Barth  <abarth@webkit.org>
3382
3383         Rubber-stamped by Eric Seidel.
3384
3385         Move WebKit into Source
3386         https://bugs.webkit.org/show_bug.cgi?id=52530
3387
3388         * WebKit.vcproj/Interfaces.vcproj:
3389         * WebKit.vcproj/WebKit.sln:
3390         * WebKit.vcproj/WebKit.vcproj:
3391         * WebKit.vcproj/WebKitGUID.vcproj:
3392
3393 2011-01-15  Adam Barth  <abarth@webkit.org>
3394
3395         Rubber-stamped by Eric Seidel.
3396
3397         Move WebKit2 into Source
3398         https://bugs.webkit.org/show_bug.cgi?id=52438
3399
3400         Update reference to WebKit2.
3401
3402         * WebKit.vcproj/WebKit.sln:
3403
3404 2011-01-14  Yuzo Fujishima  <yuzo@google.com>
3405
3406         Reviewed by Antti Koivisto.
3407
3408         Rename cache() to memoryCache()
3409         https://bugs.webkit.org/show_bug.cgi?id=52433
3410
3411         * WebCache.cpp:
3412         (WebCache::statistics):
3413         (WebCache::empty):
3414         (WebCache::setDisabled):
3415         (WebCache::disabled):
3416         * WebView.cpp:
3417         (WebView::setCacheModel):
3418
3419 2011-01-10  Geoffrey Garen  <ggaren@apple.com>
3420
3421         Try to fix Windows build.
3422
3423         * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch
3424         this one before because it was miscapitalized.)
3425
3426 2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>
3427
3428         Reviewed by Darin Fisher.
3429
3430         https://bugs.webkit.org/show_bug.cgi?id=41441
3431         createWindow method should only do window-creating without URL navigation
3432
3433         * WebCoreSupport/WebChromeClient.cpp:
3434         (WebChromeClient::createWindow):
3435
3436 2011-01-07  Adam Barth  <abarth@webkit.org>
3437
3438         Rubber-stamped by Eric Seidel.
3439
3440         Move WebCore to Source
3441         https://bugs.webkit.org/show_bug.cgi?id=52050
3442
3443         * WebKit.vcproj/WebKit.sln:
3444
3445 2011-01-06  Gavin Barraclough  <barraclough@apple.com>
3446
3447         Reviewed by Geoff Garen.
3448
3449         Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
3450
3451         The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
3452         destructor early, in order to release wrappers once we know we no longer intend to use them.
3453         Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
3454         lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
3455         A sequence of events that triggers the bug would look like this:
3456
3457         (1) Create a DOMWrapperWorld.
3458         (2) Register a timer in the world.
3459         (3) Call unregisterWorld() on the world.
3460         (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
3461         (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
3462             called forgetWorld() none exists.
3463         (6) Attempt to add a wrapper to a NULL map.
3464
3465         Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
3466
3467         * WebScriptWorld.cpp:
3468         (WebScriptWorld::unregisterWorld):
3469
3470 2011-01-07  Chris Marrin  <cmarrin@apple.com>
3471
3472         Rubber-stamped by Simon Fraser.
3473
3474         Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
3475         https://bugs.webkit.org/show_bug.cgi?id=49388
3476
3477         Change client API for the fullscreen video controller. It now uses a 
3478         PlatformCALayerClient so it can use a PlaformCALayer directly. Also
3479         updated how to connect the layer tree to the view to reflect the updated
3480         hardware compositing logic.
3481
3482         * FullscreenVideoController.cpp:
3483         (FullscreenVideoController::LayerClient::LayerClient):
3484         (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges):
3485         (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted):
3486         (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation):
3487         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
3488         (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders):
3489         (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
3490         (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
3491         (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque):
3492         (FullscreenVideoController::LayerClient::platformCALayerDrawsContent):
3493         (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay):
3494         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
3495         (FullscreenVideoController::FullscreenVideoController):
3496         (FullscreenVideoController::~FullscreenVideoController):
3497         (FullscreenVideoController::enterFullscreen):
3498         * FullscreenVideoController.h:
3499         * WebCoreSupport/WebChromeClient.cpp:
3500         (WebChromeClient::attachRootGraphicsLayer):
3501         (WebChromeClient::scheduleCompositingLayerSync):
3502         * WebView.cpp:
3503         (WebView::setRootChildLayer):
3504         (WebView::animationsStarted):
3505         (WebView::syncCompositingState):
3506         * WebView.h:
3507         (WebView::setRootLayerNeedsDisplay):
3508
3509 2011-01-05  Steve Falkenburg  <sfalken@apple.com>
3510
3511         Reviewed by Darin Adler.
3512
3513         Debug and Release builds on Windows clobber each other
3514         https://bugs.webkit.org/show_bug.cgi?id=49185
3515
3516         Changes the structure of WebKitBuild build products directory so we
3517         completely separate each build configuration into independent directories.
3518         
3519         Although we previously had per-configuration directories for obj, this change adds
3520         per-configuration directories for bin, lib, obj, and include. Each configuration's
3521         build products are stored within a directory inside of WebKitBuild.
3522         
3523         Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
3524         defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
3525
3526         * WebKit.vcproj/InterfacesCommon.vsprops:
3527         * WebKit.vcproj/InterfacesPostBuild.cmd:
3528         * WebKit.vcproj/InterfacesPreBuild.cmd:
3529         * WebKit.vcproj/WebKit.make:
3530         * WebKit.vcproj/WebKitGUID.vcproj:
3531         * WebKit.vcproj/WebKitGUIDCommon.vsprops:
3532         * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
3533         * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
3534         * WebKit.vcproj/WebKitLibCommon.vsprops:
3535         * WebKit.vcproj/WebKitLibPostBuild.cmd:
3536         * WebKit.vcproj/WebKitLibPreBuild.cmd:
3537
3538 2011-01-04  Chris Fleizach  <cfleizach@apple.com>
3539
3540         Reviewed by Sam Weinig.
3541
3542         WK2: Support Accessibility
3543         https://bugs.webkit.org/show_bug.cgi?id=51859
3544
3545         Use rootObject() method to get the top of the AX tree.
3546
3547         * AccessibleDocument.cpp:
3548         (AccessibleDocument::AccessibleDocument):
3549
3550 2011-01-01  Adam Barth  <abarth@webkit.org>
3551
3552         Reviewed by Eric Seidel.
3553
3554         Move JavaScriptCore to Source
3555         https://bugs.webkit.org/show_bug.cgi?id=51604
3556
3557         * WebKit.vcproj/WebKit.sln:
3558           - Point to JavaScriptCore in its new location.
3559
3560 2010-12-22  Sam Weinig  <sam@webkit.org>
3561
3562         Reviewed by Darin Adler.
3563
3564         WebKit2 needs to mirror the frame tree in the UIProcess
3565         https://bugs.webkit.org/show_bug.cgi?id=51546
3566
3567         - Add client functions to notify that a frame has been added or
3568           removed from the page cache.
3569
3570         * WebCoreSupport/WebFrameLoaderClient.cpp:
3571         (WebFrameLoaderClient::didSaveToPageCache):
3572         (WebFrameLoaderClient::didRestoreFromPageCache):
3573         * WebCoreSupport/WebFrameLoaderClient.h:
3574
3575 2010-12-22  Dan Bernstein  <mitz@apple.com>
3576
3577         Changed WebKitTools to Tools.
3578
3579         * WebKit.vcproj/WebKit.sln:
3580
3581 2010-12-14  Adam Roben  <aroben@apple.com>
3582
3583         Always record the last-set cursor, even when the UI delegate is
3584         setting the cursor for us
3585
3586         Prior to r63339, the last-set cursor was recorded in Widget::setCursor.
3587   &nbs