DescriptionUse native theme colors for textfields; etc.
Make LocationBarView::GetColor use NativeTheme colors.
(except the CrOS transparent Omnibox background color)
Add NativeTheme read-only textfield color/background IDs.
Cache a set of Windows system colors in NativeThemeWin.
Update cached colors via gfx::SysColorChangeListener impl.
Init colors in NativeTextfieldViews, not TextfieldViewsModel.
Refactor Textfield and NativeTextfieldViews color code.
Nix frivolous AutocompleteTextfield::PaintChildren OVERRIDE.
Nix Textfield cursor color settings and visibility kludge.
(replace with proper cursor enabled accessors for views)
TODO(followup): Fix related existing issues (not affected here):
(existing textfields don't update with system color changes)
(bubbles seem to cache the system colors at startup...)
BUG=134766
TEST=Views textfields are created with the current system colors.
R=sky@chromium.org,varunjain@chromium.org,samarth@chromium.org
TBR=marja@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172142
Patch Set 1 #Patch Set 2 : Cleanup, etc. #Patch Set 3 : Nix cursor color; adjust textfield functions; add read-only theme colors. #
Total comments: 11
Patch Set 4 : Address comments. #Patch Set 5 : Add Omnibox background color. #Patch Set 6 : Remove omnibox color from ui/native_theme. #Patch Set 7 : Add Textfield cursor visibility accessors for better NativeTextfieldViews impl. #
Total comments: 2
Patch Set 8 : Remove unused OmniboxViewViews::visible_caret_color_. #Patch Set 9 : [En|Dis]able the RenderText cursor instead of setting transient visibility. #
Total comments: 10
Patch Set 10 : Sync and rebase, add a blank line between includes. #Messages
Total messages: 25 (0 generated)
|