OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.content.browser.input; | 5 package org.chromium.content.browser.input; |
6 | 6 |
7 import android.os.Bundle; | 7 import android.os.Bundle; |
8 import android.os.Handler; | 8 import android.os.Handler; |
9 import android.os.Looper; | 9 import android.os.Looper; |
10 import android.view.KeyCharacterMap; | 10 import android.view.KeyCharacterMap; |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 assertOnImeThread(); | 551 assertOnImeThread(); |
552 return false; | 552 return false; |
553 } | 553 } |
554 | 554 |
555 /** | 555 /** |
556 * @see InputConnection#commitCorrection(android.view.inputmethod.Correction
Info) | 556 * @see InputConnection#commitCorrection(android.view.inputmethod.Correction
Info) |
557 */ | 557 */ |
558 @Override | 558 @Override |
559 public boolean commitCorrection(CorrectionInfo correctionInfo) { | 559 public boolean commitCorrection(CorrectionInfo correctionInfo) { |
560 if (DEBUG_LOGS) { | 560 if (DEBUG_LOGS) { |
561 Log.w(TAG, "commitCorrection [%s]", ImeUtils.getCorrectInfoDebugStri
ng(correctionInfo)); | 561 Log.w(TAG, "commitCorrection [%s]", |
| 562 ImeUtils.getCorrectionInfoDebugString(correctionInfo)); |
562 } | 563 } |
563 assertOnImeThread(); | 564 assertOnImeThread(); |
564 return false; | 565 return false; |
565 } | 566 } |
566 | 567 |
567 /** | 568 /** |
568 * @see InputConnection#clearMetaKeyStates(int) | 569 * @see InputConnection#clearMetaKeyStates(int) |
569 */ | 570 */ |
570 @Override | 571 @Override |
571 public boolean clearMetaKeyStates(int states) { | 572 public boolean clearMetaKeyStates(int states) { |
(...skipping 27 matching lines...) Expand all Loading... |
599 /** | 600 /** |
600 * @see InputConnection#requestCursorUpdates(int) | 601 * @see InputConnection#requestCursorUpdates(int) |
601 */ | 602 */ |
602 @Override | 603 @Override |
603 public boolean requestCursorUpdates(int cursorUpdateMode) { | 604 public boolean requestCursorUpdates(int cursorUpdateMode) { |
604 if (DEBUG_LOGS) Log.w(TAG, "requestCursorUpdates [%x]", cursorUpdateMode
); | 605 if (DEBUG_LOGS) Log.w(TAG, "requestCursorUpdates [%x]", cursorUpdateMode
); |
605 assertOnImeThread(); | 606 assertOnImeThread(); |
606 return false; | 607 return false; |
607 } | 608 } |
608 } | 609 } |
OLD | NEW |