Unreviewed build-fix; fix !HAVE(AVKIT) build after r193340.
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2015-12-03  Jer Noble  <jer.noble@apple.com>
2
3         Unreviewed build-fix; fix !HAVE(AVKIT) build after r193340.
4
5         * UIProcess/ios/WebVideoFullscreenManagerProxy.mm:
6         (WebKit::WebVideoFullscreenManagerProxy::applicationDidBecomeActive):
7
8 2015-12-03  Sam Weinig  <sam@webkit.org>
9
10         Need completionHandler-based WebKit C SPI for alert, confirm, and prompt
11         <rdar://problem/23320863>
12         https://bugs.webkit.org/show_bug.cgi?id=151708
13
14         (Add missing function definitions)
15
16         * UIProcess/API/C/WKPage.cpp:
17         (WKPageRunJavaScriptAlertResultListenerGetTypeID):
18         (WKPageRunJavaScriptAlertResultListenerCall):
19         (WKPageRunJavaScriptConfirmResultListenerGetTypeID):
20         (WKPageRunJavaScriptConfirmResultListenerCall):
21         (WKPageRunJavaScriptPromptResultListenerGetTypeID):
22         (WKPageRunJavaScriptPromptResultListenerCall):
23
24 2015-12-03  Jer Noble  <jer.noble@apple.com>
25
26         [iOS] Fullscreen -> PiP should resume to Fullscreen, not inline
27         https://bugs.webkit.org/show_bug.cgi?id=150906
28
29         Reviewed by Simon Fraser.
30
31         Add methods to pass isVisible(), applicationDidBecomeActive(), and requestFullscreenMode()
32         to and from models and interfaces.
33
34         * UIProcess/ios/WebPageProxyIOS.mm:
35         (WebKit::WebPageProxy::applicationDidBecomeActive): Notify the fullscreen manager, if preset.
36
37         * UIProcess/ios/WebVideoFullscreenManagerProxy.mm:
38         (WebKit::WebVideoFullscreenModelContext::requestFullscreenMode): Renamed from requestExitFullscreen(); takes a mode enum.
39         (WebKit::WebVideoFullscreenModelContext::isVisible): Added.
40         (WebKit::WebVideoFullscreenManagerProxy::applicationDidBecomeActive): Pass to all existing interfaces.
41         (WebKit::WebVideoFullscreenManagerProxy::setupFullscreenWithID): Do not re-create the view if it already exists.
42         (WebKit::WebVideoFullscreenManagerProxy::requestFullscreenMode): Renamed from requestExitFullscreen(); takes a mode enum.
43         (WebKit::WebVideoFullscreenManagerProxy::isVisible): Added. Query Page::isVisible() and Page::isInWindow(), the latter because
44                 PiP will cause Page::isVisible() to be TRUE even when the containing tab is backgrounded.
45         (WebKit::WebVideoFullscreenModelContext::requestExitFullscreen): Deleted.
46         (WebKit::WebVideoFullscreenManagerProxy::requestExitFullscreen): Deleted.
47         * WebProcess/ios/WebVideoFullscreenManager.mm:
48         (WebKit::WebVideoFullscreenManager::enterVideoFullscreenForVideoElement): Only resize the view if we are not already in one of
49                 the fullscreen modes.
50         (WebKit::WebVideoFullscreenManager::requestFullscreenMode): Renamed from requestExitFullscreen().
51         (WebKit::WebVideoFullscreenManager::requestExitFullscreen): Deleted.
52
53 2015-12-02  Antti Koivisto  <antti@apple.com>
54
55         Move ResourceLoadScheduler to WebKit1
56         https://bugs.webkit.org/show_bug.cgi?id=151743
57
58         Reviewed by Alex Christensen.
59
60         * NetworkProcess/NetworkProcessPlatformStrategies.cpp:
61         (WebKit::NetworkProcessPlatformStrategies::createCookiesStrategy):
62         (WebKit::NetworkProcessPlatformStrategies::createLoaderStrategy):
63         (WebKit::NetworkProcessPlatformStrategies::createPasteboardStrategy):
64         (WebKit::NetworkProcessPlatformStrategies::createPluginStrategy):
65         (WebKit::NetworkProcessPlatformStrategies::createBlobRegistry):
66         (WebKit::NetworkProcessPlatformStrategies::resourceLoadScheduler): Deleted.
67         (WebKit::NetworkProcessPlatformStrategies::loadResourceSynchronously): Deleted.
68         * NetworkProcess/NetworkProcessPlatformStrategies.h:
69         * WebProcess/InjectedBundle/InjectedBundle.cpp:
70         * WebProcess/Network/WebResourceLoadScheduler.cpp:
71         (WebKit::WebResourceLoadScheduler::~WebResourceLoadScheduler):
72         (WebKit::WebResourceLoadScheduler::loadResource):
73         (WebKit::WebResourceLoadScheduler::resumePendingRequests):
74         (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
75         (WebKit::WebResourceLoadScheduler::loadResourceSynchronously):
76         (WebKit::WebResourceLoadScheduler::createPingHandle):
77         (WebKit::WebResourceLoadScheduler::scheduleSubresourceLoad): Deleted.
78         (WebKit::WebResourceLoadScheduler::setSerialLoadingEnabled): Deleted.
79         * WebProcess/Network/WebResourceLoadScheduler.h:
80         (WebKit::WebResourceLoadScheduler::webResourceLoaderForIdentifier):
81         * WebProcess/Plugins/PluginView.cpp:
82         (WebKit::PluginView::Stream::start):
83         (WebKit::PluginView::Stream::cancel):
84         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
85         (WebKit::WebPlatformStrategies::createLoaderStrategy):
86         (WebKit::WebPlatformStrategies::createPasteboardStrategy):
87         (WebKit::WebPlatformStrategies::createPluginStrategy):
88         (WebKit::WebPlatformStrategies::createBlobRegistry):
89         (WebKit::WebPlatformStrategies::cookiesForDOM):
90         (WebKit::WebPlatformStrategies::deleteCookie):
91         (WebKit::WebPlatformStrategies::refreshPlugins):
92         (WebKit::WebPlatformStrategies::resourceLoadScheduler): Deleted.
93         (WebKit::WebPlatformStrategies::loadResourceSynchronously): Deleted.
94         (WebKit::WebPlatformStrategies::createPingHandle): Deleted.
95         * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
96
97 2015-12-02  Alex Christensen  <achristensen@webkit.org>
98
99         Fix authentication requests with NetworkSession and canHandleHTTPSServerTrustEvaluation true
100         https://bugs.webkit.org/show_bug.cgi?id=151775
101         rdar://problem/23586265
102
103         Reviewed by Chris Dumez.
104
105         In https://bugs.webkit.org/show_bug.cgi?id=150968 I copied functionality from 
106         NetworkLoad::canAuthenticateAgainstProtectionSpaceAsync into NetworkLoad::didReceiveChallenge
107         but I overlooked the call to m_client.canAuthenticateAgainstProtectionSpaceAsync which is needed
108         if canHandleHTTPSServerTrustEvaluation is true.  This adds that call and moves what should happen
109         after that to NetworkLoad::continueCanAuthenticateAgainstProtectionSpace.
110
111         * NetworkProcess/NetworkLoad.cpp:
112         (WebKit::NetworkLoad::didReceiveChallenge):
113         (WebKit::NetworkLoad::didReceiveResponse):
114         (WebKit::NetworkLoad::continueCanAuthenticateAgainstProtectionSpace):
115         * NetworkProcess/NetworkLoad.h:
116         * NetworkProcess/NetworkSession.h:
117         * Shared/Authentication/AuthenticationManager.h:
118
119 2015-12-01  Hunseop Jeong  <hs85.jeong@samsung.com>
120
121         Unreviewed, fix build after r192931.
122
123         * CMakeLists.txt: Remove the WKOriginDataManager in CMakeLists.txt.
124
125 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
126
127         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
128         https://bugs.webkit.org/show_bug.cgi?id=150792
129
130         Reviewed by Saam Barati.
131
132         * Configurations/FeatureDefines.xcconfig:
133
134 2015-12-01  Commit Queue  <commit-queue@webkit.org>
135
136         Unreviewed, rolling out r192914.
137         https://bugs.webkit.org/show_bug.cgi?id=151734
138
139         JSC tests for this change are failing on 32 and 64-bit bots
140         (Requested by ryanhaddad on #webkit).
141
142         Reverted changeset:
143
144         "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
145         enable this feature"
146         https://bugs.webkit.org/show_bug.cgi?id=150792
147         http://trac.webkit.org/changeset/192914
148
149 2015-12-01  Anders Carlsson  <andersca@apple.com>
150
151         Remove WKOriginDataManager
152         https://bugs.webkit.org/show_bug.cgi?id=151723
153
154         Reviewed by Andy Estes.
155
156         * UIProcess/API/C/WKOriginDataManager.cpp: Removed.
157         (WKOriginDataManagerGetTypeID): Deleted.
158         (WKOriginDataManagerGetOrigins): Deleted.
159         (WKOriginDataManagerDeleteEntriesForOrigin): Deleted.
160         (WKOriginDataManagerDeleteEntriesModifiedBetweenDates): Deleted.
161         (WKOriginDataManagerDeleteAllEntries): Deleted.
162         * UIProcess/API/C/WKOriginDataManager.h: Removed.
163         * WebKit2.xcodeproj/project.pbxproj:
164
165 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
166
167         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
168         https://bugs.webkit.org/show_bug.cgi?id=150792
169
170         Reviewed by Saam Barati.
171
172         * Configurations/FeatureDefines.xcconfig:
173
174 2015-12-01  Sam Weinig  <sam@webkit.org>
175
176         Need completionHandler-based WebKit C SPI for alert, confirm, and prompt
177         <rdar://problem/23320863>
178         https://bugs.webkit.org/show_bug.cgi?id=151708
179
180         Reviewed by Anders Carlsson.
181
182         Add listener based versions of alert, confirm and prompt.
183
184         * Shared/API/APIObject.h:
185         * Shared/API/c/WKBase.h:
186         * UIProcess/API/C/WKPage.cpp:
187         (WebKit::RunJavaScriptAlertResultListener::create):
188         (WebKit::RunJavaScriptAlertResultListener::~RunJavaScriptAlertResultListener):
189         (WebKit::RunJavaScriptAlertResultListener::call):
190         (WebKit::RunJavaScriptAlertResultListener::RunJavaScriptAlertResultListener):
191         (WebKit::RunJavaScriptConfirmResultListener::create):
192         (WebKit::RunJavaScriptConfirmResultListener::~RunJavaScriptConfirmResultListener):
193         (WebKit::RunJavaScriptConfirmResultListener::call):
194         (WebKit::RunJavaScriptConfirmResultListener::RunJavaScriptConfirmResultListener):
195         (WebKit::RunJavaScriptPromptResultListener::create):
196         (WebKit::RunJavaScriptPromptResultListener::~RunJavaScriptPromptResultListener):
197         (WebKit::RunJavaScriptPromptResultListener::call):
198         (WebKit::RunJavaScriptPromptResultListener::RunJavaScriptPromptResultListener):
199         (WKPageSetPageUIClient):
200         * UIProcess/API/C/WKPageUIClient.h:
201
202 2015-12-01  Anders Carlsson  <andersca@apple.com>
203
204         Remove WebKit2.framework
205         https://bugs.webkit.org/show_bug.cgi?id=151715
206
207         Reviewed by Dan Bernstein.
208
209         * Configurations/WebKit2.xcconfig: Removed.
210         * UIProcess/API/Cocoa/WebKit2.h: Removed.
211         * WebKit2.xcodeproj/project.pbxproj:
212         * mac/Info-WebKit2.plist: Removed.
213         * mac/MigrateHeadersToWebKit2.make: Removed.
214         * mac/WebKit2.m: Removed.
215
216 2015-12-01  Alex Christensen  <achristensen@webkit.org>
217
218         Use Optional for matrix inverses
219         https://bugs.webkit.org/show_bug.cgi?id=151575
220
221         Reviewed by Myles C. Maxfield.
222
223         * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
224         (WebKit::NetscapePlugin::convertFromRootView):
225         * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
226         (WebKit::NetscapePlugin::convertPoint):
227         * WebProcess/Plugins/PDF/DeprecatedPDFPlugin.mm:
228         (WebKit::PDFPlugin::convertFromPDFViewToRootView):
229         (WebKit::PDFPlugin::convertFromPDFViewToScreen):
230         (WebKit::PDFPlugin::boundsOnScreen):
231         (WebKit::PDFPlugin::geometryDidChange):
232         * WebProcess/Plugins/PDF/PDFPlugin.mm:
233         (WebKit::PDFPlugin::geometryDidChange):
234
235 2015-12-01  Tim Horton  <timothy_horton@apple.com>
236
237         Remove swipe snapshot before main document load if scroll position is already restored
238         https://bugs.webkit.org/show_bug.cgi?id=151224
239
240         Reviewed by Darin Adler.
241
242         * UIProcess/Cocoa/WebViewImpl.h:
243         * UIProcess/Cocoa/WebViewImpl.mm:
244         (WebKit::WebViewImpl::didRestoreScrollPosition):
245         * UIProcess/PageClient.h:
246         * UIProcess/WebPageProxy.cpp:
247         (WebKit::WebPageProxy::didRestoreScrollPosition):
248         * UIProcess/WebPageProxy.h:
249         * UIProcess/WebPageProxy.messages.in:
250         * UIProcess/mac/PageClientImpl.h:
251         * UIProcess/mac/PageClientImpl.mm:
252         (WebKit::PageClientImpl::didRestoreScrollPosition):
253         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
254         (WebKit::WebFrameLoaderClient::didRestoreScrollPosition):
255         * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
256         * WebProcess/WebPage/WebPage.cpp:
257         (WebKit::WebPage::didRestoreScrollPosition):
258         * WebProcess/WebPage/WebPage.h:
259         Plumb didRestoreScrollPosition through to ViewGestureController (yikes!).
260
261         * UIProcess/ViewGestureController.cpp:
262         (WebKit::ViewGestureController::didFirstVisuallyNonEmptyLayoutForMainFrame):
263         Cancel waiting for any more loads if we get to firstVisuallyNonEmptyLayout.
264
265         (WebKit::ViewGestureController::didReachMainFrameLoadTerminalState):
266         Cancel waiting for scroll position restoration if we make it to main frame load,
267         because there is a chance we won't be able to restore the old scroll position, and
268         by main frame load time we've tried as hard as we're going to to restore it.
269
270         * UIProcess/mac/ViewGestureControllerMac.mm:
271         (WebKit::ViewGestureController::endSwipeGesture):
272         Make some legacy-style-only code clearer that it's legacy-style-only.
273         Wait for scroll position restoration.
274
275 2015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
276
277         REGRESSION(r192834): [GTK] Test /webkit2/WebKitWebView/editor-state/typing-attributes times out after r192834
278         https://bugs.webkit.org/show_bug.cgi?id=151699
279
280         Reviewed by Tim Horton.
281
282         In r192834 the code to send EditorStateChanged message to the UI
283         process from WebPage::didChangeSelection was removed for non-mac
284         ports.
285
286         * WebProcess/WebPage/WebPage.cpp:
287         (WebKit::WebPage::didChangeSelection): Send EditorStateChanged
288         message to the UI process also for non-mac ports, as before r192834.
289
290 2015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
291
292         Unreviewed. Fix timeouts in several HTTP layout tests in GTK+ after r192796.
293
294         In r192796, the initialization of m_ignoreTLSErrors in
295         WebProcessPool was removed by mistake, making all HTTP tests that use
296         HTTPS fail due to invalid certificate errors.
297
298         * UIProcess/WebProcessPool.h: Bring back m_ignoreTLSErrors initialization.
299
300 2015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
301
302         REGRESSION(r192247): [GTK] ASSERTION FAILED: type == WebCore::ActionType || type == WebCore::CheckableActionType || type == WebCore::SeparatorType
303         https://bugs.webkit.org/show_bug.cgi?id=151513
304
305         Reviewed by Martin Robinson.
306
307         This happens because we are using our own WebContextMenuItemGtk
308         derived from WebContextMenuItemData, but using our own submenu
309         items handling. We are using the non-submenu
310         WebContextMenuItemData constructor to create our submenu items
311         too, because WebContextMenuItemData always expect the submenu
312         items to be passed to the constructor, but we have a set_submenu
313         method in the public API. So we consider that a
314         WebContextMenuItemGtk is SubmenuType if it has submenu items, but
315         we use the action type internally. When converting a
316         WebContextMenuItemGtk to a generic WebContextMenuItemData, we
317         correctly set the type and pass the submenu items to the
318         approriate constructor.
319
320         * Shared/gtk/WebContextMenuItemGtk.cpp:
321         (WebKit::WebContextMenuItemGtk::WebContextMenuItemGtk): When
322         constructing from a WebContextMenuItemData, set the type as
323         ActionType when it's a submenu type.
324         * Shared/gtk/WebContextMenuItemGtk.h:
325         (WebKit::WebContextMenuItemGtk::type): Return SubmenuType if
326         submenu items vector is not empty, otherwise use the parent method.
327         * UIProcess/API/gtk/WebKitContextMenuItem.cpp:
328         (webkit_context_menu_item_new_with_submenu): Create the
329         WebContextMenuItemGtk as ActionType.
330
331 2015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
332
333         Unreviewed. Add missing inspector files to the GTK+ build.
334
335         * PlatformGTK.cmake: Add also Debug css files.
336
337 2015-11-30  Alexey Proskuryakov  <ap@apple.com>
338
339         Build fix for some compiler versions.
340
341         * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: Disable deprecation warnings while
342         processing SOFT_LINK_CLASS too.
343
344 2015-11-30  Jiewen Tan  <jiewen_tan@apple.com>
345
346         Null dereference loading Blink layout test http/tests/misc/detach-during-notifyDone.html
347         https://bugs.webkit.org/show_bug.cgi?id=149309
348         <rdar://problem/22748363>
349
350         Reviewed by Brent Fulgham.
351
352         Callback of bundle clients could kill the documentloader. Therefore, make a copy
353         of the navigationID before invoking the callback.
354
355         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
356         (WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
357         (WebKit::WebFrameLoaderClient::dispatchDidPushStateWithinPage):
358         (WebKit::WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
359         (WebKit::WebFrameLoaderClient::dispatchDidPopStateWithinPage):
360         (WebKit::WebFrameLoaderClient::dispatchDidFailLoad):
361         (WebKit::WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
362         (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad):
363
364 2015-11-30  Tim Horton  <timothy_horton@apple.com>
365
366         Get rid of the !USE(ASYNC_NSTEXTINPUTCLIENT) codepath
367         https://bugs.webkit.org/show_bug.cgi?id=151673
368
369         Reviewed by Anders Carlsson.
370
371         * UIProcess/API/Cocoa/WKWebView.mm:
372         * UIProcess/API/mac/WKView.mm:
373         * UIProcess/Cocoa/WebViewImpl.h:
374         * UIProcess/Cocoa/WebViewImpl.mm:
375         (WebKit::WebViewImpl::resignFirstResponder): Deleted.
376         (WebKit::WebViewImpl::interpretKeyEvent): Deleted.
377         (WebKit::WebViewImpl::executeSavedKeypressCommands): Deleted.
378         (WebKit::WebViewImpl::doCommandBySelector): Deleted.
379         (WebKit::WebViewImpl::insertText): Deleted.
380         (WebKit::WebViewImpl::inputContext): Deleted.
381         (WebKit::WebViewImpl::selectedRange): Deleted.
382         (WebKit::WebViewImpl::hasMarkedText): Deleted.
383         (WebKit::WebViewImpl::unmarkText): Deleted.
384         (WebKit::WebViewImpl::setMarkedText): Deleted.
385         (WebKit::WebViewImpl::markedRange): Deleted.
386         (WebKit::WebViewImpl::attributedSubstringForProposedRange): Deleted.
387         (WebKit::WebViewImpl::characterIndexForPoint): Deleted.
388         (WebKit::WebViewImpl::firstRectForCharacterRange): Deleted.
389         (WebKit::WebViewImpl::performKeyEquivalent): Deleted.
390         (WebKit::WebViewImpl::keyUp): Deleted.
391         (WebKit::WebViewImpl::keyDown): Deleted.
392         (WebKit::WebViewImpl::flagsChanged): Deleted.
393         * UIProcess/PageClient.h:
394         * UIProcess/WebPageProxy.cpp:
395         (WebKit::WebPageProxy::WebPageProxy): Deleted.
396         (WebKit::WebPageProxy::resetStateAfterProcessExited): Deleted.
397         * UIProcess/WebPageProxy.h:
398         * UIProcess/mac/PageClientImpl.h:
399         * UIProcess/mac/PageClientImpl.mm:
400         (WebKit::PageClientImpl::notifyApplicationAboutInputContextChange): Deleted.
401         * UIProcess/mac/WebPageProxyMac.mm:
402         (WebKit::WebPageProxy::setComposition): Deleted.
403         (WebKit::WebPageProxy::confirmComposition): Deleted.
404         (WebKit::WebPageProxy::insertText): Deleted.
405         (WebKit::WebPageProxy::insertDictatedText): Deleted.
406         (WebKit::WebPageProxy::getMarkedRange): Deleted.
407         (WebKit::WebPageProxy::getSelectedRange): Deleted.
408         (WebKit::WebPageProxy::getAttributedSubstringFromRange): Deleted.
409         (WebKit::WebPageProxy::characterIndexForPoint): Deleted.
410         (WebKit::WebPageProxy::firstRectForCharacterRange): Deleted.
411         (WebKit::WebPageProxy::executeKeypressCommands): Deleted.
412         (WebKit::WebPageProxy::cancelComposition): Deleted.
413         (WebKit::WebPageProxy::editorStateChanged): Deleted.
414         * WebProcess/WebPage/WebPage.cpp:
415         (WebKit::WebPage::didChangeSelection):
416         * WebProcess/WebPage/WebPage.h:
417         * WebProcess/WebPage/WebPage.messages.in:
418         * WebProcess/WebPage/mac/WebPageMac.mm:
419         (WebKit::WebPage::setComposition): Deleted.
420         (WebKit::WebPage::confirmComposition): Deleted.
421         (WebKit::WebPage::insertText): Deleted.
422         (WebKit::WebPage::insertDictatedText): Deleted.
423         (WebKit::WebPage::getMarkedRange): Deleted.
424         (WebKit::WebPage::getSelectedRange): Deleted.
425         (WebKit::WebPage::getAttributedSubstringFromRange): Deleted.
426         (WebKit::WebPage::characterIndexForPoint): Deleted.
427         (WebKit::WebPage::firstRectForCharacterRange): Deleted.
428         (WebKit::WebPage::executeKeypressCommands): Deleted.
429         (WebKit::WebPage::cancelComposition): Deleted.
430
431 2015-11-30  Tim Horton  <timothy_horton@apple.com>
432
433         Remove some unused synchronous drawing SPI
434         https://bugs.webkit.org/show_bug.cgi?id=151672
435
436         Reviewed by Anders Carlsson.
437
438         * UIProcess/API/Cocoa/WKViewPrivate.h:
439         * UIProcess/API/mac/WKView.mm:
440         (-[WKView forceAsyncDrawingAreaSizeUpdate:]): Deleted.
441         (-[WKView waitForAsyncDrawingAreaSizeUpdate]): Deleted.
442         * UIProcess/Cocoa/WebViewImpl.h:
443         * UIProcess/Cocoa/WebViewImpl.mm:
444         (WebKit::WebViewImpl::forceAsyncDrawingAreaSizeUpdate): Deleted.
445         (WebKit::WebViewImpl::waitForAsyncDrawingAreaSizeUpdate): Deleted.
446
447 2015-11-30  Tim Horton  <timothy_horton@apple.com>
448
449         Get rid of the legacy swipe shadow style
450         https://bugs.webkit.org/show_bug.cgi?id=151671
451
452         Reviewed by Anders Carlsson.
453
454         * UIProcess/mac/ViewGestureControllerMac.mm:
455         (WebKit::ViewGestureController::beginSwipeGesture): Deleted.
456         (WebKit::ViewGestureController::handleSwipeGesture): Deleted.
457         (WebKit::ViewGestureController::removeSwipeSnapshot): Deleted.
458         It is no longer needed.
459
460 2015-11-30  Tim Horton  <timothy_horton@apple.com>
461
462         [iOS] Option-up and Option-down should scroll a little less than a full page
463         https://bugs.webkit.org/show_bug.cgi?id=151538
464         <rdar://problem/23642675>
465
466         Reviewed by Simon Fraser.
467
468         * UIProcess/ios/WKContentViewInteraction.mm:
469         (-[WKContentView _scrollOffsetForEvent:]):
470         (-[WKContentView _interpretKeyEvent:isCharEvent:]):
471         Clean up the code a little, and adjust so that we *always* use pageStep
472         instead of just scrolling by the unobscured rect when scrolling by a page.
473         Previously, we did for the spacebar, but not for option-up and option-down.
474
475 2015-11-30  Brian Burg  <bburg@apple.com>
476
477         Web Inspector: using "Reload Web Inspector" when docked breaks dock-specific styles
478         https://bugs.webkit.org/show_bug.cgi?id=151642
479
480         Reviewed by Timothy Hatcher.
481
482         After a frontend loads, explicitly tell it about the current dock
483         state. This is necessary for force-reloading the inspector, since
484         the dock state isn't sent from UIProcess in this case.
485
486         * WebProcess/WebPage/WebInspectorUI.cpp:
487         (WebKit::WebInspectorUI::frontendLoaded):
488         (WebKit::WebInspectorUI::setDockingUnavailable):
489         * WebProcess/WebPage/WebInspectorUI.h:
490
491 2015-11-30  Alex Christensen  <achristensen@webkit.org>
492
493         Make ProcessModel always MultipleSecondaryProcesses
494         https://bugs.webkit.org/show_bug.cgi?id=151662
495
496         Reviewed by Antti Koivisto.
497
498         Single WebProcess behavior can still be achieved by setting the maximum number of WebProcesses to 1.
499
500         * Shared/API/c/WKDeprecatedFunctions.cpp:
501         (WKContextSetUsesNetworkProcess):
502         (WKContextSetProcessModel):
503         (WKContextGetProcessModel):
504         (WKGraphicsContextGetCGContext):
505         * UIProcess/API/APIProcessPoolConfiguration.cpp:
506         (API::ProcessPoolConfiguration::createWithLegacyOptions):
507         (API::ProcessPoolConfiguration::copy):
508         * UIProcess/API/APIProcessPoolConfiguration.h:
509         * UIProcess/API/C/WKAPICast.h:
510         (WebKit::toAPI):
511         (WebKit::toFontSmoothingLevel):
512         (WebKit::toProcessModel): Deleted.
513         * UIProcess/API/C/WKContext.cpp:
514         (WKContextGetCacheModel):
515         (WKContextSetMaximumNumberOfProcesses):
516         (WKContextSetProcessModel): Deleted.
517         (WKContextGetProcessModel): Deleted.
518         * UIProcess/API/C/WKContext.h:
519         * UIProcess/API/Cocoa/WKProcessGroup.mm:
520         (-[WKProcessGroup initWithInjectedBundleURL:]):
521         * UIProcess/API/Cocoa/WKProcessPool.mm:
522         * UIProcess/API/efl/ewk_context.cpp:
523         (EwkContext::cacheModel):
524         (EwkContext::setProcessModel):
525         (EwkContext::processModel):
526         (EwkContext::clearResourceCache):
527         (EwkContext::jsGlobalContext):
528         (ewk_context_message_from_extensions_callback_set):
529         (ewk_context_process_model_set):
530         (ewk_context_process_model_get):
531         (ewk_context_tls_error_policy_get):
532         (toWKProcessModel): Deleted.
533         (toEwkProcessModel): Deleted.
534         * UIProcess/API/gtk/WebKitWebContext.cpp:
535         * UIProcess/ProcessModel.h: Removed.
536         * UIProcess/WebCookieManagerProxy.cpp:
537         (WebKit::WebCookieManagerProxy::shouldTerminate):
538         (WebKit::WebCookieManagerProxy::refWebContextSupplement):
539         * UIProcess/WebInspectorProxy.cpp:
540         (WebKit::WebInspectorProxy::inspectorProcessPool):
541         * UIProcess/WebPageProxy.cpp:
542         (WebKit::WebPageProxy::reattachToWebProcess):
543         * UIProcess/WebProcessPool.cpp:
544         (WebKit::WebProcessPool::create):
545         (WebKit::WebProcessPool::setDownloadClient):
546         (WebKit::WebProcessPool::setMaximumNumberOfProcesses):
547         (WebKit::WebProcessPool::processDidCachePage):
548         (WebKit::WebProcessPool::createNewWebProcess):
549         (WebKit::WebProcessPool::disconnectProcess):
550         (WebKit::WebProcessPool::createWebPage):
551         (WebKit::WebProcessPool::postMessageToInjectedBundle):
552         (WebKit::WebProcessPool::requestWebContentStatistics):
553         (WebKit::WebProcessPool::requestNetworkingStatistics):
554         (WebKit::WebProcessPool::setProcessModel): Deleted.
555         (WebKit::WebProcessPool::ensureSharedWebProcess): Deleted.
556         * UIProcess/WebProcessPool.h:
557         (WebKit::WebProcessPool::sendToAllProcessesRelaunchingThemIfNecessary):
558         (WebKit::WebProcessPool::sendToOneProcess):
559         * WebKit2.xcodeproj/project.pbxproj:
560
561 2015-11-30  Chris Dumez  <cdumez@apple.com>
562
563         [WK2][Cache] We should not speculatively revalidate transient resources
564         https://bugs.webkit.org/show_bug.cgi?id=151402
565         <rdar://problem/23092196>
566
567         Reviewed by Antti Koivisto.
568
569         We should not speculatively revalidate transient resources. This patch
570         adds a simple and conservative algorithm to detect that a subresource is
571         transient and then ignores those when doing the speculative revalidation.
572
573         The algorithm is question marks as transient all subresources that are
574         not common to the 2 last loads of a main resource.
575
576         This is not perfect as I see the number of non-speculative revalidations
577         going up to 11-12 from 9 in the context of the warm PLT. However, it is
578         best to be conservative at first and we can improve this later.
579
580         * NetworkProcess/cache/NetworkCache.cpp:
581         (WebKit::NetworkCache::Cache::retrieve):
582         * NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:
583         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::create):
584         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::~PendingFrameLoad):
585         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::registerSubresource):
586         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::markLoadAsCompleted):
587         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::setExistingSubresourcesEntry):
588         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::PendingFrameLoad):
589         (WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::saveToDiskIfReady):
590         (WebKit::NetworkCache::SpeculativeLoadManager::registerLoad):
591         (WebKit::NetworkCache::SpeculativeLoadManager::startSpeculativeRevalidation):
592         (WebKit::NetworkCache::SpeculativeLoadManager::retrieveSubresourcesEntry):
593         (WebKit::NetworkCache::SpeculativeLoadManager::retrieve): Deleted.
594         (WebKit::NetworkCache::SpeculativeLoadManager::revalidateEntry): Deleted.
595         * NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h:
596         * NetworkProcess/cache/NetworkCacheSubresourcesEntry.cpp:
597         (WebKit::NetworkCache::SubresourcesEntry::encodeAsStorageRecord):
598         (WebKit::NetworkCache::SubresourcesEntry::decodeStorageRecord):
599         (WebKit::NetworkCache::SubresourcesEntry::SubresourcesEntry):
600         (WebKit::NetworkCache::SubresourcesEntry::updateSubresourceKeys):
601         * NetworkProcess/cache/NetworkCacheSubresourcesEntry.h:
602         (WebKit::NetworkCache::SubresourcesEntry::SubresourceInfo::encode):
603         (WebKit::NetworkCache::SubresourcesEntry::SubresourceInfo::decode):
604         (WebKit::NetworkCache::SubresourcesEntry::SubresourceInfo::SubresourceInfo):
605         (WebKit::NetworkCache::SubresourcesEntry::subresources):
606
607 2015-11-30  Brent Fulgham  <bfulgham@apple.com>
608
609         [Mac] Add font service permission to the sandbox profile
610         https://bugs.webkit.org/show_bug.cgi?id=151509
611         <rdar://problem/23508753>
612
613         Reviewed by Anders Carlsson.
614
615         Update the sandbox profile for Mac WebKit to allow access to the
616         "com.apple.fonts" service.
617
618         * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
619         * WebProcess/com.apple.WebProcess.sb.in:
620
621 2015-11-30  Alex Christensen  <achristensen@webkit.org>
622
623         Make usesNetworkProcess always true
624         https://bugs.webkit.org/show_bug.cgi?id=151580
625
626         Reviewed by Darin Adler.
627
628         * NetworkProcess/mac/RemoteNetworkingContext.mm:
629         (WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
630         * Shared/API/c/WKDeprecatedFunctions.cpp:
631         (WKInspectorToggleJavaScriptProfiling):
632         (WKContextSetUsesNetworkProcess):
633         (WKGraphicsContextGetCGContext):
634         * Shared/Network/CustomProtocols/Cocoa/CustomProtocolManagerCocoa.mm:
635         (WebKit::CustomProtocolManager::initializeConnection):
636         (WebKit::CustomProtocolManager::initialize):
637         * Shared/Network/CustomProtocols/CustomProtocolManager.h:
638         * Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp:
639         (WebKit::CustomProtocolManager::initialize):
640         * Shared/WebProcessCreationParameters.cpp:
641         (WebKit::WebProcessCreationParameters::WebProcessCreationParameters):
642         (WebKit::WebProcessCreationParameters::encode):
643         (WebKit::WebProcessCreationParameters::decode):
644         * Shared/WebProcessCreationParameters.h:
645         * UIProcess/API/APIProcessPoolConfiguration.cpp:
646         (API::ProcessPoolConfiguration::createWithLegacyOptions):
647         (API::ProcessPoolConfiguration::copy):
648         * UIProcess/API/APIProcessPoolConfiguration.h:
649         * UIProcess/API/C/WKContext.cpp:
650         (WKContextSetJavaScriptGarbageCollectorTimerEnabled):
651         (WKContextUseTestingNetworkSession):
652         (WKContextSetUsesNetworkProcess): Deleted.
653         * UIProcess/API/C/WKContextPrivate.h:
654         * UIProcess/API/Cocoa/WKProcessGroup.mm:
655         (-[WKProcessGroup initWithInjectedBundleURL:]):
656         * UIProcess/API/efl/ewk_context.cpp:
657         (EwkContext::setProcessModel):
658         * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
659         (WebKit::WebProcessPool::updateProcessSuppressionState):
660         (WebKit::WebProcessPool::platformInitializeWebProcess):
661         * UIProcess/Downloads/DownloadProxy.cpp:
662         (WebKit::DownloadProxy::cancel):
663         (WebKit::DownloadProxy::invalidate):
664         * UIProcess/WebCookieManagerProxy.cpp:
665         (WebKit::WebCookieManagerProxy::setHTTPCookieAcceptPolicy):
666         (WebKit::WebCookieManagerProxy::getHTTPCookieAcceptPolicy):
667         * UIProcess/WebProcessPool.cpp:
668         (WebKit::WebProcessPool::WebProcessPool):
669         (WebKit::m_processSuppressionDisabledForPageCounter):
670         (WebKit::WebProcessPool::networkingProcessConnection):
671         (WebKit::WebProcessPool::languageChanged):
672         (WebKit::WebProcessPool::textCheckerStateChanged):
673         (WebKit::WebProcessPool::ensureNetworkProcess):
674         (WebKit::WebProcessPool::setAnyPageGroupMightHavePrivateBrowsingEnabled):
675         (WebKit::WebProcessPool::createNewWebProcess):
676         (WebKit::WebProcessPool::download):
677         (WebKit::WebProcessPool::resumeDownload):
678         (WebKit::WebProcessPool::setCanHandleHTTPSServerTrustEvaluation):
679         (WebKit::WebProcessPool::setCacheModel):
680         (WebKit::WebProcessPool::createDownloadProxy):
681         (WebKit::WebProcessPool::addMessageReceiver):
682         (WebKit::WebProcessPool::allowSpecificHTTPSCertificateForHost):
683         (WebKit::WebProcessPool::setHTTPPipeliningEnabled):
684         (WebKit::WebProcessPool::requestNetworkingStatistics):
685         (WebKit::WebProcessPool::setUsesNetworkProcess): Deleted.
686         (WebKit::WebProcessPool::usesNetworkProcess): Deleted.
687         * UIProcess/WebProcessPool.h:
688         (WebKit::WebProcessPool::sendToNetworkingProcess):
689         (WebKit::WebProcessPool::sendToNetworkingProcessRelaunchingIfNecessary):
690         * UIProcess/WebProcessProxy.cpp:
691         (WebKit::WebProcessProxy::shutDown):
692         (WebKit::WebProcessProxy::removeWebPage):
693         (WebKit::WebProcessProxy::canTerminateChildProcess):
694         (WebKit::WebProcessProxy::updateTextCheckerState):
695         (WebKit::WebProcessProxy::didSaveToPageCache):
696         (WebKit::WebProcessProxy::didSetAssertionState):
697         (WebKit::WebProcessProxy::createDownloadProxy): Deleted.
698         * UIProcess/WebProcessProxy.h:
699         * UIProcess/efl/WebProcessPoolEfl.cpp:
700         (WebKit::WebProcessPool::platformInitializeWebProcess):
701         (WebKit::WebProcessPool::setIgnoreTLSErrors):
702         * WebProcess/FileAPI/BlobRegistryProxy.cpp:
703         (WebKit::BlobRegistryProxy::registerFileBlobURL):
704         (WebKit::BlobRegistryProxy::registerBlobURL):
705         (WebKit::BlobRegistryProxy::unregisterBlobURL):
706         (WebKit::BlobRegistryProxy::registerBlobURLForSlice):
707         (WebKit::BlobRegistryProxy::blobSize):
708         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
709         (WebKit::WebPlatformStrategies::cookiesForDOM):
710         (WebKit::WebPlatformStrategies::setCookiesFromDOM):
711         (WebKit::WebPlatformStrategies::cookiesEnabled):
712         (WebKit::WebPlatformStrategies::cookieRequestHeaderFieldValue):
713         (WebKit::WebPlatformStrategies::getRawCookies):
714         (WebKit::WebPlatformStrategies::deleteCookie):
715         (WebKit::WebPlatformStrategies::resourceLoadScheduler):
716         (WebKit::WebPlatformStrategies::loadResourceSynchronously):
717         (WebKit::WebPlatformStrategies::createPingHandle):
718         (WebKit::WebPlatformStrategies::createBlobRegistry):
719         * WebProcess/WebPage/WebFrame.cpp:
720         (WebKit::WebFrame::startDownload):
721         (WebKit::WebFrame::convertMainResourceLoadToDownload):
722         (WebKit::WebFrame::source):
723         * WebProcess/WebProcess.cpp:
724         (WebKit::WebProcess::WebProcess):
725         (WebKit::m_webSQLiteDatabaseTracker):
726         (WebKit::WebProcess::initializeConnection):
727         (WebKit::WebProcess::initializeWebProcess):
728         (WebKit::WebProcess::ensureNetworkProcessConnection):
729         (WebKit::WebProcess::destroyPrivateBrowsingSession):
730         (WebKit::WebProcess::pluginProcessConnectionManager):
731         (WebKit::WebProcess::shouldTerminate):
732         (WebKit::WebProcess::setInjectedBundleParameters):
733         (WebKit::WebProcess::networkConnection):
734         (WebKit::WebProcess::setEnhancedAccessibility):
735         (WebKit::WebProcess::prefetchDNS):
736         (WebKit::WebProcess::didCreateDownload): Deleted.
737         (WebKit::WebProcess::didDestroyDownload): Deleted.
738         (WebKit::WebProcess::downloadProxyConnection): Deleted.
739         (WebKit::WebProcess::downloadsAuthenticationManager): Deleted.
740         (WebKit::WebProcess::downloadManager): Deleted.
741         (WebKit::WebProcess::usesNetworkProcess): Deleted.
742         (WebKit::WebProcess::downloadRequest): Deleted.
743         (WebKit::WebProcess::resumeDownload): Deleted.
744         (WebKit::WebProcess::cancelDownload): Deleted.
745         * WebProcess/WebProcess.h:
746         (WebKit::WebProcess::textCheckerState):
747         (WebKit::WebProcess::eventDispatcher):
748         * WebProcess/WebProcess.messages.in:
749         * WebProcess/soup/WebProcessSoup.cpp:
750         (WebKit::WebProcess::platformSetCacheModel):
751         (WebKit::WebProcess::platformClearResourceCaches):
752         (WebKit::WebProcess::platformInitializeWebProcess):
753         (WebKit::WebProcess::platformTerminate):
754         (WebKit::getCacheDiskFreeSize): Deleted.
755         (WebKit::setSoupSessionAcceptLanguage): Deleted.
756         (WebKit::languageChanged): Deleted.
757         (WebKit::WebProcess::setIgnoreTLSErrors): Deleted.
758         (WebKit::WebProcess::allowSpecificHTTPSCertificateForHost): Deleted.
759
760 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
761
762         [GTK] UI process crash when the screensaver DBus proxy is being created while the web view is destroyed
763         https://bugs.webkit.org/show_bug.cgi?id=151653
764
765         Reviewed by Martin Robinson.
766
767         We correctly cancel the proxy creation, but when the async ready
768         callback is called, the view could be destroyed already. In that
769         case g_dbus_proxy_new_for_bus_finish() will return nullptr and
770         fail with cancelled error, but we are using the passed web view
771         without checking first if the creation failed or not.
772
773         * UIProcess/API/gtk/WebKitWebViewBase.cpp:
774         (screenSaverProxyCreatedCallback):
775
776 2015-11-28  Tim Horton  <timothy_horton@apple.com>
777
778         Stop unnecessarily copying WKWebViewConfiguration in a few places
779         https://bugs.webkit.org/show_bug.cgi?id=151639
780
781         Reviewed by Dan Bernstein.
782
783         * UIProcess/API/Cocoa/WKWebView.mm:
784         (-[WKWebView initWithFrame:configuration:]):
785         (-[WKWebView dealloc]):
786         (-[WKWebView _contentProviderRegistry]):
787         (-[WKWebView _selectionGranularity]):
788         (-[WKWebView _setHasCustomContentView:loadedMIMEType:]):
789         * UIProcess/API/Cocoa/WKWebViewInternal.h:
790         * UIProcess/ios/PageClientImplIOS.mm:
791         (WebKit::PageClientImpl::mimeTypesWithCustomContentProviders):
792         * UIProcess/ios/WKContentViewInteraction.mm:
793         (-[WKContentView setupInteraction]):
794         (-[WKContentView _stopAssistingKeyboard]):
795         Looking at allocation traces I noticed that we were making way more
796         WKWebViewConfigurations than made sense; looking at backtraces I found
797         a few internal callers of -[WKWebView configuration], which copies the
798         configuration. There's no reason for these internal callers to make 
799         such a copy, though.
800
801         I'm not exactly sure what the usual approach is here, but I added
802         getters so WKContentViewInteraction and PageClientImplIOS can get to
803         the values they're looking for without using the configuration property.
804
805 2015-11-27  Brady Eidson  <beidson@apple.com>
806
807         Modern IDB: Class-ify IDBGetResult making it impossible to get the data members wrong.
808         https://bugs.webkit.org/show_bug.cgi?id=151627
809
810         Reviewed by Alexey Proskuryakov.
811
812         * DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
813         (WebKit::UniqueIDBDatabase::getRecordFromBackingStore):
814         * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
815         
816         * DatabaseProcess/IndexedDB/UniqueIDBDatabaseBackingStore.h:
817         
818         * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
819         (WebKit::UniqueIDBDatabaseBackingStoreSQLite::getIndexRecord):
820         
821         * Shared/WebCoreArgumentCoders.cpp:
822         (IPC::ArgumentCoder<IDBGetResult>::encode):
823         (IPC::ArgumentCoder<IDBGetResult>::decode):
824         * Shared/WebCoreArgumentCoders.h:
825         
826         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
827
828 2015-11-27  Carlos Garcia Campos  <cgarcia@igalia.com>
829
830         [GTK] Remove the remaining uses of GMainLoopSource
831         https://bugs.webkit.org/show_bug.cgi?id=151632
832
833         Reviewed by Žan Doberšek.
834
835         * UIProcess/API/gtk/WebKitWebViewBase.cpp:
836         (_WebKitWebViewBasePrivate::_WebKitWebViewBasePrivate):
837         (_WebKitWebViewBasePrivate::clearRedirectedWindowSoonTimerFired):
838         (webkitWebViewBaseClearRedirectedWindowSoon):
839         (webkitWebViewBaseEnterAcceleratedCompositingMode):
840
841 2015-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>
842
843         [GTK] Use the network process unconditionally
844         https://bugs.webkit.org/show_bug.cgi?id=151541
845
846         Reviewed by Alex Christensen.
847
848         Make the shared secondary process model become multiple secondary
849         process model with a limit of 1 web process. Use the same options
850         when creating a context with legacy configuration (unit tests and
851         inspector proxy).
852
853         * NetworkProcess/gtk/NetworkProcessMainGtk.cpp:
854         * UIProcess/API/APIProcessPoolConfiguration.cpp:
855         (API::ProcessPoolConfiguration::createWithLegacyOptions):
856         * UIProcess/API/gtk/WebKitWebContext.cpp:
857         (webkitWebContextConstructed):
858         (webkit_web_context_set_process_model):
859         (webkit_web_context_get_process_model):
860         (webkit_web_context_set_web_process_count_limit):
861         (webkit_web_context_get_web_process_count_limit):
862         (toWebKitProcessModel): Deleted.
863         * UIProcess/gtk/WebInspectorProxyGtk.cpp:
864         * UIProcess/gtk/WebProcessPoolGtk.cpp:
865         (WebKit::WebProcessPool::setIgnoreTLSErrors):
866         (WebKit::WebProcessPool::platformInitializeWebProcess):
867
868 2015-11-23  Brian Burg  <bburg@apple.com>
869
870         Web Inspector: inspector settings should not be shared between different inspection levels
871         https://bugs.webkit.org/show_bug.cgi?id=151151
872
873         Reviewed by Timothy Hatcher.
874
875         In WebKit2, we already track the inspection level of WebPages in order to give inspectors
876         different page groups. Send the inspection level to WebInspectorUI WebProcess when
877         establishing a connection from the UIProcess. Use this number in the FrontendClient.
878
879         * UIProcess/WebInspectorProxy.cpp:
880         (WebKit::WebInspectorProxy::inspectionLevel): Renamed from inspectorLevel to be consistent.
881         (WebKit::WebInspectorProxy::inspectorPageGroupIdentifier):
882         (WebKit::WebInspectorProxy::didRelaunchInspectorPageProcess):
883         (WebKit::WebInspectorProxy::eagerlyCreateInspectorPage):
884         (WebKit::WebInspectorProxy::createInspectorPage):
885         (WebKit::WebInspectorProxy::inspectorLevel): Deleted.
886         * UIProcess/WebInspectorProxy.h:
887         * UIProcess/mac/WebInspectorProxyMac.mm:
888         (WebKit::WebInspectorProxy::updateInspectorWindowTitle):
889         * WebProcess/WebPage/WebInspectorUI.cpp:
890         (WebKit::WebInspectorUI::establishConnection):
891         * WebProcess/WebPage/WebInspectorUI.h:
892         * WebProcess/WebPage/WebInspectorUI.messages.in:
893
894 2015-11-23  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
895
896         REGRESSION(r188206): [EFL] Missing to adjust scrollbar size to ewk_view_contents_size_get API test
897         https://bugs.webkit.org/show_bug.cgi?id=148735
898
899         Reviewed by Csaba Osztrogonác.
900
901         r189256 missed to adjust scrollbar size to other tests in ewk_view_contents_size_get() API test.
902         In this case we need to apply scrollbar size to both width and height unlike previous fix. Because
903         horizontal scrollbar is also shown since device pixel ratio(= 2.0) is adjusted.
904
905         * UIProcess/API/efl/tests/test_ewk2_view.cpp:
906         (TEST_F):
907
908 2015-11-23  Alex Christensen  <achristensen@webkit.org>
909
910         Fix crash in ~WebProcessPool when using Geolocation with useNetworkProcess=true
911         https://bugs.webkit.org/show_bug.cgi?id=151532
912
913         Reviewed by Benjamin Poulain.
914
915         * UIProcess/WebGeolocationManagerProxy.cpp:
916         (WebKit::WebGeolocationManagerProxy::processPoolDestroyed):
917         (WebKit::WebGeolocationManagerProxy::processDidClose):
918         When a WebProcessPool is destroyed, only call stopUpdating if m_updateRequesters.clear()
919         stopped the updating, like we do in WebGeolocationManagerProxy::removeRequester.
920         Otherwise, call setEnableHighAccuracy if needed, also like we do in WebGeolocationManagerProxy::removeRequester.
921
922 2015-11-23  Brian Burg  <bburg@apple.com>
923
924         Web Inspector: when inspecting the inspector, add the inspection level to the title bar
925         https://bugs.webkit.org/show_bug.cgi?id=151555
926
927         Reviewed by Timothy Hatcher.
928
929         If the inspection level says we are inspecting an inspector, include the level
930         in the title bar to easily disambiguate it from the base level inspector.
931
932         * UIProcess/mac/WebInspectorProxyMac.mm:
933         (WebKit::WebInspectorProxy::updateInspectorWindowTitle):
934
935 2015-11-23  Csaba Osztrogonác  <ossy@webkit.org>
936
937         Unreviewed speculative buildfix after r192701.
938
939         * PlatformMac.cmake:
940
941 2015-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>
942
943         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.11.2 release.
944
945         * gtk/NEWS: Add release notes for 2.11.2.
946
947 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
948
949         Unreviewed. Add missing inspector file to GTK+ compilation.
950
951         * PlatformGTK.cmake:
952
953 == Rolled over to ChangeLog-2015-11-21 ==