source: trunk/dports/www/webkit-gtk/files/patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff @ 72215

Last change on this file since 72215 was 72215, checked in by devans@…, 7 years ago

webkit-gtk: update to version 1.2.5.

File size: 1.3 KB
  • WebCore/plugins/gtk/PluginViewGtk.cpp

    old new  
    6060#include "runtime_root.h"
    6161#include <runtime/JSLock.h>
    6262#include <runtime/JSValue.h>
     63#include "NotImplemented.h"
    6364
    6465#include <gdkconfig.h>
    6566#include <gtk/gtk.h>
    6667
     68#undef XP_UNIX
     69
    6770#if defined(XP_UNIX)
    6871#include "gtk2xtbin.h"
    6972#define Bool int // this got undefined somewhere
     
    441444        event->setDefaultHandled();
    442445}
    443446
    444 #if defined(XP_UNIX)
    445447void PluginView::handleFocusInEvent()
    446448{
     449#if defined(XP_UNIX)
    447450    XEvent npEvent;
    448451    initXEvent(&npEvent);
    449452
     
    453456    event.detail = NotifyDetailNone;
    454457
    455458    dispatchNPEvent(npEvent);
     459#endif
    456460}
    457461
    458462void PluginView::handleFocusOutEvent()
    459463{
     464#if defined(XP_UNIX)
    460465    XEvent npEvent;
    461466    initXEvent(&npEvent);
    462467
     
    466471    event.detail = NotifyDetailNone;
    467472
    468473    dispatchNPEvent(npEvent);
    469 }
    470474#endif
     475}
    471476
    472477void PluginView::setParent(ScrollView* parent)
    473478{
     
    797802    }
    798803
    799804    if (m_isWindowed) {
    800 #if defined(XP_UNIX)
    801805        GtkWidget* pageClient = m_parentFrame->view()->hostWindow()->platformPageClient();
     806#if defined(XP_UNIX)
    802807
    803808        if (m_needsXEmbed) {
    804809            // If our parent is not anchored the startup process will
Note: See TracBrowser for help on using the repository browser.