Make the docked Web Inspector use autoresizing masks so the view doesn't jitter when
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 May 2012 21:21:26 +0000 (21:21 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 May 2012 21:21:26 +0000 (21:21 +0000)
commit7703896927101350f5333deab3f1c0634ce3daf2
tree9b685e079dd2666ca919886be5adfc957b6d1c08
parent65c11735d173b02fceaeca50feb585c77b248bb8
Make the docked Web Inspector use autoresizing masks so the view doesn't jitter when
resizing the window.

https://webkit.org/b/86765

Reviewed by John Sullivan.

* UIProcess/mac/WebInspectorProxyMac.mm:
(-[WKWebInspectorProxyObjCAdapter close]): Added. Zero out _inspectorProxy.
(-[WKWebInspectorProxyObjCAdapter inspectedViewFrameDidChange:]): Preform the work on a delay to
prevent interfering with Cocoa's resizing.
(WebKit::WebInspectorProxy::createInspectorWindow): Added setAutoresizingMask: call.
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Removed setAutoresizingMask: call.
createInspectorWindow and platformAttach do this now.
(WebKit::WebInspectorProxy::platformDidClose): Call close on WKWebInspectorProxyObjCAdapter.
(WebKit::WebInspectorProxy::platformAttach): Added setAutoresizingMask: call.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm