Allow clients to ask for the WebView/WKView placeholder view when in full screen...
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2012-11-28  Jer Noble  <jer.noble@apple.com>
2
3         Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
4         https://bugs.webkit.org/show_bug.cgi?id=103558
5         <rdar://problem/12763112>
6
7         Reviewed by Benjamin Poulain.
8
9         Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
10         view when in full screen mode.  Add a simple accessor for the existing placeholder view to
11         WebFullScreenController and WebView.
12
13         * WebView/WebFullScreenController.h:
14         * WebView/WebFullScreenController.mm:
15         (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
16         * WebView/WebView.mm:
17         (-[WebView fullScreenPlaceholderView]): Added simple accessor.
18
19 2013-01-28  Pratik Solanki  <psolanki@apple.com>
20
21         PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
22         https://bugs.webkit.org/show_bug.cgi?id=108101
23
24         Reviewed by Benjamin Poulain.
25
26         Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
27         __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
28
29         * WebCoreSupport/WebSystemInterface.mm:
30         (InitWebCoreSystemInterface):
31
32 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
33
34         [Mac] Update PageVisibilityState when WebView is hidden / visible
35         https://bugs.webkit.org/show_bug.cgi?id=107509
36
37         Reviewed by Sam Weinig.
38
39         * WebView/WebView.mm:
40         * WebView/WebViewPrivate.h:
41         (-[WebView _commonInitializationWithFrameName:groupName:]):
42         Set the initial visibility of the page.
43
44         (-[WebView addWindowObserversForWindow:]):
45         (-[WebView removeWindowObservers]):
46         (-[WebView _isViewVisible]):
47         (-[WebView _updateVisibilityState]):
48         (-[WebView viewDidMoveToWindow]):
49         (-[WebView _windowVisibilityChanged:]):
50         Update visibility state in the same ways WK2 does. This involves
51         listening for some new NSWindow delegates.
52
53 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
54
55         Improve PageVisibility API with enums
56         https://bugs.webkit.org/show_bug.cgi?id=107364
57
58         Reviewed by Sam Weinig.
59
60         * WebView/WebView.mm:
61         * WebView/WebViewPrivate.h:
62         (core):
63         (-[WebView _setVisibilityState:isInitialState:]):
64         Switch the private API form int to a WebPageVisibilityState enum.
65
66 2013-01-28  Adam Barth  <abarth@webkit.org>
67
68         Remove webkitNotifications.createHTMLNotification
69         https://bugs.webkit.org/show_bug.cgi?id=107598
70
71         Reviewed by Benjamin Poulain.
72
73         * Configurations/FeatureDefines.xcconfig:
74
75 2013-01-25  Andy Estes  <aestes@apple.com>
76
77         Wrap content filtering code in an object
78         https://bugs.webkit.org/show_bug.cgi?id=107914
79
80         Reviewed by Alexey Proskuryakov.
81
82         * WebCoreSupport/WebSystemInterface.mm:
83         (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
84
85 2013-01-24  Dan Bernstein  <mitz@apple.com>
86
87         WebNavigationData does not distinguish between an empty title and a missing title
88         https://bugs.webkit.org/show_bug.cgi?id=107917
89
90         Reviewed by Andy Estes.
91
92         * WebCoreSupport/WebFrameLoaderClient.mm:
93         (nilOrNSString): Added this helper function.
94         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
95         title, rather than the empty string, if the document does not have a title.
96
97 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
98
99         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
100         https://bugs.webkit.org/show_bug.cgi?id=107327
101
102         Reviewed by Filip Pizlo.
103
104         We're renaming these two files, so we have to replace the names everywhere.
105
106         * DOM/WebDOMOperations.mm:
107         * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
108         * ForwardingHeaders/runtime/JSValue.h: Removed.
109         * WebView/WebFrame.mm:
110         * WebView/WebView.mm:
111
112 2013-01-22  Anders Carlsson  <andersca@apple.com>
113
114         Use a platforom strategy for local storage
115         https://bugs.webkit.org/show_bug.cgi?id=107600
116
117         Reviewed by Andreas Kling.
118
119         Update for new storage strategy.
120
121         * WebCoreSupport/WebPlatformStrategies.h:
122         (WebPlatformStrategies):
123         * WebCoreSupport/WebPlatformStrategies.mm:
124         (WebPlatformStrategies::createStorageStrategy):
125
126 2013-01-21  Kentaro Hara  <haraken@chromium.org>
127
128         Implement UIEvent constructor
129         https://bugs.webkit.org/show_bug.cgi?id=107430
130
131         Reviewed by Adam Barth.
132
133         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
134
135         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
136         which is enabled on Safari and Chromium for now.
137
138         * Configurations/FeatureDefines.xcconfig:
139
140 2013-01-22  Joseph Pecoraro  <pecoraro@apple.com>
141
142         [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
143         https://bugs.webkit.org/show_bug.cgi?id=107230
144
145         Reviewed by David Kilzer.
146
147         * Configurations/FeatureDefines.xcconfig:
148
149 2013-01-22  Tim Horton  <timothy_horton@apple.com>
150
151         PDFPlugin: Build PDFPlugin everywhere, enable at runtime
152         https://bugs.webkit.org/show_bug.cgi?id=107117
153
154         Reviewed by Alexey Proskuryakov.
155
156         Since PDFLayerController SPI is all forward-declared, the plugin should build
157         on all Mac platforms, and can be enabled at runtime.
158
159         * Configurations/FeatureDefines.xcconfig:
160
161 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
162
163         Add build flag for Canvas's Path object (disabled by default)
164         https://bugs.webkit.org/show_bug.cgi?id=107473
165
166         Reviewed by Dean Jackson.
167
168         * Configurations/FeatureDefines.xcconfig:
169
170 2013-01-17  Andy Estes  <aestes@apple.com>
171
172         Add a USE() macro for content filtering code
173         https://bugs.webkit.org/show_bug.cgi?id=107098
174
175         Reviewed by Mark Rowe.
176
177         * WebCoreSupport/WebSystemInterface.mm:
178         (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
179
180 2013-01-19  Philip Rogers  <pdr@google.com>
181
182         Merge SVGStylable into SVGStyledElement
183         https://bugs.webkit.org/show_bug.cgi?id=106877
184
185         SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
186         cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
187
188         Reviewed by Dirk Schulze.
189
190         * MigrateHeaders.make:
191
192 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
193
194         Add explicit keyword to constructors in platform-specific InspectorClient
195         https://bugs.webkit.org/show_bug.cgi?id=107255
196
197         Reviewed by Kentaro Hara.
198
199         Add explicit keyword to constructors that take one argument
200         in platform-specific implementation of InspectorClient.
201
202         * WebCoreSupport/WebInspectorClient.h:
203         (WebInspectorClient):
204
205 2013-01-15  Jer Noble  <jer.noble@apple.com>
206
207         Add a Setting to disable QTKit media engine.
208         https://bugs.webkit.org/show_bug.cgi?id=106972
209
210         Reviewed by Eric Carlson.
211
212         Add WebKit API to set QTKit enabled setting from user defaults.
213
214         * WebView/WebPreferenceKeysPrivate.h:
215         * WebView/WebPreferences.mm:
216         (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
217         (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
218         (-[WebPreferences isQTKitEnabled]): Ditto.
219         * WebView/WebPreferencesPrivate.h:
220         * WebView/WebView.mm:
221         (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
222
223 2013-01-15  Enrica Casucci  <enrica@apple.com>
224
225         Add a new set of WebKit2 APIs for text search and
226         search results management.
227         https://bugs.webkit.org/show_bug.cgi?id=106834.
228         <rdar://problem/12597159>
229
230         Reviewed by Simon Fraser.
231         
232         Adding new API to perform text search in WebKit2 without using
233         the stock UI. The new interface provides all the information
234         necessary to write a custom UI for search.
235
236         Added new TextWebKitAPI test.
237
238         * WebView/WebHTMLView.mm:
239         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
240         Modified to reflect the changes to Editor::countMatchesForText interface.
241
242 2013-01-10  Zan Dobersek  <zandobersek@gmail.com>
243
244         Remove the ENABLE_ANIMATION_API feature define occurences
245         https://bugs.webkit.org/show_bug.cgi?id=106544
246
247         Reviewed by Simon Fraser.
248
249         The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
250         feature define handling still lingers in various build systems and configurations
251         but is of no use, so it should be removed.
252
253         * Configurations/FeatureDefines.xcconfig:
254
255 2013-01-08  Mark Lam  <mark.lam@apple.com>
256
257         Removed the need for the ProposedDatabase mechanism.
258         https://bugs.webkit.org/show_bug.cgi?id=106292.
259
260         Reviewed by Sam Weinig.
261
262         * WebCoreSupport/WebChromeClient.h:
263         * WebCoreSupport/WebChromeClient.mm:
264         (WebChromeClient::exceededDatabaseQuota):
265
266 2013-01-07  Dan Bernstein  <mitz@apple.com>
267
268         [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
269         https://bugs.webkit.org/show_bug.cgi?id=106261
270
271         Reviewed by Simon Fraser.
272
273         Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
274
275         Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
276
277         * WebCoreSupport/WebFrameLoaderClient.mm:
278         (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
279         method.
280         * WebView/WebDelegateImplementationCaching.h:
281         (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
282         * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
283         * WebView/WebView.mm:
284         (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
285
286 2013-01-07  Mike West  <mkwst@chromium.org>
287
288         Make the IFRAME_SEAMLESS flag runtime-enabled.
289         https://bugs.webkit.org/show_bug.cgi?id=106213
290
291         Reviewed by Ojan Vafai.
292
293         * WebView/WebPreferenceKeysPrivate.h:
294         * WebView/WebPreferences.mm:
295         (-[WebPreferences seamlessIFramesEnabled]):
296         (-[WebPreferences setSeamlessIFramesEnabled:]):
297         * WebView/WebPreferencesPrivate.h:
298         * WebView/WebView.mm:
299         (-[WebView _preferencesChanged:]):
300             Add a seamless IFrame preference to WebPreferences, and use it to
301             toggle the runtime state of the feature as appropriate.
302
303 2013-01-04  Adam Klein  <adamk@chromium.org>
304
305         Remove ENABLE_MUTATION_OBSERVERS #define
306         https://bugs.webkit.org/show_bug.cgi?id=105459
307
308         Reviewed by Ryosuke Niwa.
309
310         * Configurations/FeatureDefines.xcconfig:
311
312 2013-01-01  Dan Bernstein  <mitz@apple.com>
313
314         <rdar://problem/12942239> Update copyright strings
315
316         Reviewed by Sam Weinig.
317
318         * Info.plist:
319
320 2012-12-29  Adam Roben  <aroben@webkit.org>
321
322         Web Inspector: Mac WK1 Inspector can't save/load timeline data
323         https://bugs.webkit.org/show_bug.cgi?id=105547
324
325         Reviewed by Pavel Feldman.
326
327         * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
328         member variables necessary for save support.
329
330         * WebCoreSupport/WebInspectorClient.mm:
331         (WebInspectorFrontendClient::save):
332         (WebInspectorFrontendClient::append):
333         Implemented these to make saving timeline data work. (It seems to me
334         the InspectorFrontendClient API could be cleaned up a bit. I had to
335         look at Chromium source code to determine that I needed to call back
336         into the InspectorFrontendAPI JS object after saving/appending, and
337         that I needed to keep a map of passed URLs -> chosen URLs.)
338
339         (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
340         Tweaked the position of the sheet so that open/save sheets look a
341         little bette.r
342
343         (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
344         Implemented to make loading timeline data work.
345
346 2012-12-28  Mark Rowe  <mrowe@apple.com>
347
348         Move logic for extracting the OS X marketing version in to WebCore
349         <http://webkit.org/b/105841> / <rdar://problem/10736041>
350
351         Reviewed by Dan Bernstein.
352
353         * WebCoreSupport/WebSystemInterface.mm:
354         (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
355         * WebView/WebView.mm:
356         (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
357         (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
358         do that for us.
359
360 2012-12-27  Sam Weinig  <sam@webkit.org>
361
362         Attempt to fix the tests.
363
364         * WebView/WebPreferences.mm:
365         (+[WebPreferences initialize]):
366
367 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
368
369         <rdar://problem/12808377> Network process should respect cookie accept policy
370         https://bugs.webkit.org/show_bug.cgi?id=105684
371
372         Reviewed by Sam Weinig.
373
374         * WebCoreSupport/WebPlatformStrategies.h:
375         * WebCoreSupport/WebPlatformStrategies.mm:
376         CookiesStrategy no longer has notifyCookiesChanged().
377
378 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
379
380         Add a separate class for networking related storage
381         https://bugs.webkit.org/show_bug.cgi?id=105676
382
383         Reviewed by Sam Weinig.
384
385         * WebCoreSupport/WebFrameLoaderClient.mm:
386         Updated for ResourceHandle include changes.
387
388         * WebCoreSupport/WebFrameNetworkingContext.h:
389         * WebCoreSupport/WebFrameNetworkingContext.mm:
390         This class is now simpler, with more session tracking being in WebCore now.
391
392         * WebCoreSupport/WebPlatformStrategies.h:
393         * WebCoreSupport/WebPlatformStrategies.mm:
394         (WebPlatformStrategies::cookiesForDOM):
395         (WebPlatformStrategies::setCookiesFromDOM):
396         (WebPlatformStrategies::cookiesEnabled):
397         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
398         (WebPlatformStrategies::getRawCookies):
399         (WebPlatformStrategies::deleteCookie):
400         We no longer need a function for default cookie storage! Other cookie functions
401         now take a session.
402
403         * WebView/WebPreferences.mm:
404         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
405         calling a WebCore that uses it.
406         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
407         NetworkStorageSession for session tracking.
408
409         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
410         context now returning a class for session.
411
412 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
413
414         Unreviewed build fix for chromium mac after r138206.
415
416         * WebCoreSupport/WebSystemInterface.mm:
417         (InitWebCoreSystemInterface):
418
419 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
420
421         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
422         https://bugs.webkit.org/show_bug.cgi?id=105467
423
424         Reviewed by Brady Eidson.
425
426         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
427         a WKSI function we've been missing.
428
429 2012-12-19  Alexis Menard  <alexis@webkit.org>
430
431         Implement CSS parsing for CSS transitions unprefixed.
432         https://bugs.webkit.org/show_bug.cgi?id=104804
433
434         Reviewed by Dean Jackson.
435
436         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
437         to cover the work of unprefixing Transforms, Animations and 
438         Transitions. It will let the possibility of each ports to turn it off 
439         in their release branches until we're confident that these CSS 
440         properties are ready to be unprefixed.
441
442         * Configurations/FeatureDefines.xcconfig:
443
444 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
445
446         Remove unnecessary functions from CookiesStrategy
447         https://bugs.webkit.org/show_bug.cgi?id=105369
448
449         Reviewed by Brady Eidson.
450
451         * WebCoreSupport/WebPlatformStrategies.h:
452         * WebCoreSupport/WebPlatformStrategies.mm:
453
454 2012-12-18  Alice Liu  <alice.liu@apple.com>
455
456         Add SPI to WebKit1 WebFrame for hit testing
457         https://bugs.webkit.org/show_bug.cgi?id=105106
458
459         Reviewed by Dan Bernstein.
460
461         * WebView/WebFrame.mm:
462         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
463         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
464         * WebView/WebFramePrivate.h:
465
466 2012-12-18  Alice Liu  <alice.liu@apple.com>
467
468         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
469         https://bugs.webkit.org/show_bug.cgi?id=105262
470
471         Reviewed by Anders Carlsson.
472
473         * WebView/WebFrame.mm:
474         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
475         for the WebCore::Node in that particular WebScriptWorld.
476         * WebView/WebFramePrivate.h:
477
478 2012-12-18  Beth Dakin  <bdakin@apple.com>
479
480         https://bugs.webkit.org/show_bug.cgi?id=102579
481         [mac] Enable scaled cursors
482
483         Reviewed by Dean Jackson.
484
485         * Configurations/FeatureDefines.xcconfig:
486
487 2012-12-16  Levi Weintraub  <leviw@chromium.org>
488
489         Push pixel snapping logic into TransformState
490         https://bugs.webkit.org/show_bug.cgi?id=101779
491
492         Reviewed by Simon Fraser.
493
494         * WebView/WebFullScreenController.mm:
495         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
496
497 2012-12-15  Anders Carlsson  <andersca@apple.com>
498
499         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
500         https://bugs.webkit.org/show_bug.cgi?id=105122
501
502         Reviewed by Andreas Kling.
503
504         Update for WebCore changes.
505
506         * WebCoreSupport/WebFrameLoaderClient.h:
507         (WebFrameLoaderClient):
508         * WebCoreSupport/WebFrameLoaderClient.mm:
509         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
510
511 2012-12-15  Mark Lam  <mark.lam@apple.com>
512
513         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
514         https://bugs.webkit.org/show_bug.cgi?id=104934.
515
516         Not reviewed.
517
518         Merged from r137767. Previously reviewed by Sam Weinig.
519
520         * WebCoreSupport/WebPlatformStrategies.h:
521         (WebPlatformStrategies):
522         * WebCoreSupport/WebPlatformStrategies.mm:
523         (WebPlatformStrategies::createDatabaseStrategy):
524
525 2012-12-14  Mark Lam  <mark.lam@apple.com>
526
527         The WebView should initialize the platform strategies before initializing other sub-systems.
528         https://bugs.webkit.org/show_bug.cgi?id=105083.
529
530         Reviewed by Alexey Proskuryakov.
531
532         * WebView/WebView.mm:
533         (-[WebView _commonInitializationWithFrameName:groupName:]):
534
535 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
536
537         Unreviewed, rolling out r137767.
538         http://trac.webkit.org/changeset/137767
539         https://bugs.webkit.org/show_bug.cgi?id=105062
540
541         Broke Mac builds. (Requested by mlam on #webkit).
542
543         * WebCoreSupport/WebPlatformStrategies.h:
544         (WebPlatformStrategies):
545         * WebCoreSupport/WebPlatformStrategies.mm:
546
547 2012-12-14  Mark Lam  <mark.lam@apple.com>
548
549         Introducing the DatabaseStrategy and database servers.
550         https://bugs.webkit.org/show_bug.cgi?id=104934.
551
552         Reviewed by Sam Weinig.
553
554         The database server is currently a placeholder that does nothing.
555
556         * WebCoreSupport/WebPlatformStrategies.h:
557         (WebPlatformStrategies):
558         * WebCoreSupport/WebPlatformStrategies.mm:
559         (WebPlatformStrategies::createDatabaseStrategy):
560
561 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
562
563         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
564         https://bugs.webkit.org/show_bug.cgi?id=104691
565
566         Reviewed by Sam Weinig.
567
568         * WebCoreSupport/WebFrameNetworkingContext.h:
569         * WebCoreSupport/WebFrameNetworkingContext.mm:
570         (WebFrameNetworkingContext::inPrivateBrowsingMode):
571         (WebFrameNetworkingContext::storageSession):
572         Implemented inPrivateBrowsingMode().
573
574 2012-12-12  Mark Lam  <mark.lam@apple.com>
575
576         Encapsulate externally used webdatabase APIs in DatabaseManager.
577         https://bugs.webkit.org/show_bug.cgi?id=104741.
578
579         Reviewed by Sam Weinig.
580
581         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
582         and DatabaseContext directly. This is to prepare for upcoming webkit2
583         refactoring.
584
585         * Storage/WebDatabaseManager.mm:
586         (-[WebDatabaseManager origins]):
587         (-[WebDatabaseManager databasesWithOrigin:]):
588         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
589         (-[WebDatabaseManager deleteAllDatabases]):
590         (-[WebDatabaseManager deleteOrigin:]):
591         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
592         (WebKitInitializeDatabasesIfNecessary):
593         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
594         (WebDatabaseManagerClient):
595         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
596         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
597         (WebDatabaseManagerClient::WebDatabaseManagerClient):
598         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
599         (DidModifyOriginData::dispatchToMainThread):
600         (DidModifyOriginData::DidModifyOriginData):
601         (DidModifyOriginData):
602         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
603         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
604         * Storage/WebDatabaseQuotaManager.mm:
605         (-[WebDatabaseQuotaManager usage]):
606         (-[WebDatabaseQuotaManager quota]):
607         (-[WebDatabaseQuotaManager setQuota:]):
608         * Storage/WebDatabaseTrackerClient.h: Removed.
609         * Storage/WebDatabaseTrackerClient.mm: Removed.
610         * WebCoreSupport/WebSecurityOrigin.mm:
611         (-[WebSecurityOrigin usage]):
612         (-[WebSecurityOrigin quota]):
613         (-[WebSecurityOrigin setQuota:]):
614         * WebKit.order:
615         * WebView/WebFrame.mm:
616         (-[WebFrame _cacheabilityDictionary]):
617         * WebView/WebView.mm:
618         (-[WebView _preferencesChanged:]):
619
620 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
621
622         Make LOG() work in WebProcess and NetworkProcess
623         https://bugs.webkit.org/show_bug.cgi?id=104718
624
625         Reviewed by Tim Horton.
626
627         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
628         WebCore and WebKit versions of this file.
629
630 2012-12-11  Mike West  <mkwst@chromium.org>
631
632         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
633         https://bugs.webkit.org/show_bug.cgi?id=66371
634
635         Reviewed by Pavel Feldman.
636
637         Drops WebCore::MessageType from the addMessageToConsole method.
638
639         * WebCoreSupport/WebChromeClient.h:
640         (WebChromeClient):
641         * WebCoreSupport/WebChromeClient.mm:
642         (WebChromeClient::addMessageToConsole):
643
644 2012-12-09  Antti Koivisto  <antti@apple.com>
645
646         Factor node traversal into standalone functions
647         https://bugs.webkit.org/show_bug.cgi?id=104507
648
649         Reviewed by Eric Seidel.
650     
651         * WebView/WebHTMLRepresentation.mm:
652         (searchForLabelsBeforeElement):
653
654 2012-12-10  Alexis Menard  <alexis@webkit.org>
655
656         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
657         https://bugs.webkit.org/show_bug.cgi?id=104539
658
659         Reviewed by Antonio Gomes.
660
661         As discussed on webkit-dev it is not needed to keep this feature flag 
662         as support for <position> type is a small feature that is already 
663         implemented by three other UAs. It was useful while landing this 
664         feature as partial bits were landed one after one.
665
666         * Configurations/FeatureDefines.xcconfig:
667
668 2012-12-06  Rick Byers  <rbyers@chromium.org>
669
670         CSS cursor property should support webkit-image-set
671         https://bugs.webkit.org/show_bug.cgi?id=99493
672
673         Reviewed by Beth Dakin.
674
675         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
676
677         * Configurations/FeatureDefines.xcconfig:
678
679 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
680
681         Unreviewed. Fix Mac compilation after r136448.
682
683         * WebCoreSupport/WebChromeClient.mm:
684         (stringForMessageType):
685
686 2012-12-03  Alexis Menard  <alexis@webkit.org>
687
688         [Mac] Enable CSS3 background-position offset by default.
689         https://bugs.webkit.org/show_bug.cgi?id=103905
690
691         Reviewed by Simon Fraser.
692
693         Turn the flag on by default.
694
695         * Configurations/FeatureDefines.xcconfig:
696
697 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
698
699         Need a method to close all idle localstorage databases immediately.
700         https://bugs.webkit.org/show_bug.cgi?id=103469
701
702         Reviewed by David Kilzer.
703
704         Add a new method to WebStorageManager that we can call to close all
705         idle local storage databases.
706
707         * Storage/WebStorageManager.mm:
708         (+[WebStorageManager closeIdleLocalStorageDatabases]):
709         * Storage/WebStorageManagerPrivate.h:
710
711 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
712
713         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
714         https://bugs.webkit.org/show_bug.cgi?id=101192
715
716         Reviewed by Hajime Morita.
717
718         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
719
720         Tests: No new tests because there is no functional change.
721
722         * WebView/WebView.mm:
723         (-[WebView _preferencesChanged:]):
724
725 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
726
727         [HTMLTemplateElement] Add feature flag
728         https://bugs.webkit.org/show_bug.cgi?id=103694
729
730         Reviewed by Adam Barth.
731
732         This flag will guard the implementation of the HTMLTemplateElement.
733         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
734
735         * Configurations/FeatureDefines.xcconfig:
736
737 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
738
739         [WK2] Forward cookie jar calls to NetworkProcess
740         https://bugs.webkit.org/show_bug.cgi?id=103457
741
742         Reviewed by Darin Adler.
743
744         * WebCoreSupport/WebPlatformStrategies.h:
745         (WebPlatformStrategies):
746         * WebCoreSupport/WebPlatformStrategies.mm:
747         (WebPlatformStrategies::cookiesForDOM):
748         (WebPlatformStrategies::setCookiesFromDOM):
749         (WebPlatformStrategies::cookiesEnabled):
750         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
751         (WebPlatformStrategies::getRawCookies):
752         (WebPlatformStrategies::deleteCookie):
753         (WebPlatformStrategies::getHostnamesWithCookies):
754         (WebPlatformStrategies::deleteCookiesForHostname):
755         (WebPlatformStrategies::deleteAllCookies):
756         (WebPlatformStrategies::getPluginInfo):
757         (WebPlatformStrategies::bufferForType):
758         WebKit1 strategy just uses PlatformCookieJar.
759
760 2012-11-28  Beth Dakin  <bdakin@apple.com>
761
762         https://bugs.webkit.org/show_bug.cgi?id=102970
763         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
764         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
765
766         Reviewed by Sam Weinig.
767
768         We should always register for DidFirstLayout in WK1 since we do work 
769         at that time besides just calling the delegate function.
770         * WebView/WebView.mm:
771         (-[WebView _cacheFrameLoadDelegateImplementations]):
772
773 2012-11-27  Michael Saboff  <msaboff@apple.com>
774
775         TextIterator unnecessarily converts 8 bit strings to 16 bits
776         https://bugs.webkit.org/show_bug.cgi?id=103295
777
778         Reviewed by Brent Fulgham.
779
780         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
781
782         * WebView/WebFrame.mm:
783         (-[WebFrame _stringForRange:]):
784
785 2012-11-27  James Simonsen  <simonjam@chromium.org>
786
787         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
788         https://bugs.webkit.org/show_bug.cgi?id=102151
789
790         Reviewed by Adam Barth.
791
792         * Plugins/WebPluginController.mm:
793         * WebView/WebFrame.mm:
794         (-[WebFrame loadRequest:]):
795         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
796
797 2012-11-27  Pratik Solanki  <psolanki@apple.com>
798
799         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
800         https://bugs.webkit.org/show_bug.cgi?id=101780
801
802         Reviewed by Brent Fulgham.
803
804         Clean up header includes so we don't include objc/objc-runtime.h.
805
806         * Carbon/HIWebView.mm:
807         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
808         * Plugins/WebNetscapePluginView.mm:
809         * Plugins/WebPluginContainerCheck.mm:
810         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
811         * Plugins/WebPluginController.mm:
812         * WebCoreSupport/WebCachedFramePlatformData.h:
813         * WebCoreSupport/WebDeviceOrientationClient.mm:
814         * WebView/WebDelegateImplementationCaching.mm:
815         * WebView/WebHTMLView.mm:
816         * WebView/WebPDFDocumentExtras.mm:
817         * WebView/WebPolicyDelegate.mm:
818         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
819         * WebView/WebView.mm:
820
821 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
822
823         Unreviewed, rolling out r135786.
824         http://trac.webkit.org/changeset/135786
825         https://bugs.webkit.org/show_bug.cgi?id=103379
826
827         It made 3 plugin tests timeout on several platforms (Requested
828         by Ossy on #webkit).
829
830         * Plugins/WebPluginController.mm:
831         * WebView/WebFrame.mm:
832         (-[WebFrame loadRequest:]):
833         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
834
835 2012-11-26  James Simonsen  <simonjam@chromium.org>
836
837         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
838         https://bugs.webkit.org/show_bug.cgi?id=102151
839
840         Reviewed by Adam Barth.
841
842         * Plugins/WebPluginController.mm:
843         * WebView/WebFrame.mm:
844         (-[WebFrame loadRequest:]):
845         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
846
847 2012-11-23  Alexis Menard  <alexis@webkit.org>
848
849         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
850         https://bugs.webkit.org/show_bug.cgi?id=102104
851
852         Reviewed by Julien Chaffraix.
853
854         Protect the new feature behind a feature flag.
855
856         * Configurations/FeatureDefines.xcconfig:
857
858 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
859
860         Disambiguate innerNodeFramePoint and mainFramePoint
861         https://bugs.webkit.org/show_bug.cgi?id=98139
862
863         Reviewed by Julien Chaffraix.
864
865         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
866
867         * WebCoreSupport/WebContextMenuClient.mm:
868         (WebContextMenuClient::showContextMenu):
869
870 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
871
872         Unreviewed, rolling out r135295.
873         http://trac.webkit.org/changeset/135295
874         https://bugs.webkit.org/show_bug.cgi?id=102834
875
876         This patch causes assertion to some layout tests on chromium
877         (Requested by jianli on #webkit).
878
879         * Plugins/WebPluginController.mm:
880         * WebView/WebFrame.mm:
881         (-[WebFrame loadRequest:]):
882         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
883
884 2012-11-20  James Simonsen  <simonjam@chromium.org>
885
886         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
887         https://bugs.webkit.org/show_bug.cgi?id=102151
888
889         Reviewed by Adam Barth.
890
891         * Plugins/WebPluginController.mm:
892         * WebView/WebFrame.mm:
893         (-[WebFrame loadRequest:]):
894         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
895
896 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
897
898         Add PROXIMITY_EVENTS feature
899         https://bugs.webkit.org/show_bug.cgi?id=102658
900
901         Reviewed by Kentaro Hara.
902
903         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
904
905         * Configurations/FeatureDefines.xcconfig:
906
907 2012-11-16  Tony Chang  <tony@chromium.org>
908
909         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
910         https://bugs.webkit.org/show_bug.cgi?id=102554
911
912         Reviewed by Andreas Kling.
913
914         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
915         we're going to revist this feature once additional vendor support is
916         achieved.
917
918         * Configurations/FeatureDefines.xcconfig:
919
920 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
921
922         Private Browsing is a per-page setting that sets a global value
923         https://bugs.webkit.org/show_bug.cgi?id=67870
924
925         Reviewed by Sam Weinig.
926
927         * WebCoreSupport/WebFrameNetworkingContext.h:
928         * WebCoreSupport/WebFrameNetworkingContext.mm:
929         Moved functions for managing global sessions from WebCore.
930
931         * WebCoreSupport/WebPlatformStrategies.h:
932         * WebCoreSupport/WebPlatformStrategies.mm:
933         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
934         to reach the storage.
935
936         * WebView/WebPreferences.mm:
937         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
938         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
939
940         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
941         are not generic enough for use outside DRT (one of them had "testing" in name,
942         but another did not).
943
944         * WebView/WebView.mm:
945         (-[WebView _preferencesChanged:]): Create a global private browsing session when
946         the first view with private browsing is created, delete it when any window with
947         it disabled is created (since this comes from preferences, it applies to all
948         views equally, even though we are dealing with a single one here).
949         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
950         a global one.
951
952 2012-11-13  Timothy Hatcher  <timothy@apple.com>
953
954         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
955
956         https://bugs.webkit.org/show_bug.cgi?id=102073
957
958         Reviewed by Joseph Pecoraro.
959
960         * WebCoreSupport/WebInspectorClient.mm:
961         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
962
963 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
964
965         Build fix after r134346 and 134347.
966         
967         Use frameView.isFlipped, not frameView.flipped in the assertion.
968
969         * WebCoreSupport/WebInspectorClient.mm:
970         (-[WebInspectorWindowController window]):
971
972 2012-11-12  Timothy Hatcher  <timothy@apple.com>
973
974         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
975
976         https://bugs.webkit.org/show_bug.cgi?id=102025
977
978         Reviewed by Joseph Pecoraro.
979
980         * Resources/Dock.pdf: Added.
981         * WebCoreSupport/WebInspectorClient.h:
982         * WebCoreSupport/WebInspectorClient.mm:
983         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
984         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
985         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
986         (-[WebInspectorWindowController window]): Create the dock button and add it.
987         (-[WebInspectorWindowController attachWindow:]): Added.
988         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
989         (-[WebInspectorWindowController detach]): Ditto.
990         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
991
992 2012-11-08  Timothy Hatcher  <timothy@apple.com>
993
994         Always use a textured window for the Web Inspector.
995
996         https://bugs.webkit.org/show_bug.cgi?id=101693
997
998         Reviewed by Joseph Pecoraro.
999
1000         * WebCoreSupport/WebInspectorClient.mm:
1001         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
1002
1003 2012-11-08  Roger Fong  <roger_fong@apple.com>
1004
1005         Null check URL key entries into WebHistory hash table. 
1006         https://bugs.webkit.org/show_bug.cgi?id=101664
1007         <rdar://problem/12440852>
1008
1009         Reviewed by Brady Eidson.
1010         
1011         Sometimes the _entriesByURL hash table used to keep track of web history is erroneously passed in null key entries, which causes an exception to fire.
1012         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
1013         Ideally we would figure out where the null values for the key are coming from but for now we'll just set it to "" to prevent the exception from being thrown
1014         so that navigation can continue as expected.
1015
1016         * History/WebHistory.mm:
1017         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
1018
1019 2012-11-07  Andreas Kling  <akling@apple.com>
1020
1021         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
1022         <http://webkit.org/b/101492>
1023
1024         Reviewed by Anders Carlsson.
1025
1026         * Plugins/WebJavaPlugIn.h: Removed.
1027
1028 2012-11-06  Adam Barth  <abarth@webkit.org>
1029
1030         Unreviewed attempt to fix the chromium-mac build.
1031
1032         * WebCoreSupport/WebSystemInterface.mm:
1033         (InitWebCoreSystemInterface):
1034
1035 2012-11-06  Anders Carlsson  <andersca@apple.com>
1036
1037         Update Java related WKSI function names
1038         https://bugs.webkit.org/show_bug.cgi?id=101414
1039
1040         Reviewed by Sam Weinig.
1041
1042         * WebCoreSupport/WebChromeClient.mm:
1043         (WebChromeClient::unavailablePluginButtonClicked):
1044         * WebCoreSupport/WebFrameLoaderClient.mm:
1045         (isPlugInInactive):
1046
1047 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
1048
1049         Clean up which storage cookie jar functions use
1050         https://bugs.webkit.org/show_bug.cgi?id=101395
1051
1052         Reviewed by Brady Eidson.
1053
1054         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
1055         two new functions.
1056
1057 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
1058
1059         Added console.clear() method
1060
1061         Web Inspector: add console.clear()
1062         https://bugs.webkit.org/show_bug.cgi?id=101021
1063
1064         Reviewed by Vsevolod Vlasov.
1065
1066         * WebCoreSupport/WebChromeClient.mm:
1067         (stringForMessageType): Added ClearMessageType case to switch
1068
1069 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
1070
1071         Get rid of setCookieStoragePrivateBrowsingEnabled.
1072         https://bugs.webkit.org/show_bug.cgi?id=101247
1073
1074         Reviewed by Brady Eidson.
1075
1076         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
1077         have this function.
1078
1079 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
1080
1081         Get rid of USE(CFURLSTORAGESESSIONS)
1082         https://bugs.webkit.org/show_bug.cgi?id=101131
1083
1084         Reviewed by Sam Weinig.
1085
1086         * WebView/WebPreferences.mm:
1087         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1088         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1089         * WebView/WebView.mm:
1090         (-[WebView _cachedResponseForURL:]):
1091
1092 2012-11-02  Anders Carlsson  <andersca@apple.com>
1093
1094         Don't instantiate the Java plug-in if it's inactive
1095         https://bugs.webkit.org/show_bug.cgi?id=101102
1096         <rdar://problem/12595679>
1097
1098         Reviewed by Andreas Kling.
1099
1100         * WebCoreSupport/WebChromeClient.mm:
1101         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
1102         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
1103
1104         (WebChromeClient::unavailablePluginButtonClicked):
1105         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
1106         then reload the page.
1107
1108         * WebCoreSupport/WebFrameLoaderClient.mm:
1109         (isOracleJavaPlugIn):
1110         (isPlugInInactive):
1111         Helper functions.
1112
1113         (WebFrameLoaderClient::createPlugin):
1114         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
1115
1116 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
1117
1118         Enable SUBPIXEL_LAYOUT on Mac
1119         https://bugs.webkit.org/show_bug.cgi?id=101076
1120
1121         Reviewed by Dave Hyatt.
1122
1123         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
1124
1125         * Configurations/FeatureDefines.xcconfig:
1126
1127 2012-11-02  Adam Barth  <abarth@webkit.org>
1128
1129         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
1130         https://bugs.webkit.org/show_bug.cgi?id=100711
1131
1132         Reviewed by Eric Seidel.
1133
1134         * Configurations/FeatureDefines.xcconfig:
1135
1136 2012-11-01  Adam Roben  <aroben@webkit.org>
1137
1138         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
1139         https://bugs.webkit.org/show_bug.cgi?id=100957
1140
1141         Reviewed by Simon Fraser.
1142
1143         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
1144         scrolling to always be integral. Now WebKit1 forces this as well.
1145
1146         I'm not sure how to write a test for this.
1147
1148         * WebView/WebDynamicScrollBarsView.mm:
1149         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
1150         or position:sticky elements in the page.
1151         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
1152         scroll origin to the nearest pixel if needed.
1153
1154 2012-10-31  Anders Carlsson  <andersca@apple.com>
1155
1156         Fix build.
1157         <rdar://problem/12612207>.
1158
1159         Reviewed by Sam Weinig.
1160
1161         * Panels/WebAuthenticationPanel.m:
1162         (-[WebAuthenticationPanel loadNib]):
1163
1164 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1165
1166         [Mac] Sync up FeatureDefine Configuration Files
1167         https://bugs.webkit.org/show_bug.cgi?id=100171
1168
1169         Reviewed by David Kilzer.
1170
1171         Follow up to better coordinate with iOS feature defines. Make:
1172
1173           - ENABLE_FILTERS always on
1174           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
1175
1176         * Configurations/FeatureDefines.xcconfig:
1177
1178 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1179
1180         [Mac] Sync up FeatureDefine Configuration Files
1181         https://bugs.webkit.org/show_bug.cgi?id=100171
1182
1183         Reviewed by David Kilzer.
1184
1185         Ensure an identical FeatureDefine files across all projects. Changes:
1186
1187           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
1188           - ENABLE_PDFKIT_PLUGIN should be in all
1189           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
1190           - ENABLE_ENCRYPTED_MEDIA should be in all
1191           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
1192           - Some alphabetical ordering cleanup
1193
1194         * Configurations/FeatureDefines.xcconfig:
1195
1196 2012-10-29  Anders Carlsson  <andersca@apple.com>
1197
1198         Build WebKit as C++11 on Mac
1199         https://bugs.webkit.org/show_bug.cgi?id=100720
1200
1201         Reviewed by Daniel Bates.
1202
1203         * Configurations/Base.xcconfig:
1204         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
1205
1206         * History/WebBackForwardList.mm:
1207         (-[WebBackForwardList description]):
1208         * History/WebHistoryItem.mm:
1209         (-[WebHistoryItem description]):
1210         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
1211
1212 2012-10-28  Mark Rowe  <mrowe@apple.com>
1213
1214         Simplify Xcode configuration settings that used to vary between OS versions.
1215
1216         Reviewed by Dan Bernstein.
1217
1218         * Configurations/Base.xcconfig:
1219         * Configurations/DebugRelease.xcconfig:
1220         * Configurations/WebKit.xcconfig:
1221
1222 2012-10-28  Mark Rowe  <mrowe@apple.com>
1223
1224         Remove references to unsupported OS and Xcode versions.
1225
1226         Reviewed by Anders Carlsson.
1227
1228         * Configurations/Base.xcconfig:
1229         * Configurations/CompilerVersion.xcconfig: Removed.
1230         * Configurations/DebugRelease.xcconfig:
1231         * Configurations/Version.xcconfig:
1232
1233 2012-10-29  Enrica Casucci  <enrica@apple.com>
1234
1235         Add ENABLE_USERSELECT_ALL feature flag.
1236         https://bugs.webkit.org/show_bug.cgi?id=100559
1237
1238         Reviewed by Eric Seidel.
1239
1240         * Configurations/FeatureDefines.xcconfig:
1241
1242 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
1243
1244         All tests crash in WebKit1 mode
1245         https://bugs.webkit.org/show_bug.cgi?id=100602
1246
1247         Reviewed by Sam Weinig.
1248
1249         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
1250         scheduler is created via a strategy, so strategies need to be initialized before
1251         using it.
1252
1253 2012-10-27  Dan Bernstein  <mitz@apple.com>
1254
1255         REAL_PLATFORM_NAME build setting is no longer needed
1256         https://bugs.webkit.org/show_bug.cgi?id=100587
1257
1258         Reviewed by Mark Rowe.
1259
1260         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1261         to PLATFORM_NAME.
1262
1263         * Configurations/Base.xcconfig:
1264         * Configurations/CompilerVersion.xcconfig:
1265         * Configurations/DebugRelease.xcconfig:
1266         * Configurations/FeatureDefines.xcconfig:
1267         * Configurations/Version.xcconfig:
1268         * Configurations/WebKit.xcconfig:
1269
1270 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1271
1272         Add feature flags for CSS Device Adaptation
1273         https://bugs.webkit.org/show_bug.cgi?id=95960
1274
1275         Reviewed by Kenneth Rohde Christiansen.
1276
1277         * Configurations/FeatureDefines.xcconfig:
1278
1279 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
1280
1281         Conditionalize XHR timeout support
1282         https://bugs.webkit.org/show_bug.cgi?id=100356
1283
1284         Reviewed by Adam Barth.
1285
1286         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1287         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1288
1289         * Configurations/FeatureDefines.xcconfig:
1290
1291 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1292
1293         Fix a crash seen during the Inspector tests on the WebKit1 bots.
1294
1295         Reviewed by Filip Pizlo.
1296
1297         * WebCoreSupport/WebInspectorClient.mm:
1298         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1299         is not the same when the Inspector is docked.
1300
1301 2012-10-24  Brady Eidson  <beidson@apple.com>
1302
1303         Add a strategy for loader customization.
1304         https://bugs.webkit.org/show_bug.cgi?id=100278
1305
1306         Reviewed by Alexey Proskuryakov.
1307
1308         * WebCoreSupport/WebPlatformStrategies.h:
1309         (WebPlatformStrategies):
1310         * WebCoreSupport/WebPlatformStrategies.mm:
1311         (WebPlatformStrategies::createLoaderStrategy):
1312
1313 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1314
1315         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1316
1317         https://bugs.webkit.org/show_bug.cgi?id=100209
1318
1319         Reviewed by Joseph Pecoraro.
1320
1321         * WebCoreSupport/WebInspectorClient.mm:
1322         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1323
1324 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1325
1326         Add a strategy for shared workers
1327         https://bugs.webkit.org/show_bug.cgi?id=100165
1328
1329         Reviewed by Brady Eidson.
1330
1331         * WebCoreSupport/WebPlatformStrategies.h:
1332         * WebCoreSupport/WebPlatformStrategies.mm:
1333         (WebPlatformStrategies::createPasteboardStrategy):
1334         (WebPlatformStrategies::createSharedWorkerStrategy):
1335         (WebPlatformStrategies::createVisitedLinkStrategy):
1336
1337 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
1338
1339         Allow ports to override text track rendering style
1340         https://bugs.webkit.org/show_bug.cgi?id=97800
1341         <rdar://problem/12044964>
1342
1343         Reviewed by Maciej Stachowiak.
1344
1345         * WebCoreSupport/WebSystemInterface.mm:
1346         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1347
1348 2012-10-23  Dan Bernstein  <mitz@apple.com>
1349
1350         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1351         https://bugs.webkit.org/show_bug.cgi?id=100188
1352
1353         Reviewed by Sam Weinig.
1354
1355         * WebView/WebView.mm:
1356         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1357         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1358         default. Changed to refer to that default key by name.
1359
1360 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1361
1362         Add support for resolution media query
1363         https://bugs.webkit.org/show_bug.cgi?id=99077
1364
1365         Reviewed by Antti Koivisto.
1366
1367         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1368
1369         * Configurations/FeatureDefines.xcconfig:
1370
1371 2012-10-21  Andreas Kling  <kling@webkit.org>
1372
1373         Remove Page::javaScriptURLsAreAllowed setting.
1374         <http://webkit.org/b/99944>
1375
1376         Reviewed by Anders Carlsson.
1377
1378         * WebKit.order:
1379         * WebView/WebView.mm:
1380         * WebView/WebViewPrivate.h:
1381
1382 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
1383
1384         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1385         https://bugs.webkit.org/show_bug.cgi?id=99804
1386
1387         Reviewed by Julien Chaffraix.
1388
1389         CSS3 text related properties will be implemented under this flag,
1390         including text decoration, text-align-last, and text-justify.
1391
1392         * Configurations/FeatureDefines.xcconfig:
1393
1394 2012-10-18  Pablo Flouret  <pablof@motorola.com>
1395
1396         Implement css3-conditional's @supports rule
1397         https://bugs.webkit.org/show_bug.cgi?id=86146
1398
1399         Reviewed by Antti Koivisto.
1400
1401         * Configurations/FeatureDefines.xcconfig:
1402             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1403
1404 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
1405
1406         [Mac] Uninitialized Members in WebDataSourcePrivate
1407         https://bugs.webkit.org/show_bug.cgi?id=99617
1408
1409         Reviewed by David Kilzer.
1410
1411         Initialize BOOL member variables.
1412
1413         * WebView/WebDataSource.mm:
1414         (WebDataSourcePrivate::WebDataSourcePrivate):
1415
1416 2012-10-17  Mark Rowe  <mrowe@apple.com>
1417
1418         Fix the build with a newer version of clang.
1419
1420         Reviewed by Dan Bernstein.
1421
1422         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1423         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1424         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1425         therefore generates a warning in newer versions of the compiler.
1426
1427         Fixes <rdar://problem/12503709>.
1428
1429         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1430         * Misc/WebCoreStatistics.mm: Ditto.
1431         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1432         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1433
1434 2012-10-16  Jian Li  <jianli@chromium.org>
1435
1436         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1437         https://bugs.webkit.org/show_bug.cgi?id=98975
1438
1439         Reviewed by Adam Barth.
1440
1441         Renaming is needed to better match with the draggable region code.
1442
1443         * Configurations/FeatureDefines.xcconfig:
1444
1445 2012-10-15  Dan Bernstein  <mitz@apple.com>
1446
1447         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1448         https://bugs.webkit.org/show_bug.cgi?id=99113
1449
1450         Reviewed by Tim Horton.
1451
1452         * WebCoreSupport/WebSystemInterface.mm:
1453         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1454
1455 2012-10-15  David Kilzer  <ddkilzer@apple.com>
1456
1457         Move framework and library linking into WebKit.xcconfig
1458         <http://webkit.org/b/99284>
1459
1460         Reviewed by Mark Rowe.
1461
1462         * Configurations/WebKit.xcconfig: Move frameworks and libraries
1463         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1464
1465 2012-10-14  Jon Lee  <jonlee@apple.com>
1466
1467         Allow notification origin permission request when no js callback is provided
1468         https://bugs.webkit.org/show_bug.cgi?id=63615
1469         <rdar://problem/11059590>
1470
1471         Reviewed by Sam Weinig.
1472
1473         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1474         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1475
1476         * WebCoreSupport/WebNotificationClient.mm:
1477         (WebCore):
1478         (-[WebNotificationPolicyListener initWithVoidCallback:]):
1479         (-[WebNotificationPolicyListener allow]):
1480         (-[WebNotificationPolicyListener deny]):
1481
1482 2012-10-14  Sam Weinig  <sam@webkit.org>
1483
1484         Make UserScript and UserStyleSheet value objects that are copyable
1485         https://bugs.webkit.org/show_bug.cgi?id=99275
1486
1487         Reviewed by Tim Horton.
1488
1489         * WebView/WebView.mm:
1490         (-[WebView _injectMailQuirksScript]):
1491         (-[WebView _injectOutlookQuirksScript]):
1492         Update for new PageGroup function signatures.
1493
1494 2012-10-10  Brady Eidson  <beidson@apple.com>
1495
1496         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1497         https://bugs.webkit.org/show_bug.cgi?id=98976
1498
1499         Reviewed by Anders Carlsson.
1500
1501         * WebView/WebDataSource.mm:
1502         (-[WebDataSource data]):
1503
1504 2012-10-10  Jer Noble  <jer.noble@apple.com>
1505
1506         Disallow full screen mode keyboard access by default.
1507         https://bugs.webkit.org/show_bug.cgi?id=98971
1508         <rdar://problem/12474226>
1509
1510         Reviewed by Sam Weinig.
1511
1512         Only support full screen if keyboard access is not requested.
1513
1514         * WebView/WebView.mm:
1515         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1516
1517 2012-10-10  Jon Lee  <jonlee@apple.com>
1518
1519         [WK2] Activate plugins when user clicks on snapshot
1520         https://bugs.webkit.org/show_bug.cgi?id=98328
1521         <rdar://problem/12426681>
1522
1523         Reviewed by Brady Eidson.
1524
1525         * WebCoreSupport/WebFrameLoaderClient.h:
1526         * WebCoreSupport/WebFrameLoaderClient.mm:
1527         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1528
1529 2012-10-10  Brady Eidson  <beidson@apple.com>
1530
1531         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1532         https://bugs.webkit.org/show_bug.cgi?id=98541
1533
1534         Reviewed by Anders Carlsson.
1535
1536         * WebView/WebHTMLView.mm:
1537         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1538
1539 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
1540
1541         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1542         https://bugs.webkit.org/show_bug.cgi?id=98839
1543
1544         Reviewed by Sam Weinig.
1545
1546         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1547         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1548         but store the computed rect in m_visibleRect.
1549         
1550         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1551         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1552
1553         * WebView/WebFrame.mm:
1554         (-[WebFrame _layerTreeAsText]):
1555
1556 2012-10-09  Jian Li  <jianli@chromium.org>
1557
1558         Update the CSS property used to support draggable regions.
1559         https://bugs.webkit.org/show_bug.cgi?id=97156
1560
1561         Reviewed by Adam Barth.
1562
1563         The CSS property to support draggable regions, guarded under
1564         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1565         confusion with DASHBOARD_SUPPORT feature.
1566
1567         Also update the code to use the new name annotatedRegions to work for
1568         both features.
1569
1570         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1571         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1572         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1573         (WebChromeClient::annotatedRegionsChanged):
1574         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1575         (-[WebView _dashboardRegions]):
1576
1577 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1578
1579         Unreviewed, rolling out r130811 and r130821.
1580         http://trac.webkit.org/changeset/130811
1581         http://trac.webkit.org/changeset/130821
1582         https://bugs.webkit.org/show_bug.cgi?id=98831
1583
1584         Broke date-suggestion-picker-appearance-with-scroll-bar.html
1585         (Requested by abarth|gardening on #webkit).
1586
1587         * WebView/WebFullScreenController.mm:
1588         (screenRectOfContents):
1589         * WebView/WebRenderNode.mm:
1590         (copyRenderNode):
1591
1592 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
1593
1594         Throttle DOM timers on hidden pages.
1595         https://bugs.webkit.org/show_bug.cgi?id=98474
1596
1597         Reviewed by Maciej Stachowiak.
1598
1599         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1600         DumpRenderTree to modify the visibility state of a page.  The latter
1601         is needed to test throttling of timers on hidden pages through DumpRenderTree.
1602
1603         * Configurations/FeatureDefines.xcconfig:
1604         * WebView/WebView.mm:
1605         (-[WebView _setVisibilityState:isInitialState:]):
1606         * WebView/WebViewPrivate.h:
1607
1608 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1609
1610         Rename first/second to key/value in HashMap iterators
1611         https://bugs.webkit.org/show_bug.cgi?id=82784
1612
1613         Reviewed by Eric Seidel.
1614
1615         * History/WebHistory.mm:
1616         (-[WebHistoryPrivate removeItemFromDateCaches:]):
1617         (-[WebHistoryPrivate orderedLastVisitedDays]):
1618         (WebHistoryWriter::WebHistoryWriter):
1619         * Misc/WebCoreStatistics.mm:
1620         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1621         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1622         * Plugins/Hosted/NetscapePluginHostManager.mm:
1623         (WebKit::NetscapePluginHostManager::hostForPlugin):
1624         (WebKit::NetscapePluginHostManager::pluginHostDied):
1625         (WebKit::NetscapePluginHostManager::didCreateWindow):
1626         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1627         (WebKit::NetscapePluginHostProxy::pluginHostDied):
1628         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1629         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1630         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1631         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1632         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1633         (WebKit::NetscapePluginInstanceProxy::destroy):
1634         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1635         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1636         * Plugins/Hosted/ProxyInstance.mm:
1637         (WebKit::ProxyInstance::methodNamed):
1638         (WebKit::ProxyInstance::fieldNamed):
1639         * Plugins/WebNetscapePluginView.mm:
1640         (-[WebNetscapePluginView stopTimers]):
1641         (-[WebNetscapePluginView startTimers]):
1642         * WebCoreSupport/WebNotificationClient.mm:
1643         (WebNotificationClient::show):
1644         (WebNotificationClient::clearNotifications):
1645         (WebNotificationClient::notificationObjectDestroyed):
1646         * WebView/WebHTMLView.mm:
1647         (commandNameForSelector):
1648
1649 2012-10-06  Dan Bernstein  <mitz@apple.com>
1650
1651         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
1652         https://bugs.webkit.org/show_bug.cgi?id=98601
1653
1654         Reviewed by Darin Adler.
1655
1656         * WebView/WebView.mm:
1657         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
1658         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
1659         the value YES.
1660
1661 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1662
1663         Unreviewed, rolling out r130556 and r130564.
1664         http://trac.webkit.org/changeset/130556
1665         http://trac.webkit.org/changeset/130564
1666         https://bugs.webkit.org/show_bug.cgi?id=98572
1667
1668         The patch wasn't reviewed by a reviewer and it is breaking
1669         Chromium Windows (Requested by jchaffraix on #webkit).
1670
1671         * WebCoreSupport/WebSystemInterface.mm:
1672         (InitWebCoreSystemInterface):
1673
1674 2012-10-05  Tim Horton  <timothy_horton@apple.com>
1675
1676         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
1677         https://bugs.webkit.org/show_bug.cgi?id=98565
1678         <rdar://problem/12436468>
1679
1680         Reviewed by Simon Fraser.
1681
1682         Add wkCGContextDrawsWithCorrectShadowOffsets.
1683
1684         * WebCoreSupport/WebSystemInterface.mm:
1685         (InitWebCoreSystemInterface):
1686
1687 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
1688
1689         Allow ports to override text track rendering style
1690         https://bugs.webkit.org/show_bug.cgi?id=97800
1691         <rdar://problem/12044964>
1692
1693         Reviewed by Silvia Pfeiffer.
1694
1695         Add WCSI support for new WKSI caption functions.
1696
1697         * WebCoreSupport/WebSystemInterface.mm:
1698         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1699
1700 2012-10-04  Jon Lee  <jonlee@apple.com>
1701
1702         Add a setting to enable plugin snapshotting
1703         https://bugs.webkit.org/show_bug.cgi?id=98319
1704         <rdar://problem/12426480>
1705
1706         Reviewed by Brady Eidson.
1707
1708         Expose plugInSnapshottingEnabled preference to WebKit clients.
1709
1710         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
1711         * WebView/WebPreferences.mm:
1712         (+[WebPreferences initialize]): Setting is turned off by default.
1713         (-[WebPreferences plugInSnapshottingEnabled]):
1714         (-[WebPreferences setPlugInSnapshottingEnabled:]):
1715         * WebView/WebPreferencesPrivate.h:
1716         * WebView/WebView.mm:
1717         (-[WebView _preferencesChanged:]): Update settings based on preference.
1718
1719 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
1720
1721         Turn Compositing on by default in WebKit build
1722         https://bugs.webkit.org/show_bug.cgi?id=98315
1723
1724         Reviewed by Simon Fraser.
1725
1726         enable -webkit-blend-mode on trunk.
1727
1728         * Configurations/FeatureDefines.xcconfig:
1729
1730 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1731
1732         Final part of "sync" to "flush" renaming
1733         https://bugs.webkit.org/show_bug.cgi?id=98430
1734
1735         Reviewed by Tim Horton.
1736
1737         Change method names on GraphicsLayer and GraphicsLayerClient that
1738         refer to "sync" to use the term "flush" instead, to be consistent
1739         with the rest of the code.
1740
1741         * WebView/WebView.mm:
1742
1743 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
1744
1745         [WK2] Support all attributes of GeolocationPosition
1746         https://bugs.webkit.org/show_bug.cgi?id=98212
1747
1748         Reviewed by Sam Weinig.
1749
1750         Add an internal constructor for the sake of testing.
1751         A similar API is used on iOS.
1752
1753         * WebView/WebGeolocationPosition.mm:
1754         (-[WebGeolocationPosition initWithGeolocationPosition:]):
1755
1756 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1757
1758         Standardize on "flush" terminology for compositing layer flushing/syncing
1759         https://bugs.webkit.org/show_bug.cgi?id=98321
1760
1761         Reviewed by Simon Fraser.
1762
1763         Rename compositing-related methods that refer to "syncing" to instead
1764         refer to "flushing".
1765
1766         * WebCoreSupport/WebChromeClient.h:
1767         * WebCoreSupport/WebChromeClient.mm:
1768         (WebChromeClient::scheduleCompositingLayerFlush):
1769         * WebView/WebView.mm:
1770         (-[WebView _flushCompositingChanges]):
1771         (LayerFlushController::flushLayers):
1772         (-[WebView _scheduleCompositingLayerFlush]):
1773         * WebView/WebViewInternal.h:
1774
1775 == Rolled over to ChangeLog-2012-10-02 ==