| Index: content/public/android/java/src/org/chromium/content_public/browser/ImeEventObserver.java
|
| diff --git a/content/public/android/java/src/org/chromium/content_public/browser/ImeEventObserver.java b/content/public/android/java/src/org/chromium/content_public/browser/ImeEventObserver.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5ba308fa2ec14d33007a749f16de41c8384c41f1
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content_public/browser/ImeEventObserver.java
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.content_public.browser;
|
| +
|
| +/**
|
| + * Interface for the classes that need to be notified of IME changes.
|
| + */
|
| +public interface ImeEventObserver {
|
| + /**
|
| + * Called to notify the delegate about synthetic/real key events before sending to renderer.
|
| + */
|
| + void onImeEvent();
|
| +
|
| + /**
|
| + * Called when the focused node attribute is updated.
|
| + * @param editable {@code true} if the node becomes editable; else {@code false}.
|
| + * @param password indicates the node is of type password if {@code true}.
|
| + */
|
| + void onNodeAttributeUpdated(boolean editable, boolean password);
|
| +}
|
|
|