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