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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window.cc

Issue 5180002: Adjust default font sizes for new hand hinted fonts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - textbutton header Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_frame_view.cc ('k') | chrome/browser/chromeos/login/helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/candidate_window.cc
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc
index 516762990b453e8bf799620e3759cd00b478fa34..5e5e723a3fb37672a8e611b0465664356423cc6b 100644
--- a/chrome/browser/chromeos/input_method/candidate_window.cc
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc
@@ -46,7 +46,11 @@ const SkColor kAnnotationColor = SkColorSetRGB(0x88, 0x88, 0x88);
// We'll use a bigger font size, so Chinese characters are more readable
// in the candidate window.
-const int kFontSizeDelta = 2; // Two size bigger.
+#if defined(CROS_FONTS_USING_BCI)
+const int kFontSizeDelta = 1;
+#else
+const int kFontSizeDelta = 2;
+#endif
// The minimum width of candidate labels in the vertical candidate
// window. We use this value to prevent the candidate window from being
@@ -1264,8 +1268,8 @@ void CandidateWindowController::Impl::OnConnectionChange(
}
}
-CandidateWindowController::CandidateWindowController() :
- impl_(new CandidateWindowController::Impl) {
+CandidateWindowController::CandidateWindowController()
+ : impl_(new CandidateWindowController::Impl) {
}
CandidateWindowController::~CandidateWindowController() {
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_frame_view.cc ('k') | chrome/browser/chromeos/login/helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698