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