Chromium Code Reviews
DescriptionAdd text autosizing override in the inspector.
This patch adds a checkbox to the inspector for enabling text
autosizing. Screenshot: http://pr.gg/inspectortextautosizing.png
This patch has two components:
1) Changes in the inspector that add the new checkbox on the Overrides
page. This checkbox has been wired up to call two methods on
InspectorPageAgent (setTextAutosizingOverride and
clearTextAutosizingOverride). I explored just having a single
checkbox but I think that will be confusing for users.
2) Blink's Settings have been changed to support overriding the
text autosizing enabled boolean. A ternary enum has been added to
track whether the text autosizing feature is not overridden, overridden
as true, or overridden as false. Due to Blink's style guide, the
m_textAutosizingOverride variable must be declared as unsigned.
** Do not submit yet**
This is blocked on a text autosizing bug but is otherwise up for review.
BUG=302005
Patch Set 1 #Patch Set 2 : Implement OverridesView::_enableTextAutosizingChanged #
Total comments: 1
Patch Set 3 : Fix typeo #
Messages
Total messages: 9 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||