DescriptionMac: Make devtools window dockable.
xib change: Deleted NSBox, added NSSplitView instead (with a thin divider and without any child views).
I added the devtools tabcontents to TabContentsController; windows and linux instead add it to the browser window and switch it on every tab change. What I've done makes more sense to me and might work better with a) dragging a tab with docked devtools into a new window and b) toggling fullscreen.
BUG=17368
TEST=
* Inspect element, click the "attach" item in the lower left corner. Devtools should attach to the tab. Click it again, should detach. Re-attach, switch tabs. Should only be in the tab it was attached to. Open another devtools window in another tab, should be attached there. Drag tab with attached devtools into a new window, should work.
* Inspect element with docked devtools, close devtools, inspect another element. devtools should open with the same size it had when it was closed, and should still be docked.
* Hover link with docked devtools. Status bubble should not overlap devtools.
* Go to http://www.pagetutor.com/keeper/http_authentication/index.html and make sure the http auth sheet still shows up
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35576
Patch Set 1 #Patch Set 2 : kinda works #Patch Set 3 : persist size #Patch Set 4 : status bubble #Patch Set 5 : dcheck #Patch Set 6 : dragging out works #
Total comments: 14
Patch Set 7 : address comments, fix unit tests #
Total comments: 19
Patch Set 8 : rohit's comments #
Total comments: 4
Patch Set 9 : more comments #
Total comments: 2
Patch Set 10 : doh #Patch Set 11 : copyediting #Messages
Total messages: 17 (0 generated)
|