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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContainerViewDelegate.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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.content.browser;
6
7 import android.view.View;
8
9 /**
10 * Interface to add and remove views from the implementing view.
11 */
12 public interface ContainerViewDelegate {
13
14 /**
15 * Add the view.
16 * @param view The view to be added.
17 */
18 public void addViewToContainerView(View view);
19
20 /**
21 * Remove the view if it is present, otherwise do nothing.
22 * @param view The view to be removed.
23 */
24 public void removeViewFromContainerView(View view);
25
26 /**
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.
29 */
30 public int getChildViewOffsetYPix();
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698