DescriptionPlace DevTools WebContents underneath inspected WebContents.
DevTools window: split width and height are gone, and instead
contents insets are introduced. These insets are used for layout
in browser window. Having insets instead of rect allows for faster
regular-case resize occuring immediately in layout:
we keep DevTools of the same size and resize the page contents.
Views: removed SplitView and ContentsContainer, but instead added
ContentsLayoutManager which layouts DevTools and page contents taking
insets into account. It also supports active top margin, moved from
ContentsContainer.
Mac: removed NSSplitView, but instead added DevToolsContainerView
which resizes subviews manually taking page insets into account.
Gtk: removed both contents_vsplit and contents_hsplit, but instead
added devtools_floating_container which positions page contents
taking insets into account.
Next step will remove dock side knowledge from the browser, and leave it
on frontend only.
BUG=318751
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242071
Patch Set 1 #Patch Set 2 : Removed the preference. #
Total comments: 12
Patch Set 3 : Fixed unit tests #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Total comments: 3
Patch Set 7 : Gtk #
Total comments: 4
Patch Set 8 : Views fixes #
Total comments: 12
Patch Set 9 : Fixed comments. Switched to Insets #Patch Set 10 : Insets on Mac #Patch Set 11 : View ID test fix in Gtk #Patch Set 12 : #
Total comments: 2
Patch Set 13 : #
Total comments: 31
Patch Set 14 : Fixed comments on Mac #Patch Set 15 : Rebase #Patch Set 16 : Rebase #Patch Set 17 : Rebase #Messages
Total messages: 34 (0 generated)
|