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

Unified Diff: ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java

Issue 14018004: [Android] Refactor NativeView to be able to use it for AutofillDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/ViewAndroid.java ('k') | ui/android/ui_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContainerViewDelegate.java b/ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
similarity index 74%
rename from content/public/android/java/src/org/chromium/content/browser/ContainerViewDelegate.java
rename to ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
index 432b01aa7a7d24cd15ca79fe0b1f16d6c9287a0b..c6855a125e742a64f6ec51bbc1566420a8a23e63 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContainerViewDelegate.java
+++ b/ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
@@ -2,30 +2,30 @@
// 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;
+package org.chromium.ui;
import android.view.View;
/**
* Interface to add and remove views from the implementing view.
*/
-public interface ContainerViewDelegate {
+public interface ViewAndroidDelegate {
/**
* Add the view.
* @param view The view to be added.
*/
- public void addViewToContainerView(View view);
+ void addViewToContainerView(View view);
/**
* Remove the view if it is present, otherwise do nothing.
* @param view The view to be removed.
*/
- public void removeViewFromContainerView(View view);
+ void removeViewFromContainerView(View view);
/**
* Used for any calculations that need to place a View near a particular piece of web content.
* @return The Y offset in pixels to apply to any added views.
*/
- public int getChildViewOffsetYPix();
+ int getChildViewOffsetYPix();
}
« no previous file with comments | « ui/android/java/src/org/chromium/ui/ViewAndroid.java ('k') | ui/android/ui_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698