Changeset 28313 in webkit


Ignore:
Timestamp:
Dec 1, 2007 10:43:36 PM (16 years ago)
Author:
alp@webkit.org
Message:

2007-12-01 Alp Toker <alp@atoker.com>

Reviewed by Adam Roben.

http://bugs.webkit.org/show_bug.cgi?id=15687
[Gtk] Allow API clients to interact with JavaScript in web pages

Include the necessary JavaScriptCore headers directly in the public
API headers.

This is the last of a series of changes needed to allow GTK+
applications to access the JS API.

Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
developers will still have to include the individual JS API headers
individually if they want to use it in their applications.

Patch also removes some old legacy use of GDK that was in
WebKitWebFrame. No ABI change.

  • WebView/webkitdefines.h:
  • WebView/webkitwebframe.h:
  • WebView/webkitwebview.h:
Location:
trunk/WebKit/gtk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/gtk/ChangeLog

    r28274 r28313  
     12007-12-01  Alp Toker  <alp@atoker.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=15687
     6        [Gtk] Allow API clients to interact with JavaScript in web pages
     7
     8        Include the necessary JavaScriptCore headers directly in the public
     9        API headers.
     10
     11        This is the last of a series of changes needed to allow GTK+
     12        applications to access the JS API.
     13
     14        Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
     15        developers will still have to include the individual JS API headers
     16        individually if they want to use it in their applications.
     17
     18        Patch also removes some old legacy use of GDK that was in
     19        WebKitWebFrame. No ABI change.
     20
     21        * WebView/webkitdefines.h:
     22        * WebView/webkitwebframe.h:
     23        * WebView/webkitwebview.h:
     24
    1252007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
    226
  • trunk/WebKit/gtk/WebView/webkitdefines.h

    r28273 r28313  
    4343typedef struct _WebKitNetworkRequestClass WebKitNetworkRequestClass;
    4444
    45 typedef struct OpaqueJSContext* JSGlobalContextRef;
    46 typedef struct OpaqueJSValue* JSObjectRef;
    47 
    4845#ifdef G_OS_WIN32
    4946    #ifdef BUILDING_WEBKIT
  • trunk/WebKit/gtk/WebView/webkitwebframe.h

    r28273 r28313  
    3232
    3333#include <glib-object.h>
    34 #include <gdk/gdk.h>
     34#include <JavaScriptCore/JSBase.h>
    3535
    3636#include "webkitdefines.h"
     
    5555    void (*title_changed) (WebKitWebFrame* frame, gchar* title, gchar* location);
    5656
    57     /*
    58      * protected virtual methods
    59      */
    60     void (*mouse_move_event)  (WebKitWebFrame* frame, GdkEvent* move_event);
    61     void (*mouse_press_event) (WebKitWebFrame* frame, GdkEvent* press_event);
    62     void (*mouse_release_event) (WebKitWebFrame* frame, GdkEvent* mouse_release_event);
    63     void (*mouse_double_click_event) (WebKitWebFrame* frame, GdkEvent* double_click_event);
    64     void (*mouse_wheel_event) (WebKitWebFrame* frame, GdkEvent* wheel_event);
     57    void (*_webkit_reserved1) (void);
     58    void (*_webkit_reserved2) (void);
     59    void (*_webkit_reserved3) (void);
     60    void (*_webkit_reserved4) (void);
     61    void (*_webkit_reserved5) (void);
    6562};
    6663
  • trunk/WebKit/gtk/WebView/webkitwebview.h

    r28273 r28313  
    3131
    3232#include <gtk/gtk.h>
     33#include <JavaScriptCore/JSBase.h>
    3334
    3435#include "webkitdefines.h"
    35 #include "webkitsettings.h"
    3636
    3737G_BEGIN_DECLS
Note: See TracChangeset for help on using the changeset viewer.