421133cfc61f12b8637cc62a3448451f975e8634
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
2
3         Reviewed by Alp Toker.
4
5         http://bugs.webkit.org/show_bug.cgi?id=16042
6         [GTK] Eliminate webkit_init()
7
8         Move webkit initialization to WebView class init.
9
10         * WebView/headers.pri:
11         * WebView/webkit.h:
12         * WebView/webkitglobal.cpp: Removed.
13         * WebView/webkitglobal.h: Removed.
14         * WebView/webkitprivate.cpp:
15         (WebKit::webkit_init):
16         * WebView/webkitprivate.h:
17         * WebView/webkitwebframe.cpp:
18         * WebView/webkitwebview.cpp:
19
20 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
21
22         Reviewed by Alp Toker.
23
24         http://bugs.webkit.org/show_bug.cgi?id=13542
25         gdklauncher doesnt change URL in adress GTKEntry.
26
27         Let DOMDocument observers do their work before emitting title-changed.
28         The load-committed signal has been added for both the view and the frame.
29
30         * WebCoreSupport/FrameLoaderClientGtk.cpp:
31         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
32         (WebKit::FrameLoaderClient::setTitle): set private title
33         (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
34         * WebView/webkit-marshal.list:
35         * WebView/webkitprivate.h:
36         (_WebKitWebFramePrivate): rename location to uri
37         * WebView/webkitwebframe.cpp:
38         (webkit_web_frame_get_location): renamed to *_get_uri
39         (webkit_web_frame_get_uri):
40         (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
41         (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
42         (webkit_web_frame_finalize):
43         * WebView/webkitwebframe.h:
44         (_WebKitWebFrameClass): removed title_changed
45         * WebView/webkitwebview.cpp:
46         (webkit_web_view_class_init): pass only the title in title-changed
47
48 2007-12-14  Alp Toker  <alp@atoker.com>
49
50         Fix inconsistent indentation in the license header. Maciej was right!
51
52         * WebCoreSupport/FrameLoaderClientGtk.cpp:
53
54 2007-12-14  Alp Toker  <alp@atoker.com>
55
56         Reviewed by Maciej.
57
58         http://bugs.webkit.org/show_bug.cgi?id=16432
59         [GTK] Update license headers
60
61         Consent has been given by the authors of these files to change license
62         to the LGPL as outlined in the bug report.
63
64         * WebCoreSupport/ChromeClientGtk.cpp:
65         * WebCoreSupport/ContextMenuClientGtk.cpp:
66         * WebCoreSupport/DragClientGtk.cpp:
67         * WebCoreSupport/EditorClientGtk.cpp:
68         * WebCoreSupport/FrameLoaderClientGtk.cpp:
69         (WebKit::FrameLoaderClient::makeRepresentation):
70         (WebKit::FrameLoaderClient::forceLayout):
71         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
72         (WebKit::FrameLoaderClient::setCopiesOnScroll):
73         (WebKit::FrameLoaderClient::detachedFromParent1):
74         (WebKit::FrameLoaderClient::detachedFromParent2):
75         (WebKit::FrameLoaderClient::detachedFromParent3):
76         (WebKit::FrameLoaderClient::detachedFromParent4):
77         (WebKit::FrameLoaderClient::loadedFromCachedPage):
78         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
79         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
80         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
81         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
82         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
83         (WebKit::FrameLoaderClient::dispatchWillClose):
84         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
85         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
86         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
87         (WebKit::FrameLoaderClient::dispatchShow):
88         (WebKit::FrameLoaderClient::cancelPolicyCheck):
89         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
90         (WebKit::FrameLoaderClient::revertToProvisionalState):
91         (WebKit::FrameLoaderClient::clearUnarchivingState):
92         (WebKit::FrameLoaderClient::willChangeTitle):
93         (WebKit::FrameLoaderClient::didChangeTitle):
94         (WebKit::FrameLoaderClient::finalSetupForReplace):
95         (WebKit::FrameLoaderClient::setDefersLoading):
96         (WebKit::FrameLoaderClient::isArchiveLoadPending):
97         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
98         (WebKit::FrameLoaderClient::clearArchivedResources):
99         (WebKit::FrameLoaderClient::canHandleRequest):
100         (WebKit::FrameLoaderClient::canShowMIMEType):
101         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
102         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
103         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
104         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
105         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
106         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
107         (WebKit::FrameLoaderClient::download):
108         (WebKit::FrameLoaderClient::cancelledError):
109         (WebKit::FrameLoaderClient::blockedError):
110         (WebKit::FrameLoaderClient::cannotShowURLError):
111         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
112         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
113         (WebKit::FrameLoaderClient::fileDoesNotExistError):
114         (WebKit::FrameLoaderClient::shouldFallBack):
115         (WebKit::FrameLoaderClient::willUseArchive):
116         (WebKit::FrameLoaderClient::canCachePage):
117         (WebKit::FrameLoaderClient::dispatchCreatePage):
118         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
119         (WebKit::FrameLoaderClient::setMainDocumentError):
120         (WebKit::FrameLoaderClient::startDownload):
121         (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
122         (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
123         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
124         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
125         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
126         * WebCoreSupport/InspectorClientGtk.cpp:
127         * WebView/webkitwebview.cpp:
128
129 2007-12-14  Darin Adler  <darin@apple.com>
130
131         Reviewed by Alexey.
132
133         * WebCoreSupport/EditorClientGtk.cpp:
134         (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
135         instead of Editor::execCommand.
136         * WebView/webkitwebview.cpp: Ditto.
137
138 2007-12-12  Brady Eidson  <beidson@apple.com>
139
140         Reviewed by Sam Weinig
141
142         As part of doing some CachedPage and client cleanup, keep GTK building
143
144         * WebCoreSupport/FrameLoaderClientGtk.cpp:
145         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
146         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
147         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
148         * WebCoreSupport/FrameLoaderClientGtk.h:
149
150 2007-12-12  Alp Toker  <alp@atoker.com>
151
152         Reviewed by Holger Freyther.
153
154         http://bugs.webkit.org/show_bug.cgi?id=15576
155         [GTK] Printing support
156
157         Add printing support.
158
159         The API will be kept internal for the time being, but printing can now
160         be triggered by Web pages or the JSC API using JavaScript.
161
162         The print spooler and pagination code is fairly abstract and could be
163         shared by other ports including Win and Qt once complete. It doesn't
164         have header/footer support yet.
165
166         * WebCoreSupport/ChromeClientGtk.cpp:
167         (WebKit::ChromeClient::print):
168         * WebView/webkitprivate.h:
169         * WebView/webkitwebframe.cpp:
170         (PrintContext::begin_print):
171         (PrintContext::draw_page):
172         (PrintContext::end_print):
173         (PrintContext::webkit_web_frame_print):
174
175 2007-12-12  Sam Weinig  <sam@webkit.org>
176
177         Build fix.
178
179         * WebCoreSupport/FrameLoaderClientGtk.cpp:
180         (WebKit::FrameLoaderClient::didChangeTitle):
181
182 2007-12-12  Sam Weinig  <sam@webkit.org>
183
184         Build fix.
185
186         * WebCoreSupport/FrameLoaderClientGtk.cpp:
187         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
188
189 2007-12-11  George Wright  <george.wright@collabora.co.uk>
190
191         Reviewed by Alp Toker.
192
193         http://bugs.webkit.org/show_bug.cgi?id=14120
194         [GDK] Support input methods
195
196         This patch adds infrastructure for input method support.
197
198         It also adds Hildon features for the Maemo mobile platform sufficient
199         to support the virtual keyboard.
200
201         * WebCoreSupport/EditorClientGtk.cpp:
202         (WebKit::imContextCommitted):
203         (WebKit::EditorClient::EditorClient):
204         (WebKit::EditorClient::~EditorClient):
205         (WebKit::EditorClient::textFieldDidBeginEditing):
206         (WebKit::EditorClient::textFieldDidEndEditing):
207         * WebCoreSupport/EditorClientGtk.h:
208         * WebView/webkitprivate.h:
209         * WebView/webkitwebview.cpp:
210
211 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
212
213         Reviewed by Darin.
214
215         <rdar://problem/5535636>
216         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
217
218         http://bugs.webkit.org/show_bug.cgi?id=13916
219         JavaScript detects Tab as a character input on a textfield validation
220
221         * WebCoreSupport/EditorClientGtk.cpp:
222         (WebKit::EditorClient::handleKeyboardEvent):
223         (WebKit::EditorClient::handleInputMethodKeydown):
224         * WebCoreSupport/EditorClientGtk.h:
225         Updated for cross-platform changes as much as it was possible without a gtk build environment.
226
227 2007-12-08  Luca Bruno  <lethalman88@gmail.com>
228
229         Reviewed by Alp Toker.
230
231         http://bugs.webkit.org/show_bug.cgi?id=16346
232         [GTK] Some webview parts must use the focused frame.
233
234         Also update some old code.
235
236         * WebView/webkitprivate.cpp:
237         (getFrameFromView): removed
238
239         * WebView/webkitprivate.h:
240         (getFrameFromView): removed
241         
242         * WebView/webkitwebview.cpp:
243         (webkit_web_view_expose_event):
244         (webkit_web_view_key_press_event): use focused frame
245         (webkit_web_view_key_release_event): use focused frame
246         (webkit_web_view_button_press_event):
247         (webkit_web_view_button_release_event):
248         (webkit_web_view_motion_event):
249         (webkit_web_view_scroll_event):
250         (webkit_web_view_size_allocate):
251         (webkit_web_view_set_scroll_adjustments):
252         (webkit_web_view_execute_script):
253         (webkit_web_view_stop_loading):
254         (webkit_web_view_load_string):
255         (webkit_web_view_reload):
256         (webkit_web_view_open):
257         (webkit_web_view_can_go_forward):
258         (webkit_web_view_can_go_backward):
259         (webkit_web_view_go_forward):
260         (webkit_web_view_go_backward):
261
262         * WebCoreSupport/EditorClientGtk.cpp:
263         (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
264
265 2007-12-07  Luca Bruno  <lethalman88@gmail.com>
266
267         Reviewed by Alp Toker.
268
269         http://bugs.webkit.org/show_bug.cgi?id=16333
270         [GTK] Key bindings must work with focused frames.
271
272         There are still more cases where getFrameFromView() is mis-used that
273         need to be fixed, but this is a good start.
274
275         * WebView/webkitwebview.cpp:
276         (webkit_web_view_real_select_all):
277         (webkit_web_view_real_cut_clipboard):
278         (webkit_web_view_real_copy_clipboard):
279         (webkit_web_view_real_paste_clipboard):
280
281 2007-12-06  Xan Lopez  <xan@gnome.org>
282
283         Reviewed by Alp Toker.
284
285         http://bugs.webkit.org/show_bug.cgi?id=16329
286         [GTK] Two small cleanups
287
288         * WebCoreSupport/ChromeClientGtk.cpp:
289         (WebKit::ChromeClient::createWindow):
290         (WebKit::ChromeClient::addMessageToConsole):
291         (WebKit::ChromeClient::runJavaScriptAlert):
292         (WebKit::ChromeClient::runJavaScriptConfirm):
293         (WebKit::ChromeClient::runJavaScriptPrompt):
294         (WebKit::ChromeClient::setStatusbarText):
295         (WebKit::ChromeClient::mouseDidMoveOverElement):
296         (WebKit::ChromeClient::setToolTip):
297         * WebCoreSupport/ChromeClientGtk.h:
298         * WebView/webkitprivate.cpp:
299         (WebKit::kit):
300         s/m_webPage/m_webView/
301         * WebView/webkitwebview.cpp:
302         Chain up to the parent class to activate bindings instead
303         of doing it explicitely.
304
305 2007-12-06  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
306
307         Reviewed by Alp Toker.
308
309         http://bugs.webkit.org/show_bug.cgi?id=16173
310         Licensing change
311
312         Change license from BSD to LGPL.
313
314         * WebCoreSupport/ChromeClientGtk.h:
315         * WebView/webkitdefines.h:
316         * WebView/webkitglobal.cpp:
317         * WebView/webkitglobal.h:
318         * WebView/webkitnetworkrequest.cpp:
319         * WebView/webkitnetworkrequest.h:
320         * WebView/webkitprivate.cpp:
321         * WebView/webkitprivate.h:
322         * WebView/webkitsettings.cpp:
323         * WebView/webkitsettings.h:
324         * WebView/webkitwebframe.cpp:
325         * WebView/webkitwebframe.h:
326         * WebView/webkitwebview.h:
327
328 2007-12-05  Michael Natterer  <mitch@imendio.com>
329
330         Reviewed by Alp Toker.
331
332         * WebView/webkitwebview.cpp: split key and button event handlers
333         into separate press and release functions.
334
335 2007-12-05  Luca Bruno  <lethalman88@gmail.com>
336
337         Reviewed by Alp Toker.
338
339         Handle events for Home and End keys.
340
341         * WebView/webkitwebview.cpp:
342         (webkit_web_view_key_event):
343         * WebCoreSupport/EditorClientGtk.cpp:
344         (EditorClient::handleKeypress):
345
346 2007-12-05  Michael Natterer  <mitch@imendio.com>
347
348         Reviewed by Alp Toker.
349
350         * WebView/webkitwebview.cpp
351         * WebCoreSupport/ChromeClientGtk.cpp
352         * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
353
354 2007-12-04  Darin Adler  <darin@apple.com>
355
356         Reviewed by Kevin Decker.
357
358         * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
359         * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
360
361 2007-12-04  Michael Natterer  <mitch@imendio.com>
362
363         Reviewed by Alp Toker.
364
365         * WebView/webkitwebframe.cpp: don't redeclare the marshaller
366         prototype but simply include "webkit-marshal.h" now that its build
367         is fixed.
368
369 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
370
371         Reviewed by Alp Toker.
372
373         Fix a regression in key press propagation in r28386.
374
375         Fix indentation (was off by two spaces).
376
377         * WebView/webkitwebview.cpp:
378
379 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
380
381         Reviewed by Alp Toker.
382
383         http://bugs.webkit.org/show_bug.cgi?id=15911
384         [GTK] Use GtkBindingSet to make key bindings user-configurable
385
386         This patch doesn't cover the full range of bindings, only the ones
387         that seem obviously correct and have clear public API.
388
389         * WebCoreSupport/EditorClientGtk.cpp:
390         (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
391         * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
392         * WebView/webkitwebview.h:
393
394 2007-12-04  Xan Lopez  <xan@gnome.org>
395
396         Reviewed by Alp Toker.
397
398         http://bugs.webkit.org/show_bug.cgi?id=15561
399         GTK port needs DumpRenderTree implementation
400
401         Start work on the GTK+ DRT.
402
403         Add a couple of proposed new API entry points. They are currently for
404         internal use only by DRT and not in the public headers.
405
406         * WebView/webkitprivate.h:
407         * WebView/webkitwebframe.cpp:
408
409 2007-12-03  Dan Bernstein  <mitz@apple.com>
410
411         Reviewed by Dave Hyatt.
412
413         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
414
415         * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
416         FrameView sends it now.
417
418 2007-12-03  Alp Toker  <alp@atoker.com>
419
420         globalObject() GTK+ build fix.
421
422         * WebCoreSupport/FrameLoaderClientGtk.cpp:
423         (WebKit::FrameLoaderClient::windowObjectCleared):
424
425 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
426
427         GTK Build fix: get globalExec from the right place.
428
429         * WebView/webkitwebframe.cpp:
430
431 2007-12-01  Alp Toker  <alp@atoker.com>
432
433         Reviewed by Adam Roben.
434
435         Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
436         takes care of extern "C".
437
438         Introduce a webkit.h convenience header.
439
440         Remove another left-over from the old API.
441
442         * WebView/headers.pri:
443         * WebView/webkit.h: Added.
444         * WebView/webkitdefines.h:
445
446 2007-12-01  Alp Toker  <alp@atoker.com>
447
448         Reviewed by Adam Roben.
449
450         http://bugs.webkit.org/show_bug.cgi?id=15687
451         [Gtk] Allow API clients to interact with JavaScript in web pages
452
453         Include the necessary JavaScriptCore headers directly in the public
454         API headers.
455
456         This is the last of a series of changes needed to allow GTK+
457         applications to access the JS API.
458
459         Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
460         developers will still have to include the individual JS API headers
461         individually if they want to use it in their applications.
462
463         Patch also removes some old legacy use of GDK that was in
464         WebKitWebFrame. No ABI change.
465
466         * WebView/webkitdefines.h:
467         * WebView/webkitwebframe.h:
468         * WebView/webkitwebview.h:
469
470 2007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
471
472         Fix for GTK+ Debug build breakage introduced in r28273.
473
474         * WebView/webkitprivate.cpp:
475         (WebKit::kit):
476
477 2007-11-30  Alp Toker  <alp@atoker.com>
478
479         Reviewed by Adam Roben.
480
481         http://bugs.webkit.org/show_bug.cgi?id=15691
482         [GTK] Public API does not follow GTK+ conventions
483
484         Refactor the WebKit/GTK+ public API. Changes:
485           WebKitPage -> WebKitWebView
486           WebKitFrame -> WebKitWebFrame
487
488         Public API source and header names have been updated to mirror the API
489         changes.
490
491         The API is now kept in WebKit/gtk/WebView to match other ports in the
492         same class such as Mac and Win.
493
494         API/ABI-breaking change.
495
496         * Api: Removed.
497         * Api/headers.pri: Removed.
498         * Api/webkitgtk-marshal.list: Removed.
499         * Api/webkitgtkdefines.h: Removed.
500         * Api/webkitgtkframe.cpp: Removed.
501         * Api/webkitgtkframe.h: Removed.
502         * Api/webkitgtkglobal.cpp: Removed.
503         * Api/webkitgtkglobal.h: Removed.
504         * Api/webkitgtknetworkrequest.cpp: Removed.
505         * Api/webkitgtknetworkrequest.h: Removed.
506         * Api/webkitgtkpage.cpp: Removed.
507         * Api/webkitgtkpage.h: Removed.
508         * Api/webkitgtkprivate.cpp: Removed.
509         * Api/webkitgtkprivate.h: Removed.
510         * Api/webkitgtksettings.cpp: Removed.
511         * Api/webkitgtksettings.h: Removed.
512         * WebCoreSupport/ChromeClientGtk.cpp:
513         (WebKit::ChromeClient::ChromeClient):
514         (WebKit::ChromeClient::createWindow):
515         * WebCoreSupport/ChromeClientGtk.h:
516         (WebKit::ChromeClient::webPage):
517         * WebCoreSupport/EditorClientGtk.cpp:
518         (WebKit::EditorClient::isEditable):
519         (WebKit::EditorClient::EditorClient):
520         * WebCoreSupport/EditorClientGtk.h:
521         * WebCoreSupport/FrameLoaderClientGtk.cpp:
522         (WebKit::FrameLoaderClient::FrameLoaderClient):
523         (WebKit::FrameLoaderClient::postProgressStartedNotification):
524         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
525         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
526         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
527         (WebKit::FrameLoaderClient::createFrame):
528         (WebKit::FrameLoaderClient::windowObjectCleared):
529         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
530         (WebKit::FrameLoaderClient::setTitle):
531         * WebCoreSupport/FrameLoaderClientGtk.h:
532         (WebKit::FrameLoaderClient::webFrame):
533         * WebView: Added.
534         * WebView/headers.pri: Added.
535         * WebView/webkit-marshal.list: Added.
536         * WebView/webkitdefines.h: Added.
537         * WebView/webkitglobal.cpp: Added.
538         * WebView/webkitglobal.h: Added.
539         * WebView/webkitnetworkrequest.cpp: Added.
540         * WebView/webkitnetworkrequest.h: Added.
541         * WebView/webkitprivate.cpp: Added.
542         (WebKit::apply):
543         (WebKit::create):
544         (WebKit::getFrameFromView):
545         (WebKit::getViewFromFrame):
546         (WebKit::core):
547         (WebKit::kit):
548         * WebView/webkitprivate.h: Added.
549         * WebView/webkitsettings.cpp: Added.
550         * WebView/webkitsettings.h: Added.
551         * WebView/webkitwebframe.cpp: Added.
552         * WebView/webkitwebframe.h: Added.
553         * WebView/webkitwebview.cpp: Added.
554         * WebView/webkitwebview.h: Added.
555
556 2007-11-28  Alp Toker  <alp@atoker.com>
557
558         Reviewed by Timothy Hatcher.
559
560         http://bugs.webkit.org/show_bug.cgi?id=16174
561         [GTK] Use "URI" not "URL" in public API
562
563         Replace use of the term "URL" with "URI" in public headers,
564         documentation and some internal code to match GLib/GTK+ convention.
565
566         This is now mentioned in the API guidelines:
567           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
568
569         API/ABI-breaking change.
570
571         * Api/webkitgtkframe.cpp:
572         * Api/webkitgtknetworkrequest.cpp:
573         * Api/webkitgtknetworkrequest.h:
574         * Api/webkitgtkpage.cpp:
575         * Api/webkitgtkpage.h:
576         * Api/webkitgtkprivate.h:
577         * Api/webkitgtksettings.h:
578
579 2007-11-29  Brady Eidson  <beidson@apple.com>
580
581         Better build fix for Gtk
582
583         * WebCoreSupport/ChromeClientGtk.h:
584
585 2007-11-29  Brady Eidson  <beidson@apple.com>
586
587         Keep it building with new client method
588
589         * WebCoreSupport/ChromeClientGtk.cpp:
590         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
591         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
592         * WebCoreSupport/ChromeClientGtk.h:
593
594 2007-11-26  Alp Toker  <alp@atoker.com>
595
596         Reviewed by Adam Roben.
597
598         http://bugs.webkit.org/show_bug.cgi?id=16149
599         Implement the window-object-cleared signal
600
601         This implementation provides the JSGlobalContextRef and JSObjectRef
602         directly rather than using an intermediate JS wrapper object, similar
603         to the approach taken by the Win port.
604
605         * Api/webkitgtk-marshal.list:
606         * Api/webkitgtkframe.h:
607         * Api/webkitgtkpage.cpp:
608         * Api/webkitgtkpage.h:
609         * WebCoreSupport/FrameLoaderClientGtk.cpp:
610         (WebKit::FrameLoaderClient::windowObjectCleared):
611
612 2007-11-24  Alp Toker  <alp@atoker.com>
613
614         Reviewed by Mark Rowe.
615
616         http://bugs.webkit.org/show_bug.cgi?id=15691
617         [GTK] Public API does not follow GTK+ conventions
618
619         Public API enhancements:
620
621         Implement webkit_page_get_editable() and webkit_page_set_editable().
622
623         Implement webkit_frame_get_name().
624
625         Remove definitions for functions that are unusable or not implemented.
626         This has caused much confusion for application developers.
627
628         Improve documentation.
629
630         Correct/constify some return types.
631
632         Add parameter checks.
633
634         Make the default fixed font "Courier New" to match the other Web
635         font names.
636
637         * Api/webkitgtkframe.cpp:
638         * Api/webkitgtkframe.h:
639         * Api/webkitgtkpage.cpp:
640         * Api/webkitgtkpage.h:
641         * Api/webkitgtkprivate.h:
642         * WebCoreSupport/EditorClientGtk.cpp:
643         (WebKit::EditorClient::isEditable):
644
645 2007-11-24  Alp Toker  <alp@atoker.com>
646
647         Reviewed by Mark Rowe.
648
649         http://bugs.webkit.org/show_bug.cgi?id=16125
650         [GTK] Up key doesn't work properly when content is editable
651
652         Add a missing 'break' to avoid falling through to the next case when
653         handling VK_UP keystrokes. This was noticed when working on editing
654         support in the GTK+ port.
655
656         I've checked the other cases for similar typos and they seem fine.
657
658         * WebCoreSupport/EditorClientGtk.cpp:
659         (WebKit::EditorClient::handleKeypress):
660
661 2007-11-24  Xan Lopez  <xan@gnome.org>
662
663         Reviewed by Alp Toker.
664
665         http://bugs.webkit.org/show_bug.cgi?id=15745
666         [GTK] Arrow keys do not Scroll
667         
668         * Api/webkitgtkpage.cpp:
669
670         Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
671         details.
672
673 2007-11-24  Christian Dywan  <christian@twotoasts.de>
674
675         Reviewed by Alp Toker.
676
677         http://bugs.webkit.org/show_bug.cgi?id=15891
678         [GTK] Javascript console and dialogs are not implemented
679
680         Fix call to gtk_message_dialog_new() which expects a format string.
681
682         * Api/webkitgtkpage.cpp:
683
684 2007-11-24  Christian Dywan  <christian@twotoasts.de>
685
686         Reviewed by Alp Toker.
687
688         http://bugs.webkit.org/show_bug.cgi?id=15793
689         [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
690
691         Implement tooltip support using the new Tooltip API.
692
693         Support for older versions of GTK+ is still lacking.
694
695         * WebCoreSupport/ChromeClientGtk.cpp:
696         (WebKit::ChromeClient::setToolTip):
697
698 2007-11-22  Alp Toker  <alp@atoker.com>
699
700         Reviewed by Mark Rowe.
701
702         Implement and document several WebKitFrame functions, some of which
703         are necessary to support DRT.
704
705         Correct NULL handling and improve run-time checks.
706
707         * Api/webkitgtkframe.cpp:
708         * Api/webkitgtkframe.h:
709         * Api/webkitgtkprivate.cpp:
710
711 2007-11-22  Alp Toker  <alp@atoker.com>
712
713         Whitespace fixes only.
714
715         * Api/webkitgtkframe.cpp:
716         * Api/webkitgtkpage.cpp:
717         * Api/webkitgtkpage.h:
718         * Api/webkitgtkprivate.h:
719         * WebCoreSupport/ChromeClientGtk.cpp:
720         * WebCoreSupport/ContextMenuClientGtk.cpp:
721         * WebCoreSupport/ContextMenuClientGtk.h:
722         * WebCoreSupport/DragClientGtk.h:
723         * WebCoreSupport/EditorClientGtk.h:
724         * WebCoreSupport/FrameLoaderClientGtk.cpp:
725         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
726         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
727         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
728         (WebKit::FrameLoaderClient::createFrame):
729         (WebKit::FrameLoaderClient::createJavaAppletWidget):
730         (WebKit::FrameLoaderClient::registerForIconNotification):
731         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
732         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
733         (WebKit::FrameLoaderClient::frameLoadCompleted):
734         (WebKit::FrameLoaderClient::saveViewStateToItem):
735         (WebKit::FrameLoaderClient::restoreViewState):
736         (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
737         (WebKit::FrameLoaderClient::setTitle):
738         * WebCoreSupport/FrameLoaderClientGtk.h:
739
740 2007-11-22  Michael Natterer  <mitch@imendio.com>
741
742         Reviewed by Alp Toker.
743
744         http://bugs.webkit.org/show_bug.cgi?id=15984
745         Implement "navigation-requested" signal for WebKit Gtk
746
747         * Api/webkitgtknetworkrequest.h: fix parent class member.
748
749         * Api/webkitgtknetworkrequest.cpp
750         * Api/webkitgtkprivate.h: basic implementation featuring an
751         "url" member and API.
752
753         * Api/webkitgtkdefines.h: added network request typedefs.
754
755         * Api/webkitgtkpage.h: fix enum name:
756         s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
757         and sanitized enum values.
758
759         * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
760
761         * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
762
763         * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
764         dispatchDecidePolicyForNavigationAction().
765
766 2007-11-18  Christian Dywan  <christian@twotoasts.de>
767
768         Reviewed by Alp.
769
770         http://bugs.webkit.org/show_bug.cgi?id=15891
771         [GTK] Javascript console and dialogs are not implemented
772
773         Correct script-prompt to return NULL when cancelled.
774
775         Small changes to avoid compiler warnings.
776
777         * Api/webkitgtkpage.cpp:
778
779 2007-11-17  Timothy Hatcher  <timothy@apple.com>
780
781         Reviewed by Mark Rowe.
782
783         Bug 13470: i18n: The Web Inspector is not localizable
784         http://bugs.webkit.org/show_bug.cgi?id=13470
785
786         * WebCoreSupport/InspectorClientGtk.cpp:
787         (WebKit::InspectorClient::localizedStringsURL): Empty stub.
788         * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
789
790 2007-11-13  Mark Rowe  <mrowe@apple.com>
791
792         Gtk build fix. Replace incorrect use of the LOG macro with g_print.
793
794         * Api/webkitgtkpage.cpp:
795
796 2007-11-13  Christian Dywan  <christian@twotoasts.de>
797
798         Reviewed by Alp.
799
800         http://bugs.webkit.org/show_bug.cgi?id=15891
801         [GTK] Javascript console and dialogs are not implemented
802
803         Implement signals for script dialogs and console messages.
804
805         * Api/webkitgtk-marshal.list:
806         * Api/webkitgtkpage.cpp:
807         * Api/webkitgtkpage.h:
808         * WebCoreSupport/ChromeClientGtk.cpp:
809         (WebKit::ChromeClient::addMessageToConsole):
810         (WebKit::ChromeClient::runJavaScriptAlert):
811         (WebKit::ChromeClient::runJavaScriptConfirm):
812         (WebKit::ChromeClient::runJavaScriptPrompt):
813
814 2007-11-11  Alp Toker  <alp@atoker.com>
815
816         Reviewed by Anders.
817
818         Initialize m_userAgent.
819
820         Fix typos in GDK_WINDOWING conditionals.
821
822         * WebCoreSupport/FrameLoaderClientGtk.cpp:
823         (WebKit::FrameLoaderClient::FrameLoaderClient):
824         (WebKit::agentPlatform):
825
826 2007-11-11  Alp Toker  <alp@atoker.com>
827
828         Reviewed by Mark Rowe.
829
830         Mention Safari in the UserAgent string to improve site compatibility.
831
832         Also bump the hard-coded AppleWebKit version number.
833
834         * WebCoreSupport/FrameLoaderClientGtk.cpp:
835         (WebKit::composeUserAgent):
836
837 2007-11-09  Xan Lopez  <xan@gnome.org>
838
839         Reviewed by Alp.
840
841         Fix http://bugs.webkit.org/show_bug.cgi?id=15926
842         [GTK] WebKitPage map handler is redundant.
843
844         * Api/webkitgtkpage.cpp:
845         The map handler for WebKitPage is redundant, GtkContainer does
846         the same (and more correctly).
847
848 2007-11-08  Alp Toker  <alp@atoker.com>
849
850         Reviewed by Mark Rowe.
851
852         http://bugs.webkit.org/show_bug.cgi?id=15653
853         [GTK] Text editor does not handle common keystrokes
854
855         Handle more keystrokes in EditorClientGtk. Note that this is a
856         temporary measure pending a proper solution using GtkBindingSet (see
857         http://bugs.webkit.org/show_bug.cgi?id=15911).
858
859         * WebCoreSupport/EditorClientGtk.cpp:
860         (WebKit::EditorClient::handleKeypress):
861
862 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
863
864         Reviewed by Sam.
865
866         - windowObjectCleared() is no longer const.  It needs to setup the
867         script debugger and cannot be const to do so.
868
869         * WebCoreSupport/FrameLoaderClientGtk.cpp:
870         (WebKit::FrameLoaderClient::windowObjectCleared):
871         * WebCoreSupport/FrameLoaderClientGtk.h:
872
873 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
874
875         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
876         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
877
878         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
879         to determine whether the given MIME type is displayable as an image or non-image.
880
881         * WebCoreSupport/FrameLoaderClientGtk.cpp:
882         (FrameLoaderClient::objectContentType): Change logic to match that in
883         the Windows and Mac ports.
884
885 2007-11-05  Christian Dywan  <christian@twotoasts.de>
886
887         Reviewed by Maciej.
888
889         http://bugs.webkit.org/show_bug.cgi?id=15409
890         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
891
892         Compute a proper user agent string.
893
894         Patch includes fixes by Alp.
895
896         * WebCoreSupport/FrameLoaderClientGtk.cpp:
897         (WebKit::agentPlatform):
898         (WebKit::agentOS):
899         (WebKit::composeUserAgent):
900         (WebKit::FrameLoaderClient::userAgent):
901         * WebCoreSupport/FrameLoaderClientGtk.h:
902
903 2007-11-05  Mark Rowe  <mrowe@apple.com>
904
905         Rubber-stamped by Alp Toker.
906
907         Remove unused m_firstData member from FrameLoaderClientGtk.
908
909         * WebCoreSupport/FrameLoaderClientGtk.cpp:
910         * WebCoreSupport/FrameLoaderClientGtk.h:
911
912 2007-11-05  Mark Rowe  <mrowe@apple.com>
913
914         Reviewed by Alp Toker.
915
916         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
917         Bug 15842: [Gtk] about:blank doesn't work
918
919         * WebCoreSupport/FrameLoaderClientGtk.cpp:
920         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
921         get work done that is normally done when the first bit of data is received, even in the
922         case of a document with no data (like about:blank).
923
924 2007-11-03  Alp Toker  <alp@atoker.com>
925
926         Reviewed by Mark Rowe.
927
928         Restore correct double and triple click behaviour
929
930         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
931         recent refactoring.
932
933         * Api/webkitgtkpage.cpp:
934
935 2007-11-03  Alp Toker  <alp@atoker.com>
936
937         Reviewed by Mark Rowe.
938
939         Frame scrolling and invalidation fixes
940
941         Make upward scroll events have a positive delta to match other ports.
942
943         Fix the invalidation rect offset for frames so that scrolling works properly.
944
945         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
946
947         Allow tabbing to all widgets and links.
948
949         Fix event returns, improving the focus situation and correcting scroll wheel
950         behavior.
951
952         * Api/webkitgtkpage.cpp:
953         * WebCoreSupport/ChromeClientGtk.cpp:
954
955 2007-10-29  Alp Toker  <alp@atoker.com>
956
957         Reviewed by Maciej.
958
959         Do not allow control to reach end of non-void functions
960
961         * Api/webkitgtksettings.cpp:
962
963 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
964
965         Reviewed by Alp.
966
967         http://bugs.webkit.org/show_bug.cgi?id=15466
968         [gtk] widget does not take focus on mouse click
969
970         Grab widget focus in mouse press callback.
971
972         * Api/webkitgtkpage.cpp:
973
974 2007-10-25  Alp Toker  <alp@atoker.com>
975
976         Reviewed by Brady.
977
978         http://bugs.webkit.org/show_bug.cgi?id=15686
979         GtkLauncher aborts on launch due to uninitialized threading subsystem
980
981         Re-enable database support in the GTK+ port, with a fix.
982
983         Initialize GLib threading as early as possible.
984
985         * Api/webkitgtkglobal.cpp:
986
987 2007-10-25  Alp Toker  <alp@atoker.com>
988
989         Unreviewed fix to make the GTK+ port run.
990
991         http://bugs.webkit.org/show_bug.cgi?id=15686
992         GtkLauncher aborts on launch due to uninitialized threading subsystem
993
994         http://bugs.webkit.org/show_bug.cgi?id=15688
995         [GTK] Make it possible to disable database support
996
997         Make database path initialization conditional on database support
998         being enabled.
999
1000         * Api/webkitgtkglobal.cpp:
1001
1002 2007-10-24  Mark Rowe  <mrowe@apple.com>
1003
1004         Gtk build fix.  Track WebCore changes in r27004.
1005
1006         * Api/webkitgtkglobal.cpp:
1007
1008 2007-10-22  Alp Toker  <alp@atoker.com>
1009
1010         Reviewed by Mark Rowe.
1011
1012         http://bugs.webkit.org/show_bug.cgi?id=15611
1013         [GTK] Text selection behaviour different in Debug and Release builds
1014
1015         http://bugs.webkit.org/show_bug.cgi?id=15578
1016         [GTK] Text editor caret does not blink
1017
1018         Never allow control to reach the end of non-void functions.
1019
1020         Return more sensible values, or in some cases, nulls.
1021
1022         * Api/webkitgtksettings.cpp:
1023         * Api/webkitgtksettings.h:
1024         * WebCoreSupport/DragClientGtk.cpp:
1025         (WebKit::DragClient::actionMaskForDrag):
1026         (WebKit::DragClient::dragSourceActionMaskForPoint):
1027         (WebKit::DragClient::createDragImageForLink):
1028
1029 2007-10-20  Mark Rowe  <mrowe@apple.com>
1030
1031         Reviewed by Alp.
1032
1033         Gtk changes needed to enable HTML 5 client-side database storage.
1034
1035         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
1036         This should become configurable by client applications in the future.
1037
1038 2007-10-20  Mark Rowe  <mrowe@apple.com>
1039
1040         Reviewed by Eric.
1041
1042         Don't allow control characters to be inserted into editable regions.
1043
1044         * WebCoreSupport/EditorClientGtk.cpp:
1045         (WebKit::EditorClient::handleKeypress):
1046
1047 2007-10-19  Alp Toker  <alp@atoker.com>
1048
1049         Reviewed by Oliver.
1050
1051         GTK+ build fix enabling the new local database storage feature.
1052         There is also a prospective Qt build fix.
1053
1054         * WebCoreSupport/ChromeClientGtk.cpp:
1055         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
1056         * WebCoreSupport/ChromeClientGtk.h:
1057
1058 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1059
1060         Reviewed by Adam.
1061
1062         http://bugs.webkit.org/show_bug.cgi?id=15299
1063         Fix "hovering_over_link" signal not emitted when consecutive links
1064         are hovered.
1065
1066         * WebCoreSupport/ChromeClientGtk.cpp:
1067         (WebKit::ChromeClient::mouseDidMoveOverElement):
1068         * WebCoreSupport/ChromeClientGtk.h:
1069         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
1070
1071 2007-10-10  Alice Liu  <alice.liu@apple.com>
1072
1073         Reviewed by Geoff Garen.
1074
1075         changes to keep the build from breaking
1076
1077         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1078         (WebKit::FrameLoaderClient::createFrame):
1079         * WebCoreSupport/FrameLoaderClientGtk.h:
1080
1081 2007-10-03  Alp Toker  <alp@atoker.com>
1082
1083         Reviewed by Adam.
1084
1085         http://bugs.webkit.org/show_bug.cgi?id=14726
1086         [gtk] API design. Mapping the WebView delegates to signals.
1087
1088         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1089
1090         * Api/webkitgtkdefines.h:
1091         * Api/webkitgtkframe.cpp:
1092         * Api/webkitgtkframe.h:
1093         * Api/webkitgtkglobal.cpp:
1094         * Api/webkitgtkglobal.h:
1095         * Api/webkitgtknetworkrequest.h:
1096         * Api/webkitgtkpage.cpp:
1097         * Api/webkitgtkpage.h:
1098         * Api/webkitgtkprivate.cpp:
1099         (WebKit::apply):
1100         (WebKit::create):
1101         (WebKit::getFrameFromPage):
1102         (WebKit::getPageFromFrame):
1103         (WebKit::core):
1104         (WebKit::kit):
1105         * Api/webkitgtkprivate.h:
1106         * Api/webkitgtksettings.cpp:
1107         * Api/webkitgtksettings.h:
1108         * WebCoreSupport/ChromeClientGtk.cpp:
1109         (WebKit::ChromeClient::ChromeClient):
1110         (WebKit::ChromeClient::createWindow):
1111         (WebKit::ChromeClient::addMessageToConsole):
1112         (WebKit::ChromeClient::runJavaScriptAlert):
1113         (WebKit::ChromeClient::runJavaScriptConfirm):
1114         (WebKit::ChromeClient::runJavaScriptPrompt):
1115         * WebCoreSupport/ChromeClientGtk.h:
1116         (WebKit::ChromeClient::webPage):
1117         * WebCoreSupport/EditorClientGtk.cpp:
1118         (WebKit::EditorClient::EditorClient):
1119         * WebCoreSupport/EditorClientGtk.h:
1120         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1121         (WebKit::FrameLoaderClient::FrameLoaderClient):
1122         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1123         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1124         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1125         (WebKit::FrameLoaderClient::createFrame):
1126         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1127         (WebKit::FrameLoaderClient::setTitle):
1128         * WebCoreSupport/FrameLoaderClientGtk.h:
1129         (WebKit::FrameLoaderClient::webFrame):
1130
1131 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1132
1133         Reviewed by Mark.
1134
1135         http://bugs.webkit.org/show_bug.cgi?id=15299
1136         Fix "hovering_over_link" signal being fired every time mouse moves.
1137
1138         * WebCoreSupport/ChromeClientGtk.cpp:
1139         (WebKit::ChromeClient::ChromeClient):
1140         (WebKit::ChromeClient::mouseDidMoveOverElement):
1141         * WebCoreSupport/ChromeClientGtk.h:
1142
1143 2007-09-21  Sean Egan  <seanegan@gmail.com>
1144
1145         Reviewed by Alp.
1146
1147         Add an "execute_script" method to programmatically call Javascript
1148         http://bugs.webkit.org/show_bug.cgi?id=15255
1149
1150         * Api/webkitgtkpage.cpp:
1151         * Api/webkitgtkpage.h:
1152
1153 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
1154
1155         Reviewed by Adam.
1156
1157         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
1158         http://bugs.webkit.org/show_bug.cgi?id=15299
1159
1160         Implementing "hovering_over_link" signal.
1161
1162         * WebCoreSupport/ChromeClientGtk.cpp:
1163         (WebKit::ChromeClient::mouseDidMoveOverElement):
1164
1165 2007-09-26  Mark Rowe  <mrowe@apple.com>
1166
1167         Gtk build fix.
1168
1169         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
1170
1171 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
1172
1173         Reviewed by Adam.
1174
1175         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
1176         allow client code to include both headers the typedef's for
1177         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
1178         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
1179         webkitgtkframe.h
1180
1181         * Api/webkitgtkdefines.h:
1182         * Api/webkitgtkframe.h:
1183         * Api/webkitgtkpage.h:
1184
1185 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
1186
1187         Reviewed by Mark, some Coding Style changes by Holger.
1188
1189         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
1190
1191         Add title and location to WebKitGtkFramePrivate, add
1192         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
1193         as a title_changed callback, implement
1194         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
1195
1196         Initial patch by Diego Escalante Urrelo.
1197
1198         * Api/webkitgtkframe.cpp:
1199         * Api/webkitgtkframe.h:
1200         * Api/webkitgtkprivate.h:
1201
1202 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
1203
1204         Reviewed by Mark.
1205
1206         Use the new WebCore::String::fromUTF8 function to convert
1207         from the Gtk+ representation of a string to WebCore::String.
1208
1209         * WebCoreSupport/ChromeClientGtk.cpp:
1210         (WebKit::ChromeClient::runJavaScriptPrompt):
1211
1212 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
1213
1214         Reviewed by Mark Rowe.
1215
1216         Fix a typo where webkit_gtk_page_can_copy was declared twice,
1217         rather than webkit_gtk_page_can_paste.
1218
1219         * Api/webkitgtkpage.h:
1220
1221 2007-09-08  Brady Eidson  <beidson@apple.com>
1222
1223         Better build fix
1224
1225         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1226         (WebKit::FrameLoaderClient::registerForIconNotification):
1227         * WebCoreSupport/FrameLoaderClientGtk.h:
1228
1229 2007-09-08  Brady Eidson  <beidson@apple.com>
1230
1231         Build fix
1232
1233         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1234         (WebKit::FrameLoaderClient::registerForIconNotification):
1235         * WebCoreSupport/FrameLoaderClientGtk.h:
1236
1237 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
1238
1239         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1240         
1241         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
1242         memory cache, or a very tiny one
1243         
1244         Keep the GTK build working with an empty stub.
1245         
1246         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1247         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
1248         * WebCoreSupport/FrameLoaderClientGtk.h:
1249
1250 2007-09-01  Oliver Hunt  <oliver@apple.com>
1251
1252         Reviewed by Sam.
1253
1254         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1255  
1256         EditorClient::setInputMethodState stub
1257
1258         * WebCoreSupport/EditorClientGtk.cpp:
1259         (WebKit::EditorClient::setInputMethodState):
1260         * WebCoreSupport/EditorClientGtk.h:
1261
1262 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
1263
1264         Build fix. Add const to the first parameter of createPlugin
1265
1266         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1267
1268 2007-08-17  Anders Carlsson  <andersca@apple.com>
1269
1270         Build fix.
1271         
1272         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1273         (WebKit::FrameLoaderClient::createPlugin):
1274         * WebCoreSupport/FrameLoaderClientGtk.h:
1275
1276 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
1277
1278         Reviewed by Adam.
1279
1280         To not hit the needsLayout() assert of Frame::paint for subframes we need to
1281         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
1282         method to do this.
1283
1284         * Api/webkitgtkpage.cpp:
1285
1286 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
1287
1288         Reviewed by Adam.
1289
1290         Fix text selection by setting a DragClient when creating the Page. Now
1291         that we have a DragClient we can free the Page when WebKitGtkPage gets
1292         destructed.
1293
1294         * Api/webkitgtkpage.cpp:
1295         * WebCoreSupport/DragClientGtk.cpp: Added.
1296         (WebKit::DragClient::willPerformDragDestinationAction):
1297         (WebKit::DragClient::willPerformDragSourceAction):
1298         (WebKit::DragClient::actionMaskForDrag):
1299         (WebKit::DragClient::dragSourceActionMaskForPoint):
1300         (WebKit::DragClient::startDrag):
1301         (WebKit::DragClient::createDragImageForLink):
1302         * WebCoreSupport/DragClientGtk.h: Added.
1303
1304 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1305
1306         Reviewed by Anders.
1307
1308         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
1309         race of GtkScrollBar and GtkLayout.
1310
1311         * Api/webkitgtk-marshal.list:
1312         * Api/webkitgtkframe.cpp:
1313         * Api/webkitgtkpage.cpp:
1314         * Api/webkitgtkpage.h:
1315         * Api/webkitgtkprivate.h:
1316
1317 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1318
1319         Reviewed by Niko.
1320
1321         Minor changes to the WebKit::EditorClient to allow removing
1322         of text from TextFields. Remove the selectWordBeforeMenuEvent method
1323         which is not used and not within WebCore::EditorClient. 
1324
1325         * WebCoreSupport/EditorClientGtk.cpp:
1326         (WebKit::EditorClient::shouldDeleteRange):
1327         (WebKit::EditorClient::shouldBeginEditing):
1328         (WebKit::EditorClient::shouldEndEditing):
1329         (WebKit::EditorClient::shouldApplyStyle):
1330         (WebKit::EditorClient::shouldInsertNode):
1331         * WebCoreSupport/EditorClientGtk.h:
1332
1333 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1334
1335         Reviewed by Mark.
1336
1337         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
1338         classes into the WebKit namespace. Change the class names to not contain Gtk.
1339         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
1340         bridge/EditorClient.h).
1341         
1342
1343         * Api/webkitgtkframe.cpp:
1344         * Api/webkitgtkpage.cpp:
1345         * Api/webkitgtkprivate.cpp:
1346         * Api/webkitgtkprivate.h:
1347         * ChangeLog:
1348         * WebCoreSupport/ChromeClientGtk.cpp:
1349         (WebKit::ChromeClient::ChromeClient):
1350         (WebKit::ChromeClient::chromeDestroyed):
1351         (WebKit::ChromeClient::windowRect):
1352         (WebKit::ChromeClient::setWindowRect):
1353         (WebKit::ChromeClient::pageRect):
1354         (WebKit::ChromeClient::scaleFactor):
1355         (WebKit::ChromeClient::focus):
1356         (WebKit::ChromeClient::unfocus):
1357         (WebKit::ChromeClient::createWindow):
1358         (WebKit::ChromeClient::createModalDialog):
1359         (WebKit::ChromeClient::show):
1360         (WebKit::ChromeClient::canRunModal):
1361         (WebKit::ChromeClient::runModal):
1362         (WebKit::ChromeClient::setToolbarsVisible):
1363         (WebKit::ChromeClient::toolbarsVisible):
1364         (WebKit::ChromeClient::setStatusbarVisible):
1365         (WebKit::ChromeClient::statusbarVisible):
1366         (WebKit::ChromeClient::setScrollbarsVisible):
1367         (WebKit::ChromeClient::scrollbarsVisible):
1368         (WebKit::ChromeClient::setMenubarVisible):
1369         (WebKit::ChromeClient::menubarVisible):
1370         (WebKit::ChromeClient::setResizable):
1371         (WebKit::ChromeClient::closeWindowSoon):
1372         (WebKit::ChromeClient::canTakeFocus):
1373         (WebKit::ChromeClient::takeFocus):
1374         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1375         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
1376         (WebKit::ChromeClient::runJavaScriptAlert):
1377         (WebKit::ChromeClient::runJavaScriptConfirm):
1378         (WebKit::ChromeClient::setStatusbarText):
1379         (WebKit::ChromeClient::shouldInterruptJavaScript):
1380         (WebKit::ChromeClient::tabsToLinks):
1381         (WebKit::ChromeClient::windowResizerRect):
1382         (WebKit::ChromeClient::addToDirtyRegion):
1383         (WebKit::ChromeClient::scrollBackingStore):
1384         (WebKit::ChromeClient::updateBackingStore):
1385         (WebKit::ChromeClient::mouseDidMoveOverElement):
1386         (WebKit::ChromeClient::setToolTip):
1387         * WebCoreSupport/ChromeClientGtk.h:
1388         * WebCoreSupport/ContextMenuClientGtk.cpp:
1389         (WebKit::ContextMenuClient::contextMenuDestroyed):
1390         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1391         (WebKit::ContextMenuClient::contextMenuItemSelected):
1392         (WebKit::ContextMenuClient::downloadURL):
1393         (WebKit::ContextMenuClient::copyImageToClipboard):
1394         (WebKit::ContextMenuClient::searchWithGoogle):
1395         (WebKit::ContextMenuClient::lookUpInDictionary):
1396         (WebKit::ContextMenuClient::speak):
1397         * WebCoreSupport/ContextMenuClientGtk.h:
1398         * WebCoreSupport/EditorClientGtk.cpp:
1399         (WebKit::EditorClient::shouldDeleteRange):
1400         (WebKit::EditorClient::shouldShowDeleteInterface):
1401         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
1402         (WebKit::EditorClient::isGrammarCheckingEnabled):
1403         (WebKit::EditorClient::spellCheckerDocumentTag):
1404         (WebKit::EditorClient::shouldBeginEditing):
1405         (WebKit::EditorClient::shouldEndEditing):
1406         (WebKit::EditorClient::shouldInsertText):
1407         (WebKit::EditorClient::shouldChangeSelectedRange):
1408         (WebKit::EditorClient::shouldApplyStyle):
1409         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
1410         (WebKit::EditorClient::didBeginEditing):
1411         (WebKit::EditorClient::respondToChangedContents):
1412         (WebKit::EditorClient::respondToChangedSelection):
1413         (WebKit::EditorClient::didEndEditing):
1414         (WebKit::EditorClient::didWriteSelectionToPasteboard):
1415         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
1416         (WebKit::EditorClient::selectWordBeforeMenuEvent):
1417         (WebKit::EditorClient::isEditable):
1418         (WebKit::EditorClient::registerCommandForUndo):
1419         (WebKit::EditorClient::registerCommandForRedo):
1420         (WebKit::EditorClient::clearUndoRedoOperations):
1421         (WebKit::EditorClient::canUndo):
1422         (WebKit::EditorClient::canRedo):
1423         (WebKit::EditorClient::undo):
1424         (WebKit::EditorClient::redo):
1425         (WebKit::EditorClient::shouldInsertNode):
1426         (WebKit::EditorClient::pageDestroyed):
1427         (WebKit::EditorClient::smartInsertDeleteEnabled):
1428         (WebKit::EditorClient::toggleContinuousSpellChecking):
1429         (WebKit::EditorClient::toggleGrammarChecking):
1430         (WebKit::EditorClient::handleInputMethodKeypress):
1431         (WebKit::EditorClient::EditorClient):
1432         (WebKit::EditorClient::textFieldDidBeginEditing):
1433         (WebKit::EditorClient::textFieldDidEndEditing):
1434         (WebKit::EditorClient::textDidChangeInTextField):
1435         (WebKit::EditorClient::doTextFieldCommandFromEvent):
1436         (WebKit::EditorClient::textWillBeDeletedInTextField):
1437         (WebKit::EditorClient::textDidChangeInTextArea):
1438         (WebKit::EditorClient::ignoreWordInSpellDocument):
1439         (WebKit::EditorClient::learnWord):
1440         (WebKit::EditorClient::checkSpellingOfString):
1441         (WebKit::EditorClient::checkGrammarOfString):
1442         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
1443         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
1444         (WebKit::EditorClient::showSpellingUI):
1445         (WebKit::EditorClient::spellingUIIsShowing):
1446         * WebCoreSupport/EditorClientGtk.h:
1447         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1448         (WebKit::FrameLoaderClient::FrameLoaderClient):
1449         (WebKit::FrameLoaderClient::userAgent):
1450         (WebKit::FrameLoaderClient::createDocumentLoader):
1451         (WebKit::FrameLoaderClient::committedLoad):
1452         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1453         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
1454         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1455         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1456         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1457         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1458         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1459         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1460         (WebKit::FrameLoaderClient::createPlugin):
1461         (WebKit::FrameLoaderClient::redirectDataToPlugin):
1462         (WebKit::FrameLoaderClient::createJavaAppletWidget):
1463         (WebKit::FrameLoaderClient::overrideMediaType):
1464         (WebKit::FrameLoaderClient::windowObjectCleared):
1465         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
1466         (WebKit::FrameLoaderClient::hasWebView):
1467         (WebKit::FrameLoaderClient::hasFrameView):
1468         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1469         (WebKit::FrameLoaderClient::frameLoadCompleted):
1470         (WebKit::FrameLoaderClient::saveViewStateToItem):
1471         (WebKit::FrameLoaderClient::restoreViewState):
1472         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
1473         (WebKit::FrameLoaderClient::makeDocumentView):
1474         (WebKit::FrameLoaderClient::makeRepresentation):
1475         (WebKit::FrameLoaderClient::forceLayout):
1476         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1477         (WebKit::FrameLoaderClient::setCopiesOnScroll):
1478         (WebKit::FrameLoaderClient::detachedFromParent1):
1479         (WebKit::FrameLoaderClient::detachedFromParent2):
1480         (WebKit::FrameLoaderClient::detachedFromParent3):
1481         (WebKit::FrameLoaderClient::detachedFromParent4):
1482         (WebKit::FrameLoaderClient::loadedFromCachedPage):
1483         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1484         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1485         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1486         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1487         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1488         (WebKit::FrameLoaderClient::dispatchWillClose):
1489         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1490         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
1491         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1492         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1493         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1494         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1495         (WebKit::FrameLoaderClient::dispatchShow):
1496         (WebKit::FrameLoaderClient::cancelPolicyCheck):
1497         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1498         (WebKit::FrameLoaderClient::revertToProvisionalState):
1499         (WebKit::FrameLoaderClient::clearUnarchivingState):
1500         (WebKit::FrameLoaderClient::willChangeTitle):
1501         (WebKit::FrameLoaderClient::didChangeTitle):
1502         (WebKit::FrameLoaderClient::finishedLoading):
1503         (WebKit::FrameLoaderClient::finalSetupForReplace):
1504         (WebKit::FrameLoaderClient::setDefersLoading):
1505         (WebKit::FrameLoaderClient::isArchiveLoadPending):
1506         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1507         (WebKit::FrameLoaderClient::clearArchivedResources):
1508         (WebKit::FrameLoaderClient::canHandleRequest):
1509         (WebKit::FrameLoaderClient::canShowMIMEType):
1510         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1511         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1512         (WebKit::FrameLoaderClient::provisionalLoadStarted):
1513         (WebKit::FrameLoaderClient::didFinishLoad):
1514         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
1515         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1516         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1517         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1518         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1519         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
1520         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1521         (WebKit::FrameLoaderClient::download):
1522         (WebKit::FrameLoaderClient::cancelledError):
1523         (WebKit::FrameLoaderClient::blockedError):
1524         (WebKit::FrameLoaderClient::cannotShowURLError):
1525         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1526         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1527         (WebKit::FrameLoaderClient::fileDoesNotExistError):
1528         (WebKit::FrameLoaderClient::shouldFallBack):
1529         (WebKit::FrameLoaderClient::willUseArchive):
1530         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
1531         (WebKit::FrameLoaderClient::canCachePage):
1532         (WebKit::FrameLoaderClient::dispatchCreatePage):
1533         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1534         * WebCoreSupport/FrameLoaderClientGtk.h:
1535         * WebCoreSupport/InspectorClientGtk.cpp:
1536         (WebKit::InspectorClient::inspectorDestroyed):
1537         (WebKit::InspectorClient::createPage):
1538         (WebKit::InspectorClient::showWindow):
1539         (WebKit::InspectorClient::closeWindow):
1540         (WebKit::InspectorClient::attachWindow):
1541         (WebKit::InspectorClient::detachWindow):
1542         (WebKit::InspectorClient::highlight):
1543         (WebKit::InspectorClient::hideHighlight):
1544         * WebCoreSupport/InspectorClientGtk.h:
1545
1546 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1547
1548         Reviewed by Adam.
1549
1550         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
1551         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
1552         rename it from Gdk to Gtk.
1553
1554         * Api/webkitgtkdefines.h:
1555         * Api/webkitgtkframe.cpp:
1556         * Api/webkitgtkframe.h:
1557         * Api/webkitgtkglobal.cpp:
1558         * Api/webkitgtkglobal.h:
1559         * Api/webkitgtknetworkrequest.cpp:
1560         * Api/webkitgtknetworkrequest.h:
1561         * Api/webkitgtkpage.cpp:
1562         * Api/webkitgtkpage.h:
1563         * Api/webkitgtkprivate.cpp:
1564         * Api/webkitgtkprivate.h:
1565         * Api/webkitgtksettings.cpp:
1566         * Api/webkitgtksettings.h:
1567         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
1568         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
1569         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
1570         (WebKitGtk::ChromeClientGtk::windowRect):
1571         (WebKitGtk::ChromeClientGtk::setWindowRect):
1572         (WebKitGtk::ChromeClientGtk::pageRect):
1573         (WebKitGtk::ChromeClientGtk::scaleFactor):
1574         (WebKitGtk::ChromeClientGtk::focus):
1575         (WebKitGtk::ChromeClientGtk::unfocus):
1576         (WebKitGtk::ChromeClientGtk::createWindow):
1577         (WebKitGtk::ChromeClientGtk::createModalDialog):
1578         (WebKitGtk::ChromeClientGtk::show):
1579         (WebKitGtk::ChromeClientGtk::canRunModal):
1580         (WebKitGtk::ChromeClientGtk::runModal):
1581         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
1582         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
1583         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
1584         (WebKitGtk::ChromeClientGtk::statusbarVisible):
1585         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
1586         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
1587         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
1588         (WebKitGtk::ChromeClientGtk::menubarVisible):
1589         (WebKitGtk::ChromeClientGtk::setResizable):
1590         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
1591         (WebKitGtk::ChromeClientGtk::canTakeFocus):
1592         (WebKitGtk::ChromeClientGtk::takeFocus):
1593         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
1594         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
1595         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
1596         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
1597         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
1598         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
1599         (WebKitGtk::ChromeClientGtk::setStatusbarText):
1600         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
1601         (WebKitGtk::ChromeClientGtk::tabsToLinks):
1602         (WebKitGtk::ChromeClientGtk::windowResizerRect):
1603         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
1604         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
1605         (WebKitGtk::ChromeClientGtk::updateBackingStore):
1606         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
1607         (WebKitGtk::ChromeClientGtk::setToolTip):
1608         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
1609         (WebKitGtk::ChromeClientGtk::webPage):
1610         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
1611         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
1612         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
1613         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
1614         (WebCore::ContextMenuClientGtk::downloadURL):
1615         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
1616         (WebCore::ContextMenuClientGtk::searchWithGoogle):
1617         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
1618         (WebCore::ContextMenuClientGtk::speak):
1619         (WebCore::ContextMenuClientGtk::stopSpeaking):
1620         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
1621         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
1622         (WebCore::EditorClientGtk::shouldDeleteRange):
1623         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
1624         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
1625         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
1626         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
1627         (WebCore::EditorClientGtk::shouldBeginEditing):
1628         (WebCore::EditorClientGtk::shouldEndEditing):
1629         (WebCore::EditorClientGtk::shouldInsertText):
1630         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
1631         (WebCore::EditorClientGtk::shouldApplyStyle):
1632         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
1633         (WebCore::EditorClientGtk::didBeginEditing):
1634         (WebCore::EditorClientGtk::respondToChangedContents):
1635         (WebCore::EditorClientGtk::respondToChangedSelection):
1636         (WebCore::EditorClientGtk::didEndEditing):
1637         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
1638         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
1639         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
1640         (WebCore::EditorClientGtk::isEditable):
1641         (WebCore::EditorClientGtk::registerCommandForUndo):
1642         (WebCore::EditorClientGtk::registerCommandForRedo):
1643         (WebCore::EditorClientGtk::clearUndoRedoOperations):
1644         (WebCore::EditorClientGtk::canUndo):
1645         (WebCore::EditorClientGtk::canRedo):
1646         (WebCore::EditorClientGtk::undo):
1647         (WebCore::EditorClientGtk::redo):
1648         (WebCore::EditorClientGtk::shouldInsertNode):
1649         (WebCore::EditorClientGtk::pageDestroyed):
1650         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
1651         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
1652         (WebCore::EditorClientGtk::toggleGrammarChecking):
1653         (WebCore::EditorClientGtk::handleKeypress):
1654         (WebCore::EditorClientGtk::handleInputMethodKeypress):
1655         (WebCore::EditorClientGtk::EditorClientGtk):
1656         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
1657         (WebCore::EditorClientGtk::textFieldDidEndEditing):
1658         (WebCore::EditorClientGtk::textDidChangeInTextField):
1659         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
1660         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
1661         (WebCore::EditorClientGtk::textDidChangeInTextArea):
1662         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
1663         (WebCore::EditorClientGtk::learnWord):
1664         (WebCore::EditorClientGtk::checkSpellingOfString):
1665         (WebCore::EditorClientGtk::checkGrammarOfString):
1666         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
1667         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
1668         (WebCore::EditorClientGtk::showSpellingUI):
1669         (WebCore::EditorClientGtk::spellingUIIsShowing):
1670         (WebCore::EditorClientGtk::getGuessesForWord):
1671         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
1672         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
1673         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
1674         (WebCore::FrameLoaderClientGtk::userAgent):
1675         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
1676         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
1677         (WebCore::FrameLoaderClientGtk::committedLoad):
1678         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
1679         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
1680         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
1681         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
1682         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
1683         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
1684         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
1685         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
1686         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
1687         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
1688         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
1689         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
1690         (WebCore::FrameLoaderClientGtk::createPlugin):
1691         (WebCore::FrameLoaderClientGtk::createFrame):
1692         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
1693         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
1694         (WebCore::FrameLoaderClientGtk::objectContentType):
1695         (WebCore::FrameLoaderClientGtk::overrideMediaType):
1696         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
1697         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
1698         (WebCore::FrameLoaderClientGtk::hasWebView):
1699         (WebCore::FrameLoaderClientGtk::hasFrameView):
1700         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
1701         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
1702         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
1703         (WebCore::FrameLoaderClientGtk::restoreViewState):
1704         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
1705         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
1706         (WebCore::FrameLoaderClientGtk::makeDocumentView):
1707         (WebCore::FrameLoaderClientGtk::makeRepresentation):
1708         (WebCore::FrameLoaderClientGtk::forceLayout):
1709         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
1710         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
1711         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
1712         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
1713         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
1714         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
1715         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
1716         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
1717         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
1718         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
1719         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
1720         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
1721         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
1722         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
1723         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
1724         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
1725         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
1726         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
1727         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
1728         (WebCore::FrameLoaderClientGtk::dispatchShow):
1729         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
1730         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
1731         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
1732         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
1733         (WebCore::FrameLoaderClientGtk::willChangeTitle):
1734         (WebCore::FrameLoaderClientGtk::didChangeTitle):
1735         (WebCore::FrameLoaderClientGtk::finishedLoading):
1736         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
1737         (WebCore::FrameLoaderClientGtk::setDefersLoading):
1738         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
1739         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
1740         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
1741         (WebCore::FrameLoaderClientGtk::canHandleRequest):
1742         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
1743         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
1744         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
1745         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
1746         (WebCore::FrameLoaderClientGtk::didFinishLoad):
1747         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
1748         (WebCore::FrameLoaderClientGtk::setTitle):
1749         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
1750         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
1751         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
1752         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
1753         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
1754         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
1755         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
1756         (WebCore::FrameLoaderClientGtk::download):
1757         (WebCore::FrameLoaderClientGtk::cancelledError):
1758         (WebCore::FrameLoaderClientGtk::blockedError):
1759         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
1760         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
1761         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
1762         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
1763         (WebCore::FrameLoaderClientGtk::shouldFallBack):
1764         (WebCore::FrameLoaderClientGtk::willUseArchive):
1765         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
1766         (WebCore::FrameLoaderClientGtk::canCachePage):
1767         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
1768         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
1769         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
1770         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
1771         (WebCore::FrameLoaderClientGtk::webFrame):
1772         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
1773         (WebCore::InspectorClientGtk::inspectorDestroyed):
1774         (WebCore::InspectorClientGtk::createPage):
1775         (WebCore::InspectorClientGtk::showWindow):
1776         (WebCore::InspectorClientGtk::closeWindow):
1777         (WebCore::InspectorClientGtk::attachWindow):
1778         (WebCore::InspectorClientGtk::detachWindow):
1779         (WebCore::InspectorClientGtk::highlight):
1780         (WebCore::InspectorClientGtk::hideHighlight):
1781         (WebCore::InspectorClientGtk::inspectedURLChanged):
1782         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
1783
1784 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1785
1786         Build fix.
1787
1788         * Api/webkitgtkframe.cpp:
1789
1790 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1791
1792         Reviewed by Adam.
1793
1794         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
1795         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
1796         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
1797         remove it.
1798         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
1799         is currently used by FrameLoaderClientGdk::createFrame.
1800
1801         * Api/webkitgtkframe.cpp:
1802         * Api/webkitgtkframedata.cpp: Removed.
1803         * Api/webkitgtkframedata.h: Removed.
1804         * Api/webkitgtkpage.cpp:
1805         * Api/webkitgtkpage.h:
1806         * Api/webkitgtkprivate.h:
1807
1808 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1809
1810         Reviewed by Adam.
1811
1812         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
1813         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
1814         the GtkAdjustments to ScrollView.
1815         This makes having one GdkWindow for the complete FrameTree possible.
1816         
1817
1818         * gtk/Api/webkitgtkframe.cpp:
1819         * gtk/Api/webkitgtkpage.cpp:
1820
1821 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1822
1823         Reviewed by Niko.
1824
1825         We only need to set the Settings of the Page once so do it in
1826         WebKitGtkPage instead of WebKitGtkFrame.
1827
1828         * gtk/Api/webkitgtkframe.cpp:
1829         * gtk/Api/webkitgtkpage.cpp:
1830
1831 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1832
1833         Reviewed by Niko.
1834
1835         Instead of reimplementing the general event method, reimplement
1836         the specific mouse, expose, keyboard event methods.
1837
1838         Call the finalize implementation of the base class from WebKitGtkPage
1839         and WebKitGtkFrame.
1840
1841         * gtk/Api/webkitgtkframe.cpp:
1842         * gtk/Api/webkitgtkpage.cpp:
1843
1844 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1845
1846         Reviewed by Niko.
1847
1848         Remove the custom painting in favor of the Widget::paint
1849         implementation.
1850
1851         * gtk/Api/webkitgtkpage.cpp:
1852
1853 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1854
1855         Reviewed by Adam.
1856
1857         Moved code from class FrameGdk into WebKitGtkFrame. Update the
1858         webkitgrkprivate.h header file to not include FrameGdk.h.
1859
1860         * gtk/Api/webkitgtkframe.cpp:
1861         * gtk/Api/webkitgtkprivate.h:
1862
1863 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1864
1865         Reviewed by Adam.
1866
1867         Change variable names to follow the Coding-Style. Replace occurences
1868         of a_b with aB and place the '*' correctly.
1869
1870         * gtk/Api/webkitgtkframe.cpp:
1871         * gtk/Api/webkitgtkpage.cpp:
1872         * gtk/Api/webkitgtkprivate.h:
1873
1874 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1875
1876         Reviewed by Adam.
1877
1878         Reimplement GtkWidget::event and handle the keyboard and mouse
1879         events inside WebKitGtkPage.
1880
1881         * gtk/Api/webkitgtkpage.cpp:
1882         (FrameGdkExposeData::frame_gdk_expose_child):
1883         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
1884         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
1885         (FrameGdkExposeData::webkit_gtk_page_class_init):
1886
1887 2007-08-07  Xan Lopez  <xan@gnome.org>
1888
1889         Reviewed by Mark Rowe.
1890
1891         http://bugs.webkit.org/show_bug.cgi?id=14815
1892         [gtk] API implementation: reload
1893
1894         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
1895         function.
1896
1897 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
1898
1899         Reviewed by Adam.
1900
1901         http://bugs.webkit.org/show_bug.cgi?id=14806
1902         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
1903
1904         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
1905         webkit_gtk_page_can_go_forward() functions.
1906
1907 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
1908
1909         Reviewed by Alp Toker.
1910
1911         http://bugs.webkit.org/show_bug.cgi?id=14810
1912         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1913
1914         This is the proper fix for #14810.
1915
1916         * gtk/Api/webkitgtkframe.cpp:
1917         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
1918         correct the class_offset parameters.
1919
1920 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
1921
1922         Reviewed by Alp Toker.
1923
1924         http://bugs.webkit.org/show_bug.cgi?id=14810
1925         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1926
1927         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
1928         them in the "load_finished" signal.
1929
1930 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
1931
1932         Reviewed by Adam.
1933
1934         Add the first API and partial implementation of the WebKit/Gtk port as
1935         of http://bugs.webkit.org/show_bug.cgi?id=14678.
1936
1937         The delegates of WebView will be modeled as signals. Delegates like the
1938         WebPolicyDelegate will be implemented as signals with default handlers.
1939
1940         Start moving files to WebKit/gtk/WebCoreSupport.
1941
1942         * gtk: Added.
1943         * gtk/Api: Added.
1944         * gtk/Api/headers.pri: Added.
1945         * gtk/Api/webkitgtk-marshal.list: Added.
1946         * gtk/Api/webkitgtkdefines.h: Added.
1947         * gtk/Api/webkitgtkframe.cpp: Added.
1948         * gtk/Api/webkitgtkframe.h: Added.
1949         * gtk/Api/webkitgtkframedata.cpp: Added.
1950         * gtk/Api/webkitgtkframedata.h: Added.
1951         * gtk/Api/webkitgtkglobal.cpp: Added.
1952         * gtk/Api/webkitgtkglobal.h: Added.
1953         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
1954         * gtk/Api/webkitgtknetworkrequest.h: Added.
1955         * gtk/Api/webkitgtkpage.cpp: Added.
1956         * gtk/Api/webkitgtkpage.h: Added.
1957         * gtk/Api/webkitgtkprivate.cpp: Added.
1958         * gtk/Api/webkitgtkprivate.h: Added.
1959         * gtk/Api/webkitgtksettings.cpp: Added.
1960         * gtk/Api/webkitgtksettings.h: Added.
1961         * gtk/WebCoreSupport: Added.
1962         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
1963         (WebCore::ChromeClientGdk::ChromeClientGdk):
1964         (WebCore::ChromeClientGdk::chromeDestroyed):
1965         (WebCore::ChromeClientGdk::windowRect):
1966         (WebCore::ChromeClientGdk::setWindowRect):
1967         (WebCore::ChromeClientGdk::pageRect):
1968         (WebCore::ChromeClientGdk::scaleFactor):
1969         (WebCore::ChromeClientGdk::focus):
1970         (WebCore::ChromeClientGdk::unfocus):
1971         (WebCore::ChromeClientGdk::createWindow):
1972         (WebCore::ChromeClientGdk::createModalDialog):
1973         (WebCore::ChromeClientGdk::show):
1974         (WebCore::ChromeClientGdk::canRunModal):
1975         (WebCore::ChromeClientGdk::runModal):
1976         (WebCore::ChromeClientGdk::setToolbarsVisible):
1977         (WebCore::ChromeClientGdk::toolbarsVisible):
1978         (WebCore::ChromeClientGdk::setStatusbarVisible):
1979         (WebCore::ChromeClientGdk::statusbarVisible):
1980         (WebCore::ChromeClientGdk::setScrollbarsVisible):
1981         (WebCore::ChromeClientGdk::scrollbarsVisible):
1982         (WebCore::ChromeClientGdk::setMenubarVisible):
1983         (WebCore::ChromeClientGdk::menubarVisible):
1984         (WebCore::ChromeClientGdk::setResizable):
1985         (WebCore::ChromeClientGdk::closeWindowSoon):
1986         (WebCore::ChromeClientGdk::canTakeFocus):
1987         (WebCore::ChromeClientGdk::takeFocus):
1988         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
1989         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
1990         (WebCore::ChromeClientGdk::addMessageToConsole):
1991         (WebCore::ChromeClientGdk::runJavaScriptAlert):
1992         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
1993         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
1994         (WebCore::ChromeClientGdk::setStatusbarText):
1995         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
1996         (WebCore::ChromeClientGdk::tabsToLinks):
1997         (WebCore::ChromeClientGdk::windowResizerRect):
1998         (WebCore::ChromeClientGdk::addToDirtyRegion):
1999         (WebCore::ChromeClientGdk::scrollBackingStore):
2000         (WebCore::ChromeClientGdk::updateBackingStore):
2001         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
2002         (WebCore::ChromeClientGdk::setToolTip):
2003         (WebCore::ChromeClientGdk::print):
2004         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
2005