Commit 41a51b71 authored by ap's avatar ap

2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>

        Reviewed and landed by ap.

        - make DumpRenderTree build

        * DumpRenderTree/DumpRenderTree.m:
        (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
        (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
        (-[LayoutTestController setWindowIsKey:]): Ditto.
        (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b38a866a
2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed and landed by ap.
- make DumpRenderTree build
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
(-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
(-[LayoutTestController setWindowIsKey:]): Ditto.
(-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2006-06-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin, landed by Geoff.
......
......@@ -501,7 +501,7 @@ - (void)webView:(WebView *)sender didCommitLoadForFrame:(WebFrame *)f
NSView *documentView = [[frame frameView] documentView];
[[[frame webView] window] makeFirstResponder:documentView];
if ([documentView isKindOfClass:[WebHTMLView class]])
[(WebHTMLView *)documentView _updateFocusState];
[(WebHTMLView *)documentView _updateActiveState];
}
- (void)webView:(WebView *)sender didFailProvisionalLoadWithError:(NSError *)error forFrame:(WebFrame *)frame
......@@ -579,7 +579,7 @@ - (void)webViewFocus:(WebView *)webView
windowIsKey = YES;
NSView *documentView = [[frame frameView] documentView];
if ([documentView isKindOfClass:[WebHTMLView class]])
[(WebHTMLView *)documentView _updateFocusState];
[(WebHTMLView *)documentView _updateActiveState];
}
@end
......@@ -659,7 +659,7 @@ - (void)setWindowIsKey:(BOOL)flag
windowIsKey = flag;
NSView *documentView = [[frame frameView] documentView];
if ([documentView isKindOfClass:[WebHTMLView class]])
[(WebHTMLView *)documentView _updateFocusState];
[(WebHTMLView *)documentView _updateActiveState];
}
- (void)setMainFrameIsFirstResponder:(BOOL)flag
......@@ -670,7 +670,7 @@ - (void)setMainFrameIsFirstResponder:(BOOL)flag
[[[frame webView] window] makeFirstResponder:firstResponder];
if ([documentView isKindOfClass:[WebHTMLView class]])
[(WebHTMLView *)documentView _updateFocusState];
[(WebHTMLView *)documentView _updateActiveState];
}
- (void)display
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment