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

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

Issue 62203014: Move WindowOpenDisposition.template to ui/base/android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ui.gyp Created 7 years, 1 month 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: ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
diff --git a/ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java b/ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
deleted file mode 100644
index 531dce880a50baf151917792d8508937a5814d60..0000000000000000000000000000000000000000
--- a/ui/android/java/src/org/chromium/ui/ViewAndroidDelegate.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 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.ui;
-
-import android.view.View;
-
-/**
- * Interface to acquire and release anchor views from the implementing View.
- */
-public interface ViewAndroidDelegate {
-
- /**
- * @return An anchor view that can be used to anchor decoration views like Autofill popup.
- */
- View acquireAnchorView();
-
- /**
- * Set the anchor view to specified position and width (all units in dp).
- * @param view The anchor view that needs to be positioned.
- * @param x X coordinate of the top left corner of the anchor view.
- * @param y Y coordinate of the top left corner of the anchor view.
- * @param width The width of the anchor view.
- * @param height The height of the anchor view.
- */
- void setAnchorViewPosition(View view, float x, float y, float width, float height);
-
- /**
- * Release given anchor view.
- * @param anchorView The anchor view that needs to be released.
- */
- void releaseAnchorView(View anchorView);
-}

Powered by Google App Engine
This is Rietveld 408576698