Ticket #28993: patch-PluginView-no-carbon.diff
File patch-PluginView-no-carbon.diff, 1020 bytes (added by michaelld (Michael Dickens), 14 years ago) |
---|
-
src/3rdparty/webkit/WebCore/plugins/PluginView.h
old new 360 360 361 361 Point m_lastMousePos; 362 362 void setNPWindowIfNeeded(); 363 #ifndef NP_NO_CARBON 363 364 void nullEventTimerFired(Timer<PluginView>*); 365 #endif 364 366 Point globalMousePosForPlugin() const; 365 367 Point mousePosForPlugin(MouseEvent* event = 0) const; 366 368 #endif -
src/3rdparty/webkit/WebCore/plugins/mac/PluginViewMac.mm
old new 233 233 setNPWindowIfNeeded(); 234 234 235 235 // TODO: Implement null timer throttling depending on plugin activation 236 #ifndef NP_NO_CARBON 236 237 m_nullEventTimer.set(new Timer<PluginView>(this, &PluginView::nullEventTimerFired)); 238 #endif 237 239 m_nullEventTimer->startRepeating(0.02); 238 240 239 241 m_lastMousePos.h = m_lastMousePos.v = 0;