亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? main.m

?? linux下開源瀏覽器WebKit的源碼,市面上的很多商用瀏覽器都是移植自WebKit
?? M
字號:
/* IMPORTANT:  This Apple software is supplied to you by Apple Computer, Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation,  modification or redistribution of this Apple software constitutes acceptance of these  terms.  If you do not agree with these terms, please do not use, install, modify or  redistribute this Apple software.  In consideration of your agreement to abide by the following terms, and subject to these  terms, Apple grants you a personal, non-exclusive license, under Apple’s copyrights in  this original Apple software (the "Apple Software"), to use, reproduce, modify and  redistribute the Apple Software, with or without modifications, in source and/or binary  forms; provided that if you redistribute the Apple Software in its entirety and without  modifications, you must retain this notice and the following text and disclaimers in all  such redistributions of the Apple Software.  Neither the name, trademarks, service marks  or logos of Apple Computer, Inc. may be used to endorse or promote products derived from  the Apple Software without specific prior written permission from Apple. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by Apple herein, including but not limited to any patent rights that may be infringed by your  derivative works or by other works in which the Apple Software may be incorporated.  The Apple Software is provided by Apple on an "AS IS" basis.  APPLE MAKES NO WARRANTIES,  EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS  USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.  IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE,  REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND  WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR  OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */#import <WebKit/npapi.h>#import <WebKit/npfunctions.h>#import <WebKit/npruntime.h>#import <Cocoa/Cocoa.h>#import <Quartz/Quartz.h>#import <QuartzCore/QuartzCore.h>// Browser function tablestatic NPNetscapeFuncs* browser;// Structure for per-instance storagetypedef struct PluginObject{    NPP npp;        NPWindow window;        QCCompositionLayer *layer;    bool gold;} PluginObject;NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved);NPError NPP_Destroy(NPP instance, NPSavedData** save);NPError NPP_SetWindow(NPP instance, NPWindow* window);NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype);NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);int32 NPP_WriteReady(NPP instance, NPStream* stream);int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);void NPP_Print(NPP instance, NPPrint* platformPrint);int16 NPP_HandleEvent(NPP instance, void* event);void NPP_URLNotify(NPP instance, const char* URL, NPReason reason, void* notifyData);NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value);NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value);#pragma export on// Mach-o entry pointsNPError NP_Initialize(NPNetscapeFuncs *browserFuncs);NPError NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);void NP_Shutdown(void);#pragma export offNPError NP_Initialize(NPNetscapeFuncs* browserFuncs){    browser = browserFuncs;    return NPERR_NO_ERROR;}NPError NP_GetEntryPoints(NPPluginFuncs* pluginFuncs){    pluginFuncs->version = 11;    pluginFuncs->size = sizeof(pluginFuncs);    pluginFuncs->newp = NPP_New;    pluginFuncs->destroy = NPP_Destroy;    pluginFuncs->setwindow = NPP_SetWindow;    pluginFuncs->newstream = NPP_NewStream;    pluginFuncs->destroystream = NPP_DestroyStream;    pluginFuncs->asfile = NPP_StreamAsFile;    pluginFuncs->writeready = NPP_WriteReady;    pluginFuncs->write = (NPP_WriteProcPtr)NPP_Write;    pluginFuncs->print = NPP_Print;    pluginFuncs->event = NPP_HandleEvent;    pluginFuncs->urlnotify = NPP_URLNotify;    pluginFuncs->getvalue = NPP_GetValue;    pluginFuncs->setvalue = NPP_SetValue;        return NPERR_NO_ERROR;}void NP_Shutdown(void){}NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved){    // Create per-instance storage    PluginObject *obj = (PluginObject *)malloc(sizeof(PluginObject));    bzero(obj, sizeof(PluginObject));        obj->npp = instance;    instance->pdata = obj;        // Ask the browser if it supports the Core Animation drawing model    NPBool supportsCoreAnimation;    if (browser->getvalue(instance, NPNVsupportsCoreAnimationBool, &supportsCoreAnimation) != NPERR_NO_ERROR)        supportsCoreAnimation = FALSE;        if (!supportsCoreAnimation)        return NPERR_INCOMPATIBLE_VERSION_ERROR;        // If the browser supports the Core Animation drawing model, enable it.    browser->setvalue(instance, NPPVpluginDrawingModel, (void *)NPDrawingModelCoreAnimation);    // If the browser supports the Cocoa event model, enable it.    NPBool supportsCocoa;    if (browser->getvalue(instance, NPNVsupportsCocoaBool, &supportsCocoa) != NPERR_NO_ERROR)        supportsCocoa = FALSE;        if (!supportsCocoa)        return NPERR_INCOMPATIBLE_VERSION_ERROR;        browser->setvalue(instance, NPPVpluginEventModel, (void *)NPEventModelCocoa);        return NPERR_NO_ERROR;}NPError NPP_Destroy(NPP instance, NPSavedData** save){    // Free per-instance storage    PluginObject *obj = instance->pdata;    [obj->layer release];        free(obj);        return NPERR_NO_ERROR;}NPError NPP_SetWindow(NPP instance, NPWindow* window){    PluginObject *obj = instance->pdata;    obj->window = *window;    return NPERR_NO_ERROR;} NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype){    *stype = NP_ASFILEONLY;    return NPERR_NO_ERROR;}NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason){    return NPERR_NO_ERROR;}int32 NPP_WriteReady(NPP instance, NPStream* stream){    return 0;}int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer){    return 0;}void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname){}void NPP_Print(NPP instance, NPPrint* platformPrint){}static void handleMouseClick(PluginObject *obj, NPCocoaEvent *event){    obj->gold = !obj->gold;        [obj->layer setValue:[NSNumber numberWithBool:obj->gold] forInputKey:@"gold"];}int16 NPP_HandleEvent(NPP instance, void* event){    PluginObject *obj = instance->pdata;    NPCocoaEvent *cocoaEvent = event;        switch(cocoaEvent->type) {        case NPCocoaEventMouseDown:            handleMouseClick(obj, cocoaEvent);            return 1;    }        return 0;}void NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData){}NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value){    PluginObject *obj = instance->pdata;    switch (variable) {        case NPPVpluginCoreAnimationLayer:            if (!obj->layer) {                NSString *path = [[NSBundle bundleWithIdentifier:@"com.apple.netscapecoreanimationplugin"] pathForResource:@"Composition" ofType:@"qtz"];                QCComposition *composition = [QCComposition compositionWithFile:path];                obj->layer = [[QCCompositionLayer compositionLayerWithComposition:composition] retain];            }                        // Make sure to return a retained layer            *((CALayer **)value) = [obj->layer retain];                        return NPERR_NO_ERROR;                    default:            return NPERR_GENERIC_ERROR;    }}NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value){    return NPERR_GENERIC_ERROR;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99在线精品免费| 日韩电影免费在线观看网站| 欧美三级欧美一级| 97超碰欧美中文字幕| 成人激情文学综合网| 成人黄色大片在线观看| 99久久99精品久久久久久| 波多野结衣中文字幕一区 | 制服丝袜成人动漫| 欧美日韩精品电影| 欧美一区二区三区思思人| 欧美一区二区二区| 26uuu国产一区二区三区| 精品国产电影一区二区| 欧美国产精品v| 成人免费一区二区三区在线观看 | 国产精品成人免费| 中文字幕日韩一区二区| 亚洲精品日韩专区silk| 日韩国产一二三区| 国产一区二区日韩精品| 99精品国产热久久91蜜凸| 欧洲国内综合视频| 日韩一级片网址| 日本一区二区视频在线| 亚洲精品一二三区| 三级不卡在线观看| 成人精品高清在线| 欧美精品久久一区二区三区| 久久先锋影音av| 一区二区三区中文字幕电影| 青青草原综合久久大伊人精品优势| 另类小说图片综合网| av在线不卡观看免费观看| 欧美日本韩国一区| 中文无字幕一区二区三区| 亚洲激情自拍视频| 国产成人一区二区精品非洲| 91福利在线免费观看| 久久奇米777| 亚洲成在人线在线播放| 粉嫩aⅴ一区二区三区四区 | 全国精品久久少妇| 99精品久久久久久| 亚洲欧美在线视频| 日韩av高清在线观看| 99久久精品国产毛片| 3d成人h动漫网站入口| 亚洲色图视频网站| 国内外精品视频| 欧美裸体bbwbbwbbw| ...中文天堂在线一区| 蜜臀va亚洲va欧美va天堂 | 裸体歌舞表演一区二区| 91网址在线看| 国产精品日韩成人| 久久99九九99精品| 777午夜精品免费视频| 亚洲精品免费视频| 成人动漫av在线| 国产日产欧美一区二区视频| 免费观看成人鲁鲁鲁鲁鲁视频| 欧日韩精品视频| 亚洲色图制服诱惑| 不卡影院免费观看| 国产精品美女视频| 国产成人av电影| 国产三级久久久| 国产麻豆成人精品| 国产日产精品1区| 国产激情一区二区三区| 精品对白一区国产伦| 精品在线观看免费| 日韩美女主播在线视频一区二区三区| 日韩精品成人一区二区在线| 欧美日韩大陆一区二区| 午夜精品福利一区二区三区蜜桃| 91网址在线看| 成人精品免费网站| 国产午夜精品一区二区 | 国产精品久久福利| av电影天堂一区二区在线| 欧美激情一区二区三区不卡| 福利一区二区在线| 最新中文字幕一区二区三区| 中文欧美字幕免费| 紧缚奴在线一区二区三区| 91精品久久久久久久91蜜桃 | 97精品久久久久中文字幕 | 日本中文字幕一区| 日韩一区二区在线播放| 狠狠色丁香婷综合久久| 亚洲国产精品国自产拍av| 成人午夜伦理影院| 亚洲女人的天堂| 91精品国产黑色紧身裤美女| 黄色成人免费在线| 国产丝袜美腿一区二区三区| 99久久精品国产毛片| 视频一区免费在线观看| 欧美精品一区二| av在线播放一区二区三区| 精品日韩av一区二区| 国产精品一区二区三区四区| 国产精品国产自产拍在线| 欧美天堂一区二区三区| 精品一区二区三区久久久| 国产精品久久久一本精品| 久久免费看少妇高潮| 91在线你懂得| 免费观看成人av| 综合色中文字幕| 日韩一区二区三区在线视频| www.欧美日韩国产在线| 奇米一区二区三区| 亚洲免费在线看| 久久久久久麻豆| 欧美日韩亚洲综合在线| 成人福利在线看| 久久99这里只有精品| 亚洲天堂网中文字| 久久先锋影音av| 欧美电影一区二区| 波多野结衣中文字幕一区二区三区| 色综合久久久久久久久| 一区二区三区日本| 久久久久久久综合日本| 欧美日韩国产小视频| 99久久综合色| 国产成人自拍网| 日韩国产精品久久| 亚洲专区一二三| 国产精品久久久久久久岛一牛影视| 欧美日韩高清影院| 91久久久免费一区二区| 成人app网站| 岛国一区二区三区| 精品一区在线看| 麻豆成人综合网| 免费在线观看视频一区| 亚洲一区影音先锋| 一区二区三区在线视频观看58| 国产精品毛片a∨一区二区三区| 精品少妇一区二区三区在线播放| 欧美日韩国产另类一区| 在线观看欧美黄色| 欧美影视一区在线| 欧美中文字幕一区二区三区| 96av麻豆蜜桃一区二区| av在线不卡网| 在线日韩国产精品| 欧美色图12p| 欧美美女bb生活片| 欧美一级电影网站| 欧美成人一区二区三区在线观看 | 中文字幕五月欧美| 自拍偷拍欧美激情| 亚洲女与黑人做爰| 亚洲欧美另类综合偷拍| 一区二区三区国产| 亚洲二区在线视频| 日本不卡中文字幕| 精品一区二区三区在线视频| 国产精品一区免费在线观看| 国产.欧美.日韩| 精品一区中文字幕| 777亚洲妇女| 在线综合+亚洲+欧美中文字幕| 欧美日韩国产一级二级| 欧美一级黄色片| 国产亚洲一区二区在线观看| 中文字幕一区二区三区四区不卡 | 亚洲一卡二卡三卡四卡| 午夜久久久久久电影| 麻豆91精品91久久久的内涵| 国产一区美女在线| 91社区在线播放| 91麻豆精品国产91久久久更新时间| 日韩一区二区高清| 国产欧美综合在线观看第十页| 自拍偷拍亚洲欧美日韩| 日韩高清国产一区在线| 国产精品77777| 在线亚洲高清视频| 日韩欧美一二三四区| 亚洲区小说区图片区qvod| 日韩av不卡在线观看| 国产乱码精品一区二区三区av | 视频在线观看国产精品| 激情久久五月天| 色狠狠色噜噜噜综合网| 日韩一级片网站| 亚洲人成人一区二区在线观看 | 日本va欧美va欧美va精品| 国产精品影视在线| 欧美三级视频在线观看| 国产精品私人自拍| 男人操女人的视频在线观看欧美| 成人毛片在线观看| 欧美xingq一区二区|