Redo r144538 (after r144530).
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Redo r144538 (after r144530).
4
5         * WebCoreSupport/WebFrameNetworkingContext.cpp:
6         * WebCoreSupport/WebFrameNetworkingContext.h:
7         * WebCoreSupport/WebPlatformStrategies.cpp:
8
9 2013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
10
11         Yet another build fix attempt after r144530.
12
13         * WebCoreSupport/WebFrameNetworkingContext.cpp:
14         * WebCoreSupport/WebPlatformStrategies.cpp:
15
16 2013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
17
18         Another build fix attempt after r144530.
19
20         * WebCoreSupport/WebFrameNetworkingContext.cpp:
21
22 2013-03-01  Benjamin Poulain  <bpoulain@apple.com>
23
24         Add a missing symbol after r144524.
25
26         Unreviewed.
27
28         * WebKit.vcproj/WebKitExports.def.in:
29
30 2013-02-26  Alexey Proskuryakov  <ap@apple.com>
31
32         Don't add a body to platform request until necessary
33         https://bugs.webkit.org/show_bug.cgi?id=110900
34
35         Reviewed by Brady Eidson.
36
37         WebKit1 behavior is unchanged, body is added on every conversion.
38
39         * WebDownloadCFNet.cpp:
40         (WebDownload::init):
41         (WebDownload::initWithRequest):
42         (WebDownload::willSendRequest):
43         * WebMutableURLRequest.cpp:
44         (WebMutableURLRequest::cfRequest):
45         (WebMutableURLRequest::mutableCopy):
46         * WebView.cpp:
47         (WebView::canHandleRequest):
48
49 2013-02-26  Roger Fong  <roger_fong@apple.com>
50
51         Unreviewed AppleWin build fix.
52
53         * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops:
54
55 2013-02-24  Alexey Proskuryakov  <ap@apple.com>
56
57         Clarify meaning of default default encoding localizable string
58         https://bugs.webkit.org/show_bug.cgi?id=110714
59
60         Reviewed by Eric Carlson.
61
62         * WebPreferences.cpp: Updated a comment.
63
64 2013-02-24  Benjamin Poulain  <benjamin@webkit.org>
65
66         REGRESSION(r143837): Broke build on AppleWin http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29.
67         https://bugs.webkit.org/show_bug.cgi?id=110713
68
69         Unreviewed.
70
71         * WebKit.vcproj/WebKitExports.def.in: Add the missing symbol after r143837.
72
73 2013-02-21  Sheriff Bot  <webkit.review.bot@gmail.com>
74
75         Unreviewed, rolling out r143536.
76         http://trac.webkit.org/changeset/143536
77         https://bugs.webkit.org/show_bug.cgi?id=110523
78
79         Causing a bunch of tests to fail on Windows, requires
80         rebaselining (Requested by rfong on #webkit).
81
82         * WebKitClassFactory.cpp:
83         (WebKitClassFactory::WebKitClassFactory):
84         * WebView.cpp:
85         (WebView::initWithFrame):
86         (WebView::notifyPreferencesChanged):
87
88 2013-02-20  Roger Fong  <roger_fong@apple.com>
89
90         Unreviewed. Remove references to SAFARI_THEME from Windows Solution.
91         <rdar://problem/13258710>
92
93         * WebKitClassFactory.cpp:
94         * WebView.cpp:
95
96 2013-02-19  Sheriff Bot  <webkit.review.bot@gmail.com>
97
98         Unreviewed, rolling out r143338.
99         http://trac.webkit.org/changeset/143338
100         https://bugs.webkit.org/show_bug.cgi?id=110301
101
102         False alarm, no need to export the symbol (Requested by
103         aandrey on #webkit).
104
105         * WebKit.vcproj/WebKitExports.def.in:
106
107 2013-02-19  Tony Chang  <tony@chromium.org>
108
109         Unreviewed, force file to recompile to fix win build.
110
111         * WebView.cpp:
112
113 2013-02-19  Tony Chang  <tony@chromium.org>
114
115         Unreviewed, fix the Windows build after r143398.
116         Add new setters to the export list.
117
118         * WebKit.vcproj/WebKitExports.def.in:
119
120 2013-02-19  Andrey Adaikin  <aandrey@chromium.org>
121
122         Unreviewed, adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ.
123
124         * WebKit.vcproj/WebKitExports.def.in:
125
126 2013-02-19  Andrey Adaikin  <aandrey@chromium.org>
127
128         Unreviewed, Web Inspector: follow up to r143328 fixing Win Debug Build
129         https://bugs.webkit.org/show_bug.cgi?id=110227
130
131         Adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ.
132
133         * WebKit.vcproj/WebKitExports.def.in:
134
135 2013-02-18  Simon Fraser  <simon.fraser@apple.com>
136
137         Clean up the boolean argument to visibleContentRect
138         https://bugs.webkit.org/show_bug.cgi?id=110167
139
140         Reviewed by Simon Fraser.
141
142         Replace the boolean argument to visibleContentRect() with
143         an enum.
144
145         * WebFrame.cpp:
146         (WebFrame::visibleContentRect):
147         (WebFrame::frameBounds):
148
149 2013-02-18  Zan Dobersek  <zdobersek@igalia.com>
150
151         Stop placing std::isfinite and std::signbit inside the global scope
152         https://bugs.webkit.org/show_bug.cgi?id=109817
153
154         Reviewed by Darin Adler.
155
156         Prefix calls to the isfinite and signbit methods with std:: as the two
157         methods are no longer being imported into the global scope.
158
159         * FullscreenVideoController.cpp:
160         (timeToString):
161
162 2013-02-15  Rik Cabanier  <cabanier@adobe.com>
163
164         Add platform support for -webkit-background-blend-mode to CG context
165         https://bugs.webkit.org/show_bug.cgi?id=108549
166
167         Reviewed by Dean Jackson.
168
169         Fixed build issue.
170
171         * WebKit.vcproj/WebKitExports.def.in:
172
173 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
174
175         Simplify hitTestResultAtPoint and nodesFromRect APIs
176         https://bugs.webkit.org/show_bug.cgi?id=95720
177
178         Reviewed by Julien Chaffraix.
179
180         Update calls to new API.
181
182         * WebActionPropertyBag.cpp:
183         (WebActionPropertyBag::Read):
184         * WebKit.vcproj/WebKitExports.def.in:
185         * WebView.cpp:
186         (WebView::handleContextMenuEvent):
187         (WebView::elementAtPoint):
188
189 2013-02-14  Tony Chang  <tony@chromium.org>
190
191         Unreviewed, set svn:eol-style native for .sln, .vcproj, and .vsprops files.
192         https://bugs.webkit.org/show_bug.cgi?id=96934
193
194         * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
195         * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
196         * WebKit.vcproj/WebKitCFLite.vsprops: Added property svn:eol-style.
197         * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added property svn:eol-style.
198         * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added property svn:eol-style.
199         * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added property svn:eol-style.
200         * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added property svn:eol-style.
201         * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added property svn:eol-style.
202         * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added property svn:eol-style.
203         * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added property svn:eol-style.
204
205 2013-02-14  Tony Chang  <tony@chromium.org>
206
207         Unreviewed, set svn:eol-style CRLF for .sln files.
208
209         * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
210         * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
211
212 2013-02-14  Andrey Kosyakov  <caseq@chromium.org>
213
214         Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent
215         https://bugs.webkit.org/show_bug.cgi?id=109192
216
217         Reviewed by Pavel Feldman.
218
219         * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
220         * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
221
222 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
223
224         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
225         https://bugs.webkit.org/show_bug.cgi?id=109534
226
227         Reviewed by Anders Carlsson.
228
229         * WebCoreSupport/WebEditorClient.cpp:
230         * WebCoreSupport/WebEditorClient.h:
231         (WebEditorClient):
232
233 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
234
235         Build fix for Windows after r142509
236
237         * WebKit.vcproj/WebKitExports.def.in:
238
239 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
240
241         Move workerThreadCount from TestRunner to WebCore Internals
242         https://bugs.webkit.org/show_bug.cgi?id=109239
243
244         Reviewed by Darin Adler.
245
246         * WebKit.vcproj/WebKitExports.def.in:
247
248 2013-02-07  Roger Fong  <roger_fong@apple.com>
249
250         Unreviewed. Corrections the exports definition file.
251
252         * WebKit.vcproj/WebKitExports.def.in:
253
254 2013-02-05  Roger Fong  <roger_fong@apple.com>
255
256         Unreviewed build fix.
257
258         * WebKit.vcproj/WebKitExports.def.in:
259
260 2013-02-05  Roger Fong  <roger_fong@apple.com>
261
262         Unreviewed. Get rid of redundant exports in export definitions file.
263
264         * WebKit.vcproj/WebKitExports.def.in:
265
266 2013-02-01  Roger Fong  <roger_fong@apple.com>
267
268         Unreviewed. Copy some resource files for VS2010 solution.
269         https://bugs.webkit.org/show_bug.cgi?id=106989.
270
271         * WebKit.resources/WebKit.rc: Added.
272         * WebKit.resources/deleteButton.png: Added.
273         * WebKit.resources/deleteButtonPressed.png: Added.
274         * WebKit.resources/fsVideoAudioVolumeHigh.png: Added.
275         * WebKit.resources/fsVideoAudioVolumeLow.png: Added.
276         * WebKit.resources/fsVideoExitFullscreen.png: Added.
277         * WebKit.resources/fsVideoPause.png: Added.
278         * WebKit.resources/fsVideoPlay.png: Added.
279         * WebKit.resources/missingImage.png: Added.
280         * WebKit.resources/nullplugin.png: Added.
281         * WebKit.resources/panEastCursor.png: Added.
282         * WebKit.resources/panIcon.png: Added.
283         * WebKit.resources/panNorthCursor.png: Added.
284         * WebKit.resources/panNorthEastCursor.png: Added.
285         * WebKit.resources/panNorthWestCursor.png: Added.
286         * WebKit.resources/panSouthCursor.png: Added.
287         * WebKit.resources/panSouthEastCursor.png: Added.
288         * WebKit.resources/panSouthWestCursor.png: Added.
289         * WebKit.resources/panWestCursor.png: Added.
290         * WebKit.resources/searchCancel.png: Added.
291         * WebKit.resources/searchCancelPressed.png: Added.
292         * WebKit.resources/searchMagnifier.png: Added.
293         * WebKit.resources/searchMagnifierResults.png: Added.
294         * WebKit.resources/textAreaResizeCorner.png: Added.
295         * WebKit.resources/verticalTextCursor.png: Added.
296         * WebKit.resources/zoomInCursor.png: Added.
297         * WebKit.resources/zoomOutCursor.png: Added.
298
299 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
300
301         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
302         https://bugs.webkit.org/show_bug.cgi?id=108741
303
304         Reviewed by Tony Chang.
305
306         * WebKit.vcproj/WebKitExports.def.in:
307
308 2013-02-04  Enrica Casucci  <enrica@apple.com>
309
310         Add specific EditActions for Bold and Italic commands.
311         https://bugs.webkit.org/show_bug.cgi?id=108842.
312         <rdar://problem/13098252>
313
314         Reviewed by Ryosuke Niwa.
315
316         * WebCoreSupport/WebEditorClient.cpp:
317         (undoNameForEditAction):
318
319 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
320
321         Fix build warning after r141473
322         https://bugs.webkit.org/show_bug.cgi?id=108782
323
324         Reviewed by Kentaro Hara.
325
326         Fix -Wunused-parameter build warning.
327
328         * WebCoreSupport/WebEditorClient.cpp:
329         (WebEditorClient::getClientPasteboardDataForRange):
330
331 2013-02-01  Philip Rogers  <pdr@google.com>
332
333         Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
334         https://bugs.webkit.org/show_bug.cgi?id=106966
335
336         Reviewed by Stephen White.
337
338         * WebKit.vcproj/WebKitExports.def.in:
339
340 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
341
342         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
343         https://bugs.webkit.org/show_bug.cgi?id=107737
344
345         Reviewed by Ryosuke Niwa.
346
347         * WebView.cpp:
348         (WebView::updateSelectionForIME):
349             Adding a call to the newly refactored method.
350
351 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
352
353         Unreviewed, rolling out r141479.
354         http://trac.webkit.org/changeset/141479
355         https://bugs.webkit.org/show_bug.cgi?id=108564
356
357         breaks chromium test (Requested by morrita on #webkit).
358
359         * WebView.cpp:
360         (WebView::updateSelectionForIME):
361
362 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
363
364         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
365         https://bugs.webkit.org/show_bug.cgi?id=107737
366
367         Reviewed by Ryosuke Niwa.
368
369         * WebView.cpp:
370         (WebView::updateSelectionForIME):
371             Adding a call to the newly refactored method.
372
373 2013-01-31  Enrica Casucci  <enrica@apple.com>
374
375         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
376         https://bugs.webkit.org/show_bug.cgi?id=108396.
377         <rdar://problem/12920461>
378
379         Reviewed by Alexey Proskuryakov.
380
381         Adds stub implementation for WebKit of the new EditorClient methods.
382
383         * WebCoreSupport/WebEditorClient.cpp:
384         (WebEditorClient::willWriteSelectionToPasteboard):
385         (WebEditorClient::getClientPasteboardDataForRange):
386         * WebCoreSupport/WebEditorClient.h:
387
388 2013-01-29  Shinya Kawanaka  <shinyak@chromium.org>
389
390         [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
391         https://bugs.webkit.org/show_bug.cgi?id=106287
392
393         Reviewed by Hajime Morita.
394
395         * WebKit.vcproj/WebKitExports.def.in:
396
397 2013-01-29  Elliott Sprehn  <esprehn@chromium.org>
398
399         Refactor ShadowRoot exception handling
400         https://bugs.webkit.org/show_bug.cgi?id=108209
401
402         Reviewed by Dimitri Glazkov.
403
404         * WebKit.vcproj/WebKitExports.def.in: Swap ShadowRoot::create export with Element::createShadowRoot.
405
406 2013-01-29  Nate Chapin  <japhet@chromium.org>
407
408         Enable reuse of cached main resources
409         https://bugs.webkit.org/show_bug.cgi?id=105667
410
411         Reviewed by Adam Barth.
412
413         * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
414
415 2013-01-27  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
416
417         Fixing atomicIncrement implementation for Windows by dropping support before XP SP2.
418         https://bugs.webkit.org/show_bug.cgi?id=106740
419
420         Reviewed by Benjamin Poulain.
421
422         * WebKitPrefix.h:
423
424 2013-01-26  Alexey Proskuryakov  <ap@apple.com>
425
426         Remove code for handling NetworkProcess authentication challenges in WebProcess
427         https://bugs.webkit.org/show_bug.cgi?id=108003
428
429         Reviewed by Sam Weinig.
430
431         * WebURLAuthenticationChallenge.cpp:
432         (WebURLAuthenticationChallenge::initWithProtectionSpace):
433         Adapted for new AuthenticationChallenge constructor signature.
434
435 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
436
437         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
438         https://bugs.webkit.org/show_bug.cgi?id=107327
439
440         Reviewed by Filip Pizlo.
441
442         We're renaming these two files, so we have to replace the names everywhere.
443
444         * WebFrame.cpp:
445         * WebView.cpp:
446
447 2013-01-23  Tony Chang  <tony@chromium.org>
448
449         Unreviewed, set svn:eol-style to CRLF on Windows .sln files.
450
451         * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
452         * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
453
454 2013-01-23  Pavel Feldman  <pfeldman@chromium.org>
455
456         Follow up to 140539, adding exports for Win build.
457
458         Not reviewed.
459
460         * WebKit.vcproj/WebKitExports.def.in:
461
462 2013-01-22  Anders Carlsson  <andersca@apple.com>
463
464         Use a platforom strategy for local storage
465         https://bugs.webkit.org/show_bug.cgi?id=107600
466
467         Reviewed by Andreas Kling.
468
469         Update for new storage strategy.
470
471         * WebCoreSupport/WebPlatformStrategies.cpp:
472         (WebPlatformStrategies::createStorageStrategy):
473         * WebCoreSupport/WebPlatformStrategies.h:
474         (WebPlatformStrategies):
475
476 2013-01-18  Jer Noble  <jer.noble@apple.com>
477
478         Unreviewed build fix. Remove deleted symbol from windows export list.
479
480         * WebKit.vcproj/WebKitExports.def.in:
481
482 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
483
484         Add explicit keyword to constructors in platform-specific InspectorClient
485         https://bugs.webkit.org/show_bug.cgi?id=107255
486
487         Reviewed by Kentaro Hara.
488
489         Add explicit keyword to constructors that take one argument
490         in platform-specific implementation of InspectorClient.
491
492         * WebCoreSupport/WebInspectorClient.h:
493         (WebInspectorClient):
494
495 2013-01-18  Sheriff Bot  <webkit.review.bot@gmail.com>
496
497         Unreviewed, rolling out r140005.
498         http://trac.webkit.org/changeset/140005
499         https://bugs.webkit.org/show_bug.cgi?id=107235
500
501         broke downstream Chromium interactive_ui_tests (Requested by
502         dominicc on #webkit).
503
504         * WebKit.vcproj/WebKitExports.def.in:
505
506 2013-01-17  Nate Chapin  <japhet@chromium.org>
507
508         Enable reuse of cached main resources
509         https://bugs.webkit.org/show_bug.cgi?id=105667
510
511         Reviewed by Antti Koivisto.
512
513         * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
514
515 2013-01-15  peavo@outlook.com  <peavo@outlook.com>
516
517         Crash when saving history with no items in it.
518         https://bugs.webkit.org/show_bug.cgi?id=104261
519
520         Reviewed by Darin Adler.
521
522         * WebHistory.cpp:
523         (WebHistory::saveHistoryGuts): Added null pointer check
524
525 2013-01-09  Levi Weintraub <leviw@chromium.org>
526
527         Rolling out r139683. It broke a bunch of webkit_unit_tests. 
528
529 2013-01-09  Hajime Morrita  <morrita@google.com>
530
531         [Shadow DOM] Distribution related code on ElementShadow should be minimized.
532         https://bugs.webkit.org/show_bug.cgi?id=106294
533
534         Reviewed by Dimitri Glazkov.
535
536         * WebKit.vcproj/WebKit.def.in:
537
538 2013-01-09  Roger Fong  <roger_fong@apple.com>
539
540         Rename export files to make them more easily findable.
541         https://bugs.webkit.org/show_bug.cgi?id=98695.
542
543         Reviewed by Timothy Horton.
544
545         * WebKit.vcproj/WebKit.def.in: Removed.
546         * WebKit.vcproj/WebKit.vcproj:
547         * WebKit.vcproj/WebKitExportGenerator.vcproj:
548         * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd:
549         * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd:
550         * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd:
551         * WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in.
552         * WebKit.vcproj/WebKitLibCommon.vsprops:
553
554 2013-01-09  Roger Fong  <roger_fong@apple.com>
555
556         Add WebPreferences for Seamless IFrames on Windows port.
557         https://bugs.webkit.org/show_bug.cgi?id=106468.
558
559         Rubberstamped by Eric Seidel.
560
561         * Interfaces/IWebPreferences.idl:
562         * WebPreferenceKeysPrivate.h:
563         * WebPreferences.cpp:
564         (WebPreferences::areSeamlessIFramesEnabled):
565         (WebPreferences::setSeamlessIFramesEnabled):
566         * WebPreferences.h:
567         (WebPreferences):
568         * WebView.cpp:
569         (WebView::notifyPreferencesChanged):
570
571 2013-01-09  peavo@outlook.com  <peavo@outlook.com>
572
573         [WinCairo] Link fix after r138759
574         https://bugs.webkit.org/show_bug.cgi?id=106323
575
576         Reviewed by Kentaro Hara.
577
578         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
579         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
580
581 2013-01-08  Hajime Morrita  <morrita@google.com>
582
583         [Shadow DOM] Distribution related code on ShadowRoot should be minimized.
584         https://bugs.webkit.org/show_bug.cgi?id=106282
585
586         Reviewed by Dimitri Glazkov.
587
588         * WebKit.vcproj/WebKit.def.in:
589
590 2013-01-08  Mark Lam  <mark.lam@apple.com>
591
592         Removed the need for the ProposedDatabase mechanism.
593         https://bugs.webkit.org/show_bug.cgi?id=106292.
594
595         Reviewed by Sam Weinig.
596
597         * WebCoreSupport/WebChromeClient.cpp:
598         (WebChromeClient::exceededDatabaseQuota):
599         * WebCoreSupport/WebChromeClient.h:
600         (WebChromeClient):
601
602 2013-01-04  Roger Fong  <roger_fong@apple.com>
603
604         Make private browsing work on Windows.
605         https://bugs.webkit.org/show_bug.cgi?id=106032.
606
607         Reviewed by Alexey Proskuryakov.
608
609         Code path never called ensurePrivateBrowsingSession which is what starts up the private browsing session.
610         This was causing many tests to involving private browsing to fail.
611
612         * WebView.cpp:
613         (WebView::notifyPreferencesChanged):
614
615 2013-01-03  Roger Fong  <roger_fong@apple.com>
616
617         Remove all traces of Windows from WebKit2 folder.
618         https://bugs.webkit.org/show_bug.cgi?id=105585.
619
620         Reviewed by Sam Weinig.
621
622         WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win.
623
624         * WebKit.vcproj/WebKit.def.in: Added.
625         * WebKit.vcproj/WebKit.sln:
626         * WebKit.vcproj/WebKit.vcproj:
627         * WebKit.vcproj/WebKitCFLite.vsprops: Added.
628         * WebKit.vcproj/WebKitExportGenerator.vcproj: Added.
629         * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added.
630         * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added.
631         * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added.
632         * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added.
633         * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added.
634         * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added.
635         * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added.
636         * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added.
637         * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added.
638         * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added.
639         * WebKit.vcproj/WebKitLibCommon.vsprops:
640
641 2013-01-03  Csaba Osztrogon√°c  <ossy@webkit.org>
642
643         Unreviewed fix after r138656 to make GIT-SVN repositories happy.
644
645         * WebKit.vcproj/WebKitApple.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
646         * WebKit.vcproj/WebKitDirectX.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
647
648 2013-01-02  Roger Fong  <roger_fong@apple.com>
649
650         Unreviewed. Build fix after reintroducing r138331.
651
652         Attempted to remove WebKit2 from Apple Windows port in r138331 but two vsprops files were missing.
653
654         * WebKit.vcproj/WebKitApple.vsprops: Added.
655         * WebKit.vcproj/WebKitDirectX.vsprops: Added.
656
657 2013-01-02  Sheriff Bot  <webkit.review.bot@gmail.com>
658
659         Unreviewed, rolling out r138403.
660         http://trac.webkit.org/changeset/138403
661         https://bugs.webkit.org/show_bug.cgi?id=105950
662
663         Fixing e138331 which was rolled out in r138403 (Requested by
664         rfong on #webkit).
665
666         * WebKit.vcproj/WebKit.sln:
667         * WebKit.vcproj/WebKit.vcproj:
668         * WebKit.vcproj/WebKitLibCommon.vsprops:
669         * WebKit.vcproj/WebKitLibDebug.vsprops:
670         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
671         * WebKit.vcproj/WebKitLibProduction.vsprops:
672         * WebKit.vcproj/WebKitLibRelease.vsprops:
673
674 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
675
676         <rdar://problem/12808377> Network process should respect cookie accept policy
677         https://bugs.webkit.org/show_bug.cgi?id=105684
678
679         Reviewed by Sam Weinig.
680
681         * WebCoreSupport/WebPlatformStrategies.cpp:
682         * WebCoreSupport/WebPlatformStrategies.h:
683         CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
684
685 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
686
687         Add a separate class for networking related storage
688         https://bugs.webkit.org/show_bug.cgi?id=105676
689
690         Reviewed by Sam Weinig.
691
692         * WebCookieManagerCFNet.cpp:
693         * WebView.cpp:
694         Updated includes.
695
696         * WebCoreSupport/WebFrameNetworkingContext.cpp:
697         * WebCoreSupport/WebFrameNetworkingContext.h:
698         This class is now simpler, with most session tracking being in WebCore.
699
700         * WebCoreSupport/WebPlatformStrategies.cpp:
701         (WebPlatformStrategies::cookiesForDOM):
702         (WebPlatformStrategies::setCookiesFromDOM):
703         (WebPlatformStrategies::cookiesEnabled):
704         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
705         (WebPlatformStrategies::getRawCookies):
706         (WebPlatformStrategies::deleteCookie):
707         * WebCoreSupport/WebPlatformStrategies.h:
708         We no longer need a function for default storage! Other functions now take a session.
709
710 2012-12-21  Sheriff Bot  <webkit.review.bot@gmail.com>
711
712         Unreviewed, rolling out r138331.
713         http://trac.webkit.org/changeset/138331
714         https://bugs.webkit.org/show_bug.cgi?id=105668
715
716         Broke Windows clean builds; can't figure out how to fix it
717         (Requested by rniwa on #webkit).
718
719         * WebKit.vcproj/WebKit.sln:
720         * WebKit.vcproj/WebKit.vcproj:
721         * WebKit.vcproj/WebKitLibCommon.vsprops:
722         * WebKit.vcproj/WebKitLibDebug.vsprops:
723         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
724         * WebKit.vcproj/WebKitLibProduction.vsprops:
725         * WebKit.vcproj/WebKitLibRelease.vsprops:
726
727 2012-12-20  Anders Carlsson  <andersca@apple.com>
728
729         Stop building WebKit2 for Windows
730         https://bugs.webkit.org/show_bug.cgi?id=105585
731
732         Reviewed by Brian Weinstein.
733
734         Stop building WebKit2 on Windows, and change WebKit.vcproj to build WebKit.dll again.
735
736         * WebKit.vcproj/WebKit.sln:
737         * WebKit.vcproj/WebKit.vcproj:
738         * WebKit.vcproj/WebKitApple.vsprops: Added.
739         * WebKit.vcproj/WebKitDirectX.vsprops: Added.
740         * WebKit.vcproj/WebKitLibCommon.vsprops:
741         * WebKit.vcproj/WebKitLibDebug.vsprops:
742         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
743         * WebKit.vcproj/WebKitLibProduction.vsprops:
744         * WebKit.vcproj/WebKitLibRelease.vsprops:
745
746 2012-12-20  Anders Carlsson  <andersca@apple.com>
747
748         Copy WebKit2.rc to back to WebKit/win/WebKit.vcproj.
749
750         Rubber-stamped by Tim Horton.
751
752         * WebKit.vcproj/WebKit.rc: Added.
753
754 2012-12-20  Anders Carlsson  <andersca@apple.com>
755
756         Copy files from WebKit2/win (back) to WebKit/win/WebKit.vcproj.
757
758         Rubber-stamped by Tim Horton.
759
760         * WebKit.vcproj/deleteButton.png: Added.
761         * WebKit.vcproj/deleteButtonPressed.png: Added.
762         * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added.
763         * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added.
764         * WebKit.vcproj/fsVideoExitFullscreen.png: Added.
765         * WebKit.vcproj/fsVideoPause.png: Added.
766         * WebKit.vcproj/fsVideoPlay.png: Added.
767         * WebKit.vcproj/missingImage.png: Added.
768         * WebKit.vcproj/nullplugin.png: Added.
769         * WebKit.vcproj/panEastCursor.png: Added.
770         * WebKit.vcproj/panIcon.png: Added.
771         * WebKit.vcproj/panNorthCursor.png: Added.
772         * WebKit.vcproj/panNorthEastCursor.png: Added.
773         * WebKit.vcproj/panNorthWestCursor.png: Added.
774         * WebKit.vcproj/panSouthCursor.png: Added.
775         * WebKit.vcproj/panSouthEastCursor.png: Added.
776         * WebKit.vcproj/panSouthWestCursor.png: Added.
777         * WebKit.vcproj/panWestCursor.png: Added.
778         * WebKit.vcproj/searchCancel.png: Added.
779         * WebKit.vcproj/searchCancelPressed.png: Added.
780         * WebKit.vcproj/searchMagnifier.png: Added.
781         * WebKit.vcproj/searchMagnifierResults.png: Added.
782         * WebKit.vcproj/textAreaResizeCorner.png: Added.
783         * WebKit.vcproj/verticalTextCursor.png: Added.
784         * WebKit.vcproj/zoomInCursor.png: Added.
785         * WebKit.vcproj/zoomOutCursor.png: Added.
786
787 2012-12-19  Anders Carlsson  <andersca@apple.com>
788
789         Build WebKit2ExportGenerator before WebKitLib
790         https://bugs.webkit.org/show_bug.cgi?id=105487
791
792         Reviewed by Tim Horton.
793
794         * WebKit.vcproj/WebKit.sln:
795
796 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
797
798         Remove unnecessary functions from CookiesStrategy
799         https://bugs.webkit.org/show_bug.cgi?id=105369
800
801         Reviewed by Brady Eidson.
802
803         * WebCoreSupport/WebPlatformStrategies.cpp:
804         * WebCoreSupport/WebPlatformStrategies.h:
805
806 2012-12-15  Anders Carlsson  <andersca@apple.com>
807
808         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
809         https://bugs.webkit.org/show_bug.cgi?id=105122
810
811         Reviewed by Andreas Kling.
812
813         Update for WebCore changes.
814
815         * WebFrame.cpp:
816         (WebFrame::convertMainResourceLoadToDownload):
817         * WebFrame.h:
818
819 2012-12-15  Mark Lam  <mark.lam@apple.com>
820
821         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
822         https://bugs.webkit.org/show_bug.cgi?id=104934.
823
824         Not reviewed.
825
826         Merged from r137767. Previously reviewed by Sam Weinig.
827
828         * WebCoreSupport/WebPlatformStrategies.cpp:
829         (WebPlatformStrategies::createDatabaseStrategy):
830         * WebCoreSupport/WebPlatformStrategies.h:
831         (WebPlatformStrategies):
832
833 2012-12-14  Mark Lam  <mark.lam@apple.com>
834
835         The WebView should initialize the platform strategies before initializing other sub-systems.
836         https://bugs.webkit.org/show_bug.cgi?id=105083.
837
838         Reviewed by Alexey Proskuryakov.
839
840         * WebView.cpp:
841         (WebView::initWithFrame):
842
843 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
844
845         Unreviewed, rolling out r137767.
846         http://trac.webkit.org/changeset/137767
847         https://bugs.webkit.org/show_bug.cgi?id=105062
848
849         Broke Mac builds. (Requested by mlam on #webkit).
850
851         * WebCoreSupport/WebPlatformStrategies.cpp:
852         * WebCoreSupport/WebPlatformStrategies.h:
853         (WebPlatformStrategies):
854
855 2012-12-14  Mark Lam  <mark.lam@apple.com>
856
857         Introducing the DatabaseStrategy and database servers.
858         https://bugs.webkit.org/show_bug.cgi?id=104934.
859
860         Reviewed by Sam Weinig.
861
862         The database server is currently a placeholder that does nothing.
863
864         * WebCoreSupport/WebPlatformStrategies.cpp:
865         (WebPlatformStrategies::createDatabaseStrategy):
866         * WebCoreSupport/WebPlatformStrategies.h:
867         (WebPlatformStrategies):
868
869 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
870
871         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
872         https://bugs.webkit.org/show_bug.cgi?id=104691
873
874         Reviewed by Sam Weinig.
875
876         * WebCoreSupport/WebFrameNetworkingContext.cpp:
877         (WebFrameNetworkingContext::inPrivateBrowsingMode):
878         (WebFrameNetworkingContext::storageSession):
879         * WebCoreSupport/WebFrameNetworkingContext.h:
880         Implemented inPrivateBrowsingMode().
881
882 2012-12-12  Mark Lam  <mark.lam@apple.com>
883
884         Encapsulate externally used webdatabase APIs in DatabaseManager.
885         https://bugs.webkit.org/show_bug.cgi?id=104741.
886
887         Reviewed by Sam Weinig.
888
889         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
890         and DatabaseContext directly. This is to prepare for upcoming webkit2
891         refactoring.
892
893         * WebDatabaseManager.cpp:
894         (WebDatabaseManager::sharedWebDatabaseManager):
895         (WebDatabaseManager::origins):
896         (WebDatabaseManager::databasesWithOrigin):
897         (WebDatabaseManager::detailsForDatabase):
898         (WebDatabaseManager::deleteAllDatabases):
899         (WebDatabaseManager::deleteOrigin):
900         (WebDatabaseManager::deleteDatabase):
901         (WebDatabaseManager::setQuota):
902         (WebKitInitializeWebDatabasesIfNecessary):
903         * WebDatabaseManager.h:
904         (WebDatabaseManager):
905         * WebSecurityOrigin.cpp:
906         (WebSecurityOrigin::usage):
907         (WebSecurityOrigin::quota):
908         (WebSecurityOrigin::setQuota):
909         * WebView.cpp:
910         (WebView::notifyPreferencesChanged):
911
912 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
913
914         Make LOG() work in WebProcess and NetworkProcess
915         https://bugs.webkit.org/show_bug.cgi?id=104718
916
917         Reviewed by Tim Horton.
918
919         * WebView.cpp: Updated for a new include file to use in WebKits.
920
921 2012-12-11  Mike West  <mkwst@chromium.org>
922
923         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
924         https://bugs.webkit.org/show_bug.cgi?id=66371
925
926         Reviewed by Pavel Feldman.
927
928         Drops WebCore::MessageType from the addMessageToConsole method.
929
930         * WebCoreSupport/WebChromeClient.cpp:
931         (WebChromeClient::addMessageToConsole):
932         * WebCoreSupport/WebChromeClient.h:
933         (WebChromeClient):
934
935 2012-12-10  Xueqing Huang  <huangxueqing@baidu.com>
936
937         ASSERTION failed in Windows: css3/css3-modsel-33.html
938         https://bugs.webkit.org/show_bug.cgi?id=104472
939
940         Reviewed by Tim Horton.
941
942         In WebFrameLoaderClient::dispatchDidLayout, milestones maybe
943         DidFirstLayout & DidFirstVisualNonEmptyLayout, we should
944         use seperate COMPtrs for the two cases rather than reuse one. 
945
946         * WebCoreSupport/WebFrameLoaderClient.cpp:
947         (WebFrameLoaderClient::dispatchDidLayout):
948
949 2012-12-08  Seokju Kwon  <seokju.kwon@gmail.com>
950
951         Remove unused headers
952         https://bugs.webkit.org/show_bug.cgi?id=104428
953
954         Reviewed by Kentaro Hara.
955
956         Header inclusion cleanup.
957         Remove <WebCore/NotImplement.h>.
958
959         * WebCoreSupport/WebInspectorClient.cpp:
960         * WebMutableURLRequest.cpp:
961
962 2012-12-07  Anders Carlsson  <andersca@apple.com>
963
964         Remove WebKit2 related projects from WebKit.sln
965         https://bugs.webkit.org/show_bug.cgi?id=104395
966
967         Reviewed by Tim Horton.
968
969         * WebKit.vcproj/WebKit.sln:
970
971 2012-11-30  Brent Fulgham  <bfulgham@webkit.org>
972
973         [Windows, WinCairo] Generate library export definition file.
974         https://bugs.webkit.org/show_bug.cgi?id=103687
975
976         Reviewed by Tim Horton.
977
978         Update project solutions to use the new generated *.def files.
979
980         * WebKit.vcproj/WebKit.sln: Update for new project and file
981         locations.
982
983 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
984
985         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
986         https://bugs.webkit.org/show_bug.cgi?id=101192
987
988         Reviewed by Hajime Morita.
989
990         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
991
992         Tests: No new tests because there is no functional change.
993
994         * WebView.cpp:
995         (WebView::notifyPreferencesChanged):
996
997 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
998
999         [WK2] Forward cookie jar calls to NetworkProcess
1000         https://bugs.webkit.org/show_bug.cgi?id=103457
1001
1002         Reviewed by Darin Adler.
1003
1004         * WebCoreSupport/WebPlatformStrategies.cpp:
1005         (WebPlatformStrategies::cookiesForDOM):
1006         (WebPlatformStrategies::setCookiesFromDOM):
1007         (WebPlatformStrategies::cookiesEnabled):
1008         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1009         (WebPlatformStrategies::getRawCookies):
1010         (WebPlatformStrategies::deleteCookie):
1011         (WebPlatformStrategies::getHostnamesWithCookies):
1012         (WebPlatformStrategies::deleteCookiesForHostname):
1013         (WebPlatformStrategies::deleteAllCookies):
1014
1015 2012-11-27  James Simonsen  <simonjam@chromium.org>
1016
1017         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1018         https://bugs.webkit.org/show_bug.cgi?id=102151
1019
1020         Reviewed by Adam Barth.
1021
1022         * WebFrame.cpp:
1023         (WebFrame::loadRequest):
1024         (WebFrame::loadData):
1025
1026 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1027
1028         Unreviewed, rolling out r135786.
1029         http://trac.webkit.org/changeset/135786
1030         https://bugs.webkit.org/show_bug.cgi?id=103379
1031
1032         It made 3 plugin tests timeout on several platforms (Requested
1033         by Ossy on #webkit).
1034
1035         * WebFrame.cpp:
1036         (WebFrame::loadRequest):
1037         (WebFrame::loadData):
1038
1039 2012-11-26  James Simonsen  <simonjam@chromium.org>
1040
1041         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1042         https://bugs.webkit.org/show_bug.cgi?id=102151
1043
1044         Reviewed by Adam Barth.
1045
1046         * WebFrame.cpp:
1047         (WebFrame::loadRequest):
1048         (WebFrame::loadData):
1049
1050 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1051
1052         Disambiguate innerNodeFramePoint and mainFramePoint
1053         https://bugs.webkit.org/show_bug.cgi?id=98139
1054
1055         Reviewed by Julien Chaffraix.
1056
1057         * WebView.cpp:
1058         (WebView::handleContextMenuEvent):
1059
1060 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1061
1062         Unreviewed, rolling out r135295.
1063         http://trac.webkit.org/changeset/135295
1064         https://bugs.webkit.org/show_bug.cgi?id=102834
1065
1066         This patch causes assertion to some layout tests on chromium
1067         (Requested by jianli on #webkit).
1068
1069         * WebFrame.cpp:
1070         (WebFrame::loadRequest):
1071         (WebFrame::loadData):
1072
1073 2012-11-20  James Simonsen  <simonjam@chromium.org>
1074
1075         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1076         https://bugs.webkit.org/show_bug.cgi?id=102151
1077
1078         Reviewed by Adam Barth.
1079
1080         * WebFrame.cpp:
1081         (WebFrame::loadRequest):
1082         (WebFrame::loadData):
1083
1084 2012-11-17  Brady Eidson  <beidson@apple.com>
1085
1086         Add an integer identifier field to AuthenticationChallengeBase.
1087         https://bugs.webkit.org/show_bug.cgi?id=102593
1088
1089         Reviewed by Darin Adler.
1090
1091         * WebURLAuthenticationChallenge.cpp:
1092         (WebURLAuthenticationChallenge::initWithProtectionSpace): Adopt the new constructor with a dummy identifier.
1093
1094 2012-11-16  Brent Fulgham  <bfulgham@webkit.org>
1095
1096         [WinCairo] Unreviewed build fix after r134960.
1097
1098         Avoid including Mac-specific headers.
1099
1100         * WebCoreSupport/WebFrameNetworkingContext.cpp: Stub out
1101         CFNetwork-based implementations.
1102         * WebCoreSupport/WebFrameNetworkingContext.h: Exclude
1103         CFNetwork data types.
1104         * WebCoreSupport/WebPlatformStrategies.cpp: Stub out
1105         CFNetwork-based implementations.
1106         * WebCoreSupport/WebPlatformStrategies.h: Exclude
1107         CFNetwork data types.
1108
1109 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
1110
1111         Private Browsing is a per-page setting that sets a global value
1112         https://bugs.webkit.org/show_bug.cgi?id=67870
1113
1114         Reviewed by Sam Weinig.
1115
1116         * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): We can't get
1117         current session without any context, but the code was not correct anyway, the client
1118         is clearly interested in a getter to match override setter.
1119
1120         * WebCoreSupport/WebFrameNetworkingContext.cpp: Moved code for tracking global
1121         sessions from WebCore to WebKit. The behavior is unchanged, but lower levels are
1122         now cleaner.
1123
1124         * WebCoreSupport/WebFrameNetworkingContext.h: Ditto.
1125
1126         * WebCoreSupport/WebPlatformStrategies.h:
1127         * WebCoreSupport/WebPlatformStrategies.cpp:
1128         (WebPlatformStrategies::defaultCookieStorage): Added. Use WebFrameNetworkingContext
1129         for tracking the default session.
1130
1131         * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded):
1132         Use WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts. Updating only
1133         the current session is not sufficient, and did not match Mac.
1134
1135 2012-11-14  George Tsoumalis  <tsumalis96@gmail.com>
1136
1137         Implementation for mehods in WebMutableURLRequest.cpp
1138         https://bugs.webkit.org/show_bug.cgi?id=83671
1139
1140         Reviewed by Brent Fulgham..
1141
1142         * WebMutableURLRequest.cpp:
1143         (WebMutableURLRequest::addValue):
1144         (WebMutableURLRequest::setMainDocumentURL):
1145         (WebMutableURLRequest::setHTTPShouldHandleCookies):
1146
1147
1148 2012-11-12  Roger Fong  <roger_fong@apple.com>
1149
1150         REGRESSION(r130643): Assertion failure when running DRT in debug mode
1151         https://bugs.webkit.org/show_bug.cgi?id=101791
1152
1153         Reviewed by Darin Adler.
1154
1155         When running DRT in debug mode, we hit an assertion failure in initializing the WebKit instance.
1156         This failure started occuring in r130643 and this work around follows the work around in r132302.
1157
1158         * WebKitCOMAPI.cpp:
1159         (CLSIDHashTraits):
1160
1161 2012-11-12  Roger Fong  <roger_fong@apple.com>
1162
1163         Web Inspector: Fix docking behaviour on Windows.
1164         https://bugs.webkit.org/show_bug.cgi?id=101978
1165
1166         Reviewed by Brian Weinstein.
1167
1168         There are a number of problems with docking behaviour on Windows.
1169         For starters, it does not ever constrain the inspector's size properly while docked.
1170         It also does not properly set the whether or not the inspector can be docked/undocked.
1171         This patch fixes both issues.
1172
1173         * WebCoreSupport/WebInspectorClient.cpp:
1174         (WebInspectorFrontendClient::frontendLoaded): 
1175         (WebInspectorFrontendClient::attachWindow):
1176         Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector,
1177         we resize the inspector window properly.
1178
1179 2012-11-05  Simon Fraser  <simon.fraser@apple.com>
1180
1181         Fix layer borders to cleaning appear and disappear on switching
1182         https://bugs.webkit.org/show_bug.cgi?id=101136
1183
1184         Reviewed by Sam Weinig.
1185
1186         Remove the GraphicsLayerClient methods showDebugBorders() and
1187         showRepaintCounter().
1188
1189         * WebView.cpp:
1190         * WebView.h:
1191
1192 2012-10-29  Anders Carlsson  <andersca@apple.com>
1193
1194         String::createCFString should return a RetainPtr
1195         https://bugs.webkit.org/show_bug.cgi?id=100419
1196
1197         Reviewed by Andreas Kling.
1198
1199         Update callers of String::createCFString.
1200
1201         * WebCoreSupport/WebFrameLoaderClient.cpp:
1202         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
1203         * WebDatabaseManager.cpp:
1204         (WebDatabaseManager::dispatchDidModifyDatabase):
1205         * WebHistory.cpp:
1206         (WebHistory::visitedURL):
1207         (WebHistory::itemForURLString):
1208         * WebHistoryItem.cpp:
1209         (WebHistoryItem::dictionaryRepresentation):
1210         * WebIconDatabase.cpp:
1211         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
1212         (postDidAddIconNotification):
1213         * WebLocalizableStrings.cpp:
1214         (createWebKitBundle):
1215         (copyLocalizedStringFromBundle):
1216         * WebPreferences.cpp:
1217         (WebPreferences::initializeDefaultSettings):
1218         * WebView.cpp:
1219         (WebView::setCacheModel):
1220         (WebView::notifyPreferencesChanged):
1221
1222 2012-10-24  Brady Eidson  <beidson@apple.com>
1223
1224         Add a strategy for loader customization.
1225         https://bugs.webkit.org/show_bug.cgi?id=100278
1226
1227         Reviewed by Alexey Proskuryakov.
1228
1229         * WebCoreSupport/WebPlatformStrategies.cpp:
1230         (WebPlatformStrategies::createLoaderStrategy):
1231         * WebCoreSupport/WebPlatformStrategies.h:
1232         (WebPlatformStrategies):
1233
1234 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1235
1236         Add a strategy for shared workers
1237         https://bugs.webkit.org/show_bug.cgi?id=100165
1238
1239         Reviewed by Brady Eidson.
1240
1241         * WebCoreSupport/WebPlatformStrategies.cpp:
1242         (WebPlatformStrategies::createPasteboardStrategy):
1243         (WebPlatformStrategies::createSharedWorkerStrategy):
1244         (WebPlatformStrategies::createVisitedLinkStrategy):
1245         * WebCoreSupport/WebPlatformStrategies.h:
1246         (WebPlatformStrategies):
1247
1248 2012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
1249
1250         [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
1251         https://bugs.webkit.org/show_bug.cgi?id=98514
1252
1253         Reviewed by Kenneth Rohde Christiansen.
1254
1255         * WebCoreSupport/WebFrameLoaderClient.cpp:
1256         (WebFrameLoaderClient::transitionToCommittedForNewPage):
1257
1258 2012-10-21  Andreas Kling  <kling@webkit.org>
1259
1260         Remove Page::javaScriptURLsAreAllowed setting.
1261         <http://webkit.org/b/99944>
1262
1263         Reviewed by Anders Carlsson.
1264
1265         Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL
1266         to prevent COM ABI breakage.
1267
1268         * WebView.cpp:
1269         (WebView::setJavaScriptURLsAreAllowed):
1270
1271 2012-10-18  Roger Fong  <roger_fong@apple.com>
1272
1273         Unreviewed. Build fix after r131701 and r131777.
1274
1275         * WebKit.vcproj/WebKit.sln:
1276
1277 2012-10-14  Sam Weinig  <sam@webkit.org>
1278
1279         Fix the windows build.
1280
1281         * WebView.cpp:
1282         (toStringVector):
1283
1284 2012-10-10  Brady Eidson  <beidson@apple.com>
1285
1286         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1287         https://bugs.webkit.org/show_bug.cgi?id=98976
1288
1289         Reviewed by Anders Carlsson.
1290
1291         * WebDataSource.cpp:
1292         (WebDataSource::data):
1293
1294 2012-10-10  Jon Lee  <jonlee@apple.com>
1295
1296         [WK2] Activate plugins when user clicks on snapshot
1297         https://bugs.webkit.org/show_bug.cgi?id=98328
1298         <rdar://problem/12426681>
1299
1300         Reviewed by Brady Eidson.
1301
1302         * WebCoreSupport/WebFrameLoaderClient.h:
1303         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1304
1305 2012-10-10  Brady Eidson  <beidson@apple.com>
1306
1307         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1308         https://bugs.webkit.org/show_bug.cgi?id=98541
1309
1310         Reviewed by Anders Carlsson.
1311
1312         * WebDataSource.cpp:
1313         (WebDataSource::subresourceForURL):
1314
1315 2012-10-08  Simon Fraser  <simon.fraser@apple.com>
1316
1317         Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
1318         https://bugs.webkit.org/show_bug.cgi?id=98574
1319
1320         Reviewed by Dean Jackson.
1321
1322         GraphicsLayerCA assumed that using a TileCache equated to being the main page tile
1323         cache layer, which has some special considerations. Make these two concepts separate
1324         to get closer to being able to use TileCaches in place of CATiledLayer.
1325
1326         * FullscreenVideoController.cpp:
1327         (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
1328
1329 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1330
1331         Rename first/second to key/value in HashMap iterators
1332         https://bugs.webkit.org/show_bug.cgi?id=82784
1333
1334         Reviewed by Eric Seidel.
1335
1336         * COMPropertyBag.h:
1337         (::Read):
1338         (::GetPropertyInfo):
1339         * WebCoreStatistics.cpp:
1340         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1341         * WebCoreSupport/WebPlatformStrategies.cpp:
1342         (WebPlatformStrategies::getPluginInfo):
1343         * WebHistory.cpp:
1344         (WebHistory::removeItemFromDateCaches):
1345         * WebKitCOMAPI.cpp:
1346         (classFactory):
1347         * WebKitStatistics.cpp:
1348         (WebKitStatistics::comClassNameCounts):
1349         * WebNotificationCenter.cpp:
1350         (WebNotificationCenter::postNotificationInternal):
1351         (WebNotificationCenter::addObserver):
1352         (WebNotificationCenter::removeObserver):
1353
1354 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1355
1356         Final part of "sync" to "flush" renaming
1357         https://bugs.webkit.org/show_bug.cgi?id=98430
1358
1359         Reviewed by Tim Horton.
1360
1361         Change method names on GraphicsLayer and GraphicsLayerClient that
1362         refer to "sync" to use the term "flush" instead, to be consistent
1363         with the rest of the code.
1364
1365         * WebView.cpp:
1366         (WebView::notifyFlushRequired):
1367         (WebView::flushPendingGraphicsLayerChanges):
1368         * WebView.h:
1369
1370 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1371
1372         Standardize on "flush" terminology for compositing layer flushing/syncing
1373         https://bugs.webkit.org/show_bug.cgi?id=98321
1374
1375         Reviewed by Simon Fraser.
1376
1377         Rename compositing-related methods that refer to "syncing" to instead
1378         refer to "flushing".
1379
1380         * WebCoreSupport/WebChromeClient.cpp:
1381         (WebChromeClient::scheduleCompositingLayerFlush):
1382         * WebCoreSupport/WebChromeClient.h:
1383         (WebChromeClient):
1384         * WebView.cpp:
1385         (WebView::flushPendingGraphicsLayerChanges):
1386
1387 2012-10-02  Anders Carlsson  <andersca@apple.com>
1388
1389         Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
1390         https://bugs.webkit.org/show_bug.cgi?id=98217
1391
1392         Reviewed by Andreas Kling.
1393
1394         * WebView.cpp:
1395         (WebView::setAcceleratedCompositing):
1396
1397 2012-10-01  Brady Eidson  <beidson@apple.com>
1398
1399         Remove the Safari 2 -> Safari 3 icon database import code.
1400         https://bugs.webkit.org/show_bug.cgi?id=98113
1401
1402         Reviewed by Maciej Stachowiak.
1403
1404         Nuke the performImport() IconDatabaseClient method.
1405
1406         * WebIconDatabase.cpp:
1407         * WebIconDatabase.h:
1408         (WebIconDatabase):
1409
1410 2012-09-25  Beth Dakin  <bdakin@apple.com>
1411
1412         https://bugs.webkit.org/show_bug.cgi?id=95397
1413         Need to merge didFirstVisuallyNonEmptyLayout and 
1414         didNewFirstVisuallyNonEmptyLayout
1415         -and corresponding-
1416         <rdar://problem/10791680>
1417
1418         Reviewed by Sam Weinig.
1419
1420         Remove dispatchDidFirstLayout, 
1421         dispatchDidFirstVisuallyNonEmptyLayout, and 
1422         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
1423         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
1424         * WebCoreSupport/WebFrameLoaderClient.cpp:
1425         (WebFrameLoaderClient::dispatchDidLayout):
1426         * WebCoreSupport/WebFrameLoaderClient.h:
1427         (WebFrameLoaderClient):
1428
1429         It is now necessary to opt into getting any of the 
1430         "layout milestone" notifications.
1431         * WebView.cpp:
1432         (WebView::initWithFrame):
1433
1434 2012-09-19  Patrick Gansterer  <paroga@webkit.org>
1435
1436         [WIN] Use BString in favour of BSTR to improve memory management
1437         https://bugs.webkit.org/show_bug.cgi?id=93128
1438
1439         Reviewed by Anders Carlsson.
1440
1441         BString automatically calls SysFreeString() in its destructor which helps
1442         avoiding memory leaks. So it should be used instead of BSTR directly.
1443         Add operator& to BString to allow its usage for out parameters too (like COMPtr).
1444         This fixes already a few memory leaks in the existing code.
1445
1446         * DefaultPolicyDelegate.cpp:
1447         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1448         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1449         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1450         * MarshallingHelpers.cpp:
1451         (MarshallingHelpers::KURLToBSTR):
1452         (MarshallingHelpers::CFStringRefToBSTR):
1453         (MarshallingHelpers::stringArrayToSafeArray):
1454         (MarshallingHelpers::safeArrayToStringArray):
1455         * WebCoreSupport/WebChromeClient.cpp:
1456         (WebChromeClient::runJavaScriptPrompt):
1457         * WebCoreSupport/WebEditorClient.cpp:
1458         (WebEditorClient::checkGrammarOfString):
1459         (WebEditorClient::getGuessesForWord):
1460         * WebFrame.cpp:
1461         (WebFrame::canProvideDocumentSource):
1462         * WebHistory.cpp:
1463         (WebHistory::removeItem):
1464         (WebHistory::addItem):
1465         * WebIconDatabase.cpp:
1466         (WebIconDatabase::startUpIconDatabase):
1467         * WebNotificationCenter.cpp:
1468         (WebNotificationCenter::postNotification):
1469         * WebPreferences.cpp:
1470         (WebPreferences::setStringValue):
1471         * WebView.cpp:
1472         (toAtomicString):
1473         (toString):
1474         (toKURL):
1475         (PreferencesChangedOrRemovedObserver::onNotify):
1476         (WebView::close):
1477         (WebView::canShowMIMEType):
1478         (WebView::initWithFrame):
1479         (WebView::setApplicationNameForUserAgent):
1480         (WebView::setCustomUserAgent):
1481         (WebView::userAgentForURL):
1482         (WebView::setCustomTextEncodingName):
1483         (WebView::customTextEncodingName):
1484         (WebView::setPreferences):
1485         (WebView::searchFor):
1486         (WebView::executeCoreCommandByName):
1487         (WebView::markAllMatchesForText):
1488         (WebView::setGroupName):
1489         (WebView::registerURLSchemeAsLocal):
1490         (WebView::replaceSelectionWithText):
1491         (WebView::onNotify):
1492         (WebView::notifyPreferencesChanged):
1493         (WebView::MIMETypeForExtension):
1494         (WebView::standardUserAgentWithApplicationName):
1495         (WebView::addAdditionalPluginDirectory):
1496         (WebView::registerEmbeddedViewMIMEType):
1497         (WebView::addOriginAccessWhitelistEntry):
1498         (WebView::removeOriginAccessWhitelistEntry):
1499         (WebView::geolocationDidFailWithError):
1500         (WebView::setDomainRelaxationForbiddenForURLScheme):
1501         (WebView::setCompositionForTesting):
1502         (WebView::confirmCompositionForTesting):
1503
1504 2012-09-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1505
1506         Unreviewed, rolling out r128809.
1507         http://trac.webkit.org/changeset/128809
1508         https://bugs.webkit.org/show_bug.cgi?id=96958
1509
1510         Broke the Windows build. (Requested by andersca on #webkit).
1511
1512         * DefaultPolicyDelegate.cpp:
1513         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1514         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1515         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1516         * MarshallingHelpers.cpp:
1517         (MarshallingHelpers::KURLToBSTR):
1518         (MarshallingHelpers::CFStringRefToBSTR):
1519         (MarshallingHelpers::stringArrayToSafeArray):
1520         (MarshallingHelpers::safeArrayToStringArray):
1521         * WebCoreSupport/WebChromeClient.cpp:
1522         (WebChromeClient::runJavaScriptPrompt):
1523         * WebCoreSupport/WebEditorClient.cpp:
1524         (WebEditorClient::checkGrammarOfString):
1525         (WebEditorClient::getGuessesForWord):
1526         * WebFrame.cpp:
1527         (WebFrame::canProvideDocumentSource):
1528         * WebHistory.cpp:
1529         (WebHistory::removeItem):
1530         (WebHistory::addItem):
1531         * WebIconDatabase.cpp:
1532         (WebIconDatabase::startUpIconDatabase):
1533         * WebNotificationCenter.cpp:
1534         (WebNotificationCenter::postNotification):
1535         * WebPreferences.cpp:
1536         (WebPreferences::setStringValue):
1537         * WebView.cpp:
1538         (PreferencesChangedOrRemovedObserver::onNotify):
1539         (WebView::close):
1540         (WebView::canShowMIMEType):
1541         (WebView::initWithFrame):
1542         (WebView::setApplicationNameForUserAgent):
1543         (WebView::setCustomUserAgent):
1544         (WebView::userAgentForURL):
1545         (WebView::setCustomTextEncodingName):
1546         (WebView::customTextEncodingName):
1547         (WebView::setPreferences):
1548         (WebView::searchFor):
1549         (WebView::executeCoreCommandByName):
1550         (WebView::markAllMatchesForText):
1551         (WebView::setGroupName):
1552         (WebView::registerURLSchemeAsLocal):
1553         (WebView::replaceSelectionWithText):
1554         (WebView::onNotify):
1555         (WebView::notifyPreferencesChanged):
1556         (WebView::MIMETypeForExtension):
1557         (WebView::standardUserAgentWithApplicationName):
1558         (WebView::addAdditionalPluginDirectory):
1559         (WebView::registerEmbeddedViewMIMEType):
1560         (toString):
1561         (toKURL):
1562         (WebView::addOriginAccessWhitelistEntry):
1563         (WebView::removeOriginAccessWhitelistEntry):
1564         (WebView::geolocationDidFailWithError):
1565         (WebView::setDomainRelaxationForbiddenForURLScheme):
1566         (WebView::setCompositionForTesting):
1567         (WebView::confirmCompositionForTesting):
1568
1569 2012-09-16  Mark Lam  <mark.lam@apple.com>
1570
1571         Added MSVC project changes to enable building the llint.
1572         https://bugs.webkit.org/show_bug.cgi?id=96175.
1573
1574         Reviewed by Geoff Garen.
1575
1576         This only adds the ability to build the llint, but currently, only the
1577         C++ backend is supported. By default, the Windows port will remain
1578         running with the baseline JIT.  The llint will not be enabled.
1579
1580         * WebKit.vcproj/WebKit.sln:
1581
1582 2012-09-13  Brent Fulgham  <bfulgham@webkit.org>
1583
1584         [WinCairo] Unreviewed build fix.
1585
1586         * WebCookieManagerCurl.cpp: Remove unused 'using WebCore'
1587         declaration that prevented the build from completing.
1588
1589 2012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1590
1591         Unreviewed, rolling out r127876.
1592         http://trac.webkit.org/changeset/127876
1593         https://bugs.webkit.org/show_bug.cgi?id=96600
1594
1595         mouse click doesn't work for spin button if spin button in
1596         iframe (Requested by yosin on #webkit).
1597
1598         * WebActionPropertyBag.cpp:
1599         (WebActionPropertyBag::Read):
1600         * WebView.cpp:
1601         (WebView::handleContextMenuEvent):
1602         (WebView::elementAtPoint):
1603
1604 2012-09-10  Beth Dakin  <bdakin@apple.com>
1605
1606         https://bugs.webkit.org/show_bug.cgi?id=96158
1607         Need API to suppress scrollbar animations
1608         -and corresponding-
1609         <rdar://problem/12210972>
1610
1611         Reviewed by Sam Weinig.
1612
1613         ScrollableArea::isOnActivePage() has been re-named to
1614         ScrollableArea:: scrollbarsCanBeActive().
1615         * WebScrollBar.cpp:
1616         (WebScrollBar::scrollbarsCanBeActive):
1617         * WebScrollBar.h:
1618         (WebScrollBar):
1619
1620 2012-09-10  Dominic Mazzoni  <dmazzoni@google.com>
1621
1622         AX: Update Windows port accessible role mappings to fix some tests
1623         https://bugs.webkit.org/show_bug.cgi?id=96219
1624
1625         Reviewed by Chris Fleizach.
1626
1627         Update a bunch of accessible role mappings to fix tests and improve win
1628         accessibility.
1629
1630         * AccessibleBase.cpp:
1631         (MSAARole):
1632
1633 2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
1634
1635         Simplify hitTestResultAtPoint and nodesFromRect APIs
1636         https://bugs.webkit.org/show_bug.cgi?id=95720
1637
1638         Reviewed by Antonio Gomes.
1639
1640         Update calls to new API.
1641
1642         * WebActionPropertyBag.cpp:
1643         (WebActionPropertyBag::Read):
1644         * WebView.cpp:
1645         (WebView::handleContextMenuEvent):
1646         (WebView::elementAtPoint):
1647
1648 2012-09-05  Sam Weinig  <sam@webkit.org>
1649
1650         Part 2 of removing PlatformString.h, remove PlatformString.h
1651         https://bugs.webkit.org/show_bug.cgi?id=95931
1652
1653         Reviewed by Adam Barth.
1654
1655         Remove PlatformString.h
1656
1657         * DOMCSSClasses.cpp:
1658         * DefaultPolicyDelegate.cpp:
1659         * MarshallingHelpers.cpp:
1660         * WebCoreSupport/WebInspectorClient.h:
1661         * WebDownload.h:
1662         * WebFrame.h:
1663         * WebHistoryItem.h:
1664         * WebIconDatabase.cpp:
1665         * WebKitDLL.h:
1666         * WebKitGraphics.cpp:
1667         * WebKitSystemBits.cpp:
1668         * WebLocalizableStrings.cpp:
1669         * WebNotificationCenter.cpp:
1670         * WebResource.h:
1671
1672 2012-09-06  Patrick Gansterer  <paroga@webkit.org>
1673
1674         Remove String::operator+=() from windows platform code
1675         https://bugs.webkit.org/show_bug.cgi?id=95904
1676
1677         Reviewed by Benjamin Poulain.
1678
1679         Use StringBuilder and operator+() to concatenate strings instead of operator+=().
1680
1681         * AccessibleBase.cpp:
1682         (AccessibleBase::get_accKeyboardShortcut):
1683         * WebDownload.cpp:
1684         (WebDownload::bundlePathForTargetPath):
1685         * WebView.cpp:
1686         (imeCompositionArgumentNames):
1687
1688 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1689
1690         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
1691         https://bugs.webkit.org/show_bug.cgi?id=92735
1692
1693         Reviewed by Hajime Morita.
1694
1695         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
1696         Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl
1697
1698         * WebFrame.cpp:
1699         (WebFrame::numberOfPages):
1700
1701 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
1702
1703         Replace JSC::UString by WTF::String
1704         https://bugs.webkit.org/show_bug.cgi?id=95271
1705
1706         Reviewed by Geoffrey Garen.
1707
1708         Replace UString by String.
1709
1710         * WebFrame.cpp:
1711         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1712         * WebView.cpp:
1713         (WebView::stringByEvaluatingJavaScriptFromString):
1714
1715 2012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
1716
1717         AX: Canvas should have a distinct role
1718         https://bugs.webkit.org/show_bug.cgi?id=95248
1719
1720         Reviewed by Chris Fleizach.
1721
1722         Map new CanvasRole to the same as ImageRole.
1723
1724         * AccessibleBase.cpp:
1725         (MSAARole):
1726
1727 2012-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1728
1729         Unreviewed, rolling out r126972.
1730         http://trac.webkit.org/changeset/126972
1731         https://bugs.webkit.org/show_bug.cgi?id=95349
1732
1733         accessibility/canvas-description-and-role.html has been
1734         failing consistently on several bots and Dominic needs some
1735         time to investigate why (Requested by jchaffraix on #webkit).
1736
1737         * AccessibleBase.cpp:
1738         (MSAARole):
1739
1740 2012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
1741
1742         AX: Canvas should have a distinct role
1743         https://bugs.webkit.org/show_bug.cgi?id=95248
1744
1745         Reviewed by Chris Fleizach.
1746
1747         Map new CanvasRole to the same as ImageRole.
1748
1749         * AccessibleBase.cpp:
1750         (MSAARole):
1751
1752 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1753
1754         Unreviewed, rolling out r126914.
1755         http://trac.webkit.org/changeset/126914
1756         https://bugs.webkit.org/show_bug.cgi?id=95239
1757
1758         it breaks everything and fixes nothing (Requested by pizlo on
1759         #webkit).
1760
1761         * COMPropertyBag.h:
1762         (::Read):
1763         (::GetPropertyInfo):
1764         * WebCoreStatistics.cpp:
1765         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1766         * WebCoreSupport/WebPlatformStrategies.cpp:
1767         (WebPlatformStrategies::getPluginInfo):
1768         * WebHistory.cpp:
1769         (WebHistory::removeItemFromDateCaches):
1770         * WebKitCOMAPI.cpp:
1771         (classFactory):
1772         * WebKitStatistics.cpp:
1773         (WebKitStatistics::comClassNameCounts):
1774         * WebNotificationCenter.cpp:
1775         (WebNotificationCenter::postNotificationInternal):
1776         (WebNotificationCenter::addObserver):
1777         (WebNotificationCenter::removeObserver):
1778
1779 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1780
1781         Rename first/second to key/value in HashMap iterators
1782         https://bugs.webkit.org/show_bug.cgi?id=82784
1783
1784         Reviewed by Eric Seidel.
1785
1786         * COMPropertyBag.h:
1787         (::Read):
1788         (::GetPropertyInfo):
1789         * WebCoreStatistics.cpp:
1790         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1791         * WebCoreSupport/WebPlatformStrategies.cpp:
1792         (WebPlatformStrategies::getPluginInfo):
1793         * WebHistory.cpp:
1794         (WebHistory::removeItemFromDateCaches):
1795         * WebKitCOMAPI.cpp:
1796         (classFactory):
1797         * WebKitStatistics.cpp:
1798         (WebKitStatistics::comClassNameCounts):
1799         * WebNotificationCenter.cpp:
1800         (WebNotificationCenter::postNotificationInternal):
1801         (WebNotificationCenter::addObserver):
1802         (WebNotificationCenter::removeObserver):
1803
1804 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1805
1806         Unreviewed, rolling out r126836.
1807         http://trac.webkit.org/changeset/126836
1808         https://bugs.webkit.org/show_bug.cgi?id=95163
1809
1810         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
1811         #webkit).
1812
1813         * COMPropertyBag.h:
1814         (::Read):
1815         (::GetPropertyInfo):
1816         * WebCoreStatistics.cpp:
1817         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1818         * WebCoreSupport/WebPlatformStrategies.cpp:
1819         (WebPlatformStrategies::getPluginInfo):
1820         * WebHistory.cpp:
1821         (WebHistory::removeItemFromDateCaches):
1822         * WebKitCOMAPI.cpp:
1823         (classFactory):
1824         * WebKitStatistics.cpp:
1825         (WebKitStatistics::comClassNameCounts):
1826         * WebNotificationCenter.cpp:
1827         (WebNotificationCenter::postNotificationInternal):
1828         (WebNotificationCenter::addObserver):
1829         (WebNotificationCenter::removeObserver):
1830
1831 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1832
1833         Rename first/second to key/value in HashMap iterators
1834         https://bugs.webkit.org/show_bug.cgi?id=82784
1835
1836         Reviewed by Eric Seidel.
1837
1838         * COMPropertyBag.h:
1839         (::Read):
1840         (::GetPropertyInfo):
1841         * WebCoreStatistics.cpp:
1842         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1843         * WebCoreSupport/WebPlatformStrategies.cpp:
1844         (WebPlatformStrategies::getPluginInfo):
1845         * WebHistory.cpp:
1846         (WebHistory::removeItemFromDateCaches):
1847         * WebKitCOMAPI.cpp:
1848         (classFactory):
1849         * WebKitStatistics.cpp:
1850         (WebKitStatistics::comClassNameCounts):
1851         * WebNotificationCenter.cpp:
1852         (WebNotificationCenter::postNotificationInternal):
1853         (WebNotificationCenter::addObserver):
1854         (WebNotificationCenter::removeObserver):
1855
1856 2012-08-23  Adrienne Walker  <enne@google.com>
1857
1858         Convert ScrollableArea ASSERT_NOT_REACHED virtuals
1859         https://bugs.webkit.org/show_bug.cgi?id=93306
1860
1861         Reviewed by Darin Adler.
1862
1863         Add implementations where necessary to make derived classes concrete.
1864         Add OVERRIDE for ScrollableArea functions.
1865
1866         * WebScrollBar.cpp:
1867         (WebScrollBar::visibleHeight):
1868         (WebScrollBar::visibleWidth):
1869         (WebScrollBar::contentsSize):
1870         (WebScrollBar::isOnActivePage):
1871         (WebScrollBar::scrollableAreaBoundingBox):
1872         * WebScrollBar.h:
1873         (WebScrollBar):
1874
1875 2012-08-22  Nikhil Bhargava  <nbhargava@google.com>
1876
1877         Reduce Font.h includes across project -- improves RenderObject.h compile time
1878         https://bugs.webkit.org/show_bug.cgi?id=93629
1879
1880         Reviewed by Eric Seidel.
1881
1882         Adds includes due to change in RenderStyle.h
1883
1884         * DOMCoreClasses.cpp:
1885
1886 2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
1887
1888         Update manual tests and comments to refer to TestRunner instead of LayoutTestController
1889         https://bugs.webkit.org/show_bug.cgi?id=94168
1890
1891         Reviewed by Kent Tamura.
1892
1893         * Interfaces/IWebPreferencesPrivate.idl:
1894
1895 2012-08-14  Adam Barth  <abarth@webkit.org>
1896
1897         Delete Frame::domWindow() and Frame::existingDOMWindow()
1898         https://bugs.webkit.org/show_bug.cgi?id=93990
1899
1900         Reviewed by Eric Seidel.
1901
1902         * WebFrame.cpp:
1903         (WebFrame::DOMWindow):
1904         (WebFrame::pendingFrameUnloadEventCount):
1905
1906 2012-08-13  Tom Sepez  <tsepez@chromium.org>
1907
1908         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
1909         https://bugs.webkit.org/show_bug.cgi?id=93283
1910
1911         Reviewed by Eric Seidel.
1912
1913         Change the client redirectDataToPlugin method(s) to expect the possibility of
1914         a NULL argument, keeping existing behaviour otherwise.
1915
1916         * WebCoreSupport/WebFrameLoaderClient.cpp:
1917         (WebFrameLoaderClient::redirectDataToPlugin):
1918
1919 2012-08-05  Patrick Gansterer  <paroga@webkit.org>
1920
1921         [WIN] Use sizeof() for cbWndExtra values
1922         https://bugs.webkit.org/show_bug.cgi?id=93179
1923
1924         Reviewed by Eric Carlson.
1925
1926         Using sizof() instead of hardcoding the pointer size of
1927         the 32bit platform allows us to use the code on 64bit too.
1928
1929         * FullscreenVideoController.cpp:
1930         (FullscreenVideoController::registerHUDWindowClass):
1931         * WebView.cpp:
1932         (WebView::registerWebViewWindowClass):
1933
1934 2012-07-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1935
1936         [Mac] Fix build break on Apple win bot after r123711
1937         https://bugs.webkit.org/show_bug.cgi?id=92354
1938
1939         Reviewed by Adam Barth.
1940
1941         Missing return value.
1942
1943         * WebFrame.cpp:
1944         (WebFrame::pageNumberForElementById):
1945
1946 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1947
1948         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
1949         https://bugs.webkit.org/show_bug.cgi?id=92091
1950
1951         Reviewed by Adam Barth.
1952
1953         Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
1954         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1955
1956         * WebFrame.cpp: Added comment for removing the function. Removed implementation.
1957
1958 2012-07-25  Roger Fong  <roger_fong@apple.com>
1959
1960         Changes to the WebFrame API cause dependent apps to crash.
1961         https://bugs.webkit.org/show_bug.cgi?id=91656
1962         <rdar://problem/11904605>
1963         
1964         Reviewed by Jon Honeycutt.
1965         
1966         Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface.
1967         The resumeAnimations and suspendAnimations are removed, which are still needed.
1968         The counterValueByElementId method was also removed, although is not needed there.
1969         However, for all of these methods, no method stubs were added where appropriate after removal.
1970         
1971         * Interfaces/IWebFramePrivate.idl:
1972         Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method.
1973         
1974         * WebFrame.cpp:
1975         (WebFrame::resumeAnimations):
1976         Added this method back in.
1977         (WebFrame::suspendAnimations):
1978         Added this method back in.
1979         
1980         * WebFrame.h:
1981         (Re)added methods and unused method stubs. 
1982
1983 2012-07-23  Patrick Gansterer  <paroga@webkit.org>
1984
1985         Build fix if NOMINMAX is defined by the build system.
1986
1987         * COMEnumVariant.h: Added #ifndef NOMINMAX around #define NOMINMAX.
1988         * COMPropertyBag.h: Ditto.
1989
1990 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
1991
1992         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
1993         https://bugs.webkit.org/show_bug.cgi?id=91006
1994
1995         Reviewed by Ryosuke Niwa.
1996
1997         Remove numTouchEventHandlersChanged stub.
1998
1999         * WebCoreSupport/WebChromeClient.h:
2000
2001 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
2002
2003         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
2004         https://bugs.webkit.org/show_bug.cgi?id=91196
2005
2006         Reviewed by Pavel Feldman.
2007
2008         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
2009         now returning the InspectorFrontendChannel.
2010
2011         * WebCoreSupport/WebInspectorClient.cpp:
2012         (WebInspectorClient::openInspectorFrontend):
2013         * WebCoreSupport/WebInspectorClient.h:
2014         (WebInspectorClient):
2015
2016 2012-07-14  Eric Carlson  <eric.carlson@apple.com>
2017
2018         Enable AVCF hardware video decoding
2019         https://bugs.webkit.org/show_bug.cgi?id=90015
2020         <rdar://problem/10770317>
2021
2022         Reviewed by Anders Carlsson.
2023
2024         * WebCoreSupport/WebChromeClient.cpp:
2025         (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter.
2026         * WebCoreSupport/WebChromeClient.h:
2027         (WebChromeClient):
2028
2029         * WebView.cpp:
2030         (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter.
2031         * WebView.h:
2032         (WebCore):
2033         (WebView):
2034
2035 2012-07-10  Adam Barth  <abarth@webkit.org>
2036
2037         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
2038         https://bugs.webkit.org/show_bug.cgi?id=90910
2039
2040         Reviewed by Eric Seidel.
2041
2042         * WebPreferences.cpp:
2043         (WebPreferences::initializeDefaultSettings):
2044         (WebPreferences::setHixie76WebSocketProtocolEnabled):
2045         (WebPreferences::hixie76WebSocketProtocolEnabled):
2046         * WebView.cpp:
2047         (WebView::notifyPreferencesChanged):
2048
2049 2012-07-02  Ryosuke Niwa  <rniwa@webkit.org>
2050
2051         Make HTMLCollection RefCounted
2052         https://bugs.webkit.org/show_bug.cgi?id=90414
2053
2054         Reviewed by Sam Weinig.
2055
2056         * DOMHTMLClasses.cpp:
2057         (DOMHTMLDocument::forms):
2058         (DOMHTMLSelectElement::options):
2059
2060 2012-07-03  Mihai Balan  <mibalan@adobe.com>
2061
2062         [CSS Regions] Enabling regions on Windows lead to crash-on-launch for WebKit.exe
2063         https://bugs.webkit.org/show_bug.cgi?id=90435
2064
2065         Reviewed by Csaba Osztrogon√°c.
2066
2067         Initial patch for enabling regions led to WebKit crashing on launch. Moving the
2068         IDL declarations for CSS regions getter/setter at the end of the file solves the
2069         problem. As per http://trac.webkit.org/changeset/95650 seems it has to do with
2070         binary compatibility.
2071
2072         * Interfaces/IWebPreferences.idl: Mover getter/setter for CSS regions at the end of file
2073
2074 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
2075
2076         Do not do any logging initialization when logging is disabled
2077         https://bugs.webkit.org/show_bug.cgi?id=90228
2078
2079         Reviewed by Simon Fraser.
2080
2081         * WebView.cpp:
2082         (WebView::initWithFrame):
2083
2084 2012-06-29  Mihai Balan  <mibalan@adobe.com>
2085
2086         [CSS Regions] Adding feature defines for CSS Regions for Windows
2087         https://bugs.webkit.org/show_bug.cgi?id=88645
2088
2089         Reviewed by Tony Chang.
2090
2091         Re-trying to enable CSS regions on Windows. This time only enabling
2092         regions since exclusions lead to some very strange compiling/linking
2093         problems. This time adding preferences code to make sure the settings
2094         get propagated to DRT (previous experiments by abucur showed they
2095         didn't.).
2096
2097         * WebPreferenceKeysPrivate.h: Added preference key for CSS regions
2098         * Interfaces/IWebPreferences.idl: Added getters and setters for CSS regions settings
2099         * WebPreferences.cpp: ditto
2100         (WebPreferences::initializeDefaultSettings):
2101         (WebPreferences::isCSSRegionsEnabled):
2102         (WebPreferences::setCSSRegionsEnabled):
2103         * WebPreferences.h: ditto
2104         (WebPreferences):
2105         * WebView.cpp: Added settings code to handle CSS regions, too
2106         (WebView::notifyPreferencesChanged):
2107
2108 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
2109
2110         JSLock should be per-JSGlobalData
2111         https://bugs.webkit.org/show_bug.cgi?id=89123
2112
2113         Reviewed by Geoffrey Garen.
2114
2115         Changed all sites that used JSLock to instead use the new JSLockHolder
2116         and pass in the correct JS context that the code is about to interact with that 
2117         needs protection. Also added a couple JSLocks to places that didn't already 
2118         have it that needed it.
2119
2120         * WebCoreStatistics.cpp:
2121         (WebCoreStatistics::javaScriptObjectsCount):
2122         (WebCoreStatistics::javaScriptGlobalObjectsCount):
2123         (WebCoreStatistics::javaScriptProtectedObjectsCount):
2124         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
2125         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
2126         * WebFrame.cpp:
2127         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
2128         * WebJavaScriptCollector.cpp:
2129         (WebJavaScriptCollector::objectCount):
2130         * WebView.cpp:
2131         (WebView::stringByEvaluatingJavaScriptFromString):
2132         (WebView::reportException):
2133         (WebView::elementFromJS):
2134
2135 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2136
2137         Unreviewed, rolling out r121058.
2138         http://trac.webkit.org/changeset/121058
2139         https://bugs.webkit.org/show_bug.cgi?id=89809
2140
2141         Patch causes plugins tests to crash in GTK debug builds
2142         (Requested by zdobersek on #webkit).
2143
2144         * WebCoreStatistics.cpp:
2145         (WebCoreStatistics::javaScriptObjectsCount):
2146         (WebCoreStatistics::javaScriptGlobalObjectsCount):
2147         (WebCoreStatistics::javaScriptProtectedObjectsCount):
2148         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
2149         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
2150         * WebFrame.cpp:
2151         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
2152         * WebJavaScriptCollector.cpp:
2153         (WebJavaScriptCollector::objectCount):
2154         * WebView.cpp:
2155         (WebView::stringByEvaluatingJavaScriptFromString):
2156         (WebView::reportException):
2157         (WebView::elementFromJS):
2158
2159 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
2160
2161         JSLock should be per-JSGlobalData
2162         https://bugs.webkit.org/show_bug.cgi?id=89123
2163
2164         Reviewed by Gavin Barraclough.
2165
2166         Changed all sites that used JSLock to instead use the new JSLockHolder
2167         and pass in the correct JS context that the code is about to interact with that 
2168         needs protection.
2169
2170         * WebCoreStatistics.cpp:
2171         (WebCoreStatistics::javaScriptObjectsCount):
2172         (WebCoreStatistics::javaScriptGlobalObjectsCount):
2173         (WebCoreStatistics::javaScriptProtectedObjectsCount):
2174         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
2175         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
2176         * WebFrame.cpp:
2177         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
2178         * WebJavaScriptCollector.cpp:
2179         (WebJavaScriptCollector::objectCount):
2180         * WebView.cpp:
2181         (WebView::stringByEvaluatingJavaScriptFromString):
2182         (WebView::reportException):
2183         (WebView::elementFromJS):
2184
2185 2012-06-20  Garret Kelly  <gdk@chromium.org>
2186
2187         Moving cookieEnabled/setCookieEnabled from Page to Settings.
2188         https://bugs.webkit.org/show_bug.cgi?id=89545
2189
2190         Reviewed by Adam Barth.
2191
2192         * WebView.cpp:
2193         (WebView::setCookieEnabled):
2194         (WebView::cookieEnabled):
2195
2196 2012-06-20  Julien Chaffraix  <jchaffraix@webkit.org>
2197
2198         Use IntSize in RenderLayer to represent scroll offsets
2199         https://bugs.webkit.org/show_bug.cgi?id=89154
2200
2201         Reviewed by Eric Seidel.
2202
2203         * WebView.cpp:
2204         (WebView::gesture):
2205         Updated to pass an IntSize to scrollByRecursively.
2206
2207 2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2208
2209         [DRT] LTC:: counterValueForElementById() could be moved to Internals.
2210         https://bugs.webkit.org/show_bug.cgi?id=84406
2211
2212         Reviewed by Hajime Morita.
2213
2214         Move the counterValueForElementById from LayoutTestCotroller to Internals and
2215         remove the old platform specific implementations as it exclusively tests WebCore functionality.
2216
2217         * Interfaces/IWebFramePrivate.idl:
2218         * WebFrame.cpp:
2219         * WebFrame.h:
2220
2221 2012-06-11  Sam Weinig  <sam@webkit.org>
2222
2223         Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
2224         https://bugs.webkit.org/show_bug.cgi?id=88723
2225
2226         Reviewed by Dan Bernstein.
2227
2228         * WebFrame.cpp:
2229         (WebFrame::setIsDisconnected):
2230         (WebFrame::setExcludeFromTextSearch):
2231         Stop doing anything in these functions.
2232
2233 2012-06-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2234
2235         Unreviewed, rolling out r119955.
2236         http://trac.webkit.org/changeset/119955
2237         https://bugs.webkit.org/show_bug.cgi?id=88758
2238
2239         Breaks Chromium compile - Chromium depends on removed API
2240         (Requested by dominicc on #webkit).
2241
2242         * WebFrame.cpp:
2243         (WebFrame::setIsDisconnected):
2244         (WebFrame::setExcludeFromTextSearch):
2245
2246 2012-06-10  Sam Weinig  <sam@webkit.org>
2247
2248         Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
2249         https://bugs.webkit.org/show_bug.cgi?id=88723
2250
2251         Reviewed by Dan Bernstein.
2252
2253         * WebFrame.cpp:
2254         (WebFrame::setIsDisconnected):
2255         (WebFrame::setExcludeFromTextSearch):
2256         Stop doing anything in these functions.
2257
2258 2012-05-31  Hajime Morrita  <morrita@chromium.org>
2259
2260         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
2261         https://bugs.webkit.org/show_bug.cgi?id=86859
2262
2263         Reviewed by Ryosuke Niwa.
2264
2265         * WebCoreSupport/WebEditorClient.h:
2266         (WebEditorClient::requestCheckingOfString):
2267
2268 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
2269
2270         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
2271         https://bugs.webkit.org/show_bug.cgi?id=42328
2272
2273         Reviewed by Eric Seidel.
2274
2275         * WebInspector.cpp:
2276         (WebInspector::setJavaScriptProfilingEnabled):
2277
2278 2012-05-25  Lynn Neir  <lynn.neir@skype.net>
2279
2280         Added methods needed to implement backend for DRT's TextInputController on windows, https://bugs.webkit.org/show_bug.cgi?id=32021
2281
2282         Reviewed by Eric Seidel.
2283
2284         * Interfaces/IWebViewPrivate.idl:
2285         * WebView.cpp:
2286         (WebView::setCompositionForTesting):
2287         (WebView::hasCompositionForTesting):
2288         (WebView::confirmCompositionForTesting):
2289         (WebView::compositionRangeForTesting):
2290         (WebView::firstRectForCharacterRangeForTesting):
2291         (WebView::selectedRangeForTesting):
2292         * WebView.h:
2293         (WebView):
2294
2295 2012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2296
2297         Move setEditingBehavior() from layoutTestController to window.internals
2298         https://bugs.webkit.org/show_bug.cgi?id=42689
2299
2300         Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
2301
2302         Remove Win private API to get/set the editing behavior. Follow the previous
2303         removals that keep the virtual functions there but failing.
2304
2305         * Interfaces/IWebPreferences.idl:
2306         * WebPreferenceKeysPrivate.h:
2307         * WebPreferences.cpp:
2308         (WebPreferences::unused5):
2309         (WebPreferences::unused6):
2310         * WebPreferences.h:
2311         (WebPreferences):
2312         * WebView.cpp:
2313         (WebView::notifyPreferencesChanged):
2314
2315 2012-05-18  MORITA Hajime <morrita@google.com>
2316
2317         Another unreviewed attempt to fix build breakage on r117572.
2318
2319         * WebCoreSupport/WebEditorClient.h:
2320         (WebEditorClient::frameWillDetachPage):
2321
2322 2012-05-18  MORITA Hajime  <morrita@google.com>
2323
2324         https://bugs.webkit.org/show_bug.cgi?id=85515
2325         Stale frame in WebCore::SpellChecker::didCheckSucceeded
2326
2327         Reviewed by Ryosuke Niwa.
2328
2329         * WebCoreSupport/WebEditorClient.h:
2330         (WebEditorClient::frameWillDetachPage):
2331
2332 2012-05-17  Hironori Bono  <hbono@chromium.org>
2333
2334         [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
2335         https://bugs.webkit.org/show_bug.cgi?id=86591
2336
2337         Reviewed by Ryosuke Niwa.
2338
2339         This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
2340         function to remove platform-specific code from Editor::respondToChangedSelection
2341         function.
2342
2343         No new tests, no change in behavior.
2344
2345         * WebCoreSupport/WebEditorClient.cpp:
2346         (WebEditorClient::shouldEraseMarkersAfterChangeSelection):
2347         * WebCoreSupport/WebEditorClient.h:
2348         (WebEditorClient):
2349
2350 2012-05-17  Dan Bernstein  <mitz@apple.com>
2351
2352         REGRESSION (r117428): WebKit API/SPI was removed
2353         https://bugs.webkit.org/show_bug.cgi?id=86748
2354
2355         Reverted r117428.
2356
2357         * Interfaces/IWebViewPrivate.idl:
2358         * WebView.cpp:
2359         (WebView::setDomainRelaxationForbiddenForURLScheme):
2360         * WebView.h:
2361         (WebView):
2362
2363 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2364
2365         Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
2366         https://bugs.webkit.org/show_bug.cgi?id=86704
2367
2368         Reviewed by Eric Seidel.
2369
2370         Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
2371         cross-port way through the InternalSettings interface.
2372
2373         * Interfaces/IWebViewPrivate.idl:
2374         * WebView.cpp:
2375         * WebView.h:
2376         (WebView):
2377
2378 2012-05-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2379
2380         Move resumeAnimations to use Internals interface
2381         https://bugs.webkit.org/show_bug.cgi?id=86063
2382
2383         Reviewed by Alexey Proskuryakov.
2384
2385         Remove resumeAnimations functions, because it is able to work in the 
2386         cross-port way through the Internals interface.
2387
2388         * Interfaces/IWebFramePrivate.idl:
2389         * WebFrame.cpp:
2390         * WebFrame.h:
2391
2392 2012-05-10  Anders Carlsson  <andersca@apple.com>
2393
2394         Rename the missing plug-in indicator to the unavailable plug-in indicator
2395         https://bugs.webkit.org/show_bug.cgi?id=86136
2396
2397         Reviewed by Sam Weinig.
2398
2399         * WebCoreSupport/WebChromeClient.cpp:
2400         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
2401         (WebChromeClient::unavailablePluginButtonClicked):
2402         * WebCoreSupport/WebChromeClient.h:
2403         (WebChromeClient):
2404
2405 2012-05-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2406
2407         Move suspendAnimations to use Internals interface.
2408         https://bugs.webkit.org/show_bug.cgi?id=85986
2409
2410         Reviewed by Ryosuke Niwa.
2411
2412         Remove suspendAnimations functions, because it is able to work in the 
2413         cross-port way through the Internals interface.
2414
2415         * Interfaces/IWebFramePrivate.idl:
2416         * WebFrame.cpp:
2417         * WebFrame.h:
2418
2419 2012-05-07  Julien Chaffraix  <jchaffraix@webkit.org>
2420
2421         Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
2422         https://bugs.webkit.org/show_bug.cgi?id=84090
2423
2424         Reviewed by David Hyatt.
2425
2426         * WebCoreSupport/EmbeddedWidget.cpp:
2427         (EmbeddedWidget::windowClipRect):
2428         Updated after windowClipRectForLayer name and signature change.
2429
2430         * WebCoreSupport/EmbeddedWidget.h:
2431         (EmbeddedWidget):
2432         (EmbeddedWidget::EmbeddedWidget):
2433         Updated the internal DOM pointer to be an HTMLPlugInElement
2434         as it was what was passed in anyway. Also fixed some style
2435         issues detected by our tools.
2436
2437 2012-05-05  Dean Jackson  <dino@apple.com>
2438
2439         Add new Setting/Preference to disable requestAnimationFrame
2440         https://bugs.webkit.org/show_bug.cgi?id=85693
2441
2442         Reviewed by Simon Fraser.
2443
2444         Exposes a new WebPreference: WebKitRequestAnimationFrameEnabled.
2445         The default value is true. The majority of applications will leave
2446         it this way.
2447
2448         * Interfaces/IWebPreferencesPrivate.idl:
2449         * WebPreferenceKeysPrivate.h:
2450         * WebPreferences.cpp:
2451         (WebPreferences::initializeDefaultSettings):
2452         (WebPreferences::setRequestAnimationFrameEnabled):
2453         (WebPreferences::requestAnimationFrameEnabled):
2454         * WebPreferences.h:
2455         (WebPreferences):
2456         * WebView.cpp:
2457         (WebView::notifyPreferencesChanged):
2458
2459 2012-05-04  Nate Chapin  <japhet@chromium.org>
2460
2461         Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
2462         https://bugs.webkit.org/show_bug.cgi?id=85533
2463
2464         Reviewed by Alexey Proskuryakov.
2465
2466         * WebCoreSupport/WebFrameLoaderClient.cpp:
2467         (WebFrameLoaderClient::finishedLoading):
2468
2469 2012-04-27  Jon Lee  <jonlee@apple.com>
2470
2471         Migrate permission functions to Notification from NotificationCenter
2472         https://bugs.webkit.org/show_bug.cgi?id=80485
2473         <rdar://problem/10965458>
2474
2475         Reviewed by Jian Li.
2476
2477         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2478         (WebDesktopNotificationsDelegate::requestPermission):
2479         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2480         (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission.
2481
2482 2012-04-23  Jon Honeycutt  <jhoneycutt@apple.com>
2483
2484         FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
2485         information about the form being submitted
2486         https://bugs.webkit.org/show_bug.cgi?id=84297
2487
2488         Reviewed by Andy Estes.
2489
2490         * WebFrame.h:
2491         Fix function stub for new parameter.
2492
2493 2012-05-01  Ryosuke Niwa  <rniwa@webkit.org>
2494
2495         *Command.h files shouldn't be exported to WebKit layer
2496         https://bugs.webkit.org/show_bug.cgi?id=74778
2497
2498         Reviewed by Eric Seidel.
2499
2500         * WebView.cpp:
2501
2502 2012-04-20  Emil A Eklund  <eae@chromium.org>
2503
2504         [win] Update windows platform code to use pixel snapped values
2505         https://bugs.webkit.org/show_bug.cgi?id=84283
2506
2507         Reviewed by Eric Seidel.
2508
2509         * AccessibleBase.cpp:
2510         (AccessibleBase::accLocation):
2511
2512 2012-04-18  Vivek Galatage  <vivekgalatage@gmail.com>
2513
2514         Web Inspector: Disabling Inspector causes build failure on Windows
2515         https://bugs.webkit.org/show_bug.cgi?id=83557
2516
2517         Reviewed by Pavel Feldman.
2518
2519         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
2520         This change brings all such API calls under the guard.
2521
2522         * WebCoreSupport/WebInspectorClient.cpp:
2523         * WebInspector.cpp:
2524         * WebNodeHighlight.cpp:
2525         (WebNodeHighlight::WebNodeHighlight):
2526         (WebNodeHighlight::update):
2527         * WebNodeHighlight.h:
2528         (WebNodeHighlight):
2529         * WebView.cpp:
2530         (WebView::WebView):
2531         (WebView::close):
2532         (WebView::initWithFrame):
2533         (WebView::inspector):
2534         * WebView.h:
2535         (WebView):
2536
2537 2012-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2538
2539         Unreviewed, rolling out r113836.
2540         http://trac.webkit.org/changeset/113836
2541         https://bugs.webkit.org/show_bug.cgi?id=83705
2542
2543         Broke all the WebKit2 inspector tests (Requested by andersca
2544         on #webkit).
2545
2546         * WebCoreSupport/WebInspectorClient.cpp:
2547         (registerWindowClass):
2548         * WebInspector.cpp:
2549         (WebInspector::setTimelineProfilingEnabled):
2550         * WebNodeHighlight.cpp:
2551         (WebNodeHighlight::WebNodeHighlight):
2552         (WebNodeHighlight::update):
2553         * WebNodeHighlight.h:
2554         (WebNodeHighlight):
2555         * WebView.cpp:
2556         (WebView::WebView):
2557         (WebView::close):
2558         (WebView::initWithFrame):
2559         (WebView::inspector):
2560         * WebView.h:
2561         (WebView):
2562
2563 2012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
2564
2565         Web Inspector: Disabling Inspector causes build failure on Windows
2566         https://bugs.webkit.org/show_bug.cgi?id=83557
2567
2568         Reviewed by Pavel Feldman.
2569
2570         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
2571         This change brings all such API calls under the guard.
2572         
2573         * WebCoreSupport/WebInspectorClient.cpp:
2574         * WebInspector.cpp:
2575         * WebNodeHighlight.cpp:
2576         (WebNodeHighlight::WebNodeHighlight):
2577         (WebNodeHighlight::update):
2578         * WebNodeHighlight.h:
2579         (WebNodeHighlight):
2580         * WebView.cpp:
2581         (WebView::WebView):
2582         (WebView::close):
2583         (WebView::initWithFrame):
2584         (WebView::inspector):
2585         * WebView.h:
2586         (WebView):
2587
2588 2012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
2589
2590         GEOLOCATION should be implemented as Page Supplement
2591         https://bugs.webkit.org/show_bug.cgi?id=82228
2592
2593         Reviewed by Adam Barth.
2594
2595         Geolocation is now a Supplement in Page so the interface
2596         has changed for setting up the page's geolocation client
2597         initially and accessing the controller later.
2598
2599         * WebView.cpp:
2600         (WebView::initWithFrame):
2601         (WebView::geolocationDidChangePosition):
2602         (WebView::geolocationDidFailWithError):
2603
2604 2012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2605
2606         Unreviewed, rolling out r112553.
2607         http://trac.webkit.org/changeset/112553
2608         https://bugs.webkit.org/show_bug.cgi?id=82638
2609
2610         It made all tests crash on Qt WK2 (Requested by Ossy_away on
2611         #webkit).
2612
2613         * WebView.cpp:
2614         (WebView::initWithFrame):
2615         (WebView::geolocationDidChangePosition):
2616         (WebView::geolocationDidFailWithError):
2617
2618 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2619
2620         HashMap<>::add should return a more descriptive object
2621         https://bugs.webkit.org/show_bug.cgi?id=71063
2622
2623         Reviewed by Ryosuke Niwa.
2624
2625         Update code to use AddResult instead of a pair.
2626
2627         * WebKitCOMAPI.cpp:
2628         (classFactory):
2629
2630 2012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
2631
2632         GEOLOCATION should be implemented as Page Supplement
2633         https://bugs.webkit.org/show_bug.cgi?id=82228
2634
2635         Reviewed by Adam Barth.
2636
2637         Geolocation is now a Supplement in Page so the interface
2638         has changed for setting up the page's geolocation client
2639         initially and accessing the controller later.
2640
2641         * WebView.cpp:
2642         (WebView::initWithFrame):
2643         (WebView::geolocationDidChangePosition):
2644         (WebView::geolocationDidFailWithError):
2645
2646 2012-03-28  Nate Chapin  <japhet@chromium.org>
2647
2648         Remove dispatchDidLoadMainResource callback, since no
2649         port implements it.
2650         https://bugs.webkit.org/show_bug.cgi?id=82539
2651
2652         Reviewed by Alexey Proskuryakov.
2653
2654         * WebCoreSupport/WebFrameLoaderClient.cpp:
2655         * WebCoreSupport/WebFrameLoaderClient.h:
2656         (WebFrameLoaderClient):
2657
2658 2012-03-26  Adam Barth  <abarth@webkit.org>
2659
2660         FrameLoader::shouldAllowNavigation uses Frame for context rather than Document
2661         https://bugs.webkit.org/show_bug.cgi?id=81020
2662
2663         Reviewed by Eric Seidel.
2664
2665         Update call site to new function name.
2666
2667         * WebFrame.cpp:
2668         (WebFrame::dispatchWillSubmitForm):
2669
2670 2012-03-22  Anders Carlsson  <andersca@apple.com>
2671
2672         ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/
2673         https://bugs.webkit.org/show_bug.cgi?id=81953
2674         <rdar://problem/11086998>
2675
2676         Reviewed by Sam Weinig.
2677
2678         Update for changes to WebCore.
2679
2680         * FullscreenVideoController.cpp:
2681         (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
2682
2683 2012-03-20  Steve Falkenburg  <sfalken@apple.com>
2684
2685         Move WTF-related Windows project files out of JavaScriptCore
2686         https://bugs.webkit.org/show_bug.cgi?id=80680
2687
2688         Reviewed by Jessie Berlin.
2689
2690         * WebKit.vcproj/WebKit.sln:
2691
2692 2012-03-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2693
2694         Convert hasSpellingMarker to use Internals interface.
2695         https://bugs.webkit.org/show_bug.cgi?id=81300
2696
2697         Reviewed by Ryosuke Niwa.
2698
2699         Remove hasSpellingMarker interface support, since it can support in the cross-port
2700         way through the Internals interface.
2701
2702         * Interfaces/IWebFramePrivate.idl:
2703
2704 2012-03-19  Adam Barth  <abarth@webkit.org>
2705
2706         Remove support for "magic" iframe
2707         https://bugs.webkit.org/show_bug.cgi?id=81590
2708
2709         Reviewed by Eric Seidel.
2710
2711         Remove FrameLoaderClient methods that no longer exist.
2712
2713         * WebCoreSupport/WebFrameLoaderClient.cpp:
2714         * WebCoreSupport/WebFrameLoaderClient.h:
2715         (WebFrameLoaderClient):
2716
2717 2012-03-19  Anders Carlsson  <andersca@apple.com>
2718
2719         Fix Windows build.
2720
2721         * FullscreenVideoController.cpp:
2722         (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor):
2723
2724 2012-03-13  Jon Lee  <jonlee@apple.com>
2725
2726         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
2727         https://bugs.webkit.org/show_bug.cgi?id=80922
2728         <rdar://problem/11035082>
2729
2730         Reviewed by Jian Li.
2731
2732         You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
2733         LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
2734         new API. Therefore, APIs that are common between the two will have:
2735         #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
2736
2737         This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
2738         the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
2739
2740         Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
2741         * WebCoreSupport/WebChromeClient.cpp:
2742         (WebChromeClient::WebChromeClient):
2743         * WebCoreSupport/WebChromeClient.h:
2744         (WebChromeClient):
2745         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2746         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2747
2748 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
2749
2750         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
2751         https://bugs.webkit.org/show_bug.cgi?id=78853
2752
2753         Reviewed by Adam Barth.
2754
2755         * WebCoreSupport/WebChromeClient.h:
2756         (WebChromeClient):
2757         * WebCoreSupport/WebGeolocationClient.cpp:
2758         (WebGeolocationClient::lastPosition):
2759         * WebGeolocationPosition.cpp:
2760         (WebGeolocationPosition::initWithTimestamp):
2761         (core):
2762         * WebGeolocationPosition.h:
2763         (WebGeolocationPosition):
2764         (WebGeolocationPosition::impl):
2765         * WebView.cpp:
2766         (WebView::initWithFrame):
2767         (WebView::geolocationDidChangePosition):
2768         (WebView::geolocationDidFailWithError):
2769
2770 2012-03-12  Jessie Berlin  <jberlin@apple.com>
2771
2772         More Windows build fixing.
2773
2774         * MarshallingHelpers.cpp:
2775         * WebDatabaseManager.cpp:
2776
2777 2012-03-09  Jon Lee  <jonlee@apple.com>
2778
2779         Rename NotificationPresenter to NotificationClient
2780         https://bugs.webkit.org/show_bug.cgi?id=80488
2781         <rdar://problem/10965558>
2782
2783         Reviewed by Kentaro Hara.
2784
2785         Refactor to use renamed WebCore::NotificationClient.
2786         * WebCoreSupport/WebChromeClient.h:
2787         (WebChromeClient::notificationPresenter):
2788         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2789         (WebDesktopNotificationsDelegate::checkPermission):
2790         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2791         (WebDesktopNotificationsDelegate):
2792
2793 2012-03-09  Emil A Eklund  <eae@chromium.org>
2794
2795         Add roundedPoint to HitTestResult and change platform code to use it
2796         https://bugs.webkit.org/show_bug.cgi?id=80715
2797
2798         Reviewed by James Robinson.
2799
2800         Change ports to use roundedPoint to avoid exposing subpixel types to
2801         platform code.
2802
2803         * WebView.cpp:
2804         (WebView::handleContextMenuEvent):
2805
2806 2012-03-08  Steve Falkenburg  <sfalken@apple.com>
2807
2808         Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build
2809         https://bugs.webkit.org/show_bug.cgi?id=80657
2810
2811         Preparation for WTF separation from JavaScriptCore.
2812         The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct
2813         dependencies for generated files.
2814
2815         Reviewed by Jessie Berlin.
2816
2817         * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects.
2818
2819 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
2820
2821         Remove the redundant method KURL::protocolInHTTPFamily()
2822         https://bugs.webkit.org/show_bug.cgi?id=80216
2823
2824         Reviewed by Anders Carlsson.
2825
2826         * WebCoreSupport/WebFrameLoaderClient.cpp:
2827         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2828         * WebHistory.cpp:
2829         (WebHistory::visitedURL):
2830
2831 2012-02-26  Hajime Morrita  <morrita@chromium.org>
2832
2833         Move ChromeClient::showContextMenu() to ContextMenuClient
2834         https://bugs.webkit.org/show_bug.cgi?id=79427
2835
2836         Reviewed by Adam Barth.
2837
2838         * WebCoreSupport/WebChromeClient.h:
2839         (WebChromeClient):
2840
2841 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
2842
2843         SpellCheckRequest needs to know the context where the spellcheck happened.
2844         https://bugs.webkit.org/show_bug.cgi?id=79320
2845
2846         Reviewed by Hajime Morita.
2847
2848         * WebCoreSupport/WebEditorClient.h:
2849         (WebEditorClient::requestCheckingOfString):
2850         (WebEditorClient):
2851
2852 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
2853
2854         Remove the remaining uses of CSSStyleDeclaration in Editor
2855         https://bugs.webkit.org/show_bug.cgi?id=78939
2856
2857         Reviewed by Enrica Casucci.
2858
2859         * WebCoreSupport/WebEditorClient.cpp:
2860         (WebEditorClient::shouldApplyStyle):
2861         * WebCoreSupport/WebEditorClient.h:
2862         (WebEditorClient):
2863
2864 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
2865
2866         Remove the remaining uses of CSSStyleDeclaration in Editor
2867         https://bugs.webkit.org/show_bug.cgi?id=78939
2868
2869         Reviewed by Enrica Casucci.
2870
2871         * WebCoreSupport/WebEditorClient.cpp:
2872         (WebEditorClient::shouldApplyStyle):
2873         * WebCoreSupport/WebEditorClient.h:
2874         (WebEditorClient):
2875
2876 2012-02-17  Kalev Lember  <kalevlember@gmail.com>
2877
2878         Remove unused parameters from WTF threading API
2879         https://bugs.webkit.org/show_bug.cgi?id=78389
2880
2881         Reviewed by Adam Roben.
2882
2883         waitForThreadCompletion() had an out param 'void **result' to get the
2884         'void *' returned by ThreadFunction. However, the implementation in
2885         ThreadingWin.cpp ignored the out param, not filling it in. This had
2886         led to a situation where none of the client code made use of the param
2887         and just ignored it.
2888
2889         To clean this up, the patch changes the signature of ThreadFunction to
2890         return void instead of void* and drops the the unused 'void **result'
2891         parameter from waitForThreadCompletion. Also, all client code is
2892         updated for the API change.
2893
2894         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even
2895         though the change only affects internal API, Safari is using it
2896         directly and we'll need to keep the old versions around for ABI
2897         compatibility. For this, the patch adds compatibility wrappers with
2898         the old ABI.
2899
2900         * WebKit.vcproj/WebKit_Cairo.def: Add the new functions.
2901         * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
2902
2903 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2904
2905         Notify ChromeClient when touch-event handlers are installed/removed.
2906         https://bugs.webkit.org/show_bug.cgi?id=77440
2907
2908         Reviewed by Darin Fisher and Ryosuke Niwa.
2909
2910         * WebCoreSupport/WebChromeClient.h:
2911         (WebChromeClient::numTouchEventHandlersChanged):
2912
2913 2012-02-14  Alexey Proskuryakov  <ap@apple.com>
2914
2915         [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
2916         https://bugs.webkit.org/show_bug.cgi?id=78541
2917         <rdar://problem/10036695>
2918
2919         Reviewed by Kent Tamura.
2920
2921         * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of
2922         the preference
2923
2924 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
2925
2926         Convert svg/animations to use SMIL methods for driving the timeline
2927         https://bugs.webkit.org/show_bug.cgi?id=78422
2928
2929         Reviewed by Dirk Schulze.
2930
2931         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
2932         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
2933
2934         * Interfaces/IWebFramePrivate.idl:
2935         * WebFrame.cpp:
2936         * WebFrame.h:
2937
2938 2012-02-13  Andy Estes  <aestes@apple.com>
2939
2940         Fix the Windows build.
2941
2942         * WebCoreSupport/WebPlatformStrategies.cpp:
2943         (WebPlatformStrategies::createPasteboardStrategy):
2944         * WebCoreSupport/WebPlatformStrategies.h:
2945         (WebPlatformStrategies):
2946
2947 2012-02-12  Andy Estes  <aestes@apple.com>
2948
2949         [Windows] Add API to enable inverted color drawing on a WebView
2950         https://bugs.webkit.org/show_bug.cgi?id=77382
2951
2952         Reviewed by Adam Roben.
2953
2954         Add a new private WebPreference key called "WebKitShouldInvertColors"
2955         and add private cover methods to get and set the preference. When this
2956         preference changes on a WebPreference object, all WebViews listening to
2957         that object will repaint to reflect the new value.
2958
2959         * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors()
2960         cover methods for WebKitShouldInvertColorsPreferenceKey.
2961         * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey.
2962         * WebPreferences.cpp:
2963         (WebPreferences::shouldInvertColors):
2964         (WebPreferences::setShouldInvertColors):
2965         * WebPreferences.h:
2966         (WebPreferences):
2967         * WebView.cpp:
2968         (WebView::setShouldInvertColors): If m_shouldInvertColors changes,
2969         update the value on the WebView and in m_layerTreeHost, then repaint
2970         the view.
2971         (WebView::notifyPreferencesChanged):
2972         (WebView::setAcceleratedCompositing): When creating a new layer tree
2973         host, tell it whether it should be inverting colors.
2974         * WebView.h:
2975
2976 2012-02-07  MORITA Hajime  <morrita@google.com>
2977
2978         Replacement text should be available from the marker.
2979         https://bugs.webkit.org/show_bug.cgi?id=77934
2980
2981         Reviewed by Kent Tamura.
2982
2983         * WebKit.vcproj/WebKit_Cairo.def:
2984         * WebKit.vcproj/WebKit_Cairo_debug.def:
2985
2986 2012-02-02  Jon Lee  <jonlee@apple.com>
2987
2988         Clear shown notifications when context is no longer active
2989         https://bugs.webkit.org/show_bug.cgi?id=77363
2990         <rdar://problem/10568907>
2991
2992         Reviewed by Darin Adler.
2993
2994         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2995         (WebDesktopNotificationsDelegate): Add previously missing virtual functions.
2996         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2997         (WebDesktopNotificationsDelegate::notificationControllerDestroyed):
2998         (WebDesktopNotificationsDelegate::cancelRequestsForPermission):
2999
3000 2012-02-01  Anders Carlsson  <andersca@apple.com>
3001
3002         Another attempt to fix the Windows build.
3003
3004         * FullscreenVideoController.cpp:
3005         (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
3006
3007 2012-01-26  Andy Estes  <aestes@apple.com>
3008
3009         [Windows] Optionally invert colors when drawing to a WebView's backing store.
3010         https://bugs.webkit.org/show_bug.cgi?id=77168
3011
3012         Reviewed by Sam Weinig.
3013
3014         * WebView.cpp:
3015         (WebView::WebView): Initialize m_shouldInvertColors to false.
3016         (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw
3017         an opaque white quad using the CompositeDifference blend mode. This
3018         blend operation instructs CoreGraphics to take the difference between
3019         the source pixel (white) and the background pixel, resulting in an
3020         inverted pixel.
3021         * WebView.h: Define m_shouldInvertColors.
3022
3023 2012-01-23  Simon Fraser  <simon.fraser@apple.com>
3024
3025         Show layer borders for scrollbar layers
3026         https://bugs.webkit.org/show_bug.cgi?id=76888
3027
3028         Reviewed by Beth Dakin.
3029
3030         Update for new signature of GraphicsLayerClient::showDebugBorders()
3031         and GraphicsLayerClient::showRepaintCounter().
3032
3033         * WebView.cpp:
3034         (WebView::showDebugBorders):
3035         (WebView::showRepaintCounter):
3036         * WebView.h:
3037
3038 2012-01-23  David Levin  <levin@chromium.org>
3039
3040         [windows] Convert usages of GetDC to HWndDC Part 2.
3041         https://bugs.webkit.org/show_bug.cgi?id=76750
3042
3043         Reviewed by Adam Roben.
3044
3045         * FullscreenVideoController.cpp:
3046         (createCompatibleDCForWindow): Moved out the code which creates a DC for a window
3047         to keep the same scope for the DC lifetime.
3048         (FullscreenVideoController::draw):  Switch to using OwnPtr<HDC>
3049         since createCompatibleDCForWindow returns a PassOwnPtr.
3050         * WebNodeHighlight.cpp:
3051         (WebNodeHighlight::update): 
3052           Cleaned up leaks from calling GetDC without release.
3053           Note that there is a potential leak of hdc that previously existed
3054           and still does in an early exit scenario. (This could be easily fixed
3055           by using OwnPtr<HDC> but I was trying to keep this patch focused.)
3056         * WebView.cpp:
3057         (WebView::scrollBackingStore): Typical conversion.
3058         (WebView::updateBackingStore): Reduced the scope of windowDC to be
3059         right where it is being used.
3060         (WebView::performLayeredWindowUpdate): Typical conversion.
3061         (WebView::paintIntoBackingStore): Ditto.
3062
3063 2012-01-23  David Levin  <levin@chromium.org>
3064
3065         [windows] Convert usages of GetDC to HWndDC Part 1.
3066         https://bugs.webkit.org/show_bug.cgi?id=76744
3067
3068         Reviewed by Adam Roben.
3069
3070         * WebIconDatabase.cpp:
3071         (createDIB): Changed GetDC to HWndDC and removed ReleaseDC.
3072
3073 2012-01-07  Andreas Kling  <awesomekling@apple.com>
3074
3075         Windows build fix.
3076
3077         * DOMHTMLClasses.cpp:
3078         (DOMHTMLDocument::forms):
3079         (DOMHTMLSelectElement::options):
3080
3081 2012-01-06  Jessie Berlin  <jberlin@apple.com>
3082
3083         Windows build fix.
3084
3085         * Interfaces/IWebViewPrivate.idl:
3086
3087 2012-01-05  Adam Roben  <aroben@apple.com>
3088
3089         Add WebKitTestRunnerLauncher to WebKit.sln.
3090
3091         It builds just after WebKitTestRunner.
3092
3093         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
3094         Windows port of DumpRenderTree/WebKitTestRunner
3095
3096         Reviewed by Steve Falkenburg.
3097
3098         * WebKit.vcproj/WebKit.sln:
3099
3100 2012-01-05  Adam Roben  <aroben@apple.com>
3101
3102         Add DumpRenderTreeLauncher to WebKit.sln.
3103
3104         It builds just after DumpRenderTree.
3105
3106         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
3107         Windows port of DumpRenderTree/WebKitTestRunner
3108
3109         Reviewed by Steve Falkenburg.
3110
3111         * WebKit.vcproj/WebKit.sln:
3112
3113 2012-01-04  Adam Roben  <aroben@apple.com>
3114
3115         Add ImageDiffLauncher to WebKit.sln
3116
3117         It builds just after ImageDiff.
3118
3119         Part of <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH
3120
3121         Reviewed by Anders Carlsson.
3122
3123         * WebKit.vcproj/WebKit.sln:
3124
3125 2012-01-04  Adam Roben  <aroben@apple.com>
3126
3127         Add MiniBrowserLauncher to WebKit.sln
3128
3129         It builds just after MiniBrowser.
3130
3131         Part of <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch
3132         when double-clicked
3133
3134         Reviewed by Anders Carlsson.
3135
3136         * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher.
3137
3138 2012-01-04  Adam Roben  <aroben@apple.com>
3139
3140         Add WinLauncherLauncher to WebKit.sln
3141
3142         It builds just after WinLauncher.
3143
3144         Part of <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch
3145         when double-clicked
3146
3147         Reviewed by Anders Carlsson.
3148
3149         * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher.
3150
3151 2011-12-21  Jessie Berlin  <jberlin@apple.com>
3152
3153         Expose to Windows the way to allow a scheme access to Local Storage and Databases while
3154         Private Browsing is enabled.
3155         https://bugs.webkit.org/show_bug.cgi?id=75056
3156
3157         Reviewed by Sam Weinig.
3158
3159         Add the Windows WebKit API that corresponds to the Mac one added in r99439.
3160
3161         * WebView.cpp:
3162         (WebView::registerURLSchemeAsSecure):
3163         (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing):
3164         (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing):
3165         * WebView.h:
3166
3167 2011-12-20  Pavel Feldman  <pavel.feldman@gmail.com>
3168
3169         Web Inspector: reproducible crash after closing web inspector and browser window  (iCab)
3170         https://bugs.webkit.org/show_bug.cgi?id=74255
3171
3172         Reviewed by Yury Semikhatsky.
3173
3174         * WebCoreSupport/WebInspectorClient.cpp:
3175         (WebInspectorClient::~WebInspectorClient):
3176         (WebInspectorFrontendClient::destroyInspectorView):
3177         * WebCoreSupport/WebInspectorClient.h:
3178
3179 2011-12-19  Sam Weinig  <sam@webkit.org>
3180
3181         More PlatformEvent cleanup
3182         https://bugs.webkit.org/show_bug.cgi?id=74831
3183
3184         Reviewed by Dan Bernstein.
3185
3186         * WebView.cpp:
3187         (WebView::handleMouseEvent):
3188         Update to use new names, access style.
3189
3190 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
3191
3192         Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
3193         https://bugs.webkit.org/show_bug.cgi?id=74748
3194
3195         Reviewed by Eric Seidel.
3196
3197         * WebCoreSupport/WebEditorClient.cpp:
3198         (WebEditorClient::registerUndoStep):
3199         (WebEditorClient::registerRedoStep):
3200         * WebCoreSupport/WebEditorClient.h:
3201
3202 2011-12-16  Sam Weinig  <sam@webkit.org>
3203
3204         Give PlatformEvents a base class
3205         https://bugs.webkit.org/show_bug.cgi?id=74685
3206
3207         Reviewed by Anders Carlsson.
3208
3209         Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
3210         and PlatformGestureEvent and move Type enumeration and modifiers down to it.
3211
3212         * AccessibleBase.cpp:
3213         (AccessibleBase::get_accKeyboardShortcut):
3214         * WebDropSource.cpp:
3215         (generateMouseEvent):
3216         * WebView.cpp:
3217         (WebView::keyUp):
3218         (WebView::handleEditingKeyboardEvent):
3219         (WebView::keyDown):
3220         (WebView::keyPress):
3221
3222 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
3223
3224         Only EditCommandComposition should implement unapply and reapply
3225         https://bugs.webkit.org/show_bug.cgi?id=74490
3226
3227         Reviewed by Eric Seidel.
3228
3229         * WebCoreSupport/WebEditorClient.cpp:
3230         (WebEditorUndoCommand::WebEditorUndoCommand):
3231         (WebEditorUndoCommand::execute):
3232         (WebEditorClient::registerCommandForUndo):
3233         (WebEditorClient::registerCommandForRedo):
3234         * WebCoreSupport/WebEditorClient.h:
3235
3236 2011-12-14  Jing Zhao  <jingzhao@chromium.org>
3237
3238         Opening two popup menus by dispatchEvent() makes problems.
3239         https://bugs.webkit.org/show_bug.cgi?id=73304
3240
3241         Reviewed by Kent Tamura.
3242
3243         * WebCoreSupport/WebChromeClient.cpp:
3244         (WebChromeClient::hasOpenedPopup): Not implemented.
3245         * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup().
3246
3247 2011-12-14  Sam Weinig  <weinig@apple.com>
3248
3249         Remove whitespace from InheritedPropertySheets attributes in
3250         vsprops files to appease the Visual Studio project migrator.
3251
3252         Reviewed by Adam Roben.
3253
3254         * WebKit.vcproj/InterfacesDebug.vsprops:
3255         * WebKit.vcproj/InterfacesDebugAll.vsprops:
3256         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops:
3257         * WebKit.vcproj/InterfacesProduction.vsprops:
3258         * WebKit.vcproj/InterfacesRelease.vsprops:
3259         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
3260         * WebKit.vcproj/WebKitGUIDDebug.vsprops:
3261         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops:
3262         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops:
3263         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
3264         * WebKit.vcproj/WebKitGUIDRelease.vsprops:
3265         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
3266         * WebKit.vcproj/WebKitLibDebug.vsprops:
3267         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
3268         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops:
3269         * WebKit.vcproj/WebKitLibProduction.vsprops:
3270         * WebKit.vcproj/WebKitLibRelease.vsprops:
3271         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
3272
3273 2011-12-07  Mary Wu  <mary.wu@torchmobile.com.cn>
3274
3275         Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
3276         https://bugs.webkit.org/show_bug.cgi?id=73986
3277
3278         Reviewed by Kenneth Rohde Christiansen.
3279
3280         * WebView.cpp:
3281         (WebView::initWithFrame):
3282
3283 2011-12-05  Eric Carlson  <eric.carlson@apple.com>
3284
3285         WebKit/mac part of: Add WebKit preferences for text track settings
3286         https://bugs.webkit.org/show_bug.cgi?id=73721
3287
3288         Reviewed by John Sullivan.
3289
3290         * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties.
3291
3292         * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, 
3293         and shouldDisplayTextDescriptions properties.
3294
3295         * WebPreferences.cpp:
3296         (WebPreferences::setShouldDisplaySubtitles): Added.
3297         (WebPreferences::shouldDisplaySubtitles): Ditto.
3298         (WebPreferences::setShouldDisplayCaptions): Ditto.
3299         (WebPreferences::shouldDisplayCaptions): Ditto.
3300         (WebPreferences::setShouldDisplayTextDescriptions): Ditto.
3301         (WebPreferences::shouldDisplayTextDescriptions): Ditto.
3302         * WebPreferences.h: Declare new methods.
3303
3304         * WebView.cpp:
3305         (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs.
3306
3307 2011-12-02  Steve Falkenburg  <sfalken@apple.com>
3308
3309         Reviewed by Darin Adler.
3310
3311         Changes to localStorageDatabasePath don't have any effect on Windows
3312         https://bugs.webkit.org/show_bug.cgi?id=73606
3313         <rdar://problem/10491296>
3314
3315         * WebView.cpp:
3316         (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings.
3317
3318 2011-11-30  Alexey Proskuryakov  <ap@apple.com>
3319
3320         Remove an unneeded argument from FrameLoaderClient::download
3321         https://bugs.webkit.org/show_bug.cgi?id=73486
3322
3323         Reviewed by Andreas Kling.
3324
3325         * WebFrame.cpp:
3326         (WebFrame::download):
3327         * WebFrame.h:
3328         Updated for the change.
3329
3330 2011-11-26  Pavel Feldman  <pfeldman@google.com>
3331
3332         Web Inspector: remove disconnectFromBackend from the protocol.
3333         https://bugs.webkit.org/show_bug.cgi?id=73127
3334
3335         Reviewed by Yury Semikhatsky.
3336
3337         * WebCoreSupport/WebInspectorClient.cpp:
3338         (WebInspectorClient::inspectorDestroyed):
3339         (WebInspectorClient::closeInspectorFrontend):
3340         * WebCoreSupport/WebInspectorClient.h:
3341
3342 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3343
3344         Unreviewed, rolling out r101193.
3345         http://trac.webkit.org/changeset/101193
3346         https://bugs.webkit.org/show_bug.cgi?id=73158
3347
3348         Breaks Windows and Qt minimal. (Requested by pfeldman on
3349         #webkit).
3350
3351         * WebCoreSupport/WebInspectorClient.cpp:
3352         (WebInspectorClient::inspectorDestroyed):
3353         (WebInspectorFrontendClient::disconnectFromBackend):
3354         * WebCoreSupport/WebInspectorClient.h:
3355
3356 2011-11-26  Pavel Feldman  <pfeldman@google.com>
3357
3358         Web Inspector: remove disconnectFromBackend from the protocol.
3359         https://bugs.webkit.org/show_bug.cgi?id=73127
3360
3361         Reviewed by Yury Semikhatsky.
3362
3363         * WebCoreSupport/WebInspectorClient.cpp:
3364         (WebInspectorClient::inspectorDestroyed):
3365         (WebInspectorClient::closeInspectorFrontend):
3366         * WebCoreSupport/WebInspectorClient.h:
3367
3368 2011-11-22  Pavel Feldman  <pfeldman@google.com>
3369
3370         Web Inspector: remove Inspector::bringToFront from the protocol.
3371         https://bugs.webkit.org/show_bug.cgi?id=72937
3372
3373         Reviewed by Yury Semikhatsky.
3374
3375         * WebCoreSupport/WebInspectorClient.cpp:
3376         (WebInspectorClient::bringFrontendToFront):
3377         * WebCoreSupport/WebInspectorClient.h:
3378
3379 2011-11-21  Pavel Feldman  <pfeldman@google.com>
3380
3381         Not reviewed: an attempt to fix windows build.
3382
3383         * WebInspector.cpp:
3384         (WebInspector::isJavaScriptProfilingEnabled):
3385         (WebInspector::setJavaScriptProfilingEnabled):
3386
3387 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
3388
3389         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
3390         https://bugs.webkit.org/show_bug.cgi?id=62985
3391
3392         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
3393         methods for plumbing the menu action handlers through the WebKit and WebCore.
3394         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
3395         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
3396         WebKit/win and WebKit2 to follow.
3397
3398         Reviewed by Yury Semikhatsky.
3399
3400         * WebInspector.cpp:
3401         (WebInspector::createInstance):
3402         (WebInspector::WebInspector):
3403         (WebInspector::webViewClosed):
3404         (WebInspector::showConsole):
3405         (WebInspector::isDebuggingJavaScript):
3406         (WebInspector::toggleDebuggingJavaScript):
3407         (WebInspector::isProfilingJavaScript):
3408         (WebInspector::toggleProfilingJavaScript):
3409         (WebInspector::isJavaScriptProfilingEnabled):
3410         (WebInspector::setJavaScriptProfilingEnabled):
3411         (WebInspector::isTimelineProfilingEnabled):
3412         (WebInspector::setTimelineProfilingEnabled):
3413         * WebInspector.h:
3414         * WebView.cpp:
3415         (WebView::WebView):
3416         (WebView::close):
3417         (WebView::initWithFrame):
3418         (WebView::inspector):
3419         * WebView.h:
3420
3421 2011-10-17  Antonio Gomes  <agomes@rim.com>
3422
3423         Pass a Frame* parameter in EditorClient::respondToChangedSelection
3424         https://bugs.webkit.org/show_bug.cgi?id=70248
3425
3426         Reviewed by Ryosuke Niwa.
3427
3428         * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
3429         (WebEditorClient::respondToChangedSelection):
3430         * WebCoreSupport/WebEditorClient.h:
3431
3432 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
3433
3434         Rename ReferrerPolicy to clarify its meaning
3435         https://bugs.webkit.org/show_bug.cgi?id=72420
3436
3437         Reviewed by Nate Chapin.
3438
3439         * WebCoreSupport/WebContextMenuClient.cpp:
3440         (WebContextMenuClient::searchWithGoogle):
3441
3442 2011-11-15  Anders Carlsson  <andersca@apple.com>
3443
3444         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
3445         https://bugs.webkit.org/show_bug.cgi?id=72397
3446
3447         Reviewed by Dan Bernstein.
3448
3449         * WebCoreSupport/WebChromeClient.cpp:
3450         (WebChromeClient::rootViewToScreen):
3451         (WebChromeClient::screenToRootView):
3452         * WebCoreSupport/WebChromeClient.h:
3453
3454 2011-11-14  Anders Carlsson  <andersca@apple.com>
3455
3456         HostWindow invalidation functions should use root view coordinates
3457         https://bugs.webkit.org/show_bug.cgi?id=72338
3458
3459         Reviewed by Dan Bernstein.
3460
3461         * WebCoreSupport/WebChromeClient.cpp:
3462         (WebChromeClient::invalidateRootView):
3463         (WebChromeClient::invalidateContentsAndRootView):
3464         * WebCoreSupport/WebChromeClient.h:
3465
3466 2011-11-07  Adam Barth  <abarth@webkit.org>
3467
3468         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
3469         https://bugs.webkit.org/show_bug.cgi?id=71755
3470
3471         Reviewed by Eric Seidel.
3472
3473         * WebView.cpp:
3474         (WebView::addOriginAccessWhitelistEntry):
3475         (WebView::removeOriginAccessWhitelistEntry):
3476         (WebView::resetOriginAccessWhitelists):
3477
3478 2011-11-07  Adam Barth  <abarth@webkit.org>
3479
3480         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
3481         https://bugs.webkit.org/show_bug.cgi?id=71750
3482
3483         Reviewed by Eric Seidel.
3484
3485         * WebView.cpp:
3486         (WebView::setDomainRelaxationForbiddenForURLScheme):
3487
3488 2011-11-07  Beth Dakin  <bdakin@apple.com>
3489
3490         https://bugs.webkit.org/show_bug.cgi?id=71490
3491         Support uiStateTransitionProgress for scrollbars
3492         -and corresponding-
3493         <rdar://problem/9849612>
3494
3495         Reviewed by Sam Weinig.
3496
3497         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
3498         * WebScrollBar.cpp:
3499         (WebScrollBar::handleMouseEvent):
3500
3501 2011-11-02  Darin Adler  <darin@apple.com>
3502
3503         Change remaining callers of releaseRef to call leakRef
3504         https://bugs.webkit.org/show_bug.cgi?id=71422
3505
3506         Reviewed by Darin Fisher.
3507
3508         * WebCache.cpp:
3509         (WebCache::statistics):
3510         * WebDatabaseManager.cpp:
3511         (WebDatabaseManager::origins):
3512         (WebDatabaseManager::databasesWithOrigin):
3513         * WebHistoryItem.cpp:
3514         (WebHistoryItem::redirectURLs):
3515         * WebKitClassFactory.cpp:
3516         (leakRefFromCreateInstance):
3517         (WebKitClassFactory::CreateInstance):
3518         * WebScriptWorld.cpp:
3519         (WebScriptWorld::standardWorld):
3520         Use leakRef.
3521
3522 2011-11-02  Jon Lee  <jonlee@apple.com>
3523
3524         Expand DragController to provide more information about the dragging session
3525         https://bugs.webkit.org/show_bug.cgi?id=71324
3526         <rdar://problem/10379175>
3527
3528         Reviewed by Darin Adler.
3529
3530         * WebView.cpp:
3531         (WebView::DragEnter): Minor refactoring because operation is stored in
3532         new DragSession struct.
3533         (WebView::DragOver): Ditto.
3534
3535 2011-11-02  Tom Sepez  <tsepez@chromium.org>
3536
3537         XSSAuditor is silent
3538         https://bugs.webkit.org/show_bug.cgi?id=70973
3539
3540         Reviewed by Adam Barth.
3541
3542         * WebCoreSupport/WebFrameLoaderClient.cpp:
3543         (WebFrameLoaderClient::didDetectXSS):
3544         * WebCoreSupport/WebFrameLoaderClient.h:
3545
3546 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
3547
3548         Rename a number of methods mentioning JavaScript to just Script instead
3549         https://bugs.webkit.org/show_bug.cgi?id=71105
3550
3551         Reviewed by Adam Barth.
3552
3553         * WebFrame.cpp:
3554         (WebFrame::dispatchDidClearWindowObjectInWorld):
3555         * WebView.cpp:
3556         (WebView::notifyPreferencesChanged):
3557
3558 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
3559
3560         Build fix: removed some cases of threadsafeCopy() that I missed in
3561         my previous patch.
3562
3563         * WebDatabaseManager.cpp:
3564         (DidModifyOriginData::dispatchToMainThread):
3565         * WebDownloadCFNet.cpp:
3566         (WebDownload::initToResumeWithBundle):
3567         * WebIconDatabase.cpp:
3568         (WebIconDatabase::didImportIconURLForPageURL):
3569
3570 2011-10-24  Ryosuke Niwa  <rniwa@webkit.org>
3571
3572         threadsafeCopy has been renamed to isolatedCopy.
3573
3574         * WebDatabaseManager.cpp:
3575         (DidModifyOriginData::dispatchToMainThread):
3576
3577 2011-10-24  Adam Barth  <abarth@webkit.org>
3578
3579         Attempt to fix Windows build by updating to the new interface.
3580
3581         * DOMEventsClasses.cpp:
3582         (DOMEvent::createInstance):
3583
3584 2011-10-18  Adam Barth  <abarth@webkit.org>
3585
3586         Always enable ENABLE(XPATH)
3587         https://bugs.webkit.org/show_bug.cgi?id=70217
3588
3589         Reviewed by Eric Seidel.
3590
3591         * Interfaces/DOMWindow.idl:
3592
3593 2011-10-14  Julien Chaffraix  <jchaffraix@webkit.org>
3594
3595         Remove layerX / layerY from the Windows API
3596         https://bugs.webkit.org/show_bug.cgi?id=70051
3597
3598         Reviewed by Darin Adler.
3599
3600         Renamed layerX to unused1 and layerY to unused2 to keep the
3601         binary compatibility.
3602
3603         * DOMEventsClasses.cpp:
3604         (DOMUIEvent::unused1):
3605         (DOMUIEvent::unused2):
3606         * DOMEventsClasses.h:
3607         (DOMKeyboardEvent::unused1):
3608         (DOMKeyboardEvent::unused2):
3609         (DOMMouseEvent::unused1):
3610         (DOMMouseEvent::unused2):
3611         (DOMWheelEvent::unused1):
3612         (DOMWheelEvent::unused2):
3613         * Interfaces/DOMEvents.idl:
3614
3615 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
3616
3617         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
3618         https://bugs.webkit.org/show_bug.cgi?id=68134
3619
3620         Reviewed by Darin Adler.
3621
3622         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
3623         
3624         Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
3625         that reads the setting, and returns the mock theme if set. All callers now use
3626         theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
3627
3628         * WebScrollBar.cpp: