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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/JavascriptInterface.java

Issue 10830173: JavaBridge should use Annotation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment based on nit. Created 8 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 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 java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
11
12 /**
13 * Marks a method as being able to be exposed to JavaScript. This is used for s afety purposes so
14 * that only explicitly marked methods get exposed instead of every method in a class.
15 * @see {@link ContentViewCore#addJavascriptInterface(Class, String, boolean)}
16 */
17 @SuppressWarnings("javadoc")
18 @Retention(RetentionPolicy.RUNTIME)
19 @Target({ElementType.METHOD})
20 public @interface JavascriptInterface {
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698