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