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

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

Issue 509753002: Introduce @CalledByReflection annotation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to ExternalOemSupport Created 6 years, 4 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 | « components/cronet/android/java/src/org/chromium/net/UsedByReflection.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/SmartClipProvider.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/SmartClipProvider.java b/content/public/android/java/src/org/chromium/content/browser/SmartClipProvider.java
index 346f21772df9bd0d86b47c80d9fb9e94e0e0a20b..e1502b6518db72afd937778134e45a51f7f7f5ec 100644
--- a/content/public/android/java/src/org/chromium/content/browser/SmartClipProvider.java
+++ b/content/public/android/java/src/org/chromium/content/browser/SmartClipProvider.java
@@ -6,6 +6,8 @@ package org.chromium.content.browser;
import android.os.Handler;
+import org.chromium.base.UsedByReflection;
+
/**
* An interface to provide smart clip data when requested.
*
@@ -13,15 +15,18 @@ import android.os.Handler;
* Please make sure implementation of them is somewhere in the view
* hierarchy.
*/
+@UsedByReflection("ExternalOemSupport")
public interface SmartClipProvider {
/**
* Initiate extraction of text, HTML, and other information for clipping puposes (smart clip)
* from the rectangle area defined by starting positions (x and y), and width and height.
*/
+ @UsedByReflection("ExternalOemSupport")
void extractSmartClipData(int x, int y, int width, int height);
/**
* Register a handler to handle smart clip data once extraction is done.
*/
+ @UsedByReflection("ExternalOemSupport")
void setSmartClipResultHandler(final Handler resultHandler);
}
« no previous file with comments | « components/cronet/android/java/src/org/chromium/net/UsedByReflection.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698