|
Clean-up: Renames gfx::Font's methods and removes its obsolete methods.
Applies the same renaming as http://crrev.com/142523003 and also removes obsolete methods.
Renamed methods:
- DeriveFont(size_delta, style) => Derive(size_delta, style)
Removed methods:
- DeriveFont(size_delta)
- GetAverageCharacterWidth()
# Use GetExpectedTextWidth(1) instead.
- GetStringWidth(text)
# Use gfx::GetStringWidth(text, font_list) instead.
BUG= 265485
TEST=Run ui_unittests, views_unittests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251028
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+61 lines, -141 lines) |
Patch |
|
M |
build/android/pylib/gtest/filter/ui_unittests_disabled
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/gfx/font.h
|
View
|
|
3 chunks |
+4 lines, -16 lines |
0 comments
|
Download
|
|
M |
ui/gfx/font.cc
|
View
|
|
3 chunks |
+2 lines, -14 lines |
0 comments
|
Download
|
|
M |
ui/gfx/font_list_impl.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/gfx/font_list_unittest.cc
|
View
|
|
7 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
ui/gfx/font_unittest.cc
|
View
|
|
4 chunks |
+5 lines, -23 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font.h
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_ios.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_ios.mm
|
View
|
1
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_mac.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_mac.mm
|
View
|
1
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_mac_unittest.mm
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_pango.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_pango.cc
|
View
|
1
|
3 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_win.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_win.cc
|
View
|
1
|
2 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
ui/gfx/platform_font_win_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/gfx/render_text_win.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/gfx/text_utils_unittest.cc
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|