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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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; 5 package org.chromium.ui;
6 6
7 import android.view.View; 7 import android.view.View;
8 8
9 /** 9 /**
10 * Interface to add and remove views from the implementing view. 10 * Interface to add and remove views from the implementing view.
11 */ 11 */
12 public interface ContainerViewDelegate { 12 public interface ViewAndroidDelegate {
13 13
14 /** 14 /**
15 * Add the view. 15 * Add the view.
16 * @param view The view to be added. 16 * @param view The view to be added.
17 */ 17 */
18 public void addViewToContainerView(View view); 18 void addViewToContainerView(View view);
19 19
20 /** 20 /**
21 * Remove the view if it is present, otherwise do nothing. 21 * Remove the view if it is present, otherwise do nothing.
22 * @param view The view to be removed. 22 * @param view The view to be removed.
23 */ 23 */
24 public void removeViewFromContainerView(View view); 24 void removeViewFromContainerView(View view);
25 25
26 /** 26 /**
27 * Used for any calculations that need to place a View near a particular pie ce of web content. 27 * Used for any calculations that need to place a View near a particular pie ce of web content.
28 * @return The Y offset in pixels to apply to any added views. 28 * @return The Y offset in pixels to apply to any added views.
29 */ 29 */
30 public int getChildViewOffsetYPix(); 30 int getChildViewOffsetYPix();
31 } 31 }
OLDNEW
« 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