Please add a version to the Gtk port
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2008-06-05  Christian Dywan  <christian@twotoasts.de>
2
3         Reviewed by Alp Toker.
4
5         https://bugs.webkit.org/show_bug.cgi?id=14141
6         Please add a version to the Gtk port
7
8         * webkit/webkit.h:
9         * webkit/webkitversion.cpp: Added.
10         * webkit/webkitversion.h.in: Added.
11         * webkit/webkitwebsettings.cpp:
12         (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
13         * webkit/webkitwebview.cpp:
14
15 2008-06-01  Alp Toker  <alp@nuanti.com>
16
17         Suggested by Christian Dywan.
18
19         Use float literals for zoom values and improve documentation wording.
20
21         * webkit/webkitwebsettings.cpp:
22         (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
23         * webkit/webkitwebview.cpp:
24
25 2008-06-01  Alp Toker  <alp@nuanti.com>
26
27         Reviewed by Oliver.
28
29         Remove webkit_web_view_go_backward(),
30         webkit_web_view_can_go_backward(). These have been obsoleted by
31         the back() versions for quite a while.
32
33         * webkit/webkitwebview.cpp:
34         * webkit/webkitwebview.h:
35
36 2008-05-31  Alp Toker  <alp@nuanti.com>
37
38         Fix inconsistent zoom docs and enum name landed in r34249. Issue
39         noticed by Marco Barisione.
40
41         * webkit/webkitwebview.cpp:
42
43 2008-05-30  Carlos Martín Nieto  <carlos@cmartin.tk>
44
45         Reviewed by Alp Toker.
46
47         http://bugs.webkit.org/show_bug.cgi?id=18383
48         [GTK] The "hovering-over-link" signal arguments aren't documented.
49
50         * webkit/webkitwebview.cpp:
51
52 2008-05-29  Marco Barisione  <marco@collabora.co.uk>
53
54         Reviewed (and tweaked) by Alp Toker.
55
56         http://bugs.webkit.org/show_bug.cgi?id=18281
57         [GTK] add functions to set/get the zoom level
58
59         * webkit/webkitwebsettings.cpp:
60         (_WebKitWebSettingsPrivate::):
61         (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
62         (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
63         (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
64         * webkit/webkitwebview.cpp: Add functions to get and set the zoom
65         level.
66         * webkit/webkitwebview.h: Ditto.
67         * webkit/webkitprivate.h:
68
69 2008-05-28  Alp Toker  <alp@nuanti.com>
70
71         Reviewed by Alexey Proskuryakov.
72
73         http://bugs.webkit.org/show_bug.cgi?id=18704
74         [gtk] cannot type letters with dead keys in textarea
75
76         http://bugs.webkit.org/show_bug.cgi?id=14120
77         [GDK] Support input methods
78
79         Add support for input method composition.
80
81         Remove some old hacks so we handle input method events more
82         consistently.
83
84         * WebCoreSupport/EditorClientGtk.cpp:
85         (WebKit::imContextCommitted):
86         (WebKit::imContextPreeditChanged):
87         (WebKit::EditorClient::setInputMethodState):
88         (WebKit::EditorClient::respondToChangedSelection):
89         (WebKit::EditorClient::handleInputMethodKeydown):
90         (WebKit::EditorClient::EditorClient):
91         (WebKit::EditorClient::~EditorClient):
92         (WebKit::EditorClient::textFieldDidBeginEditing):
93         (WebKit::EditorClient::textFieldDidEndEditing):
94         (WebKit::EditorClient::textDidChangeInTextField):
95         (WebKit::EditorClient::doTextFieldCommandFromEvent):
96         * webkit/webkitwebview.cpp:
97
98 2008-05-25  Alp Toker  <alp@nuanti.com>
99
100         Reviewed by Niko.
101
102         Drop WebView focus when the widget is focused out.
103
104         * webkit/webkitwebview.cpp:
105
106 2008-05-25  Sriram Neelakandan  <sriram.neelakandan@gmail.com>
107
108         Reviewed by Alp Toker.
109
110         http://bugs.webkit.org/show_bug.cgi?id=18935
111         [Gtk] Plugin Load crashes with NP_FULL mode
112
113         Fix crash due to uninitialized variable.
114
115         * WebCoreSupport/FrameLoaderClientGtk.cpp:
116         (WebKit::FrameLoaderClient::FrameLoaderClient):
117
118 2008-05-24  Alp Toker  <alp@nuanti.com>
119
120         https://bugs.webkit.org/show_bug.cgi?id=18825
121         webkitgtk fails to build from source: "Database Tracker" has not been declared
122
123         GTK+ fix for building without database support.
124         exceededDatabaseQuota() still needs to be present, just a no-op.
125
126         * WebCoreSupport/ChromeClientGtk.cpp:
127         (WebKit::ChromeClient::exceededDatabaseQuota):
128
129 2008-05-23  Alp Toker  <alp@nuanti.com>
130
131         GTK+ fixes for building without database support.
132
133         * WebCoreSupport/ChromeClientGtk.cpp:
134
135 2008-05-19  Alp Toker  <alp@nuanti.com>
136
137         Reviewed by Anders and Beth.
138
139         http://bugs.webkit.org/show_bug.cgi?id=16495
140         [GTK] Accessibility support with ATK/AT-SPI
141
142         Initial ATK/AT-SPI accessibility support for the GTK+ port.
143
144         * webkit/webkitwebview.cpp:
145
146 2008-05-06  Christian Dywan  <christian@twotoasts.de>
147
148         Rubber stamped by Alp.
149
150         Back out 17626. It wasn't ready for commit.
151
152         * webkit/webkitprivate.h:
153         * webkit/webkitwebview.cpp:
154         * webkit/webkitwebview.h:
155
156 2008-05-01  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
157
158         Reviewed by Alp Toker.
159
160         https://bugs.webkit.org/show_bug.cgi?id=14750
161         Added support for NPAPI plugins on Gtk and Qt-x11 ports.
162
163         * WebCoreSupport/FrameLoaderClientGtk.cpp:
164         (WebKit::FrameLoaderClient::FrameLoaderClient):
165         (WebKit::FrameLoaderClient::committedLoad):
166         (WebKit::FrameLoaderClient::createPlugin):
167         (WebKit::FrameLoaderClient::redirectDataToPlugin):
168         (WebKit::FrameLoaderClient::finishedLoading):
169         (WebKit::FrameLoaderClient::setMainDocumentError):
170         * WebCoreSupport/FrameLoaderClientGtk.h:
171
172 2008-04-30  Sean Egan  <seanegan@gmail.com>
173
174         Reviewed and modified by Holger.
175
176         https://bugs.webkit.org/show_bug.cgi?id=17626
177         Support setting background color and a 16-bit alpha channel.
178
179         * webkit/webkitprivate.h:
180         * webkit/webkitwebview.cpp:
181         * webkit/webkitwebview.h:
182
183 2008-04-24  Dan Bernstein  <mitz@apple.com>
184
185         - build fix
186
187         * webkit/webkitwebview.cpp:
188
189 2008-04-24  Anders Carlsson  <andersca@apple.com>
190
191         Reviewed by Sam.
192
193         Change some String arguments to be const references instead.
194
195         * WebCoreSupport/EditorClientGtk.cpp:
196         (WebKit::EditorClient::shouldInsertText):
197         * WebCoreSupport/EditorClientGtk.h:
198
199 2008-04-23  Christian Dywan  <christian@twotoasts.de>
200
201         Reviewed by Alp Toker.
202
203         Emit a warning about an unknown setting only if it is
204         not a valid property. Otherwise applications can't
205         subclass WebKitWebSettings to add new properties.
206
207         * webkit/webkitwebview.cpp:
208
209 2008-04-20  Simon Hausmann  <hausmann@webkit.org>
210
211         Reviewed by Alp Toker.
212
213         http://bugs.webkit.org/show_bug.cgi?id=18578
214         Share the printing code between the Gtk and the Qt port
215
216         Share the printing code between the Gtk and the Qt port
217         and added printing to the Qt WebKit API.
218
219         * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
220         page/Printcontext.cpp/h
221
222 2008-04-19  Alp Toker  <alp@nuanti.com>
223
224         Reviewed by Maciej.
225
226         Enable visited link tracking by default at startup.
227
228         With this patch, the GTK+ port rendering of Acid3 now matches the
229         reference page.
230
231         * webkit/webkitprivate.cpp:
232         (WebKit::core):
233         (webkit_init):
234
235 2008-04-11  Mark Rowe  <mrowe@apple.com>
236
237         Gtk build fix after r32231.
238
239         * webkit/webkitwebview.cpp: Update to use contentRenderer.
240
241 2008-04-18  Alp Toker  <alp@atoker.com>
242
243         Rubber-stamped by Holger Freyther.
244
245         http://bugs.webkit.org/show_bug.cgi?id=18218
246         [Gtk] segfault when clicking on a disabled button
247
248         Always use the main frame for mouse events (not the focused frame)
249         since it knows best how to get the event through to the right target.
250
251         This also fixes a null crasher.
252
253         * webkit/webkitwebview.cpp:
254
255 2008-04-17  Alp Toker  <alp@atoker.com>
256
257         Rubber-stamped by Holger Freyther.
258
259         Reduce hard-coded page-cache count to 3 based on research done for the
260         Mac port on value / page.
261
262         We will need to make this more dynamic or configurable at some point
263         but for now it's best to keep closer to the behaviour before page
264         caching was enabled.
265
266         Issue spotted by Mark Rowe.
267
268         * webkit/webkitprivate.cpp:
269         (webkit_init):
270
271 2008-04-17  Daniele Metilli  <daniele.metilli@gmail.com>
272
273         Reviewed by Eric.
274
275         Fixed a typo in the copyright header.
276
277         * webkit/webkitprivate.h:
278
279 2008-04-14  Holger Freyther  <zecke@selfish.org>
280
281         Reviewed by Alp Toker.
282
283         https://bugs.webkit.org/show_bug.cgi?id=18411
284         Enable Page caching and create FrameViews on the fly
285
286         Create the FrameView on the fly and cache pages
287
288         - Keep a copy of the GtkAdjustment to be able to reuse it for the
289           FrameViews
290         - Do not initially create a FrameView and update the WebKit code to
291           cope with not having a view.
292         - Cache seven pages by default.
293
294         * WebCoreSupport/FrameLoaderClientGtk.cpp:
295         (WebKit::FrameLoaderClient::createFrame):
296         (WebKit::FrameLoaderClient::canCachePage):
297         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
298         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
299         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
300         * webkit/webkitprivate.cpp:
301         (webkit_init):
302         * webkit/webkitprivate.h:
303         * webkit/webkitwebframe.cpp:
304         * webkit/webkitwebview.cpp:
305
306 2008-04-10  Mario Bensi  <mbensi@pleyo.com>
307
308         Reviewed by Alp Toker.
309
310         https://bugs.webkit.org/show_bug.cgi?id=18400
311         Database example doesn't work on Gtk port
312
313         Fix quota in ChromeClient
314
315         * WebCoreSupport/ChromeClientGtk.cpp:
316         (WebKit::ChromeClient::exceededDatabaseQuota):
317
318 2008-04-08  Adam Roben  <aroben@apple.com>
319
320         Move callOnMainThread to WTF
321
322         Reviewed by Alexey Proskuryakov.
323
324         * webkit/webkitprivate.cpp: Updated #include.
325         (webkit_init): Changed to call KJS::initializeThreading.
326
327 2008-04-06  Luca Bruno  <lethalman88@gmail.com>
328
329         Reviewed by Alp Toker.
330
331         Fix webkit_web_view_get_transparent() return value.
332
333         * webkit/webkitwebview.cpp:
334
335 2008-03-31  Jasper Bryant-Greene  <jasper@unix.geek.nz>
336
337         Reviewed by Darin.
338
339         Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
340         "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
341
342         Removed unnecessary definition of WebKitNetworkRequestPrivate in
343         webkitprivate.h
344
345         * webkit/webkitprivate.h:
346
347 2008-03-25  Brady Eidson  <beidson@apple.com>
348
349         Reviewed by Darin
350
351         Remove newly obsolete FrameLoaderClient methods
352
353         * WebCoreSupport/FrameLoaderClientGtk.cpp:
354         * WebCoreSupport/FrameLoaderClientGtk.h:
355
356 2008-03-20  Alp Toker  <alp@atoker.com>
357
358         GTK+ build fix. Back out r31183. This patch also introduced API style
359         issues.
360
361         * WebCoreSupport/FrameLoaderClientGtk.cpp:
362         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
363         * webkit/headers.pri:
364         * webkit/webkit-marshal.list:
365         * webkit/webkitdefines.h:
366         * webkit/webkitnavigationaction.cpp: Removed.
367         * webkit/webkitnavigationaction.h: Removed.
368         * webkit/webkitprivate.cpp:
369         * webkit/webkitprivate.h:
370         * webkit/webkitwebview.cpp:
371         * webkit/webkitwebview.h:
372
373 2008-03-20  Jasper Bryant-Greene  <jasper@unix.geek.nz>
374
375         Reviewed and tweaked by Anders.
376
377         Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
378         "[GTK] Middle-mouse click should allow opening a URL in a new tab"
379
380         Created WebKitNavigationAction object exported through the API. The
381         navigation-requested signal provides this object as context for the
382         requested navigation, allowing the application to decide what to do
383         with the navigation based on which mouse button was used, which
384         modifier keys were held down, etc. This allows, for example, the
385         application to open links in a new tab when either middle-click or
386         control-click are used to initiate the navigation.
387
388         * WebCoreSupport/FrameLoaderClientGtk.cpp:
389         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
390         * webkit/headers.pri:
391         * webkit/webkit-marshal.list:
392         * webkit/webkitdefines.h:
393         * webkit/webkitnavigationaction.cpp: Added.
394         (webkit_navigation_action_finalize):
395         (webkit_navigation_action_class_init):
396         (webkit_navigation_action_init):
397         (webkit_navigation_action_get_button):
398         (webkit_navigation_action_get_modifier_flags):
399         (webkit_navigation_action_get_navigation_type):
400         (webkit_navigation_action_get_original_url):
401         * webkit/webkitnavigationaction.h: Added.
402         * webkit/webkitprivate.cpp:
403         (WebKit::kit):
404         * webkit/webkitprivate.h:
405         * webkit/webkitwebview.cpp:
406         * webkit/webkitwebview.h:
407
408 2008-03-18  Rodney Dawes  <dobey@wayofthemonkey.com>
409
410         Reviewed and landed by jhoneycutt.
411
412         Update to check if the MIME type is supported by a plugin.
413
414         * WebCoreSupport/FrameLoaderClientGtk.cpp:
415         (FrameLoaderClient::objectContentType):
416
417 2008-03-18  Rodney Dawes  <dobey@wayofthemonkey.com>
418
419         Reviewed by Jon Honeycutt.
420
421         Update setContainingWindow() calls to pass a GtkWidget.
422
423         * webkit/webkitwebframe.cpp:
424         (webkit_web_frame_new):
425         (webkit_web_frame_init_with_web_view):
426
427 2008-03-13  Rodney Dawes  <dobey@wayofthemonkey.com>
428
429         Fix GTK+ build for SharedBuffer changes.
430
431         * webkit/webkitwebview.cpp:
432         (webkit_web_view_load_string):
433
434 2008-03-12  Tommi Komulainen  <tommi.komulainen@iki.fi>
435
436         Reviewed by Alp Toker.
437
438         http://bugs.webkit.org/show_bug.cgi?id=17799
439         WebView signals should use more specific types
440
441         * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
442         type in "script-alert", "script-confirm", "script-script-prompt"
443         signals so that it gets more clearly documented rather than just
444         plain GObject.
445
446 2008-03-10  Xan Lopez  <xan@gnome.org>
447
448         Reviewed by Alp Toker.
449
450         Fix "missing braces" compiler warning.
451
452         * webkit/webkitwebview.cpp:
453
454 2008-03-04  Sam Weinig  <sam@webkit.org>
455
456         Reviewed by Mark Rowe.
457
458         - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
459           JSDOMWindow.h
460
461         * WebCoreSupport/FrameLoaderClientGtk.cpp:
462         * webkit/webkitwebframe.cpp:
463
464 2008-03-03  Sam Weinig  <sam@webkit.org>
465
466         GTK+ build fix.
467
468         * WebCoreSupport/FrameLoaderClientGtk.cpp:
469         (WebKit::FrameLoaderClient::windowObjectCleared):
470
471 2008-03-03  Alp Toker  <alp@atoker.com>
472
473         Fix the GTK+ build following breakage introduced in r30712.
474
475         * WebCoreSupport/EditorClientGtk.cpp:
476         (WebKit::imContextCommitted):
477
478 2008-03-02  Alp Toker  <alp@atoker.com>
479
480         Reviewed by Mark Rowe.
481
482         Split the WebKit GTK+ build out of the WebCore build and change the
483         shared object name to match the package name.
484
485         * webkit.pc.in:
486
487 2008-02-27  Adam Roben  <aroben@apple.com>
488
489         Attempt to fix the GTK+ build
490
491         * webkit/webkitwebframe.cpp:
492
493 2008-02-24  Darin Adler  <darin@apple.com>
494
495         Reviewed by Sam.
496
497         - remove separate client calls for "standard" and "reload' history
498
499         * WebCoreSupport/FrameLoaderClientGtk.cpp:
500         (WebKit::FrameLoaderClient::updateGlobalHistory):
501         * WebCoreSupport/FrameLoaderClientGtk.h:
502
503 2008-02-23  Alexey Proskuryakov  <ap@webkit.org>
504
505         Build fix.
506
507         * webkit/webkitprivate.cpp:
508         (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
509
510 2008-02-18  Alp Toker  <alp@atoker.com>
511
512         Reviewed by Mark Rowe.
513
514         http://bugs.webkit.org/show_bug.cgi?id=17312
515         [GTK] Webview Transparent Background
516
517         Add support for WebView background transparency.
518
519         * webkit/webkitprivate.h:
520         * webkit/webkitwebview.cpp:
521         * webkit/webkitwebview.h:
522
523 2008-02-18  Alp Toker  <alp@atoker.com>
524
525         Reviewed by Mark Rowe.
526
527         Implement webkit_web_view_get_focused_frame()
528
529         Equivalent to selectedFrame in the Mac API.
530
531         * webkit/webkitwebview.cpp:
532         * webkit/webkitwebview.h:
533
534 2008-02-17  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
535
536         Reviewed by Mark Rowe.
537
538         Fix a crash introduced in changeset #29985 by moving the dereference to after
539         the null check.
540
541         * webkit/webkitwebhistoryitem.cpp:
542         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
543
544 2008-02-15  Alp Toker  <alp@atoker.com>
545
546         Fix the GTK+ build following breakage introduced in r30243.
547
548         * WebCoreSupport/ChromeClientGtk.cpp:
549         (WebKit::ChromeClient::mouseDidMoveOverElement):
550         * WebCoreSupport/FrameLoaderClientGtk.cpp:
551         (WebKit::FrameLoaderClient::objectContentType):
552
553 2008-02-15  Darin Adler  <darin@apple.com>
554
555         - another try at fixing the build
556
557         * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
558
559 2008-02-14  Darin Adler  <darin@apple.com>
560
561         * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
562         * webkit/webkitwebview.cpp: Ditto.
563
564 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
565
566         Reviewed by Alp.
567
568         * Make the handling of the coreFrame consistent. We construct the coreFrame
569         at the beginning and it will live until the end. Change the g_return_(val_)if
570         to ASSERTs as having a 0 coreFrame can never happen.
571
572         * webkit/webkitwebframe.cpp:
573         (PrintContext::webkit_web_frame_print):
574
575 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
576
577         Reviewed by Alp.
578
579         * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
580         wrapped around it. All current calls to WebCore::Frame from within the
581         WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
582         detached from the WebCore::Page.
583         * For the mainFrame the WebKitWebView is holding the initial reference and
584         will unref on destruction.
585         * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
586         frame gets detached from the parent.
587         * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
588
589         * WebCoreSupport/FrameLoaderClientGtk.cpp:
590         (WebKit::FrameLoaderClient::detachedFromParent4):
591         * webkit/webkitprivate.cpp:
592         (WebKit::core):
593         * webkit/webkitprivate.h:
594         * webkit/webkitwebframe.cpp:
595         * webkit/webkitwebview.cpp:
596
597 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
598
599         Reviewed by Alp.
600
601         WebCore::Frame is RefCounted, do not manually delete it!
602
603         * webkit/webkitwebframe.cpp:
604
605 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
606
607         Reviewed by Alp.
608
609         * Plug a leak
610
611         * webkit/webkitwebframe.cpp:
612
613 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
614
615         Reviewed by Alp.
616
617         * Update the Copyright Information
618
619         * WebCoreSupport/FrameLoaderClientGtk.cpp:
620         * webkit/webkitprivate.h:
621         * webkit/webkitwebframe.cpp:
622
623 2008-02-13  Alp Toker  <alp@atoker.com>
624
625         Reviewed by Adam Roben.
626
627         Fix very small, upside down, inside out text on GTK+/DirectFB.
628
629         Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
630
631         Test the result of gdk_screen_get_resolution() and use a default
632         fallback in case of failure.
633
634         Also remove an unhelpful runtime warning.
635
636         * webkit/webkitwebview.cpp:
637
638 2008-02-08  Pierre-Luc Beaudoin  <pierre-luc.beaudoin@collabora.co.uk>
639
640         Reviewed by Alp Toker.
641
642         http://bugs.webkit.org/show_bug.cgi?id=17009
643         [Gtk] Webkit strips accents from some dead-key combinations
644
645         KeyEvents have to go through the gtk input method.
646
647         * WebCoreSupport/EditorClientGtk.cpp:
648         (WebKit::imContextCommitted):
649         (WebKit::EditorClient::doTextFieldCommandFromEvent):
650
651 2008-02-05  Mark Rowe  <mrowe@apple.com>
652
653         Reviewed by Alp Toker.
654
655         Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
656
657         * webkit/webkitwebbackforwardlist.cpp:
658         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
659         * webkit/webkitwebhistoryitem.cpp:
660         * webkit/webkitwebview.cpp:
661
662 2008-02-04  Christian Dywan  <christian@imendio.com>
663
664         Reviewed by Alp Toker.
665
666         http://bugs.webkit.org/show_bug.cgi?id=17065
667         [GTK] Use a consistent coding style
668
669         * WebCoreSupport/EditorClientGtk.cpp:
670         (WebKit::imContextCommitted):
671         (WebKit::EditorClient::EditorClient):
672         (WebKit::EditorClient::~EditorClient):
673         (WebKit::EditorClient::textFieldDidEndEditing):
674         * webkit/webkitdefines.h:
675         * webkit/webkitnetworkrequest.cpp:
676         (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
677         (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
678         (_WebKitNetworkRequestPrivate::webkit_network_request_init):
679         (_WebKitNetworkRequestPrivate::webkit_network_request_new):
680         (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
681         (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
682         * webkit/webkitnetworkrequest.h:
683         * webkit/webkitprivate.cpp:
684         (WebKit::getViewFromFrame):
685         (WebKit::core):
686         * webkit/webkitprivate.h:
687         * webkit/webkitwebbackforwardlist.cpp:
688         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
689         * webkit/webkitwebbackforwardlist.h:
690         * webkit/webkitwebframe.cpp:
691         * webkit/webkitwebframe.h:
692         * webkit/webkitwebhistoryitem.cpp:
693         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
694         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
695         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
696         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
697         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
698         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
699         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
700         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
701         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
702         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
703         (WebKit::core):
704         * webkit/webkitwebhistoryitem.h:
705         * webkit/webkitwebsettings.h:
706         * webkit/webkitwebview.cpp:
707         * webkit/webkitwebview.h:
708
709 2008-02-04  Alp Toker  <alp@atoker.com>
710
711         Rubber-stamped by Mark Rowe.
712
713         Remove all trailing whitespace in the GTK+ port and related
714         components.
715
716         * WebCoreSupport/DragClientGtk.h:
717         * WebCoreSupport/FrameLoaderClientGtk.h:
718         * WebCoreSupport/InspectorClientGtk.h:
719         * WebCoreSupport/PasteboardHelperGtk.h:
720         * webkit/webkitprivate.h:
721         * webkit/webkitwebbackforwardlist.cpp:
722         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
723         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
724         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
725         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
726         * webkit/webkitwebhistoryitem.cpp:
727         (_WebKitWebHistoryItemPrivate::webkit_history_items):
728         (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
729         (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
730         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
731         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
732         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
733         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
734         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
735         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
736         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
737         (WebKit::kit):
738         * webkit/webkitwebhistoryitem.h:
739         * webkit/webkitwebview.cpp:
740         * webkit/webkitwebview.h:
741
742 2008-02-03  Christian Dywan  <christian@imendio.com>
743
744         Reviewed by Alp Toker.
745
746         http://bugs.webkit.org/show_bug.cgi?id=17046
747         [GTK] Context menu fixes and customisation suport
748
749         * webkit/webkitwebview.cpp:
750
751 2008-01-31  Alp Toker  <alp@atoker.com>
752
753         Reviewed by Mark Rowe.
754
755         Fix the pkg-config file to follow GTK+ package naming and versioning
756         conventions.
757
758         Remove unneeded dependency listings.
759
760         * WebKitGtk.pc.in: Removed.
761         * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
762
763 2008-01-31  Alp Toker  <alp@atoker.com>
764
765         Rubber-stamped by Adam Roben.
766
767         http://bugs.webkit.org/show_bug.cgi?id=17006
768         [GTK] Header path should be webkit/webkit.h
769
770         Move the GTK+ API sources as needed and update the build systems.
771
772         * WebView: Removed.
773         * WebView/headers.pri: Removed.
774         * WebView/webkit-marshal.list: Removed.
775         * WebView/webkit.h: Removed.
776         * WebView/webkitdefines.h: Removed.
777         * WebView/webkitnetworkrequest.cpp: Removed.
778         * WebView/webkitnetworkrequest.h: Removed.
779         * WebView/webkitprivate.cpp: Removed.
780         * WebView/webkitprivate.h: Removed.
781         * WebView/webkitwebbackforwardlist.cpp: Removed.
782         * WebView/webkitwebbackforwardlist.h: Removed.
783         * WebView/webkitwebframe.cpp: Removed.
784         * WebView/webkitwebframe.h: Removed.
785         * WebView/webkitwebhistoryitem.cpp: Removed.
786         * WebView/webkitwebhistoryitem.h: Removed.
787         * WebView/webkitwebsettings.cpp: Removed.
788         * WebView/webkitwebsettings.h: Removed.
789         * WebView/webkitwebview.cpp: Removed.
790         * WebView/webkitwebview.h: Removed.
791         * webkit: Copied from WebKit/gtk/WebView.
792         * webkit/webkit.h:
793         * webkit/webkitnetworkrequest.h:
794         * webkit/webkitprivate.h:
795         * webkit/webkitwebbackforwardlist.h:
796         * webkit/webkitwebframe.h:
797         * webkit/webkitwebhistoryitem.h:
798         * webkit/webkitwebsettings.h:
799         * webkit/webkitwebview.h:
800
801 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
802
803         Reviewed by Alp Toker.
804
805         http://bugs.webkit.org/show_bug.cgi?id=14811
806         [gtk] [request] add a webkit_gtk_page_go_to_history_item function
807
808         implement back/forward list and history item
809
810         * WebView/headers.pri:
811         * WebView/webkit.h:
812         * WebView/webkitprivate.cpp:
813         * WebView/webkitprivate.h:
814         * WebView/webkitwebbackforwardlist.cpp: Added.
815         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
816         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
817         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
818         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
819         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
820         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
821         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
822         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
823         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
824         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
825         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
826         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
827         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
828         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
829         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
830         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
831         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
832         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
833         * WebView/webkitwebbackforwardlist.h: Added.
834         * WebView/webkitwebhistoryitem.cpp: Added.
835         (_WebKitWebHistoryItemPrivate::webkit_history_items):
836         (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
837         (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
838         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
839         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
840         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
841         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
842         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
843         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
844         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
845         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
846         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
847         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
848         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
849         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
850         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
851         (WebKit::core):
852         (WebKit::kit):
853         * WebView/webkitwebhistoryitem.h: Added.
854         * WebView/webkitwebview.cpp:
855         * WebView/webkitwebview.h:
856
857 2008-01-25  Ori Bernstein  <ori@eigenstate.org>
858
859         Reviewed by Alp Toker.
860
861         http://bugs.webkit.org/show_bug.cgi?id=16795
862         WebKitGtk crashes when there is no focused Frame
863
864         Add a null check. focusedFrame() isn't used directly anywhere else so
865         this is the only case that needs to be fixed.
866
867         * WebView/webkitwebview.cpp:
868
869 2008-01-22  Christian Dywan  <christian@imendio.com>
870
871         Reviewed by Alp Toker.
872
873         [GTK] API: WebKitWebSettings is not usable
874         http://bugs.webkit.org/show_bug.cgi?id=16219
875
876         Implement WebKitWebSettings.
877
878         * WebView/headers.pri:
879         * WebView/webkit.h:
880         * WebView/webkitprivate.cpp:
881         * WebView/webkitprivate.h:
882         * WebView/webkitsettings.cpp: Removed.
883         * WebView/webkitsettings.h: Removed.
884         * WebView/webkitwebsettings.cpp: Added.
885         * WebView/webkitwebsettings.h: Added.
886         * WebView/webkitwebview.cpp:
887         * WebView/webkitwebview.h:
888
889 2008-01-21  Alp Toker  <alp@atoker.com>
890
891         GTK+ build fix for breakage introduced in r29698.
892
893         * WebCoreSupport/ChromeClientGtk.h:
894
895 2008-01-21  Darin Adler  <darin@apple.com>
896
897         Reviewed by John Sullivan.
898
899         - updated for changes to database functions
900
901         * WebCoreSupport/ChromeClientGtk.cpp:
902         (WebKit::ChromeClient::exceededDatabaseQuota):
903         * WebCoreSupport/ChromeClientGtk.h:
904         * WebView/webkitprivate.cpp:
905         (webkit_init):
906
907 2008-01-20  Alp Toker  <alp@atoker.com>
908
909         Reviewed by Mark Rowe.
910
911         Attach the widget's style to its window and set the background to the
912         base background to avoid black flicker when repainting. This is
913         similar to what GtkTextView does.
914
915         * WebView/webkitwebview.cpp:
916
917 2008-01-19  Christian Dywan  <christian@imendio.com>
918
919         Reviewed by Alp Toker.
920
921         http://bugs.webkit.org/show_bug.cgi?id=16882
922         [GTK] ChromeClientGtk is incompete
923
924         Implement these functions.
925
926         * WebCoreSupport/ChromeClientGtk.cpp:
927         (WebKit::ChromeClient::windowRect):
928         (WebKit::ChromeClient::pageRect):
929         (WebKit::ChromeClient::scaleFactor):
930         (WebKit::ChromeClient::focus):
931         (WebKit::ChromeClient::unfocus):
932         (WebKit::ChromeClient::canTakeFocus):
933         (WebKit::ChromeClient::takeFocus):
934         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
935
936 2008-01-18  Luca Bruno  <lethalman88@gmail.com>
937
938         Reviewed by Alp Toker.
939
940         http://bugs.webkit.org/show_bug.cgi?id=16910
941         [GTK] REGRESSION: keyboard cursor doesn't blink
942
943         http://bugs.webkit.org/show_bug.cgi?id=16863
944         [GTK] REGRESSION: tab focusing doesn't work
945
946         * WebView/webkitwebview.cpp:
947         (webkit_web_view_focus_in_event): Added. Set the active frame.
948         (webkit_web_view_class_init):
949
950 2008-01-16  Alp Toker  <alp@atoker.com>
951
952         Reviewed by Mark Rowe.
953
954         http://bugs.webkit.org/show_bug.cgi?id=16218
955         [GTK] API: Should this entry point be called go_back rather than go_backward?
956
957         Obsolete 'backward' terminology in API in favour of 'back'. Introduce
958         step-based back/forward functions.
959
960         Document more functions.
961
962         * WebView/webkitdefines.h:
963         * WebView/webkitwebview.cpp:
964         * WebView/webkitwebview.h:
965
966 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
967
968         Reviewed by Sam.
969
970         - remove SecurityOriginData and fold its functionality into SecurityOrigin
971
972         * WebCoreSupport/ChromeClientGtk.cpp:
973         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
974         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
975         * WebCoreSupport/ChromeClientGtk.h:
976
977 2008-01-09  Luca Bruno  <lethalman88@gmail.com>
978
979         Reviewed by Alp Toker.
980
981         http://bugs.webkit.org/show_bug.cgi?id=16802
982         [GTK] Missing gtk properties
983         
984         Add missing properties to WebKitViewFrame and WebKitWebView.
985         
986         * WebView/webkitprivate.h: add some useful defines for param specs
987         * WebView/webkitwebframe.cpp:
988         (webkit_web_frame_get_property): added
989         (webkit_web_frame_class_init): add name, title and uri read-only properties
990         * WebView/webkitwebview.cpp:
991         (webkit_web_view_get_property): add editable property read
992         (webkit_web_view_set_property): added for editable property write
993         (webkit_web_view_class_init): add read-write editable property
994
995 2008-01-03  Xan Lopez  <xan@gnome.org>
996
997         Reviewed by Alp Toker.
998
999         http://bugs.webkit.org/show_bug.cgi?id=16654
1000         [GTK] Signal "navigation-requested" does not react correctly on
1001         return TRUE from callbacks
1002         
1003         * WebView/webkitwebview.cpp: use our own accumulator for signals
1004         returning WebKitNavigationResponse. The emission will be stopped
1005         when any callback returns anything but
1006         WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
1007
1008 2008-01-02  Holger Hans Peter Freyther  <zecke@selfish.org>
1009
1010         Rubber stamped by Darin.
1011
1012         Coding Style fix. Do not use an else because we use a return in the
1013         if branch.
1014
1015         * WebView/webkitwebview.cpp:
1016
1017 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
1018
1019         Reviewed by Alp Toker.
1020
1021         http://bugs.webkit.org/show_bug.cgi?id=16115
1022         [GTK] ContextMenu and ContextMenuItem lacks an implementation
1023
1024         Add context menu support.
1025
1026         Based on a patch by Holger Freyther.
1027
1028         * WebCoreSupport/ContextMenuClientGtk.cpp:
1029         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1030         * WebView/webkitprivate.h:
1031         * WebView/webkitwebview.cpp:
1032
1033 2007-12-29  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1034
1035         Reviewed by Alp Toker.
1036
1037         http://bugs.webkit.org/show_bug.cgi?id=16669
1038         autotools update and fixes
1039
1040         pkgconfig file and icon database inclusion fix
1041
1042         * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
1043         * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
1044
1045 2007-12-28  Christian Dywan  <christian@twotoasts.de>
1046
1047         Reviewed by Alp Toker.
1048
1049         http://bugs.webkit.org/show_bug.cgi?id=16642
1050         [GTK] webkit_web_view_has_selection returns the opposite result
1051
1052         Invert the return value.
1053
1054         * WebView/webkitwebview.cpp:
1055
1056 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1057
1058         Reviewed by Alp Toker.
1059
1060         http://bugs.webkit.org/show_bug.cgi?id=16390
1061         Use autotools or GNU make as the build system for the GTK port
1062
1063         * WebKitGtk.pc.in: Added.
1064
1065 2007-12-24  Christian Dywan  <christian@twotoasts.de>
1066
1067         Reviewed by Alp Toker.
1068
1069         http://bugs.webkit.org/attachment.cgi?id=18099
1070         There are no NULL checks for strings in public api
1071
1072         Add missing NULL checks for string parameters.
1073
1074         Provide sensible defaults when NULL is passed for the optional
1075         parameters in webkit_web_view_load_string(). UTF-8 is the default
1076         encoding used by GLib and text/html is a reasonable default content
1077         type.
1078
1079         * WebView/webkitnetworkrequest.cpp:
1080         * WebView/webkitwebview.cpp:
1081
1082 2007-12-22  Xan Lopez  <xan@gnome.org>
1083
1084         Reviewed by Alp Toker.
1085
1086         Use webView, web_view, etc for variable names instead of page, which
1087         was left over from the old API.
1088
1089         * WebCoreSupport/EditorClientGtk.cpp:
1090         (WebKit::imContextCommitted):
1091         (WebKit::EditorClient::EditorClient):
1092         (WebKit::EditorClient::~EditorClient):
1093         (WebKit::EditorClient::textFieldDidBeginEditing):
1094         (WebKit::EditorClient::textFieldDidEndEditing):
1095         * WebCoreSupport/EditorClientGtk.h:
1096         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1097         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1098         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1099         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1100         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1101         (WebKit::FrameLoaderClient::windowObjectCleared):
1102         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1103         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1104         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1105
1106 2007-12-22  Alp Toker  <alp@atoker.com>
1107
1108         GTK+ build fix
1109
1110         GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
1111         empty target flags for now.
1112
1113         Check GTK+, not GLib versions, since they are different.
1114
1115         * WebView/webkitwebview.cpp:
1116
1117 2007-12-22  Luca Bruno  <lethalman88@gmail.com>
1118
1119         Reviewed by Alp Toker.
1120
1121         http://bugs.webkit.org/show_bug.cgi?id=16311
1122         [Gtk] Copy rich text to clipboard as text/plain and text/html.
1123
1124         Add copy and paste targets for WebView and implement
1125         WebCore::PasteboardHelper.
1126
1127         * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
1128         (WebKit::PasteboardHelperGtk::getClipboard):
1129         (WebKit::PasteboardHelperGtk::getCopyTargetList):
1130         (WebKit::PasteboardHelperGtk::getPasteTargetList):
1131         * WebCoreSupport/PasteboardHelperGtk.h: Added.
1132         * WebView/webkitprivate.cpp:
1133         (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
1134         * WebView/webkitprivate.h:
1135         (_WebKitWebViewPrivate::copy_target_list): added
1136         (_WebKitWebViewPrivate::paste_target_list): added
1137         * WebView/webkitwebview.cpp:
1138         (webkit_web_view_get_property): added
1139         (webkit_web_view_finalize):
1140         (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
1141         (webkit_web_view_get_copy_target_list): added
1142         (webkit_web_view_get_paste_target_list): added
1143         * WebView/webkitwebview.h:
1144         (webkit_web_view_get_copy_target_list): added
1145         (webkit_web_view_get_paste_target_list): added
1146
1147 2007-12-22  Xan Lopez  <xan@gnome.org>
1148
1149         Reviewed by Alp Toker.
1150
1151         Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
1152
1153         * WebView/webkitwebview.cpp:
1154         Fix signal id arguments for g_signal_emit in
1155         clipboard functions.
1156
1157 2007-12-21  Alp Toker  <alp@atoker.com>
1158
1159         Documentation typo fix: s/wether/whether
1160
1161         * WebView/webkitwebview.cpp:
1162
1163 2007-12-21  Christian Dywan  <christian@twotoasts.de>
1164
1165         Reviewed by Alp Toker.
1166
1167         http://bugs.webkit.org/show_bug.cgi?id=16144
1168         [GTK] Clipboard/ selection handling functions
1169
1170         * WebView/webkitprivate.h:
1171         * WebView/webkitwebview.cpp:
1172         * WebView/webkitwebview.h:
1173
1174 2007-12-19  Christian Dywan  <christian@twotoasts.de> 
1175
1176         Reviewed by Alp Toker.
1177
1178         http://bugs.webkit.org/show_bug.cgi?id=16222
1179         [GTK] Implement inline search and highlighting of matching strings.
1180
1181         * WebView/webkitwebview.cpp:
1182         * WebView/webkitwebview.h:
1183
1184 2007-12-19  Alp Toker  <alp@atoker.com>
1185
1186         Reviewed by Holger Freyther.
1187
1188         Delete when Destroy functions are called to avoid leaks
1189         
1190         This matches the Mac port.
1191
1192         * WebCoreSupport/ChromeClientGtk.cpp:
1193         * WebCoreSupport/ContextMenuClientGtk.cpp:
1194         * WebCoreSupport/InspectorClientGtk.cpp:
1195
1196 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
1197
1198         Reviewed by Alp Toker.
1199
1200         http://bugs.webkit.org/show_bug.cgi?id=16042
1201         [GTK] Eliminate webkit_init()
1202
1203         Move webkit initialization to WebView class init.
1204
1205         * WebView/headers.pri:
1206         * WebView/webkit.h:
1207         * WebView/webkitglobal.cpp: Removed.
1208         * WebView/webkitglobal.h: Removed.
1209         * WebView/webkitprivate.cpp:
1210         (WebKit::webkit_init):
1211         * WebView/webkitprivate.h:
1212         * WebView/webkitwebframe.cpp:
1213         * WebView/webkitwebview.cpp:
1214
1215 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
1216
1217         Reviewed by Alp Toker.
1218
1219         http://bugs.webkit.org/show_bug.cgi?id=13542
1220         gdklauncher doesnt change URL in adress GTKEntry.
1221
1222         Let DOMDocument observers do their work before emitting title-changed.
1223         The load-committed signal has been added for both the view and the frame.
1224
1225         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1226         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
1227         (WebKit::FrameLoaderClient::setTitle): set private title
1228         (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
1229         * WebView/webkit-marshal.list:
1230         * WebView/webkitprivate.h:
1231         (_WebKitWebFramePrivate): rename location to uri
1232         * WebView/webkitwebframe.cpp:
1233         (webkit_web_frame_get_location): renamed to *_get_uri
1234         (webkit_web_frame_get_uri):
1235         (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
1236         (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
1237         (webkit_web_frame_finalize):
1238         * WebView/webkitwebframe.h:
1239         (_WebKitWebFrameClass): removed title_changed
1240         * WebView/webkitwebview.cpp:
1241         (webkit_web_view_class_init): pass only the title in title-changed
1242
1243 2007-12-14  Alp Toker  <alp@atoker.com>
1244
1245         Fix inconsistent indentation in the license header. Maciej was right!
1246
1247         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1248
1249 2007-12-14  Alp Toker  <alp@atoker.com>
1250
1251         Reviewed by Maciej.
1252
1253         http://bugs.webkit.org/show_bug.cgi?id=16432
1254         [GTK] Update license headers
1255
1256         Consent has been given by the authors of these files to change license
1257         to the LGPL as outlined in the bug report.
1258
1259         * WebCoreSupport/ChromeClientGtk.cpp:
1260         * WebCoreSupport/ContextMenuClientGtk.cpp:
1261         * WebCoreSupport/DragClientGtk.cpp:
1262         * WebCoreSupport/EditorClientGtk.cpp:
1263         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1264         (WebKit::FrameLoaderClient::makeRepresentation):
1265         (WebKit::FrameLoaderClient::forceLayout):
1266         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1267         (WebKit::FrameLoaderClient::setCopiesOnScroll):
1268         (WebKit::FrameLoaderClient::detachedFromParent1):
1269         (WebKit::FrameLoaderClient::detachedFromParent2):
1270         (WebKit::FrameLoaderClient::detachedFromParent3):
1271         (WebKit::FrameLoaderClient::detachedFromParent4):
1272         (WebKit::FrameLoaderClient::loadedFromCachedPage):
1273         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1274         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1275         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1276         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1277         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1278         (WebKit::FrameLoaderClient::dispatchWillClose):
1279         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1280         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1281         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1282         (WebKit::FrameLoaderClient::dispatchShow):
1283         (WebKit::FrameLoaderClient::cancelPolicyCheck):
1284         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1285         (WebKit::FrameLoaderClient::revertToProvisionalState):
1286         (WebKit::FrameLoaderClient::clearUnarchivingState):
1287         (WebKit::FrameLoaderClient::willChangeTitle):
1288         (WebKit::FrameLoaderClient::didChangeTitle):
1289         (WebKit::FrameLoaderClient::finalSetupForReplace):
1290         (WebKit::FrameLoaderClient::setDefersLoading):
1291         (WebKit::FrameLoaderClient::isArchiveLoadPending):
1292         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1293         (WebKit::FrameLoaderClient::clearArchivedResources):
1294         (WebKit::FrameLoaderClient::canHandleRequest):
1295         (WebKit::FrameLoaderClient::canShowMIMEType):
1296         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1297         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1298         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1299         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1300         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1301         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1302         (WebKit::FrameLoaderClient::download):
1303         (WebKit::FrameLoaderClient::cancelledError):
1304         (WebKit::FrameLoaderClient::blockedError):
1305         (WebKit::FrameLoaderClient::cannotShowURLError):
1306         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1307         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1308         (WebKit::FrameLoaderClient::fileDoesNotExistError):
1309         (WebKit::FrameLoaderClient::shouldFallBack):
1310         (WebKit::FrameLoaderClient::willUseArchive):
1311         (WebKit::FrameLoaderClient::canCachePage):
1312         (WebKit::FrameLoaderClient::dispatchCreatePage):
1313         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1314         (WebKit::FrameLoaderClient::setMainDocumentError):
1315         (WebKit::FrameLoaderClient::startDownload):
1316         (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
1317         (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
1318         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1319         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1320         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1321         * WebCoreSupport/InspectorClientGtk.cpp:
1322         * WebView/webkitwebview.cpp:
1323
1324 2007-12-14  Darin Adler  <darin@apple.com>
1325
1326         Reviewed by Alexey.
1327
1328         * WebCoreSupport/EditorClientGtk.cpp:
1329         (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
1330         instead of Editor::execCommand.
1331         * WebView/webkitwebview.cpp: Ditto.
1332
1333 2007-12-12  Brady Eidson  <beidson@apple.com>
1334
1335         Reviewed by Sam Weinig
1336
1337         As part of doing some CachedPage and client cleanup, keep GTK building
1338
1339         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1340         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1341         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1342         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1343         * WebCoreSupport/FrameLoaderClientGtk.h:
1344
1345 2007-12-12  Alp Toker  <alp@atoker.com>
1346
1347         Reviewed by Holger Freyther.
1348
1349         http://bugs.webkit.org/show_bug.cgi?id=15576
1350         [GTK] Printing support
1351
1352         Add printing support.
1353
1354         The API will be kept internal for the time being, but printing can now
1355         be triggered by Web pages or the JSC API using JavaScript.
1356
1357         The print spooler and pagination code is fairly abstract and could be
1358         shared by other ports including Win and Qt once complete. It doesn't
1359         have header/footer support yet.
1360
1361         * WebCoreSupport/ChromeClientGtk.cpp:
1362         (WebKit::ChromeClient::print):
1363         * WebView/webkitprivate.h:
1364         * WebView/webkitwebframe.cpp:
1365         (PrintContext::begin_print):
1366         (PrintContext::draw_page):
1367         (PrintContext::end_print):
1368         (PrintContext::webkit_web_frame_print):
1369
1370 2007-12-12  Sam Weinig  <sam@webkit.org>
1371
1372         Build fix.
1373
1374         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1375         (WebKit::FrameLoaderClient::didChangeTitle):
1376
1377 2007-12-12  Sam Weinig  <sam@webkit.org>
1378
1379         Build fix.
1380
1381         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1382         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1383
1384 2007-12-11  George Wright  <george.wright@collabora.co.uk>
1385
1386         Reviewed by Alp Toker.
1387
1388         http://bugs.webkit.org/show_bug.cgi?id=14120
1389         [GDK] Support input methods
1390
1391         This patch adds infrastructure for input method support.
1392
1393         It also adds Hildon features for the Maemo mobile platform sufficient
1394         to support the virtual keyboard.
1395
1396         * WebCoreSupport/EditorClientGtk.cpp:
1397         (WebKit::imContextCommitted):
1398         (WebKit::EditorClient::EditorClient):
1399         (WebKit::EditorClient::~EditorClient):
1400         (WebKit::EditorClient::textFieldDidBeginEditing):
1401         (WebKit::EditorClient::textFieldDidEndEditing):
1402         * WebCoreSupport/EditorClientGtk.h:
1403         * WebView/webkitprivate.h:
1404         * WebView/webkitwebview.cpp:
1405
1406 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
1407
1408         Reviewed by Darin.
1409
1410         <rdar://problem/5535636>
1411         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1412
1413         http://bugs.webkit.org/show_bug.cgi?id=13916
1414         JavaScript detects Tab as a character input on a textfield validation
1415
1416         * WebCoreSupport/EditorClientGtk.cpp:
1417         (WebKit::EditorClient::handleKeyboardEvent):
1418         (WebKit::EditorClient::handleInputMethodKeydown):
1419         * WebCoreSupport/EditorClientGtk.h:
1420         Updated for cross-platform changes as much as it was possible without a gtk build environment.
1421
1422 2007-12-08  Luca Bruno  <lethalman88@gmail.com>
1423
1424         Reviewed by Alp Toker.
1425
1426         http://bugs.webkit.org/show_bug.cgi?id=16346
1427         [GTK] Some webview parts must use the focused frame.
1428
1429         Also update some old code.
1430
1431         * WebView/webkitprivate.cpp:
1432         (getFrameFromView): removed
1433
1434         * WebView/webkitprivate.h:
1435         (getFrameFromView): removed
1436         
1437         * WebView/webkitwebview.cpp:
1438         (webkit_web_view_expose_event):
1439         (webkit_web_view_key_press_event): use focused frame
1440         (webkit_web_view_key_release_event): use focused frame
1441         (webkit_web_view_button_press_event):
1442         (webkit_web_view_button_release_event):
1443         (webkit_web_view_motion_event):
1444         (webkit_web_view_scroll_event):
1445         (webkit_web_view_size_allocate):
1446         (webkit_web_view_set_scroll_adjustments):
1447         (webkit_web_view_execute_script):
1448         (webkit_web_view_stop_loading):
1449         (webkit_web_view_load_string):
1450         (webkit_web_view_reload):
1451         (webkit_web_view_open):
1452         (webkit_web_view_can_go_forward):
1453         (webkit_web_view_can_go_backward):
1454         (webkit_web_view_go_forward):
1455         (webkit_web_view_go_backward):
1456
1457         * WebCoreSupport/EditorClientGtk.cpp:
1458         (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
1459
1460 2007-12-07  Luca Bruno  <lethalman88@gmail.com>
1461
1462         Reviewed by Alp Toker.
1463
1464         http://bugs.webkit.org/show_bug.cgi?id=16333
1465         [GTK] Key bindings must work with focused frames.
1466
1467         There are still more cases where getFrameFromView() is mis-used that
1468         need to be fixed, but this is a good start.
1469
1470         * WebView/webkitwebview.cpp:
1471         (webkit_web_view_real_select_all):
1472         (webkit_web_view_real_cut_clipboard):
1473         (webkit_web_view_real_copy_clipboard):
1474         (webkit_web_view_real_paste_clipboard):
1475
1476 2007-12-06  Xan Lopez  <xan@gnome.org>
1477
1478         Reviewed by Alp Toker.
1479
1480         http://bugs.webkit.org/show_bug.cgi?id=16329
1481         [GTK] Two small cleanups
1482
1483         * WebCoreSupport/ChromeClientGtk.cpp:
1484         (WebKit::ChromeClient::createWindow):
1485         (WebKit::ChromeClient::addMessageToConsole):
1486         (WebKit::ChromeClient::runJavaScriptAlert):
1487         (WebKit::ChromeClient::runJavaScriptConfirm):
1488         (WebKit::ChromeClient::runJavaScriptPrompt):
1489         (WebKit::ChromeClient::setStatusbarText):
1490         (WebKit::ChromeClient::mouseDidMoveOverElement):
1491         (WebKit::ChromeClient::setToolTip):
1492         * WebCoreSupport/ChromeClientGtk.h:
1493         * WebView/webkitprivate.cpp:
1494         (WebKit::kit):
1495         s/m_webPage/m_webView/
1496         * WebView/webkitwebview.cpp:
1497         Chain up to the parent class to activate bindings instead
1498         of doing it explicitely.
1499
1500 2007-12-06  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1501
1502         Reviewed by Alp Toker.
1503
1504         http://bugs.webkit.org/show_bug.cgi?id=16173
1505         Licensing change
1506
1507         Change license from BSD to LGPL.
1508
1509         * WebCoreSupport/ChromeClientGtk.h:
1510         * WebView/webkitdefines.h:
1511         * WebView/webkitglobal.cpp:
1512         * WebView/webkitglobal.h:
1513         * WebView/webkitnetworkrequest.cpp:
1514         * WebView/webkitnetworkrequest.h:
1515         * WebView/webkitprivate.cpp:
1516         * WebView/webkitprivate.h:
1517         * WebView/webkitsettings.cpp:
1518         * WebView/webkitsettings.h:
1519         * WebView/webkitwebframe.cpp:
1520         * WebView/webkitwebframe.h:
1521         * WebView/webkitwebview.h:
1522
1523 2007-12-05  Michael Natterer  <mitch@imendio.com>
1524
1525         Reviewed by Alp Toker.
1526
1527         * WebView/webkitwebview.cpp: split key and button event handlers
1528         into separate press and release functions.
1529
1530 2007-12-05  Luca Bruno  <lethalman88@gmail.com>
1531
1532         Reviewed by Alp Toker.
1533
1534         Handle events for Home and End keys.
1535
1536         * WebView/webkitwebview.cpp:
1537         (webkit_web_view_key_event):
1538         * WebCoreSupport/EditorClientGtk.cpp:
1539         (EditorClient::handleKeypress):
1540
1541 2007-12-05  Michael Natterer  <mitch@imendio.com>
1542
1543         Reviewed by Alp Toker.
1544
1545         * WebView/webkitwebview.cpp
1546         * WebCoreSupport/ChromeClientGtk.cpp
1547         * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
1548
1549 2007-12-04  Darin Adler  <darin@apple.com>
1550
1551         Reviewed by Kevin Decker.
1552
1553         * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
1554         * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
1555
1556 2007-12-04  Michael Natterer  <mitch@imendio.com>
1557
1558         Reviewed by Alp Toker.
1559
1560         * WebView/webkitwebframe.cpp: don't redeclare the marshaller
1561         prototype but simply include "webkit-marshal.h" now that its build
1562         is fixed.
1563
1564 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
1565
1566         Reviewed by Alp Toker.
1567
1568         Fix a regression in key press propagation in r28386.
1569
1570         Fix indentation (was off by two spaces).
1571
1572         * WebView/webkitwebview.cpp:
1573
1574 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
1575
1576         Reviewed by Alp Toker.
1577
1578         http://bugs.webkit.org/show_bug.cgi?id=15911
1579         [GTK] Use GtkBindingSet to make key bindings user-configurable
1580
1581         This patch doesn't cover the full range of bindings, only the ones
1582         that seem obviously correct and have clear public API.
1583
1584         * WebCoreSupport/EditorClientGtk.cpp:
1585         (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
1586         * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
1587         * WebView/webkitwebview.h:
1588
1589 2007-12-04  Xan Lopez  <xan@gnome.org>
1590
1591         Reviewed by Alp Toker.
1592
1593         http://bugs.webkit.org/show_bug.cgi?id=15561
1594         GTK port needs DumpRenderTree implementation
1595
1596         Start work on the GTK+ DRT.
1597
1598         Add a couple of proposed new API entry points. They are currently for
1599         internal use only by DRT and not in the public headers.
1600
1601         * WebView/webkitprivate.h:
1602         * WebView/webkitwebframe.cpp:
1603
1604 2007-12-03  Dan Bernstein  <mitz@apple.com>
1605
1606         Reviewed by Dave Hyatt.
1607
1608         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
1609
1610         * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
1611         FrameView sends it now.
1612
1613 2007-12-03  Alp Toker  <alp@atoker.com>
1614
1615         globalObject() GTK+ build fix.
1616
1617         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1618         (WebKit::FrameLoaderClient::windowObjectCleared):
1619
1620 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
1621
1622         GTK Build fix: get globalExec from the right place.
1623
1624         * WebView/webkitwebframe.cpp:
1625
1626 2007-12-01  Alp Toker  <alp@atoker.com>
1627
1628         Reviewed by Adam Roben.
1629
1630         Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
1631         takes care of extern "C".
1632
1633         Introduce a webkit.h convenience header.
1634
1635         Remove another left-over from the old API.
1636
1637         * WebView/headers.pri:
1638         * WebView/webkit.h: Added.
1639         * WebView/webkitdefines.h:
1640
1641 2007-12-01  Alp Toker  <alp@atoker.com>
1642
1643         Reviewed by Adam Roben.
1644
1645         http://bugs.webkit.org/show_bug.cgi?id=15687
1646         [Gtk] Allow API clients to interact with JavaScript in web pages
1647
1648         Include the necessary JavaScriptCore headers directly in the public
1649         API headers.
1650
1651         This is the last of a series of changes needed to allow GTK+
1652         applications to access the JS API.
1653
1654         Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
1655         developers will still have to include the individual JS API headers
1656         individually if they want to use it in their applications.
1657
1658         Patch also removes some old legacy use of GDK that was in
1659         WebKitWebFrame. No ABI change.
1660
1661         * WebView/webkitdefines.h:
1662         * WebView/webkitwebframe.h:
1663         * WebView/webkitwebview.h:
1664
1665 2007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1666
1667         Fix for GTK+ Debug build breakage introduced in r28273.
1668
1669         * WebView/webkitprivate.cpp:
1670         (WebKit::kit):
1671
1672 2007-11-30  Alp Toker  <alp@atoker.com>
1673
1674         Reviewed by Adam Roben.
1675
1676         http://bugs.webkit.org/show_bug.cgi?id=15691
1677         [GTK] Public API does not follow GTK+ conventions
1678
1679         Refactor the WebKit/GTK+ public API. Changes:
1680           WebKitPage -> WebKitWebView
1681           WebKitFrame -> WebKitWebFrame
1682
1683         Public API source and header names have been updated to mirror the API
1684         changes.
1685
1686         The API is now kept in WebKit/gtk/WebView to match other ports in the
1687         same class such as Mac and Win.
1688
1689         API/ABI-breaking change.
1690
1691         * Api: Removed.
1692         * Api/headers.pri: Removed.
1693         * Api/webkitgtk-marshal.list: Removed.
1694         * Api/webkitgtkdefines.h: Removed.
1695         * Api/webkitgtkframe.cpp: Removed.
1696         * Api/webkitgtkframe.h: Removed.
1697         * Api/webkitgtkglobal.cpp: Removed.
1698         * Api/webkitgtkglobal.h: Removed.
1699         * Api/webkitgtknetworkrequest.cpp: Removed.
1700         * Api/webkitgtknetworkrequest.h: Removed.
1701         * Api/webkitgtkpage.cpp: Removed.
1702         * Api/webkitgtkpage.h: Removed.
1703         * Api/webkitgtkprivate.cpp: Removed.
1704         * Api/webkitgtkprivate.h: Removed.
1705         * Api/webkitgtksettings.cpp: Removed.
1706         * Api/webkitgtksettings.h: Removed.
1707         * WebCoreSupport/ChromeClientGtk.cpp:
1708         (WebKit::ChromeClient::ChromeClient):
1709         (WebKit::ChromeClient::createWindow):
1710         * WebCoreSupport/ChromeClientGtk.h:
1711         (WebKit::ChromeClient::webPage):
1712         * WebCoreSupport/EditorClientGtk.cpp:
1713         (WebKit::EditorClient::isEditable):
1714         (WebKit::EditorClient::EditorClient):
1715         * WebCoreSupport/EditorClientGtk.h:
1716         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1717         (WebKit::FrameLoaderClient::FrameLoaderClient):
1718         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1719         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1720         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1721         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1722         (WebKit::FrameLoaderClient::createFrame):
1723         (WebKit::FrameLoaderClient::windowObjectCleared):
1724         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1725         (WebKit::FrameLoaderClient::setTitle):
1726         * WebCoreSupport/FrameLoaderClientGtk.h:
1727         (WebKit::FrameLoaderClient::webFrame):
1728         * WebView: Added.
1729         * WebView/headers.pri: Added.
1730         * WebView/webkit-marshal.list: Added.
1731         * WebView/webkitdefines.h: Added.
1732         * WebView/webkitglobal.cpp: Added.
1733         * WebView/webkitglobal.h: Added.
1734         * WebView/webkitnetworkrequest.cpp: Added.
1735         * WebView/webkitnetworkrequest.h: Added.
1736         * WebView/webkitprivate.cpp: Added.
1737         (WebKit::apply):
1738         (WebKit::create):
1739         (WebKit::getFrameFromView):
1740         (WebKit::getViewFromFrame):
1741         (WebKit::core):
1742         (WebKit::kit):
1743         * WebView/webkitprivate.h: Added.
1744         * WebView/webkitsettings.cpp: Added.
1745         * WebView/webkitsettings.h: Added.
1746         * WebView/webkitwebframe.cpp: Added.
1747         * WebView/webkitwebframe.h: Added.
1748         * WebView/webkitwebview.cpp: Added.
1749         * WebView/webkitwebview.h: Added.
1750
1751 2007-11-28  Alp Toker  <alp@atoker.com>
1752
1753         Reviewed by Timothy Hatcher.
1754
1755         http://bugs.webkit.org/show_bug.cgi?id=16174
1756         [GTK] Use "URI" not "URL" in public API
1757
1758         Replace use of the term "URL" with "URI" in public headers,
1759         documentation and some internal code to match GLib/GTK+ convention.
1760
1761         This is now mentioned in the API guidelines:
1762           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
1763
1764         API/ABI-breaking change.
1765
1766         * Api/webkitgtkframe.cpp:
1767         * Api/webkitgtknetworkrequest.cpp:
1768         * Api/webkitgtknetworkrequest.h:
1769         * Api/webkitgtkpage.cpp:
1770         * Api/webkitgtkpage.h:
1771         * Api/webkitgtkprivate.h:
1772         * Api/webkitgtksettings.h:
1773
1774 2007-11-29  Brady Eidson  <beidson@apple.com>
1775
1776         Better build fix for Gtk
1777
1778         * WebCoreSupport/ChromeClientGtk.h:
1779
1780 2007-11-29  Brady Eidson  <beidson@apple.com>
1781
1782         Keep it building with new client method
1783
1784         * WebCoreSupport/ChromeClientGtk.cpp:
1785         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
1786         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1787         * WebCoreSupport/ChromeClientGtk.h:
1788
1789 2007-11-26  Alp Toker  <alp@atoker.com>
1790
1791         Reviewed by Adam Roben.
1792
1793         http://bugs.webkit.org/show_bug.cgi?id=16149
1794         Implement the window-object-cleared signal
1795
1796         This implementation provides the JSGlobalContextRef and JSObjectRef
1797         directly rather than using an intermediate JS wrapper object, similar
1798         to the approach taken by the Win port.
1799
1800         * Api/webkitgtk-marshal.list:
1801         * Api/webkitgtkframe.h:
1802         * Api/webkitgtkpage.cpp:
1803         * Api/webkitgtkpage.h:
1804         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1805         (WebKit::FrameLoaderClient::windowObjectCleared):
1806
1807 2007-11-24  Alp Toker  <alp@atoker.com>
1808
1809         Reviewed by Mark Rowe.
1810
1811         http://bugs.webkit.org/show_bug.cgi?id=15691
1812         [GTK] Public API does not follow GTK+ conventions
1813
1814         Public API enhancements:
1815
1816         Implement webkit_page_get_editable() and webkit_page_set_editable().
1817
1818         Implement webkit_frame_get_name().
1819
1820         Remove definitions for functions that are unusable or not implemented.
1821         This has caused much confusion for application developers.
1822
1823         Improve documentation.
1824
1825         Correct/constify some return types.
1826
1827         Add parameter checks.
1828
1829         Make the default fixed font "Courier New" to match the other Web
1830         font names.
1831
1832         * Api/webkitgtkframe.cpp:
1833         * Api/webkitgtkframe.h:
1834         * Api/webkitgtkpage.cpp:
1835         * Api/webkitgtkpage.h:
1836         * Api/webkitgtkprivate.h:
1837         * WebCoreSupport/EditorClientGtk.cpp:
1838         (WebKit::EditorClient::isEditable):
1839
1840 2007-11-24  Alp Toker  <alp@atoker.com>
1841
1842         Reviewed by Mark Rowe.
1843
1844         http://bugs.webkit.org/show_bug.cgi?id=16125
1845         [GTK] Up key doesn't work properly when content is editable
1846
1847         Add a missing 'break' to avoid falling through to the next case when
1848         handling VK_UP keystrokes. This was noticed when working on editing
1849         support in the GTK+ port.
1850
1851         I've checked the other cases for similar typos and they seem fine.
1852
1853         * WebCoreSupport/EditorClientGtk.cpp:
1854         (WebKit::EditorClient::handleKeypress):
1855
1856 2007-11-24  Xan Lopez  <xan@gnome.org>
1857
1858         Reviewed by Alp Toker.
1859
1860         http://bugs.webkit.org/show_bug.cgi?id=15745
1861         [GTK] Arrow keys do not Scroll
1862         
1863         * Api/webkitgtkpage.cpp:
1864
1865         Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
1866         details.
1867
1868 2007-11-24  Christian Dywan  <christian@twotoasts.de>
1869
1870         Reviewed by Alp Toker.
1871
1872         http://bugs.webkit.org/show_bug.cgi?id=15891
1873         [GTK] Javascript console and dialogs are not implemented
1874
1875         Fix call to gtk_message_dialog_new() which expects a format string.
1876
1877         * Api/webkitgtkpage.cpp:
1878
1879 2007-11-24  Christian Dywan  <christian@twotoasts.de>
1880
1881         Reviewed by Alp Toker.
1882
1883         http://bugs.webkit.org/show_bug.cgi?id=15793
1884         [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
1885
1886         Implement tooltip support using the new Tooltip API.
1887
1888         Support for older versions of GTK+ is still lacking.
1889
1890         * WebCoreSupport/ChromeClientGtk.cpp:
1891         (WebKit::ChromeClient::setToolTip):
1892
1893 2007-11-22  Alp Toker  <alp@atoker.com>
1894
1895         Reviewed by Mark Rowe.
1896
1897         Implement and document several WebKitFrame functions, some of which
1898         are necessary to support DRT.
1899
1900         Correct NULL handling and improve run-time checks.
1901
1902         * Api/webkitgtkframe.cpp:
1903         * Api/webkitgtkframe.h:
1904         * Api/webkitgtkprivate.cpp:
1905
1906 2007-11-22  Alp Toker  <alp@atoker.com>
1907
1908         Whitespace fixes only.
1909
1910         * Api/webkitgtkframe.cpp:
1911         * Api/webkitgtkpage.cpp:
1912         * Api/webkitgtkpage.h:
1913         * Api/webkitgtkprivate.h:
1914         * WebCoreSupport/ChromeClientGtk.cpp:
1915         * WebCoreSupport/ContextMenuClientGtk.cpp:
1916         * WebCoreSupport/ContextMenuClientGtk.h:
1917         * WebCoreSupport/DragClientGtk.h:
1918         * WebCoreSupport/EditorClientGtk.h:
1919         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1920         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1921         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1922         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1923         (WebKit::FrameLoaderClient::createFrame):
1924         (WebKit::FrameLoaderClient::createJavaAppletWidget):
1925         (WebKit::FrameLoaderClient::registerForIconNotification):
1926         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
1927         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1928         (WebKit::FrameLoaderClient::frameLoadCompleted):
1929         (WebKit::FrameLoaderClient::saveViewStateToItem):
1930         (WebKit::FrameLoaderClient::restoreViewState):
1931         (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
1932         (WebKit::FrameLoaderClient::setTitle):
1933         * WebCoreSupport/FrameLoaderClientGtk.h:
1934
1935 2007-11-22  Michael Natterer  <mitch@imendio.com>
1936
1937         Reviewed by Alp Toker.
1938
1939         http://bugs.webkit.org/show_bug.cgi?id=15984
1940         Implement "navigation-requested" signal for WebKit Gtk
1941
1942         * Api/webkitgtknetworkrequest.h: fix parent class member.
1943
1944         * Api/webkitgtknetworkrequest.cpp
1945         * Api/webkitgtkprivate.h: basic implementation featuring an
1946         "url" member and API.
1947
1948         * Api/webkitgtkdefines.h: added network request typedefs.
1949
1950         * Api/webkitgtkpage.h: fix enum name:
1951         s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
1952         and sanitized enum values.
1953
1954         * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
1955
1956         * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
1957
1958         * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
1959         dispatchDecidePolicyForNavigationAction().
1960
1961 2007-11-18  Christian Dywan  <christian@twotoasts.de>
1962
1963         Reviewed by Alp.
1964
1965         http://bugs.webkit.org/show_bug.cgi?id=15891
1966         [GTK] Javascript console and dialogs are not implemented
1967
1968         Correct script-prompt to return NULL when cancelled.
1969
1970         Small changes to avoid compiler warnings.
1971
1972         * Api/webkitgtkpage.cpp:
1973
1974 2007-11-17  Timothy Hatcher  <timothy@apple.com>
1975
1976         Reviewed by Mark Rowe.
1977
1978         Bug 13470: i18n: The Web Inspector is not localizable
1979         http://bugs.webkit.org/show_bug.cgi?id=13470
1980
1981         * WebCoreSupport/InspectorClientGtk.cpp:
1982         (WebKit::InspectorClient::localizedStringsURL): Empty stub.
1983         * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
1984
1985 2007-11-13  Mark Rowe  <mrowe@apple.com>
1986
1987         Gtk build fix. Replace incorrect use of the LOG macro with g_print.
1988
1989         * Api/webkitgtkpage.cpp:
1990
1991 2007-11-13  Christian Dywan  <christian@twotoasts.de>
1992
1993         Reviewed by Alp.
1994
1995         http://bugs.webkit.org/show_bug.cgi?id=15891
1996         [GTK] Javascript console and dialogs are not implemented
1997
1998         Implement signals for script dialogs and console messages.
1999
2000         * Api/webkitgtk-marshal.list:
2001         * Api/webkitgtkpage.cpp:
2002         * Api/webkitgtkpage.h:
2003         * WebCoreSupport/ChromeClientGtk.cpp:
2004         (WebKit::ChromeClient::addMessageToConsole):
2005         (WebKit::ChromeClient::runJavaScriptAlert):
2006         (WebKit::ChromeClient::runJavaScriptConfirm):
2007         (WebKit::ChromeClient::runJavaScriptPrompt):
2008
2009 2007-11-11  Alp Toker  <alp@atoker.com>
2010
2011         Reviewed by Anders.
2012
2013         Initialize m_userAgent.
2014
2015         Fix typos in GDK_WINDOWING conditionals.
2016
2017         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2018         (WebKit::FrameLoaderClient::FrameLoaderClient):
2019         (WebKit::agentPlatform):
2020
2021 2007-11-11  Alp Toker  <alp@atoker.com>
2022
2023         Reviewed by Mark Rowe.
2024
2025         Mention Safari in the UserAgent string to improve site compatibility.
2026
2027         Also bump the hard-coded AppleWebKit version number.
2028
2029         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2030         (WebKit::composeUserAgent):
2031
2032 2007-11-09  Xan Lopez  <xan@gnome.org>
2033
2034         Reviewed by Alp.
2035
2036         Fix http://bugs.webkit.org/show_bug.cgi?id=15926
2037         [GTK] WebKitPage map handler is redundant.
2038
2039         * Api/webkitgtkpage.cpp:
2040         The map handler for WebKitPage is redundant, GtkContainer does
2041         the same (and more correctly).
2042
2043 2007-11-08  Alp Toker  <alp@atoker.com>
2044
2045         Reviewed by Mark Rowe.
2046
2047         http://bugs.webkit.org/show_bug.cgi?id=15653
2048         [GTK] Text editor does not handle common keystrokes
2049
2050         Handle more keystrokes in EditorClientGtk. Note that this is a
2051         temporary measure pending a proper solution using GtkBindingSet (see
2052         http://bugs.webkit.org/show_bug.cgi?id=15911).
2053
2054         * WebCoreSupport/EditorClientGtk.cpp:
2055         (WebKit::EditorClient::handleKeypress):
2056
2057 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
2058
2059         Reviewed by Sam.
2060
2061         - windowObjectCleared() is no longer const.  It needs to setup the
2062         script debugger and cannot be const to do so.
2063
2064         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2065         (WebKit::FrameLoaderClient::windowObjectCleared):
2066         * WebCoreSupport/FrameLoaderClientGtk.h:
2067
2068 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
2069
2070         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
2071         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
2072
2073         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
2074         to determine whether the given MIME type is displayable as an image or non-image.
2075
2076         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2077         (FrameLoaderClient::objectContentType): Change logic to match that in
2078         the Windows and Mac ports.
2079
2080 2007-11-05  Christian Dywan  <christian@twotoasts.de>
2081
2082         Reviewed by Maciej.
2083
2084         http://bugs.webkit.org/show_bug.cgi?id=15409
2085         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
2086
2087         Compute a proper user agent string.
2088
2089         Patch includes fixes by Alp.
2090
2091         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2092         (WebKit::agentPlatform):
2093         (WebKit::agentOS):
2094         (WebKit::composeUserAgent):
2095         (WebKit::FrameLoaderClient::userAgent):
2096         * WebCoreSupport/FrameLoaderClientGtk.h:
2097
2098 2007-11-05  Mark Rowe  <mrowe@apple.com>
2099
2100         Rubber-stamped by Alp Toker.
2101
2102         Remove unused m_firstData member from FrameLoaderClientGtk.
2103
2104         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2105         * WebCoreSupport/FrameLoaderClientGtk.h:
2106
2107 2007-11-05  Mark Rowe  <mrowe@apple.com>
2108
2109         Reviewed by Alp Toker.
2110
2111         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
2112         Bug 15842: [Gtk] about:blank doesn't work
2113
2114         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2115         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
2116         get work done that is normally done when the first bit of data is received, even in the
2117         case of a document with no data (like about:blank).
2118
2119 2007-11-03  Alp Toker  <alp@atoker.com>
2120
2121         Reviewed by Mark Rowe.
2122
2123         Restore correct double and triple click behaviour
2124
2125         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
2126         recent refactoring.
2127
2128         * Api/webkitgtkpage.cpp:
2129
2130 2007-11-03  Alp Toker  <alp@atoker.com>
2131
2132         Reviewed by Mark Rowe.
2133
2134         Frame scrolling and invalidation fixes
2135
2136         Make upward scroll events have a positive delta to match other ports.
2137
2138         Fix the invalidation rect offset for frames so that scrolling works properly.
2139
2140         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
2141
2142         Allow tabbing to all widgets and links.
2143
2144         Fix event returns, improving the focus situation and correcting scroll wheel
2145         behavior.
2146
2147         * Api/webkitgtkpage.cpp:
2148         * WebCoreSupport/ChromeClientGtk.cpp:
2149
2150 2007-10-29  Alp Toker  <alp@atoker.com>
2151
2152         Reviewed by Maciej.
2153
2154         Do not allow control to reach end of non-void functions
2155
2156         * Api/webkitgtksettings.cpp:
2157
2158 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
2159
2160         Reviewed by Alp.
2161
2162         http://bugs.webkit.org/show_bug.cgi?id=15466
2163         [gtk] widget does not take focus on mouse click
2164
2165         Grab widget focus in mouse press callback.
2166
2167         * Api/webkitgtkpage.cpp:
2168
2169 2007-10-25  Alp Toker  <alp@atoker.com>
2170
2171         Reviewed by Brady.
2172
2173         http://bugs.webkit.org/show_bug.cgi?id=15686
2174         GtkLauncher aborts on launch due to uninitialized threading subsystem
2175
2176         Re-enable database support in the GTK+ port, with a fix.
2177
2178         Initialize GLib threading as early as possible.
2179
2180         * Api/webkitgtkglobal.cpp:
2181
2182 2007-10-25  Alp Toker  <alp@atoker.com>
2183
2184         Unreviewed fix to make the GTK+ port run.
2185
2186         http://bugs.webkit.org/show_bug.cgi?id=15686
2187         GtkLauncher aborts on launch due to uninitialized threading subsystem
2188
2189         http://bugs.webkit.org/show_bug.cgi?id=15688
2190         [GTK] Make it possible to disable database support
2191
2192         Make database path initialization conditional on database support
2193         being enabled.
2194
2195         * Api/webkitgtkglobal.cpp:
2196
2197 2007-10-24  Mark Rowe  <mrowe@apple.com>
2198
2199         Gtk build fix.  Track WebCore changes in r27004.
2200
2201         * Api/webkitgtkglobal.cpp:
2202
2203 2007-10-22  Alp Toker  <alp@atoker.com>
2204
2205         Reviewed by Mark Rowe.
2206
2207         http://bugs.webkit.org/show_bug.cgi?id=15611
2208         [GTK] Text selection behaviour different in Debug and Release builds
2209
2210         http://bugs.webkit.org/show_bug.cgi?id=15578
2211         [GTK] Text editor caret does not blink
2212
2213         Never allow control to reach the end of non-void functions.
2214
2215         Return more sensible values, or in some cases, nulls.
2216
2217         * Api/webkitgtksettings.cpp:
2218         * Api/webkitgtksettings.h:
2219         * WebCoreSupport/DragClientGtk.cpp:
2220         (WebKit::DragClient::actionMaskForDrag):
2221         (WebKit::DragClient::dragSourceActionMaskForPoint):
2222         (WebKit::DragClient::createDragImageForLink):
2223
2224 2007-10-20  Mark Rowe  <mrowe@apple.com>
2225
2226         Reviewed by Alp.
2227
2228         Gtk changes needed to enable HTML 5 client-side database storage.
2229
2230         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
2231         This should become configurable by client applications in the future.
2232
2233 2007-10-20  Mark Rowe  <mrowe@apple.com>
2234
2235         Reviewed by Eric.
2236
2237         Don't allow control characters to be inserted into editable regions.
2238
2239         * WebCoreSupport/EditorClientGtk.cpp:
2240         (WebKit::EditorClient::handleKeypress):
2241
2242 2007-10-19  Alp Toker  <alp@atoker.com>
2243
2244         Reviewed by Oliver.
2245
2246         GTK+ build fix enabling the new local database storage feature.
2247         There is also a prospective Qt build fix.
2248
2249         * WebCoreSupport/ChromeClientGtk.cpp:
2250         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
2251         * WebCoreSupport/ChromeClientGtk.h:
2252
2253 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2254
2255         Reviewed by Adam.
2256
2257         http://bugs.webkit.org/show_bug.cgi?id=15299
2258         Fix "hovering_over_link" signal not emitted when consecutive links
2259         are hovered.
2260
2261         * WebCoreSupport/ChromeClientGtk.cpp:
2262         (WebKit::ChromeClient::mouseDidMoveOverElement):
2263         * WebCoreSupport/ChromeClientGtk.h:
2264         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
2265
2266 2007-10-10  Alice Liu  <alice.liu@apple.com>
2267
2268         Reviewed by Geoff Garen.
2269
2270         changes to keep the build from breaking
2271
2272         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2273         (WebKit::FrameLoaderClient::createFrame):
2274         * WebCoreSupport/FrameLoaderClientGtk.h:
2275
2276 2007-10-03  Alp Toker  <alp@atoker.com>
2277
2278         Reviewed by Adam.
2279
2280         http://bugs.webkit.org/show_bug.cgi?id=14726
2281         [gtk] API design. Mapping the WebView delegates to signals.
2282
2283         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2284
2285         * Api/webkitgtkdefines.h:
2286         * Api/webkitgtkframe.cpp:
2287         * Api/webkitgtkframe.h:
2288         * Api/webkitgtkglobal.cpp:
2289         * Api/webkitgtkglobal.h:
2290         * Api/webkitgtknetworkrequest.h:
2291         * Api/webkitgtkpage.cpp:
2292         * Api/webkitgtkpage.h:
2293         * Api/webkitgtkprivate.cpp:
2294         (WebKit::apply):
2295         (WebKit::create):
2296         (WebKit::getFrameFromPage):
2297         (WebKit::getPageFromFrame):
2298         (WebKit::core):
2299         (WebKit::kit):
2300         * Api/webkitgtkprivate.h:
2301         * Api/webkitgtksettings.cpp:
2302         * Api/webkitgtksettings.h:
2303         * WebCoreSupport/ChromeClientGtk.cpp:
2304         (WebKit::ChromeClient::ChromeClient):
2305         (WebKit::ChromeClient::createWindow):
2306         (WebKit::ChromeClient::addMessageToConsole):
2307         (WebKit::ChromeClient::runJavaScriptAlert):
2308         (WebKit::ChromeClient::runJavaScriptConfirm):
2309         (WebKit::ChromeClient::runJavaScriptPrompt):
2310         * WebCoreSupport/ChromeClientGtk.h:
2311         (WebKit::ChromeClient::webPage):
2312         * WebCoreSupport/EditorClientGtk.cpp:
2313         (WebKit::EditorClient::EditorClient):
2314         * WebCoreSupport/EditorClientGtk.h:
2315         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2316         (WebKit::FrameLoaderClient::FrameLoaderClient):
2317         (WebKit::FrameLoaderClient::postProgressStartedNotification):
2318         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2319         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2320         (WebKit::FrameLoaderClient::createFrame):
2321         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2322         (WebKit::FrameLoaderClient::setTitle):
2323         * WebCoreSupport/FrameLoaderClientGtk.h:
2324         (WebKit::FrameLoaderClient::webFrame):
2325
2326 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
2327
2328         Reviewed by Mark.
2329
2330         http://bugs.webkit.org/show_bug.cgi?id=15299
2331         Fix "hovering_over_link" signal being fired every time mouse moves.
2332
2333         * WebCoreSupport/ChromeClientGtk.cpp:
2334         (WebKit::ChromeClient::ChromeClient):
2335         (WebKit::ChromeClient::mouseDidMoveOverElement):
2336         * WebCoreSupport/ChromeClientGtk.h:
2337
2338 2007-09-21  Sean Egan  <seanegan@gmail.com>
2339
2340         Reviewed by Alp.
2341
2342         Add an "execute_script" method to programmatically call Javascript
2343         http://bugs.webkit.org/show_bug.cgi?id=15255
2344
2345         * Api/webkitgtkpage.cpp:
2346         * Api/webkitgtkpage.h:
2347
2348 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
2349
2350         Reviewed by Adam.
2351
2352         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
2353         http://bugs.webkit.org/show_bug.cgi?id=15299
2354
2355         Implementing "hovering_over_link" signal.
2356
2357         * WebCoreSupport/ChromeClientGtk.cpp:
2358         (WebKit::ChromeClient::mouseDidMoveOverElement):
2359
2360 2007-09-26  Mark Rowe  <mrowe@apple.com>
2361
2362         Gtk build fix.
2363
2364         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
2365
2366 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
2367
2368         Reviewed by Adam.
2369
2370         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
2371         allow client code to include both headers the typedef's for
2372         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
2373         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
2374         webkitgtkframe.h
2375
2376         * Api/webkitgtkdefines.h:
2377         * Api/webkitgtkframe.h:
2378         * Api/webkitgtkpage.h:
2379
2380 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
2381
2382         Reviewed by Mark, some Coding Style changes by Holger.
2383
2384         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
2385
2386         Add title and location to WebKitGtkFramePrivate, add
2387         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
2388         as a title_changed callback, implement
2389         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
2390
2391         Initial patch by Diego Escalante Urrelo.
2392
2393         * Api/webkitgtkframe.cpp:
2394         * Api/webkitgtkframe.h:
2395         * Api/webkitgtkprivate.h:
2396
2397 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
2398
2399         Reviewed by Mark.
2400
2401         Use the new WebCore::String::fromUTF8 function to convert
2402         from the Gtk+ representation of a string to WebCore::String.
2403
2404         * WebCoreSupport/ChromeClientGtk.cpp:
2405         (WebKit::ChromeClient::runJavaScriptPrompt):
2406
2407 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
2408
2409         Reviewed by Mark Rowe.
2410
2411         Fix a typo where webkit_gtk_page_can_copy was declared twice,
2412         rather than webkit_gtk_page_can_paste.
2413
2414         * Api/webkitgtkpage.h:
2415
2416 2007-09-08  Brady Eidson  <beidson@apple.com>
2417
2418         Better build fix
2419
2420         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2421         (WebKit::FrameLoaderClient::registerForIconNotification):
2422         * WebCoreSupport/FrameLoaderClientGtk.h:
2423
2424 2007-09-08  Brady Eidson  <beidson@apple.com>
2425
2426         Build fix
2427
2428         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2429         (WebKit::FrameLoaderClient::registerForIconNotification):
2430         * WebCoreSupport/FrameLoaderClientGtk.h:
2431
2432 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
2433
2434         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2435         
2436         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
2437         memory cache, or a very tiny one
2438         
2439         Keep the GTK build working with an empty stub.
2440         
2441         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2442         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
2443         * WebCoreSupport/FrameLoaderClientGtk.h:
2444
2445 2007-09-01  Oliver Hunt  <oliver@apple.com>
2446
2447         Reviewed by Sam.
2448
2449         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2450  
2451         EditorClient::setInputMethodState stub
2452
2453         * WebCoreSupport/EditorClientGtk.cpp:
2454         (WebKit::EditorClient::setInputMethodState):
2455         * WebCoreSupport/EditorClientGtk.h:
2456
2457 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2458
2459         Build fix. Add const to the first parameter of createPlugin
2460
2461         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2462
2463 2007-08-17  Anders Carlsson  <andersca@apple.com>
2464
2465         Build fix.
2466         
2467         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2468         (WebKit::FrameLoaderClient::createPlugin):
2469         * WebCoreSupport/FrameLoaderClientGtk.h:
2470
2471 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
2472
2473         Reviewed by Adam.
2474
2475         To not hit the needsLayout() assert of Frame::paint for subframes we need to
2476         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
2477         method to do this.
2478
2479         * Api/webkitgtkpage.cpp:
2480
2481 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
2482
2483         Reviewed by Adam.
2484
2485         Fix text selection by setting a DragClient when creating the Page. Now
2486         that we have a DragClient we can free the Page when WebKitGtkPage gets
2487         destructed.
2488
2489         * Api/webkitgtkpage.cpp:
2490         * WebCoreSupport/DragClientGtk.cpp: Added.
2491         (WebKit::DragClient::willPerformDragDestinationAction):
2492         (WebKit::DragClient::willPerformDragSourceAction):
2493         (WebKit::DragClient::actionMaskForDrag):
2494         (WebKit::DragClient::dragSourceActionMaskForPoint):
2495         (WebKit::DragClient::startDrag):
2496         (WebKit::DragClient::createDragImageForLink):
2497         * WebCoreSupport/DragClientGtk.h: Added.
2498
2499 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2500
2501         Reviewed by Anders.
2502
2503         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
2504         race of GtkScrollBar and GtkLayout.
2505
2506         * Api/webkitgtk-marshal.list:
2507         * Api/webkitgtkframe.cpp:
2508         * Api/webkitgtkpage.cpp:
2509         * Api/webkitgtkpage.h:
2510         * Api/webkitgtkprivate.h:
2511
2512 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2513
2514         Reviewed by Niko.
2515
2516         Minor changes to the WebKit::EditorClient to allow removing
2517         of text from TextFields. Remove the selectWordBeforeMenuEvent method
2518         which is not used and not within WebCore::EditorClient. 
2519
2520         * WebCoreSupport/EditorClientGtk.cpp:
2521         (WebKit::EditorClient::shouldDeleteRange):
2522         (WebKit::EditorClient::shouldBeginEditing):
2523         (WebKit::EditorClient::shouldEndEditing):
2524         (WebKit::EditorClient::shouldApplyStyle):
2525         (WebKit::EditorClient::shouldInsertNode):
2526         * WebCoreSupport/EditorClientGtk.h:
2527
2528 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2529
2530         Reviewed by Mark.
2531
2532         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
2533         classes into the WebKit namespace. Change the class names to not contain Gtk.
2534         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
2535         bridge/EditorClient.h).
2536         
2537
2538         * Api/webkitgtkframe.cpp:
2539         * Api/webkitgtkpage.cpp:
2540         * Api/webkitgtkprivate.cpp:
2541         * Api/webkitgtkprivate.h:
2542         * ChangeLog:
2543         * WebCoreSupport/ChromeClientGtk.cpp:
2544         (WebKit::ChromeClient::ChromeClient):
2545         (WebKit::ChromeClient::chromeDestroyed):
2546         (WebKit::ChromeClient::windowRect):
2547         (WebKit::ChromeClient::setWindowRect):
2548         (WebKit::ChromeClient::pageRect):
2549         (WebKit::ChromeClient::scaleFactor):
2550         (WebKit::ChromeClient::focus):
2551         (WebKit::ChromeClient::unfocus):
2552         (WebKit::ChromeClient::createWindow):
2553         (WebKit::ChromeClient::createModalDialog):
2554         (WebKit::ChromeClient::show):
2555         (WebKit::ChromeClient::canRunModal):
2556         (WebKit::ChromeClient::runModal):
2557         (WebKit::ChromeClient::setToolbarsVisible):
2558         (WebKit::ChromeClient::toolbarsVisible):
2559         (WebKit::ChromeClient::setStatusbarVisible):
2560         (WebKit::ChromeClient::statusbarVisible):
2561         (WebKit::ChromeClient::setScrollbarsVisible):
2562         (WebKit::ChromeClient::scrollbarsVisible):
2563         (WebKit::ChromeClient::setMenubarVisible):
2564         (WebKit::ChromeClient::menubarVisible):
2565         (WebKit::ChromeClient::setResizable):
2566         (WebKit::ChromeClient::closeWindowSoon):
2567         (WebKit::ChromeClient::canTakeFocus):
2568         (WebKit::ChromeClient::takeFocus):
2569         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
2570         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
2571         (WebKit::ChromeClient::runJavaScriptAlert):
2572         (WebKit::ChromeClient::runJavaScriptConfirm):
2573         (WebKit::ChromeClient::setStatusbarText):
2574         (WebKit::ChromeClient::shouldInterruptJavaScript):
2575         (WebKit::ChromeClient::tabsToLinks):
2576         (WebKit::ChromeClient::windowResizerRect):
2577         (WebKit::ChromeClient::addToDirtyRegion):
2578         (WebKit::ChromeClient::scrollBackingStore):
2579         (WebKit::ChromeClient::updateBackingStore):
2580         (WebKit::ChromeClient::mouseDidMoveOverElement):
2581         (WebKit::ChromeClient::setToolTip):
2582         * WebCoreSupport/ChromeClientGtk.h:
2583         * WebCoreSupport/ContextMenuClientGtk.cpp:
2584         (WebKit::ContextMenuClient::contextMenuDestroyed):
2585         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
2586         (WebKit::ContextMenuClient::contextMenuItemSelected):
2587         (WebKit::ContextMenuClient::downloadURL):
2588         (WebKit::ContextMenuClient::copyImageToClipboard):
2589         (WebKit::ContextMenuClient::searchWithGoogle):
2590         (WebKit::ContextMenuClient::lookUpInDictionary):
2591         (WebKit::ContextMenuClient::speak):
2592         * WebCoreSupport/ContextMenuClientGtk.h:
2593         * WebCoreSupport/EditorClientGtk.cpp:
2594         (WebKit::EditorClient::shouldDeleteRange):
2595         (WebKit::EditorClient::shouldShowDeleteInterface):
2596         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
2597         (WebKit::EditorClient::isGrammarCheckingEnabled):
2598         (WebKit::EditorClient::spellCheckerDocumentTag):
2599         (WebKit::EditorClient::shouldBeginEditing):
2600         (WebKit::EditorClient::shouldEndEditing):
2601         (WebKit::EditorClient::shouldInsertText):
2602         (WebKit::EditorClient::shouldChangeSelectedRange):
2603         (WebKit::EditorClient::shouldApplyStyle):
2604         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
2605         (WebKit::EditorClient::didBeginEditing):
2606         (WebKit::EditorClient::respondToChangedContents):
2607         (WebKit::EditorClient::respondToChangedSelection):
2608         (WebKit::EditorClient::didEndEditing):
2609         (WebKit::EditorClient::didWriteSelectionToPasteboard):
2610         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
2611         (WebKit::EditorClient::selectWordBeforeMenuEvent):
2612         (WebKit::EditorClient::isEditable):
2613         (WebKit::EditorClient::registerCommandForUndo):
2614         (WebKit::EditorClient::registerCommandForRedo):
2615         (WebKit::EditorClient::clearUndoRedoOperations):
2616         (WebKit::EditorClient::canUndo):
2617         (WebKit::EditorClient::canRedo):
2618         (WebKit::EditorClient::undo):
2619         (WebKit::EditorClient::redo):
2620         (WebKit::EditorClient::shouldInsertNode):
2621         (WebKit::EditorClient::pageDestroyed):
2622         (WebKit::EditorClient::smartInsertDeleteEnabled):
2623         (WebKit::EditorClient::toggleContinuousSpellChecking):
2624         (WebKit::EditorClient::toggleGrammarChecking):
2625         (WebKit::EditorClient::handleInputMethodKeypress):
2626         (WebKit::EditorClient::EditorClient):
2627         (WebKit::EditorClient::textFieldDidBeginEditing):
2628         (WebKit::EditorClient::textFieldDidEndEditing):
2629         (WebKit::EditorClient::textDidChangeInTextField):
2630         (WebKit::EditorClient::doTextFieldCommandFromEvent):
2631         (WebKit::EditorClient::textWillBeDeletedInTextField):
2632         (WebKit::EditorClient::textDidChangeInTextArea):
2633         (WebKit::EditorClient::ignoreWordInSpellDocument):
2634         (WebKit::EditorClient::learnWord):
2635         (WebKit::EditorClient::checkSpellingOfString):
2636         (WebKit::EditorClient::checkGrammarOfString):
2637         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
2638         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
2639         (WebKit::EditorClient::showSpellingUI):
2640         (WebKit::EditorClient::spellingUIIsShowing):
2641         * WebCoreSupport/EditorClientGtk.h:
2642         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2643         (WebKit::FrameLoaderClient::FrameLoaderClient):
2644         (WebKit::FrameLoaderClient::userAgent):
2645         (WebKit::FrameLoaderClient::createDocumentLoader):
2646         (WebKit::FrameLoaderClient::committedLoad):
2647         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
2648         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
2649         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
2650         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
2651         (WebKit::FrameLoaderClient::postProgressStartedNotification):
2652         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2653         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
2654         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
2655         (WebKit::FrameLoaderClient::createPlugin):
2656         (WebKit::FrameLoaderClient::redirectDataToPlugin):
2657         (WebKit::FrameLoaderClient::createJavaAppletWidget):
2658         (WebKit::FrameLoaderClient::overrideMediaType):
2659         (WebKit::FrameLoaderClient::windowObjectCleared):
2660         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
2661         (WebKit::FrameLoaderClient::hasWebView):
2662         (WebKit::FrameLoaderClient::hasFrameView):
2663         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2664         (WebKit::FrameLoaderClient::frameLoadCompleted):
2665         (WebKit::FrameLoaderClient::saveViewStateToItem):
2666         (WebKit::FrameLoaderClient::restoreViewState):
2667         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
2668         (WebKit::FrameLoaderClient::makeDocumentView):
2669         (WebKit::FrameLoaderClient::makeRepresentation):
2670         (WebKit::FrameLoaderClient::forceLayout):
2671         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
2672         (WebKit::FrameLoaderClient::setCopiesOnScroll):
2673         (WebKit::FrameLoaderClient::detachedFromParent1):
2674         (WebKit::FrameLoaderClient::detachedFromParent2):
2675         (WebKit::FrameLoaderClient::detachedFromParent3):
2676         (WebKit::FrameLoaderClient::detachedFromParent4):
2677         (WebKit::FrameLoaderClient::loadedFromCachedPage):
2678         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
2679         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
2680         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
2681         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
2682         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
2683         (WebKit::FrameLoaderClient::dispatchWillClose):
2684         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2685         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
2686         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
2687         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
2688         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
2689         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
2690         (WebKit::FrameLoaderClient::dispatchShow):
2691         (WebKit::FrameLoaderClient::cancelPolicyCheck):
2692         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
2693         (WebKit::FrameLoaderClient::revertToProvisionalState):
2694         (WebKit::FrameLoaderClient::clearUnarchivingState):
2695         (WebKit::FrameLoaderClient::willChangeTitle):
2696         (WebKit::FrameLoaderClient::didChangeTitle):
2697         (WebKit::FrameLoaderClient::finishedLoading):
2698         (WebKit::FrameLoaderClient::finalSetupForReplace):
2699         (WebKit::FrameLoaderClient::setDefersLoading):
2700         (WebKit::FrameLoaderClient::isArchiveLoadPending):
2701         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
2702         (WebKit::FrameLoaderClient::clearArchivedResources):
2703         (WebKit::FrameLoaderClient::canHandleRequest):
2704         (WebKit::FrameLoaderClient::canShowMIMEType):
2705         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
2706         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
2707         (WebKit::FrameLoaderClient::provisionalLoadStarted):
2708         (WebKit::FrameLoaderClient::didFinishLoad):
2709         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
2710         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
2711         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
2712         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
2713         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
2714         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
2715         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
2716         (WebKit::FrameLoaderClient::download):
2717         (WebKit::FrameLoaderClient::cancelledError):
2718         (WebKit::FrameLoaderClient::blockedError):
2719         (WebKit::FrameLoaderClient::cannotShowURLError):
2720         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
2721         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
2722         (WebKit::FrameLoaderClient::fileDoesNotExistError):
2723         (WebKit::FrameLoaderClient::shouldFallBack):
2724         (WebKit::FrameLoaderClient::willUseArchive):
2725         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
2726         (WebKit::FrameLoaderClient::canCachePage):
2727         (WebKit::FrameLoaderClient::dispatchCreatePage):
2728         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
2729         * WebCoreSupport/FrameLoaderClientGtk.h:
2730         * WebCoreSupport/InspectorClientGtk.cpp:
2731         (WebKit::InspectorClient::inspectorDestroyed):
2732         (WebKit::InspectorClient::createPage):
2733         (WebKit::InspectorClient::showWindow):
2734         (WebKit::InspectorClient::closeWindow):
2735         (WebKit::InspectorClient::attachWindow):
2736         (WebKit::InspectorClient::detachWindow):
2737         (WebKit::InspectorClient::highlight):
2738         (WebKit::InspectorClient::hideHighlight):
2739         * WebCoreSupport/InspectorClientGtk.h:
2740
2741 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2742
2743         Reviewed by Adam.
2744
2745         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
2746         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
2747         rename it from Gdk to Gtk.
2748
2749         * Api/webkitgtkdefines.h:
2750         * Api/webkitgtkframe.cpp:
2751         * Api/webkitgtkframe.h:
2752         * Api/webkitgtkglobal.cpp:
2753         * Api/webkitgtkglobal.h:
2754         * Api/webkitgtknetworkrequest.cpp:
2755         * Api/webkitgtknetworkrequest.h:
2756         * Api/webkitgtkpage.cpp:
2757         * Api/webkitgtkpage.h:
2758         * Api/webkitgtkprivate.cpp:
2759         * Api/webkitgtkprivate.h:
2760         * Api/webkitgtksettings.cpp:
2761         * Api/webkitgtksettings.h:
2762         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
2763         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
2764         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
2765         (WebKitGtk::ChromeClientGtk::windowRect):
2766         (WebKitGtk::ChromeClientGtk::setWindowRect):
2767         (WebKitGtk::ChromeClientGtk::pageRect):
2768         (WebKitGtk::ChromeClientGtk::scaleFactor):
2769         (WebKitGtk::ChromeClientGtk::focus):
2770         (WebKitGtk::ChromeClientGtk::unfocus):
2771         (WebKitGtk::ChromeClientGtk::createWindow):
2772         (WebKitGtk::ChromeClientGtk::createModalDialog):
2773         (WebKitGtk::ChromeClientGtk::show):
2774         (WebKitGtk::ChromeClientGtk::canRunModal):
2775         (WebKitGtk::ChromeClientGtk::runModal):
2776         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
2777         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
2778         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
2779         (WebKitGtk::ChromeClientGtk::statusbarVisible):
2780         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
2781         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
2782         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
2783         (WebKitGtk::ChromeClientGtk::menubarVisible):
2784         (WebKitGtk::ChromeClientGtk::setResizable):
2785         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
2786         (WebKitGtk::ChromeClientGtk::canTakeFocus):
2787         (WebKitGtk::ChromeClientGtk::takeFocus):
2788         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
2789         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
2790         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
2791         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
2792         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
2793         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
2794         (WebKitGtk::ChromeClientGtk::setStatusbarText):
2795         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
2796         (WebKitGtk::ChromeClientGtk::tabsToLinks):
2797         (WebKitGtk::ChromeClientGtk::windowResizerRect):
2798         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
2799         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
2800         (WebKitGtk::ChromeClientGtk::updateBackingStore):
2801         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
2802         (WebKitGtk::ChromeClientGtk::setToolTip):
2803         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
2804         (WebKitGtk::ChromeClientGtk::webPage):
2805         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
2806         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
2807         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
2808         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
2809         (WebCore::ContextMenuClientGtk::downloadURL):
2810         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
2811         (WebCore::ContextMenuClientGtk::searchWithGoogle):
2812         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
2813         (WebCore::ContextMenuClientGtk::speak):
2814         (WebCore::ContextMenuClientGtk::stopSpeaking):
2815         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
2816         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
2817         (WebCore::EditorClientGtk::shouldDeleteRange):
2818         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
2819         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
2820         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
2821         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
2822         (WebCore::EditorClientGtk::shouldBeginEditing):
2823         (WebCore::EditorClientGtk::shouldEndEditing):
2824         (WebCore::EditorClientGtk::shouldInsertText):
2825         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
2826         (WebCore::EditorClientGtk::shouldApplyStyle):
2827         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
2828         (WebCore::EditorClientGtk::didBeginEditing):
2829         (WebCore::EditorClientGtk::respondToChangedContents):
2830         (WebCore::EditorClientGtk::respondToChangedSelection):
2831         (WebCore::EditorClientGtk::didEndEditing):
2832         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
2833         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
2834         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
2835         (WebCore::EditorClientGtk::isEditable):
2836         (WebCore::EditorClientGtk::registerCommandForUndo):
2837         (WebCore::EditorClientGtk::registerCommandForRedo):
2838         (WebCore::EditorClientGtk::clearUndoRedoOperations):
2839         (WebCore::EditorClientGtk::canUndo):
2840         (WebCore::EditorClientGtk::canRedo):
2841         (WebCore::EditorClientGtk::undo):
2842         (WebCore::EditorClientGtk::redo):
2843         (WebCore::EditorClientGtk::shouldInsertNode):
2844         (WebCore::EditorClientGtk::pageDestroyed):
2845         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
2846         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
2847         (WebCore::EditorClientGtk::toggleGrammarChecking):
2848         (WebCore::EditorClientGtk::handleKeypress):
2849         (WebCore::EditorClientGtk::handleInputMethodKeypress):
2850         (WebCore::EditorClientGtk::EditorClientGtk):
2851         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
2852         (WebCore::EditorClientGtk::textFieldDidEndEditing):
2853         (WebCore::EditorClientGtk::textDidChangeInTextField):
2854         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
2855         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
2856         (WebCore::EditorClientGtk::textDidChangeInTextArea):
2857         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
2858         (WebCore::EditorClientGtk::learnWord):
2859         (WebCore::EditorClientGtk::checkSpellingOfString):
2860         (WebCore::EditorClientGtk::checkGrammarOfString):
2861         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
2862         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
2863         (WebCore::EditorClientGtk::showSpellingUI):
2864         (WebCore::EditorClientGtk::spellingUIIsShowing):
2865         (WebCore::EditorClientGtk::getGuessesForWord):
2866         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
2867         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
2868         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
2869         (WebCore::FrameLoaderClientGtk::userAgent):
2870         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
2871         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
2872         (WebCore::FrameLoaderClientGtk::committedLoad):
2873         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
2874         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
2875         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
2876         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
2877         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
2878         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
2879         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
2880         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
2881         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
2882         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
2883         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
2884         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
2885         (WebCore::FrameLoaderClientGtk::createPlugin):
2886         (WebCore::FrameLoaderClientGtk::createFrame):
2887         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
2888         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
2889         (WebCore::FrameLoaderClientGtk::objectContentType):
2890         (WebCore::FrameLoaderClientGtk::overrideMediaType):
2891         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
2892         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
2893         (WebCore::FrameLoaderClientGtk::hasWebView):
2894         (WebCore::FrameLoaderClientGtk::hasFrameView):
2895         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
2896         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
2897         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
2898         (WebCore::FrameLoaderClientGtk::restoreViewState):
2899         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
2900         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
2901         (WebCore::FrameLoaderClientGtk::makeDocumentView):
2902         (WebCore::FrameLoaderClientGtk::makeRepresentation):
2903         (WebCore::FrameLoaderClientGtk::forceLayout):
2904         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
2905         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
2906         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
2907         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
2908         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
2909         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
2910         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
2911         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
2912         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
2913         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
2914         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
2915         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
2916         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
2917         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
2918         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
2919         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
2920         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
2921         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
2922         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
2923         (WebCore::FrameLoaderClientGtk::dispatchShow):
2924         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
2925         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
2926         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
2927         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
2928         (WebCore::FrameLoaderClientGtk::willChangeTitle):
2929         (WebCore::FrameLoaderClientGtk::didChangeTitle):
2930         (WebCore::FrameLoaderClientGtk::finishedLoading):
2931         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
2932         (WebCore::FrameLoaderClientGtk::setDefersLoading):
2933         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
2934         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
2935         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
2936         (WebCore::FrameLoaderClientGtk::canHandleRequest):
2937         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
2938         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
2939         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
2940         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
2941         (WebCore::FrameLoaderClientGtk::didFinishLoad):
2942         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
2943         (WebCore::FrameLoaderClientGtk::setTitle):
2944         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
2945         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
2946         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
2947         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
2948         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
2949         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
2950         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
2951         (WebCore::FrameLoaderClientGtk::download):
2952         (WebCore::FrameLoaderClientGtk::cancelledError):
2953         (WebCore::FrameLoaderClientGtk::blockedError):
2954         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
2955         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
2956         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
2957         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
2958         (WebCore::FrameLoaderClientGtk::shouldFallBack):
2959         (WebCore::FrameLoaderClientGtk::willUseArchive):
2960         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
2961         (WebCore::FrameLoaderClientGtk::canCachePage):
2962         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
2963         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
2964         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
2965         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
2966         (WebCore::FrameLoaderClientGtk::webFrame):
2967         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
2968         (WebCore::InspectorClientGtk::inspectorDestroyed):
2969         (WebCore::InspectorClientGtk::createPage):
2970         (WebCore::InspectorClientGtk::showWindow):
2971         (WebCore::InspectorClientGtk::closeWindow):
2972         (WebCore::InspectorClientGtk::attachWindow):
2973         (WebCore::InspectorClientGtk::detachWindow):
2974         (WebCore::InspectorClientGtk::highlight):
2975         (WebCore::InspectorClientGtk::hideHighlight):
2976         (WebCore::InspectorClientGtk::inspectedURLChanged):
2977         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
2978
2979 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2980
2981         Build fix.
2982
2983         * Api/webkitgtkframe.cpp:
2984
2985 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2986
2987         Reviewed by Adam.
2988
2989         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
2990         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
2991         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
2992         remove it.
2993         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
2994         is currently used by FrameLoaderClientGdk::createFrame.
2995
2996         * Api/webkitgtkframe.cpp:
2997         * Api/webkitgtkframedata.cpp: Removed.
2998         * Api/webkitgtkframedata.h: Removed.
2999         * Api/webkitgtkpage.cpp:
3000         * Api/webkitgtkpage.h:
3001         * Api/webkitgtkprivate.h:
3002
3003 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
3004
3005         Reviewed by Adam.
3006
3007         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
3008         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
3009         the GtkAdjustments to ScrollView.
3010         This makes having one GdkWindow for the complete FrameTree possible.
3011         
3012
3013         * gtk/Api/webkitgtkframe.cpp:
3014         * gtk/Api/webkitgtkpage.cpp:
3015
3016 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3017
3018         Reviewed by Niko.
3019
3020         We only need to set the Settings of the Page once so do it in
3021         WebKitGtkPage instead of WebKitGtkFrame.
3022
3023         * gtk/Api/webkitgtkframe.cpp:
3024         * gtk/Api/webkitgtkpage.cpp:
3025
3026 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3027
3028         Reviewed by Niko.
3029
3030         Instead of reimplementing the general event method, reimplement
3031         the specific mouse, expose, keyboard event methods.
3032
3033         Call the finalize implementation of the base class from WebKitGtkPage
3034         and WebKitGtkFrame.
3035
3036         * gtk/Api/webkitgtkframe.cpp:
3037         * gtk/Api/webkitgtkpage.cpp:
3038
3039 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3040
3041         Reviewed by Niko.
3042
3043         Remove the custom painting in favor of the Widget::paint
3044         implementation.
3045
3046         * gtk/Api/webkitgtkpage.cpp:
3047
3048 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3049
3050         Reviewed by Adam.
3051
3052         Moved code from class FrameGdk into WebKitGtkFrame. Update the
3053         webkitgrkprivate.h header file to not include FrameGdk.h.
3054
3055         * gtk/Api/webkitgtkframe.cpp:
3056         * gtk/Api/webkitgtkprivate.h:
3057
3058 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3059
3060         Reviewed by Adam.
3061
3062         Change variable names to follow the Coding-Style. Replace occurences
3063         of a_b with aB and place the '*' correctly.
3064
3065         * gtk/Api/webkitgtkframe.cpp:
3066         * gtk/Api/webkitgtkpage.cpp:
3067         * gtk/Api/webkitgtkprivate.h:
3068
3069 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3070
3071         Reviewed by Adam.
3072
3073         Reimplement GtkWidget::event and handle the keyboard and mouse
3074         events inside WebKitGtkPage.
3075
3076         * gtk/Api/webkitgtkpage.cpp:
3077         (FrameGdkExposeData::frame_gdk_expose_child):
3078         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
3079         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
3080         (FrameGdkExposeData::webkit_gtk_page_class_init):
3081
3082 2007-08-07  Xan Lopez  <xan@gnome.org>
3083
3084         Reviewed by Mark Rowe.
3085
3086         http://bugs.webkit.org/show_bug.cgi?id=14815
3087         [gtk] API implementation: reload
3088
3089         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
3090         function.
3091
3092 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
3093
3094         Reviewed by Adam.
3095
3096         http://bugs.webkit.org/show_bug.cgi?id=14806
3097         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
3098
3099         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
3100         webkit_gtk_page_can_go_forward() functions.
3101
3102 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
3103
3104         Reviewed by Alp Toker.
3105
3106         http://bugs.webkit.org/show_bug.cgi?id=14810
3107         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3108
3109         This is the proper fix for #14810.
3110
3111         * gtk/Api/webkitgtkframe.cpp:
3112         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
3113         correct the class_offset parameters.
3114
3115 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
3116
3117         Reviewed by Alp Toker.
3118
3119         http://bugs.webkit.org/show_bug.cgi?id=14810
3120         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3121
3122         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
3123         them in the "load_finished" signal.
3124
3125 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
3126
3127         Reviewed by Adam.
3128
3129         Add the first API and partial implementation of the WebKit/Gtk port as
3130         of http://bugs.webkit.org/show_bug.cgi?id=14678.
3131
3132         The delegates of WebView will be modeled as signals. Delegates like the
3133         WebPolicyDelegate will be implemented as signals with default handlers.
3134
3135         Start moving files to WebKit/gtk/WebCoreSupport.
3136
3137         * gtk: Added.
3138         * gtk/Api: Added.
3139         * gtk/Api/headers.pri: Added.
3140         * gtk/Api/webkitgtk-marshal.list: Added.
3141         * gtk/Api/webkitgtkdefines.h: Added.
3142         * gtk/Api/webkitgtkframe.cpp: Added.
3143         * gtk/Api/webkitgtkframe.h: Added.
3144         * gtk/Api/webkitgtkframedata.cpp: Added.
3145         * gtk/Api/webkitgtkframedata.h: Added.
3146         * gtk/Api/webkitgtkglobal.cpp: Added.
3147         * gtk/Api/webkitgtkglobal.h: Added.
3148         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
3149         * gtk/Api/webkitgtknetworkrequest.h: Added.
3150         * gtk/Api/webkitgtkpage.cpp: Added.
3151         * gtk/Api/webkitgtkpage.h: Added.
3152         * gtk/Api/webkitgtkprivate.cpp: Added.
3153         * gtk/Api/webkitgtkprivate.h: Added.
3154         * gtk/Api/webkitgtksettings.cpp: Added.
3155         * gtk/Api/webkitgtksettings.h: Added.
3156         * gtk/WebCoreSupport: Added.
3157         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
3158         (WebCore::ChromeClientGdk::ChromeClientGdk):
3159         (WebCore::ChromeClientGdk::chromeDestroyed):
3160         (WebCore::ChromeClientGdk::windowRect):
3161         (WebCore::ChromeClientGdk::setWindowRect):
3162         (WebCore::ChromeClientGdk::pageRect):
3163         (WebCore::ChromeClientGdk::scaleFactor):
3164         (WebCore::ChromeClientGdk::focus):
3165         (WebCore::ChromeClientGdk::unfocus):
3166         (WebCore::ChromeClientGdk::createWindow):
3167         (WebCore::ChromeClientGdk::createModalDialog):
3168         (WebCore::ChromeClientGdk::show):
3169         (WebCore::ChromeClientGdk::canRunModal):
3170         (WebCore::ChromeClientGdk::runModal):
3171         (WebCore::ChromeClientGdk::setToolbarsVisible):
3172         (WebCore::ChromeClientGdk::toolbarsVisible):
3173         (WebCore::ChromeClientGdk::setStatusbarVisible):
3174         (WebCore::ChromeClientGdk::statusbarVisible):
3175         (WebCore::ChromeClientGdk::setScrollbarsVisible):
3176         (WebCore::ChromeClientGdk::scrollbarsVisible):
3177         (WebCore::ChromeClientGdk::setMenubarVisible):
3178         (WebCore::ChromeClientGdk::menubarVisible):
3179         (WebCore::ChromeClientGdk::setResizable):
3180         (WebCore::ChromeClientGdk::closeWindowSoon):
3181         (WebCore::ChromeClientGdk::canTakeFocus):
3182         (WebCore::ChromeClientGdk::takeFocus):
3183         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
3184         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
3185         (WebCore::ChromeClientGdk::addMessageToConsole):
3186         (WebCore::ChromeClientGdk::runJavaScriptAlert):
3187         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
3188         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
3189         (WebCore::ChromeClientGdk::setStatusbarText):
3190         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
3191         (WebCore::ChromeClientGdk::tabsToLinks):
3192         (WebCore::ChromeClientGdk::windowResizerRect):
3193         (WebCore::ChromeClientGdk::addToDirtyRegion):
3194         (WebCore::ChromeClientGdk::scrollBackingStore):
3195         (WebCore::ChromeClientGdk::updateBackingStore):
3196         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
3197         (WebCore::ChromeClientGdk::setToolTip):
3198         (WebCore::ChromeClientGdk::print):
3199         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
3200