Changeset 73935 in webkit
- Timestamp:
- Dec 13, 2010 11:27:02 AM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r73932 r73935 1 2010-12-13 Brian Weinstein <bweinstein@apple.com> 2 3 Reviewed by Darin Adler. 4 5 WebKit2: Focusing Web Inspector window doesn't focus contents on Windows 6 https://bugs.webkit.org/show_bug.cgi?id=50947 7 <rdar://problem/8762468> 8 9 When we get the notification that the inspector window has focused, focus the inner inspector view. 10 11 * UIProcess/WebInspectorProxy.h: 12 * UIProcess/win/WebInspectorProxyWin.cpp: 13 (WebKit::WebInspectorProxy::onSetFocusEvent): Set the focus of the inspector view, because that is what 14 needs to be focused in the inspector window. 15 1 16 2010-12-13 Dan Bernstein <mitz@apple.com> 2 17 -
trunk/WebKit2/UIProcess/WebInspectorProxy.h
r73877 r73935 124 124 LRESULT onSizeEvent(HWND hWnd, UINT message, WPARAM, LPARAM, bool& handled); 125 125 LRESULT onMinMaxInfoEvent(HWND hWnd, UINT message, WPARAM, LPARAM, bool& handled); 126 LRESULT onSetFocusEvent(HWND hWnd, UINT message, WPARAM, LPARAM, bool& handled); 126 127 LRESULT onCloseEvent(HWND hWnd, UINT message, WPARAM, LPARAM, bool& handled); 127 128 #endif -
trunk/WebKit2/UIProcess/win/WebInspectorProxyWin.cpp
r73877 r73935 95 95 lResult = onMinMaxInfoEvent(hWnd, message, wParam, lParam, handled); 96 96 break; 97 case WM_SETFOCUS: 98 lResult = onSetFocusEvent(hWnd, message, wParam, lParam, handled); 99 break; 97 100 case WM_CLOSE: 98 101 lResult = onCloseEvent(hWnd, message, wParam, lParam, handled); … … 115 118 116 119 ::SetWindowPos(m_inspectorView->window(), 0, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOZORDER); 120 121 return 0; 122 } 123 124 LRESULT WebInspectorProxy::onSetFocusEvent(HWND, UINT, WPARAM, LPARAM lParam, bool&) 125 { 126 ::SetFocus(m_inspectorView->window()); 117 127 118 128 return 0;
Note: See TracChangeset
for help on using the changeset viewer.