Bug 102025

Summary: Web Inspector: [WK1]: Add a dock button to the top right corner of the window
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, joepeck, keishi, loislo, pfeldman, pmuellr, timothy, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed Change joepeck: review+

Timothy Hatcher
Reported 2012-11-12 17:58:47 PST
We should add a dock button to the top right corner of the window (similar to the full screen button).
Attachments
Proposed Change (16.46 KB, patch)
2012-11-12 18:21 PST, Timothy Hatcher
joepeck: review+
Timothy Hatcher
Comment 1 2012-11-12 18:21:38 PST
Created attachment 173783 [details] Proposed Change
Joseph Pecoraro
Comment 2 2012-11-12 18:29:04 PST
Comment on attachment 173783 [details] Proposed Change View in context: https://bugs.webkit.org/attachment.cgi?id=173783&action=review > Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm:72 > +- (NSCursor *)_cursorForResizeDirection:(NSInteger)direction { > + // Don't show a resize cursor for the northeast (top right) direction if the dock button is visible. > + // This matches what happens when the full screen button is visible. > + if (direction == 1 && ![_dockButton.get() isHidden]) Same comments as Anders on the WK2 patch. Newline before the "{" and the .get() isn't necessary on direct RetainPtr<> messages anymore. > Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm:396 > + // Get the frame view, the usperview of the content view, and its frame. Nit (typo): "usperview" => "superview"
Timothy Hatcher
Comment 3 2012-11-13 13:23:07 PST
Note You need to log in before you can comment on or make changes to this bug.