Title: [114835] trunk/Source
- Revision
- 114835
- Author
- timo...@apple.com
- Date
- 2012-04-20 19:51:15 -0700 (Fri, 20 Apr 2012)
Log Message
Make the Web Inspector be the first responder when opening docked.
<rdar://problem/11294217>
Reviewed by Brian Weinstein.
Source/WebKit/mac:
* WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController showWindow:]): Call makeFirstResponder: on
the window and pass the Inspector's WebView.
Source/WebKit2:
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformAttach): Call makeFirstResponder: on
the window and pass the Inspector's WKView.
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (114834 => 114835)
--- trunk/Source/WebKit/mac/ChangeLog 2012-04-21 02:27:58 UTC (rev 114834)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-04-21 02:51:15 UTC (rev 114835)
@@ -1,3 +1,15 @@
+2012-04-20 Timothy Hatcher <timo...@apple.com>
+
+ Make the Web Inspector be the first responder when opening docked.
+
+ <rdar://problem/11294217>
+
+ Reviewed by Brian Weinstein.
+
+ * WebCoreSupport/WebInspectorClient.mm:
+ (-[WebInspectorWindowController showWindow:]): Call makeFirstResponder: on
+ the window and pass the Inspector's WebView.
+
2012-04-18 Hironori Bono <hb...@chromium.org>
Split SpellChecker::didCheck() to SpellChecker::didCheckSucceeded() and SpellChecker::didCheckCanceled()
Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm (114834 => 114835)
--- trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm 2012-04-21 02:27:58 UTC (rev 114834)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm 2012-04-21 02:51:15 UTC (rev 114835)
@@ -405,6 +405,7 @@
[_webView removeFromSuperview];
[_inspectedWebView.get() addSubview:_webView positioned:NSWindowBelow relativeTo:(NSView *)frameView];
+ [[_inspectedWebView.get() window] makeFirstResponder:_webView];
[_webView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable | NSViewMaxYMargin)];
[frameView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable | NSViewMinYMargin)];
Modified: trunk/Source/WebKit2/ChangeLog (114834 => 114835)
--- trunk/Source/WebKit2/ChangeLog 2012-04-21 02:27:58 UTC (rev 114834)
+++ trunk/Source/WebKit2/ChangeLog 2012-04-21 02:51:15 UTC (rev 114835)
@@ -1,3 +1,15 @@
+2012-04-20 Timothy Hatcher <timo...@apple.com>
+
+ Make the Web Inspector be the first responder when opening docked.
+
+ <rdar://problem/11294217>
+
+ Reviewed by Brian Weinstein.
+
+ * UIProcess/mac/WebInspectorProxyMac.mm:
+ (WebKit::WebInspectorProxy::platformAttach): Call makeFirstResponder: on
+ the window and pass the Inspector's WKView.
+
2012-04-06 Jer Noble <jer.no...@apple.com>
apple.com top navigation bar appears inside video during full screen exit animation
Modified: trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm (114834 => 114835)
--- trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm 2012-04-21 02:27:58 UTC (rev 114834)
+++ trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm 2012-04-21 02:51:15 UTC (rev 114835)
@@ -268,6 +268,7 @@
[m_inspectorView.get() setHidden:!m_isVisible];
[[inspectedView superview] addSubview:m_inspectorView.get() positioned:NSWindowBelow relativeTo:inspectedView];
+ [[inspectedView window] makeFirstResponder:m_inspectorView.get()];
if (m_inspectorWindow) {
[m_inspectorWindow.get() setDelegate:nil];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes