public
Description: A mirror of QtWebKit
Homepage: http://trac.webkit.org/projects/webkit/wiki/QtWebKit
Clone URL: git://github.com/tronical/qtwebkit.git
WebCore:

2008-05-22  Josh Aas  <joshmoz@gmail.com>

        Reviewed by Anders.

        <rdar://problem/5956429> 
        https://bugs.webkit.org/show_bug.cgi?id=19192
        remove NPNVpluginEventModel, fix example plugin
        
        Remove NPNVpluginEventModel enum variable.
        
        * bridge/npapi.h:

WebKit/mac:

2008-05-22  Josh Aas  <joshmoz@gmail.com>

        Reviewed by Anders.

        <rdar://problem/5956429> 
        https://bugs.webkit.org/show_bug.cgi?id=19192
        remove NPNVpluginEventModel, fix example plugin
        
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView getVariable:value:]):

WebKitExamplePlugins:

2008-05-22  Josh Aas  <joshmoz@gmail.com>

        Reviewed by Anders.

        Use correct enum.
        
        * NetscapeCocoaPlugin/main.m:
        (NPP_New):
        * NetscapeInputMethodPlugin/main.m:
        (NPP_New):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34026 
268f45cc-cd09-0410-ab3c-d52691b4dbfc
andersca@apple.com (author)
Thu May 22 11:27:35 -0700 2008
commit  9bcbb03325e332c63db2cb38482f1b8ae878c939
tree    13b7978a2b178b9de8ae65921f4d4d7764815742
parent  9541a22ef7de7c452a05485da404abfdfd3340ab
...
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
@@ -1,3 +1,15 @@
0
+2008-05-22 Josh Aas <joshmoz@gmail.com>
0
+
0
+ Reviewed by Anders.
0
+
0
+ <rdar://problem/5956429>
0
+ https://bugs.webkit.org/show_bug.cgi?id=19192
0
+ remove NPNVpluginEventModel, fix example plugin
0
+
0
+ Remove NPNVpluginEventModel enum variable.
0
+
0
+ * bridge/npapi.h:
0
+
0
 2008-05-22 Stephanie Lewis <slewis@apple.com>
0
 
0
         Reviewed by Dan.
...
377
378
379
380
381
 
382
383
384
...
377
378
379
 
 
380
381
382
383
0
@@ -377,8 +377,7 @@ typedef enum {
0
 #endif
0
     , NPNVsupportsCoreGraphicsBool = 2001 /* TRUE if the browser supports the CoreGraphics drawing model */
0
     , NPNVsupportsOpenGLBool = 2002 /* TRUE if the browser supports the OpenGL drawing model (CGL on Mac) */
0
-
0
- , NPNVpluginEventModel = 1001 /* The NPEventModel specified by the plugin */
0
+
0
 #ifndef NP_NO_CARBON
0
     , NPNVsupportsCarbonBool = 2003 /* TRUE if the browser supports the Carbon event model */
0
 #endif
...
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
0
@@ -1,3 +1,14 @@
0
+2008-05-22 Josh Aas <joshmoz@gmail.com>
0
+
0
+ Reviewed by Anders.
0
+
0
+ <rdar://problem/5956429>
0
+ https://bugs.webkit.org/show_bug.cgi?id=19192
0
+ remove NPNVpluginEventModel, fix example plugin
0
+
0
+ * Plugins/WebBaseNetscapePluginView.mm:
0
+ (-[WebBaseNetscapePluginView getVariable:value:]):
0
+
0
 2008-05-21 Anders Carlsson <andersca@apple.com>
0
 
0
         Reviewed by Maciej.
...
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
...
2562
2563
2564
 
 
 
 
 
 
2565
2566
2567
0
@@ -2562,12 +2562,6 @@ static NPBrowserTextInputFuncs *browserTextInputFuncs()
0
             return NPERR_NO_ERROR;
0
         }
0
         
0
- case NPNVpluginEventModel:
0
- {
0
- *(NPEventModel *)value = eventModel;
0
- return NPERR_NO_ERROR;
0
- }
0
-
0
 #ifndef NP_NO_CARBON
0
         case NPNVsupportsCarbonBool:
0
         {
...
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
0
@@ -1,3 +1,14 @@
0
+2008-05-22 Josh Aas <joshmoz@gmail.com>
0
+
0
+ Reviewed by Anders.
0
+
0
+ Use correct enum.
0
+
0
+ * NetscapeCocoaPlugin/main.m:
0
+ (NPP_New):
0
+ * NetscapeInputMethodPlugin/main.m:
0
+ (NPP_New):
0
+
0
 2008-05-12 Anders Carlsson <andersca@apple.com>
0
 
0
         Reviewed by Alexey.
...
127
128
129
130
 
131
132
133
...
137
138
139
140
 
141
142
143
144
145
...
127
128
129
 
130
131
132
133
...
137
138
139
 
140
141
 
142
143
144
0
@@ -127,7 +127,7 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, ch
0
         return NPERR_INCOMPATIBLE_VERSION_ERROR;
0
     
0
     // If the browser supports the CoreGraphics drawing model, enable it.
0
- browser->setvalue(instance, NPNVpluginDrawingModel, (void *)NPDrawingModelCoreGraphics);
0
+ browser->setvalue(instance, NPPVpluginDrawingModel, (void *)NPDrawingModelCoreGraphics);
0
 
0
     // If the browser supports the Cocoa event model, enable it.
0
     NPBool supportsCocoa;
0
@@ -137,9 +137,8 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, ch
0
     if (!supportsCocoa)
0
         return NPERR_INCOMPATIBLE_VERSION_ERROR;
0
     
0
- browser->setvalue(instance, NPNVpluginEventModel, (void *)NPEventModelCocoa);
0
+ browser->setvalue(instance, NPPVpluginEventModel, (void *)NPEventModelCocoa);
0
     
0
-
0
     return NPERR_NO_ERROR;
0
 }
0
 
...
131
132
133
134
 
135
136
137
...
141
142
143
144
 
145
146
147
...
131
132
133
 
134
135
136
137
...
141
142
143
 
144
145
146
147
0
@@ -131,7 +131,7 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, ch
0
         return NPERR_INCOMPATIBLE_VERSION_ERROR;
0
     
0
     // If the browser supports the CoreGraphics drawing model, enable it.
0
- browser->setvalue(instance, NPNVpluginDrawingModel, (void *)NPDrawingModelCoreGraphics);
0
+ browser->setvalue(instance, NPPVpluginDrawingModel, (void *)NPDrawingModelCoreGraphics);
0
 
0
     // If the browser supports the Cocoa event model, enable it.
0
     NPBool supportsCocoa;
0
@@ -141,7 +141,7 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, ch
0
     if (!supportsCocoa)
0
         return NPERR_INCOMPATIBLE_VERSION_ERROR;
0
     
0
- browser->setvalue(instance, NPNVpluginEventModel, (void *)NPEventModelCocoa);
0
+ browser->setvalue(instance, NPPVpluginEventModel, (void *)NPEventModelCocoa);
0
 
0
     obj->textFieldRect = NSMakeRect(10, 10, 200, 100);
0
 

Comments

    No one has commented yet.