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