Lines Matching refs:drawingModel
94 static inline bool isDrawingModelQuickDraw(NPDrawingModel drawingModel)
97 return drawingModel == NPDrawingModelQuickDraw;
210 ASSERT(isDrawingModelQuickDraw(drawingModel));
296 if (isDrawingModelQuickDraw(drawingModel)) {
347 if (drawingModel == NPDrawingModelCoreAnimation)
355 switch (drawingModel) {
568 switch (drawingModel) {
639 …ASSERT((drawingModel != NPDrawingModelCoreGraphics) || !eventIsDrawRect || [NSView focusView] == s…
643 …if (isDrawingModelQuickDraw(drawingModel) || (drawingModel != NPDrawingModelCoreAnimation && event…
655 if (isDrawingModelQuickDraw(drawingModel) && eventIsDrawRect) {
885 switch (drawingModel) {
919 ASSERT(isDrawingModelQuickDraw(drawingModel));
956 if (drawingModel == NPDrawingModelQuickDraw)
958 else if (drawingModel == NPDrawingModelCoreGraphics && ![self canDraw] && _isFlash) {
973 } else if (drawingModel == NPDrawingModelCoreGraphics)
1003 switch (drawingModel) {
1048 …// Initialize drawingModel to an invalid value so that we can detect when the plugin does not spec…
1049 drawingModel = (NPDrawingModel)-1;
1062 if (drawingModel == (NPDrawingModel)-1) {
1065 drawingModel = NPDrawingModelQuickDraw;
1068 drawingModel = NPDrawingModelCoreGraphics;
1082 if (eventModel == NPEventModelCocoa && isDrawingModelQuickDraw(drawingModel)) {
1092 if (drawingModel == NPDrawingModelCoreAnimation) {
1435 …if (drawingModel == NPDrawingModelCoreAnimation && (!_snapshotting || ![self supportsSnapshotting]…
1968 switch (drawingModel) {
2037 *(NPDrawingModel *)value = drawingModel;
2130 drawingModel = newDrawingModel;
2136 … LOG(Plugins, "Plugin %@ uses unsupported drawing model: %d", _eventHandler.get(), drawingModel);