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