Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(936)

Unified Diff: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template

Issue 483183002: Add font family selector ui for distilled page viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template
diff --git a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template
index 25115499dd6e75ac5779b9131e10b677e63725b9..bc0ff25411a4576eeb0bb43c13ef43225de246a3 100644
--- a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template
+++ b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template
@@ -25,7 +25,7 @@ int asNativeEnum() {
return mFontFamily;
}
-static FontFamily getFontFamilyForValue(int value) {
+public static FontFamily getFontFamilyForValue(int value) {
for (FontFamily fontFamily: FontFamily.values()) {
if (fontFamily.mFontFamily == value) {
return fontFamily;
« no previous file with comments | « chrome/android/java/strings/android_chrome_strings.grd ('k') | components/dom_distiller/core/font_family_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698