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