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