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

Unified Diff: ui/base/ime/dummy_text_input_client.cc

Issue 2593323002: Use the physical-pixel space for native IME on linux platform. (Closed)
Patch Set: Created 4 years 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: ui/base/ime/dummy_text_input_client.cc
diff --git a/ui/base/ime/dummy_text_input_client.cc b/ui/base/ime/dummy_text_input_client.cc
index 60ae481d1271b00dbbf923076471778687ea565e..a857b87c1567508731fd246222d96b0844e71edf 100644
--- a/ui/base/ime/dummy_text_input_client.cc
+++ b/ui/base/ime/dummy_text_input_client.cc
@@ -65,6 +65,10 @@ bool DummyTextInputClient::CanComposeInline() const {
return false;
}
+float DummyTextInputClient::GetScaleFactor() const {
+ return 1.0f;
+}
+
gfx::Rect DummyTextInputClient::GetCaretBounds() const {
return gfx::Rect();
}

Powered by Google App Engine
This is Rietveld 408576698