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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java

Issue 2827263006: Revert "Refactor ContentViewClient (6/6)" (Closed)
Patch Set: Revert "Let ImeAdapterAndroid have the same lifecycle as its Java peer" Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.content.browser;
6
7 /**
8 * Main callback class used by ContentView.
9 *
10 * This contains the superset of callbacks required to implement the browser UI and the callbacks
11 * required to implement the WebView API.
12 * The memory and reference ownership of this class is unusual - see the .cc fi le and ContentView
13 * for more details.
14 *
15 * WARNING: ConteViewClient is going away. Do not add new stuff in this class.
16 */
17 public class ContentViewClient {
18 /**
19 * Called when an ImeEvent is sent to the page. Can be used to know when som e text is entered
20 * in a page.
21 */
22 public void onImeEvent() {}
23
24 /**
25 * Notified when the editability of the focused node changes.
26 *
27 * @param editable Whether the focused node is editable.
28 */
29 public void onFocusedNodeEditabilityChanged(boolean editable) {}
30
31 /**
32 * Returns the bottom system window inset in pixels. The system window inset represents the area
33 * of a full-screen window that is partially or fully obscured by the status bar, navigation
34 * bar, IME or other system windows.
35 * @return The bottom system window inset.
36 */
37 public int getSystemWindowInsetBottom() {
38 return 0;
39 }
40 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698