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

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

Issue 2804953003: Refactor ContentViewClient (6/6) (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
deleted file mode 100644
index 1acc2871977fb0e13e8597e732cefa271d5157f3..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2012 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.browser;
-
-/**
- * Main callback class used by ContentView.
- *
- * This contains the superset of callbacks required to implement the browser UI and the callbacks
- * required to implement the WebView API.
- * The memory and reference ownership of this class is unusual - see the .cc file and ContentView
- * for more details.
- *
- * WARNING: ConteViewClient is going away. Do not add new stuff in this class.
- */
-public class ContentViewClient {
- /**
- * Called when an ImeEvent is sent to the page. Can be used to know when some text is entered
- * in a page.
- */
- public void onImeEvent() {}
-
- /**
- * Notified when the editability of the focused node changes.
- *
- * @param editable Whether the focused node is editable.
- */
- public void onFocusedNodeEditabilityChanged(boolean editable) {}
-
- /**
- * Returns the bottom system window inset in pixels. The system window inset represents the area
- * of a full-screen window that is partially or fully obscured by the status bar, navigation
- * bar, IME or other system windows.
- * @return The bottom system window inset.
- */
- public int getSystemWindowInsetBottom() {
- return 0;
- }
-}
« 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