You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ap...@apache.org on 2008/02/21 15:38:47 UTC

svn commit: r629801 - in /harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet: Callback.java callbacks/ callbacks/Callback.java

Author: apetrenko
Date: Thu Feb 21 06:38:46 2008
New Revision: 629801

URL: http://svn.apache.org/viewvc?rev=629801&view=rev
Log:
Callback class has been moved to new package

Added:
    harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/
    harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/Callback.java   (with props)
Removed:
    harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/Callback.java

Added: harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/Callback.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/Callback.java?rev=629801&view=auto
==============================================================================
--- harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/Callback.java (added)
+++ harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/Callback.java Thu Feb 21 06:38:46 2008
@@ -0,0 +1,35 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/** 
+ * @author Pavel Dolgov
+ * @version $Revision: 1.2 $
+ */
+package org.apache.harmony.applet;
+
+import java.net.URL;
+
+/**
+ * Callback from applet to the host application
+ */
+interface Callback {
+
+    void showDocument(int documentId, URL url, String target);
+
+    void showStatus(int documentId, String status);
+
+    void appletResize(int appletId, int width, int height);
+}

Propchange: harmony/enhanced/sandbox/mozillaplugin/src/main/java/org/apache/harmony/applet/callbacks/Callback.java
------------------------------------------------------------------------------
    svn:eol-style = native