mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
1dd9f8444d
M README - update instructions for building and running source and unit tests M build.properties.sample - you need junit.jar M webclient/build-tests.xml - reformat M webclient/build.xml - add "prepare" target to set the PATH_SEP M webclient/src_ie/BookmarksImpl.cpp M webclient/src_ie/CurrentPageImpl.cpp M webclient/src_ie/HistoryImpl.cpp - Account for new javah header names M webclient/src_moz/Makefile.in - account for new location of jawt.lib in J2SDK 1.4.2 M webclient/src_moz/NativeEventThread.cpp +#include "nsEmbedAPI.h" // for NS_HandleEmbeddingEvent M webclient/src_moz/NavigationActionEvents.cpp - result is an nsIInputStream M webclient/src_moz/WrapperFactoryImpl.cpp +#include <nsDependentString.h> // for nsDependentCString and the compile is more strict now. M webclient/src_moz/dom_util.cpp - signature change
130 lines
3.5 KiB
C++
130 lines
3.5 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public
|
|
* License Version 1.1 (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.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is RaptorCanvas.
|
|
*
|
|
* The Initial Developer of the Original Code is Kirk Baker and
|
|
* Ian Wilkinson. Portions created by Kirk Baker and Ian Wilkinson are
|
|
* Copyright (C) 1999 Kirk Baker and Ian Wilkinson. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s): Glenn Barney <gbarney@uiuc.edu>
|
|
*/
|
|
|
|
|
|
/*
|
|
* CurrentPageImpl.cpp
|
|
*/
|
|
|
|
#include "org_mozilla_webclient_impl_wrapper_0005fnative_CurrentPageImpl.h"
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeCopyCurrentSelectionToSystemClipboard
|
|
(JNIEnv *env, jobject obj, jint webShellPtr)
|
|
{
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeFindInPage
|
|
* Signature: (Ljava/lang/String;ZZ)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeFindInPage
|
|
(JNIEnv *env, jobject obj, jint webShellPtr, jstring searchString, jboolean forward, jboolean matchCase)
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeFindNextInPage
|
|
* Signature: (Z)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeFindNextInPage
|
|
(JNIEnv *env, jobject obj, jint webShellPtr, jboolean forward)
|
|
{
|
|
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeGetCurrentURL
|
|
* Signature: ()Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetCurrentURL
|
|
(JNIEnv *env, jobject obj, jint webShellPtr)
|
|
{
|
|
jstring urlString = 0;
|
|
|
|
return urlString;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetDOM
|
|
(JNIEnv *, jobject, jint)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeGetSource
|
|
* Signature: ()Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetSource
|
|
(JNIEnv * env, jobject jobj)
|
|
{
|
|
|
|
jstring result = 0;
|
|
return result;
|
|
}
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeGetSourceBytes
|
|
* Signature: ()[B
|
|
*/
|
|
JNIEXPORT jbyteArray JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetSourceBytes
|
|
(JNIEnv * env, jobject jobj, jint webShellPtr, jboolean mode)
|
|
{
|
|
jbyteArray result = 0;
|
|
return result;
|
|
}
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeResetFind
|
|
* Signature: ()V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeResetFind
|
|
(JNIEnv * env, jobject obj, jint webShellPtr)
|
|
{
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
* Method: nativeSelectAll
|
|
* Signature: ()V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeSelectAll
|
|
(JNIEnv * env, jobject obj, jint webShellPtr)
|
|
{
|
|
|
|
}
|