c46089a7fc3015079648c4d2155deb8432a0155c
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
2
3         Reviewed by Sam.
4
5         - windowObjectCleared() is no longer const.  It needs to setup the
6         script debugger and cannot be const to do so.
7
8         * WebCoreSupport/FrameLoaderClientGtk.cpp:
9         (WebKit::FrameLoaderClient::windowObjectCleared):
10         * WebCoreSupport/FrameLoaderClientGtk.h:
11
12 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
13
14         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
15         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
16
17         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
18         to determine whether the given MIME type is displayable as an image or non-image.
19
20         * WebCoreSupport/FrameLoaderClientGtk.cpp:
21         (FrameLoaderClient::objectContentType): Change logic to match that in
22         the Windows and Mac ports.
23
24 2007-11-05  Christian Dywan  <christian@twotoasts.de>
25
26         Reviewed by Maciej.
27
28         http://bugs.webkit.org/show_bug.cgi?id=15409
29         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
30
31         Compute a proper user agent string.
32
33         Patch includes fixes by Alp.
34
35         * WebCoreSupport/FrameLoaderClientGtk.cpp:
36         (WebKit::agentPlatform):
37         (WebKit::agentOS):
38         (WebKit::composeUserAgent):
39         (WebKit::FrameLoaderClient::userAgent):
40         * WebCoreSupport/FrameLoaderClientGtk.h:
41
42 2007-11-05  Mark Rowe  <mrowe@apple.com>
43
44         Rubber-stamped by Alp Toker.
45
46         Remove unused m_firstData member from FrameLoaderClientGtk.
47
48         * WebCoreSupport/FrameLoaderClientGtk.cpp:
49         * WebCoreSupport/FrameLoaderClientGtk.h:
50
51 2007-11-05  Mark Rowe  <mrowe@apple.com>
52
53         Reviewed by Alp Toker.
54
55         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
56         Bug 15842: [Gtk] about:blank doesn't work
57
58         * WebCoreSupport/FrameLoaderClientGtk.cpp:
59         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
60         get work done that is normally done when the first bit of data is received, even in the
61         case of a document with no data (like about:blank).
62
63 2007-11-03  Alp Toker  <alp@atoker.com>
64
65         Reviewed by Mark Rowe.
66
67         Restore correct double and triple click behaviour
68
69         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
70         recent refactoring.
71
72         * Api/webkitgtkpage.cpp:
73
74 2007-11-03  Alp Toker  <alp@atoker.com>
75
76         Reviewed by Mark Rowe.
77
78         Frame scrolling and invalidation fixes
79
80         Make upward scroll events have a positive delta to match other ports.
81
82         Fix the invalidation rect offset for frames so that scrolling works properly.
83
84         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
85
86         Allow tabbing to all widgets and links.
87
88         Fix event returns, improving the focus situation and correcting scroll wheel
89         behavior.
90
91         * Api/webkitgtkpage.cpp:
92         * WebCoreSupport/ChromeClientGtk.cpp:
93
94 2007-10-29  Alp Toker  <alp@atoker.com>
95
96         Reviewed by Maciej.
97
98         Do not allow control to reach end of non-void functions
99
100         * Api/webkitgtksettings.cpp:
101
102 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
103
104         Reviewed by Alp.
105
106         http://bugs.webkit.org/show_bug.cgi?id=15466
107         [gtk] widget does not take focus on mouse click
108
109         Grab widget focus in mouse press callback.
110
111         * Api/webkitgtkpage.cpp:
112
113 2007-10-25  Alp Toker  <alp@atoker.com>
114
115         Reviewed by Brady.
116
117         http://bugs.webkit.org/show_bug.cgi?id=15686
118         GtkLauncher aborts on launch due to uninitialized threading subsystem
119
120         Re-enable database support in the GTK+ port, with a fix.
121
122         Initialize GLib threading as early as possible.
123
124         * Api/webkitgtkglobal.cpp:
125
126 2007-10-25  Alp Toker  <alp@atoker.com>
127
128         Unreviewed fix to make the GTK+ port run.
129
130         http://bugs.webkit.org/show_bug.cgi?id=15686
131         GtkLauncher aborts on launch due to uninitialized threading subsystem
132
133         http://bugs.webkit.org/show_bug.cgi?id=15688
134         [GTK] Make it possible to disable database support
135
136         Make database path initialization conditional on database support
137         being enabled.
138
139         * Api/webkitgtkglobal.cpp:
140
141 2007-10-24  Mark Rowe  <mrowe@apple.com>
142
143         Gtk build fix.  Track WebCore changes in r27004.
144
145         * Api/webkitgtkglobal.cpp:
146
147 2007-10-22  Alp Toker  <alp@atoker.com>
148
149         Reviewed by Mark Rowe.
150
151         http://bugs.webkit.org/show_bug.cgi?id=15611
152         [GTK] Text selection behaviour different in Debug and Release builds
153
154         http://bugs.webkit.org/show_bug.cgi?id=15578
155         [GTK] Text editor caret does not blink
156
157         Never allow control to reach the end of non-void functions.
158
159         Return more sensible values, or in some cases, nulls.
160
161         * Api/webkitgtksettings.cpp:
162         * Api/webkitgtksettings.h:
163         * WebCoreSupport/DragClientGtk.cpp:
164         (WebKit::DragClient::actionMaskForDrag):
165         (WebKit::DragClient::dragSourceActionMaskForPoint):
166         (WebKit::DragClient::createDragImageForLink):
167
168 2007-10-20  Mark Rowe  <mrowe@apple.com>
169
170         Reviewed by Alp.
171
172         Gtk changes needed to enable HTML 5 client-side database storage.
173
174         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
175         This should become configurable by client applications in the future.
176
177 2007-10-20  Mark Rowe  <mrowe@apple.com>
178
179         Reviewed by Eric.
180
181         Don't allow control characters to be inserted into editable regions.
182
183         * WebCoreSupport/EditorClientGtk.cpp:
184         (WebKit::EditorClient::handleKeypress):
185
186 2007-10-19  Alp Toker  <alp@atoker.com>
187
188         Reviewed by Oliver.
189
190         GTK+ build fix enabling the new local database storage feature.
191         There is also a prospective Qt build fix.
192
193         * WebCoreSupport/ChromeClientGtk.cpp:
194         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
195         * WebCoreSupport/ChromeClientGtk.h:
196
197 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
198
199         Reviewed by Adam.
200
201         http://bugs.webkit.org/show_bug.cgi?id=15299
202         Fix "hovering_over_link" signal not emitted when consecutive links
203         are hovered.
204
205         * WebCoreSupport/ChromeClientGtk.cpp:
206         (WebKit::ChromeClient::mouseDidMoveOverElement):
207         * WebCoreSupport/ChromeClientGtk.h:
208         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
209
210 2007-10-10  Alice Liu  <alice.liu@apple.com>
211
212         Reviewed by Geoff Garen.
213
214         changes to keep the build from breaking
215
216         * WebCoreSupport/FrameLoaderClientGtk.cpp:
217         (WebKit::FrameLoaderClient::createFrame):
218         * WebCoreSupport/FrameLoaderClientGtk.h:
219
220 2007-10-03  Alp Toker  <alp@atoker.com>
221
222         Reviewed by Adam.
223
224         http://bugs.webkit.org/show_bug.cgi?id=14726
225         [gtk] API design. Mapping the WebView delegates to signals.
226
227         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
228
229         * Api/webkitgtkdefines.h:
230         * Api/webkitgtkframe.cpp:
231         * Api/webkitgtkframe.h:
232         * Api/webkitgtkglobal.cpp:
233         * Api/webkitgtkglobal.h:
234         * Api/webkitgtknetworkrequest.h:
235         * Api/webkitgtkpage.cpp:
236         * Api/webkitgtkpage.h:
237         * Api/webkitgtkprivate.cpp:
238         (WebKit::apply):
239         (WebKit::create):
240         (WebKit::getFrameFromPage):
241         (WebKit::getPageFromFrame):
242         (WebKit::core):
243         (WebKit::kit):
244         * Api/webkitgtkprivate.h:
245         * Api/webkitgtksettings.cpp:
246         * Api/webkitgtksettings.h:
247         * WebCoreSupport/ChromeClientGtk.cpp:
248         (WebKit::ChromeClient::ChromeClient):
249         (WebKit::ChromeClient::createWindow):
250         (WebKit::ChromeClient::addMessageToConsole):
251         (WebKit::ChromeClient::runJavaScriptAlert):
252         (WebKit::ChromeClient::runJavaScriptConfirm):
253         (WebKit::ChromeClient::runJavaScriptPrompt):
254         * WebCoreSupport/ChromeClientGtk.h:
255         (WebKit::ChromeClient::webPage):
256         * WebCoreSupport/EditorClientGtk.cpp:
257         (WebKit::EditorClient::EditorClient):
258         * WebCoreSupport/EditorClientGtk.h:
259         * WebCoreSupport/FrameLoaderClientGtk.cpp:
260         (WebKit::FrameLoaderClient::FrameLoaderClient):
261         (WebKit::FrameLoaderClient::postProgressStartedNotification):
262         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
263         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
264         (WebKit::FrameLoaderClient::createFrame):
265         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
266         (WebKit::FrameLoaderClient::setTitle):
267         * WebCoreSupport/FrameLoaderClientGtk.h:
268         (WebKit::FrameLoaderClient::webFrame):
269
270 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
271
272         Reviewed by Mark.
273
274         http://bugs.webkit.org/show_bug.cgi?id=15299
275         Fix "hovering_over_link" signal being fired every time mouse moves.
276
277         * WebCoreSupport/ChromeClientGtk.cpp:
278         (WebKit::ChromeClient::ChromeClient):
279         (WebKit::ChromeClient::mouseDidMoveOverElement):
280         * WebCoreSupport/ChromeClientGtk.h:
281
282 2007-09-21  Sean Egan  <seanegan@gmail.com>
283
284         Reviewed by Alp.
285
286         Add an "execute_script" method to programmatically call Javascript
287         http://bugs.webkit.org/show_bug.cgi?id=15255
288
289         * Api/webkitgtkpage.cpp:
290         * Api/webkitgtkpage.h:
291
292 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
293
294         Reviewed by Adam.
295
296         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
297         http://bugs.webkit.org/show_bug.cgi?id=15299
298
299         Implementing "hovering_over_link" signal.
300
301         * WebCoreSupport/ChromeClientGtk.cpp:
302         (WebKit::ChromeClient::mouseDidMoveOverElement):
303
304 2007-09-26  Mark Rowe  <mrowe@apple.com>
305
306         Gtk build fix.
307
308         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
309
310 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
311
312         Reviewed by Adam.
313
314         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
315         allow client code to include both headers the typedef's for
316         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
317         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
318         webkitgtkframe.h
319
320         * Api/webkitgtkdefines.h:
321         * Api/webkitgtkframe.h:
322         * Api/webkitgtkpage.h:
323
324 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
325
326         Reviewed by Mark, some Coding Style changes by Holger.
327
328         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
329
330         Add title and location to WebKitGtkFramePrivate, add
331         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
332         as a title_changed callback, implement
333         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
334
335         Initial patch by Diego Escalante Urrelo.
336
337         * Api/webkitgtkframe.cpp:
338         * Api/webkitgtkframe.h:
339         * Api/webkitgtkprivate.h:
340
341 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
342
343         Reviewed by Mark.
344
345         Use the new WebCore::String::fromUTF8 function to convert
346         from the Gtk+ representation of a string to WebCore::String.
347
348         * WebCoreSupport/ChromeClientGtk.cpp:
349         (WebKit::ChromeClient::runJavaScriptPrompt):
350
351 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
352
353         Reviewed by Mark Rowe.
354
355         Fix a typo where webkit_gtk_page_can_copy was declared twice,
356         rather than webkit_gtk_page_can_paste.
357
358         * Api/webkitgtkpage.h:
359
360 2007-09-08  Brady Eidson  <beidson@apple.com>
361
362         Better build fix
363
364         * WebCoreSupport/FrameLoaderClientGtk.cpp:
365         (WebKit::FrameLoaderClient::registerForIconNotification):
366         * WebCoreSupport/FrameLoaderClientGtk.h:
367
368 2007-09-08  Brady Eidson  <beidson@apple.com>
369
370         Build fix
371
372         * WebCoreSupport/FrameLoaderClientGtk.cpp:
373         (WebKit::FrameLoaderClient::registerForIconNotification):
374         * WebCoreSupport/FrameLoaderClientGtk.h:
375
376 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
377
378         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
379         
380         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
381         memory cache, or a very tiny one
382         
383         Keep the GTK build working with an empty stub.
384         
385         * WebCoreSupport/FrameLoaderClientGtk.cpp:
386         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
387         * WebCoreSupport/FrameLoaderClientGtk.h:
388
389 2007-09-01  Oliver Hunt  <oliver@apple.com>
390
391         Reviewed by Sam.
392
393         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
394  
395         EditorClient::setInputMethodState stub
396
397         * WebCoreSupport/EditorClientGtk.cpp:
398         (WebKit::EditorClient::setInputMethodState):
399         * WebCoreSupport/EditorClientGtk.h:
400
401 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
402
403         Build fix. Add const to the first parameter of createPlugin
404
405         * WebCoreSupport/FrameLoaderClientGtk.cpp:
406
407 2007-08-17  Anders Carlsson  <andersca@apple.com>
408
409         Build fix.
410         
411         * WebCoreSupport/FrameLoaderClientGtk.cpp:
412         (WebKit::FrameLoaderClient::createPlugin):
413         * WebCoreSupport/FrameLoaderClientGtk.h:
414
415 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
416
417         Reviewed by Adam.
418
419         To not hit the needsLayout() assert of Frame::paint for subframes we need to
420         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
421         method to do this.
422
423         * Api/webkitgtkpage.cpp:
424
425 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
426
427         Reviewed by Adam.
428
429         Fix text selection by setting a DragClient when creating the Page. Now
430         that we have a DragClient we can free the Page when WebKitGtkPage gets
431         destructed.
432
433         * Api/webkitgtkpage.cpp:
434         * WebCoreSupport/DragClientGtk.cpp: Added.
435         (WebKit::DragClient::willPerformDragDestinationAction):
436         (WebKit::DragClient::willPerformDragSourceAction):
437         (WebKit::DragClient::actionMaskForDrag):
438         (WebKit::DragClient::dragSourceActionMaskForPoint):
439         (WebKit::DragClient::startDrag):
440         (WebKit::DragClient::createDragImageForLink):
441         * WebCoreSupport/DragClientGtk.h: Added.
442
443 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
444
445         Reviewed by Anders.
446
447         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
448         race of GtkScrollBar and GtkLayout.
449
450         * Api/webkitgtk-marshal.list:
451         * Api/webkitgtkframe.cpp:
452         * Api/webkitgtkpage.cpp:
453         * Api/webkitgtkpage.h:
454         * Api/webkitgtkprivate.h:
455
456 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
457
458         Reviewed by Niko.
459
460         Minor changes to the WebKit::EditorClient to allow removing
461         of text from TextFields. Remove the selectWordBeforeMenuEvent method
462         which is not used and not within WebCore::EditorClient. 
463
464         * WebCoreSupport/EditorClientGtk.cpp:
465         (WebKit::EditorClient::shouldDeleteRange):
466         (WebKit::EditorClient::shouldBeginEditing):
467         (WebKit::EditorClient::shouldEndEditing):
468         (WebKit::EditorClient::shouldApplyStyle):
469         (WebKit::EditorClient::shouldInsertNode):
470         * WebCoreSupport/EditorClientGtk.h:
471
472 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
473
474         Reviewed by Mark.
475
476         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
477         classes into the WebKit namespace. Change the class names to not contain Gtk.
478         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
479         bridge/EditorClient.h).
480         
481
482         * Api/webkitgtkframe.cpp:
483         * Api/webkitgtkpage.cpp:
484         * Api/webkitgtkprivate.cpp:
485         * Api/webkitgtkprivate.h:
486         * ChangeLog:
487         * WebCoreSupport/ChromeClientGtk.cpp:
488         (WebKit::ChromeClient::ChromeClient):
489         (WebKit::ChromeClient::chromeDestroyed):
490         (WebKit::ChromeClient::windowRect):
491         (WebKit::ChromeClient::setWindowRect):
492         (WebKit::ChromeClient::pageRect):
493         (WebKit::ChromeClient::scaleFactor):
494         (WebKit::ChromeClient::focus):
495         (WebKit::ChromeClient::unfocus):
496         (WebKit::ChromeClient::createWindow):
497         (WebKit::ChromeClient::createModalDialog):
498         (WebKit::ChromeClient::show):
499         (WebKit::ChromeClient::canRunModal):
500         (WebKit::ChromeClient::runModal):
501         (WebKit::ChromeClient::setToolbarsVisible):
502         (WebKit::ChromeClient::toolbarsVisible):
503         (WebKit::ChromeClient::setStatusbarVisible):
504         (WebKit::ChromeClient::statusbarVisible):
505         (WebKit::ChromeClient::setScrollbarsVisible):
506         (WebKit::ChromeClient::scrollbarsVisible):
507         (WebKit::ChromeClient::setMenubarVisible):
508         (WebKit::ChromeClient::menubarVisible):
509         (WebKit::ChromeClient::setResizable):
510         (WebKit::ChromeClient::closeWindowSoon):
511         (WebKit::ChromeClient::canTakeFocus):
512         (WebKit::ChromeClient::takeFocus):
513         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
514         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
515         (WebKit::ChromeClient::runJavaScriptAlert):
516         (WebKit::ChromeClient::runJavaScriptConfirm):
517         (WebKit::ChromeClient::setStatusbarText):
518         (WebKit::ChromeClient::shouldInterruptJavaScript):
519         (WebKit::ChromeClient::tabsToLinks):
520         (WebKit::ChromeClient::windowResizerRect):
521         (WebKit::ChromeClient::addToDirtyRegion):
522         (WebKit::ChromeClient::scrollBackingStore):
523         (WebKit::ChromeClient::updateBackingStore):
524         (WebKit::ChromeClient::mouseDidMoveOverElement):
525         (WebKit::ChromeClient::setToolTip):
526         * WebCoreSupport/ChromeClientGtk.h:
527         * WebCoreSupport/ContextMenuClientGtk.cpp:
528         (WebKit::ContextMenuClient::contextMenuDestroyed):
529         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
530         (WebKit::ContextMenuClient::contextMenuItemSelected):
531         (WebKit::ContextMenuClient::downloadURL):
532         (WebKit::ContextMenuClient::copyImageToClipboard):
533         (WebKit::ContextMenuClient::searchWithGoogle):
534         (WebKit::ContextMenuClient::lookUpInDictionary):
535         (WebKit::ContextMenuClient::speak):
536         * WebCoreSupport/ContextMenuClientGtk.h:
537         * WebCoreSupport/EditorClientGtk.cpp:
538         (WebKit::EditorClient::shouldDeleteRange):
539         (WebKit::EditorClient::shouldShowDeleteInterface):
540         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
541         (WebKit::EditorClient::isGrammarCheckingEnabled):
542         (WebKit::EditorClient::spellCheckerDocumentTag):
543         (WebKit::EditorClient::shouldBeginEditing):
544         (WebKit::EditorClient::shouldEndEditing):
545         (WebKit::EditorClient::shouldInsertText):
546         (WebKit::EditorClient::shouldChangeSelectedRange):
547         (WebKit::EditorClient::shouldApplyStyle):
548         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
549         (WebKit::EditorClient::didBeginEditing):
550         (WebKit::EditorClient::respondToChangedContents):
551         (WebKit::EditorClient::respondToChangedSelection):
552         (WebKit::EditorClient::didEndEditing):
553         (WebKit::EditorClient::didWriteSelectionToPasteboard):
554         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
555         (WebKit::EditorClient::selectWordBeforeMenuEvent):
556         (WebKit::EditorClient::isEditable):
557         (WebKit::EditorClient::registerCommandForUndo):
558         (WebKit::EditorClient::registerCommandForRedo):
559         (WebKit::EditorClient::clearUndoRedoOperations):
560         (WebKit::EditorClient::canUndo):
561         (WebKit::EditorClient::canRedo):
562         (WebKit::EditorClient::undo):
563         (WebKit::EditorClient::redo):
564         (WebKit::EditorClient::shouldInsertNode):
565         (WebKit::EditorClient::pageDestroyed):
566         (WebKit::EditorClient::smartInsertDeleteEnabled):
567         (WebKit::EditorClient::toggleContinuousSpellChecking):
568         (WebKit::EditorClient::toggleGrammarChecking):
569         (WebKit::EditorClient::handleInputMethodKeypress):
570         (WebKit::EditorClient::EditorClient):
571         (WebKit::EditorClient::textFieldDidBeginEditing):
572         (WebKit::EditorClient::textFieldDidEndEditing):
573         (WebKit::EditorClient::textDidChangeInTextField):
574         (WebKit::EditorClient::doTextFieldCommandFromEvent):
575         (WebKit::EditorClient::textWillBeDeletedInTextField):
576         (WebKit::EditorClient::textDidChangeInTextArea):
577         (WebKit::EditorClient::ignoreWordInSpellDocument):
578         (WebKit::EditorClient::learnWord):
579         (WebKit::EditorClient::checkSpellingOfString):
580         (WebKit::EditorClient::checkGrammarOfString):
581         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
582         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
583         (WebKit::EditorClient::showSpellingUI):
584         (WebKit::EditorClient::spellingUIIsShowing):
585         * WebCoreSupport/EditorClientGtk.h:
586         * WebCoreSupport/FrameLoaderClientGtk.cpp:
587         (WebKit::FrameLoaderClient::FrameLoaderClient):
588         (WebKit::FrameLoaderClient::userAgent):
589         (WebKit::FrameLoaderClient::createDocumentLoader):
590         (WebKit::FrameLoaderClient::committedLoad):
591         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
592         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
593         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
594         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
595         (WebKit::FrameLoaderClient::postProgressStartedNotification):
596         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
597         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
598         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
599         (WebKit::FrameLoaderClient::createPlugin):
600         (WebKit::FrameLoaderClient::redirectDataToPlugin):
601         (WebKit::FrameLoaderClient::createJavaAppletWidget):
602         (WebKit::FrameLoaderClient::overrideMediaType):
603         (WebKit::FrameLoaderClient::windowObjectCleared):
604         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
605         (WebKit::FrameLoaderClient::hasWebView):
606         (WebKit::FrameLoaderClient::hasFrameView):
607         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
608         (WebKit::FrameLoaderClient::frameLoadCompleted):
609         (WebKit::FrameLoaderClient::saveViewStateToItem):
610         (WebKit::FrameLoaderClient::restoreViewState):
611         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
612         (WebKit::FrameLoaderClient::makeDocumentView):
613         (WebKit::FrameLoaderClient::makeRepresentation):
614         (WebKit::FrameLoaderClient::forceLayout):
615         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
616         (WebKit::FrameLoaderClient::setCopiesOnScroll):
617         (WebKit::FrameLoaderClient::detachedFromParent1):
618         (WebKit::FrameLoaderClient::detachedFromParent2):
619         (WebKit::FrameLoaderClient::detachedFromParent3):
620         (WebKit::FrameLoaderClient::detachedFromParent4):
621         (WebKit::FrameLoaderClient::loadedFromCachedPage):
622         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
623         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
624         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
625         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
626         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
627         (WebKit::FrameLoaderClient::dispatchWillClose):
628         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
629         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
630         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
631         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
632         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
633         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
634         (WebKit::FrameLoaderClient::dispatchShow):
635         (WebKit::FrameLoaderClient::cancelPolicyCheck):
636         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
637         (WebKit::FrameLoaderClient::revertToProvisionalState):
638         (WebKit::FrameLoaderClient::clearUnarchivingState):
639         (WebKit::FrameLoaderClient::willChangeTitle):
640         (WebKit::FrameLoaderClient::didChangeTitle):
641         (WebKit::FrameLoaderClient::finishedLoading):
642         (WebKit::FrameLoaderClient::finalSetupForReplace):
643         (WebKit::FrameLoaderClient::setDefersLoading):
644         (WebKit::FrameLoaderClient::isArchiveLoadPending):
645         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
646         (WebKit::FrameLoaderClient::clearArchivedResources):
647         (WebKit::FrameLoaderClient::canHandleRequest):
648         (WebKit::FrameLoaderClient::canShowMIMEType):
649         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
650         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
651         (WebKit::FrameLoaderClient::provisionalLoadStarted):
652         (WebKit::FrameLoaderClient::didFinishLoad):
653         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
654         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
655         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
656         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
657         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
658         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
659         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
660         (WebKit::FrameLoaderClient::download):
661         (WebKit::FrameLoaderClient::cancelledError):
662         (WebKit::FrameLoaderClient::blockedError):
663         (WebKit::FrameLoaderClient::cannotShowURLError):
664         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
665         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
666         (WebKit::FrameLoaderClient::fileDoesNotExistError):
667         (WebKit::FrameLoaderClient::shouldFallBack):
668         (WebKit::FrameLoaderClient::willUseArchive):
669         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
670         (WebKit::FrameLoaderClient::canCachePage):
671         (WebKit::FrameLoaderClient::dispatchCreatePage):
672         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
673         * WebCoreSupport/FrameLoaderClientGtk.h:
674         * WebCoreSupport/InspectorClientGtk.cpp:
675         (WebKit::InspectorClient::inspectorDestroyed):
676         (WebKit::InspectorClient::createPage):
677         (WebKit::InspectorClient::showWindow):
678         (WebKit::InspectorClient::closeWindow):
679         (WebKit::InspectorClient::attachWindow):
680         (WebKit::InspectorClient::detachWindow):
681         (WebKit::InspectorClient::highlight):
682         (WebKit::InspectorClient::hideHighlight):
683         * WebCoreSupport/InspectorClientGtk.h:
684
685 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
686
687         Reviewed by Adam.
688
689         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
690         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
691         rename it from Gdk to Gtk.
692
693         * Api/webkitgtkdefines.h:
694         * Api/webkitgtkframe.cpp:
695         * Api/webkitgtkframe.h:
696         * Api/webkitgtkglobal.cpp:
697         * Api/webkitgtkglobal.h:
698         * Api/webkitgtknetworkrequest.cpp:
699         * Api/webkitgtknetworkrequest.h:
700         * Api/webkitgtkpage.cpp:
701         * Api/webkitgtkpage.h:
702         * Api/webkitgtkprivate.cpp:
703         * Api/webkitgtkprivate.h:
704         * Api/webkitgtksettings.cpp:
705         * Api/webkitgtksettings.h:
706         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
707         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
708         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
709         (WebKitGtk::ChromeClientGtk::windowRect):
710         (WebKitGtk::ChromeClientGtk::setWindowRect):
711         (WebKitGtk::ChromeClientGtk::pageRect):
712         (WebKitGtk::ChromeClientGtk::scaleFactor):
713         (WebKitGtk::ChromeClientGtk::focus):
714         (WebKitGtk::ChromeClientGtk::unfocus):
715         (WebKitGtk::ChromeClientGtk::createWindow):
716         (WebKitGtk::ChromeClientGtk::createModalDialog):
717         (WebKitGtk::ChromeClientGtk::show):
718         (WebKitGtk::ChromeClientGtk::canRunModal):
719         (WebKitGtk::ChromeClientGtk::runModal):
720         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
721         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
722         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
723         (WebKitGtk::ChromeClientGtk::statusbarVisible):
724         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
725         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
726         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
727         (WebKitGtk::ChromeClientGtk::menubarVisible):
728         (WebKitGtk::ChromeClientGtk::setResizable):
729         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
730         (WebKitGtk::ChromeClientGtk::canTakeFocus):
731         (WebKitGtk::ChromeClientGtk::takeFocus):
732         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
733         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
734         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
735         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
736         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
737         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
738         (WebKitGtk::ChromeClientGtk::setStatusbarText):
739         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
740         (WebKitGtk::ChromeClientGtk::tabsToLinks):
741         (WebKitGtk::ChromeClientGtk::windowResizerRect):
742         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
743         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
744         (WebKitGtk::ChromeClientGtk::updateBackingStore):
745         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
746         (WebKitGtk::ChromeClientGtk::setToolTip):
747         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
748         (WebKitGtk::ChromeClientGtk::webPage):
749         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
750         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
751         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
752         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
753         (WebCore::ContextMenuClientGtk::downloadURL):
754         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
755         (WebCore::ContextMenuClientGtk::searchWithGoogle):
756         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
757         (WebCore::ContextMenuClientGtk::speak):
758         (WebCore::ContextMenuClientGtk::stopSpeaking):
759         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
760         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
761         (WebCore::EditorClientGtk::shouldDeleteRange):
762         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
763         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
764         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
765         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
766         (WebCore::EditorClientGtk::shouldBeginEditing):
767         (WebCore::EditorClientGtk::shouldEndEditing):
768         (WebCore::EditorClientGtk::shouldInsertText):
769         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
770         (WebCore::EditorClientGtk::shouldApplyStyle):
771         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
772         (WebCore::EditorClientGtk::didBeginEditing):
773         (WebCore::EditorClientGtk::respondToChangedContents):
774         (WebCore::EditorClientGtk::respondToChangedSelection):
775         (WebCore::EditorClientGtk::didEndEditing):
776         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
777         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
778         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
779         (WebCore::EditorClientGtk::isEditable):
780         (WebCore::EditorClientGtk::registerCommandForUndo):
781         (WebCore::EditorClientGtk::registerCommandForRedo):
782         (WebCore::EditorClientGtk::clearUndoRedoOperations):
783         (WebCore::EditorClientGtk::canUndo):
784         (WebCore::EditorClientGtk::canRedo):
785         (WebCore::EditorClientGtk::undo):
786         (WebCore::EditorClientGtk::redo):
787         (WebCore::EditorClientGtk::shouldInsertNode):
788         (WebCore::EditorClientGtk::pageDestroyed):
789         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
790         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
791         (WebCore::EditorClientGtk::toggleGrammarChecking):
792         (WebCore::EditorClientGtk::handleKeypress):
793         (WebCore::EditorClientGtk::handleInputMethodKeypress):
794         (WebCore::EditorClientGtk::EditorClientGtk):
795         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
796         (WebCore::EditorClientGtk::textFieldDidEndEditing):
797         (WebCore::EditorClientGtk::textDidChangeInTextField):
798         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
799         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
800         (WebCore::EditorClientGtk::textDidChangeInTextArea):
801         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
802         (WebCore::EditorClientGtk::learnWord):
803         (WebCore::EditorClientGtk::checkSpellingOfString):
804         (WebCore::EditorClientGtk::checkGrammarOfString):
805         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
806         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
807         (WebCore::EditorClientGtk::showSpellingUI):
808         (WebCore::EditorClientGtk::spellingUIIsShowing):
809         (WebCore::EditorClientGtk::getGuessesForWord):
810         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
811         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
812         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
813         (WebCore::FrameLoaderClientGtk::userAgent):
814         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
815         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
816         (WebCore::FrameLoaderClientGtk::committedLoad):
817         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
818         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
819         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
820         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
821         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
822         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
823         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
824         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
825         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
826         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
827         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
828         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
829         (WebCore::FrameLoaderClientGtk::createPlugin):
830         (WebCore::FrameLoaderClientGtk::createFrame):
831         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
832         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
833         (WebCore::FrameLoaderClientGtk::objectContentType):
834         (WebCore::FrameLoaderClientGtk::overrideMediaType):
835         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
836         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
837         (WebCore::FrameLoaderClientGtk::hasWebView):
838         (WebCore::FrameLoaderClientGtk::hasFrameView):
839         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
840         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
841         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
842         (WebCore::FrameLoaderClientGtk::restoreViewState):
843         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
844         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
845         (WebCore::FrameLoaderClientGtk::makeDocumentView):
846         (WebCore::FrameLoaderClientGtk::makeRepresentation):
847         (WebCore::FrameLoaderClientGtk::forceLayout):
848         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
849         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
850         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
851         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
852         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
853         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
854         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
855         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
856         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
857         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
858         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
859         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
860         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
861         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
862         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
863         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
864         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
865         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
866         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
867         (WebCore::FrameLoaderClientGtk::dispatchShow):
868         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
869         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
870         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
871         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
872         (WebCore::FrameLoaderClientGtk::willChangeTitle):
873         (WebCore::FrameLoaderClientGtk::didChangeTitle):
874         (WebCore::FrameLoaderClientGtk::finishedLoading):
875         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
876         (WebCore::FrameLoaderClientGtk::setDefersLoading):
877         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
878         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
879         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
880         (WebCore::FrameLoaderClientGtk::canHandleRequest):
881         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
882         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
883         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
884         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
885         (WebCore::FrameLoaderClientGtk::didFinishLoad):
886         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
887         (WebCore::FrameLoaderClientGtk::setTitle):
888         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
889         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
890         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
891         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
892         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
893         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
894         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
895         (WebCore::FrameLoaderClientGtk::download):
896         (WebCore::FrameLoaderClientGtk::cancelledError):
897         (WebCore::FrameLoaderClientGtk::blockedError):
898         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
899         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
900         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
901         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
902         (WebCore::FrameLoaderClientGtk::shouldFallBack):
903         (WebCore::FrameLoaderClientGtk::willUseArchive):
904         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
905         (WebCore::FrameLoaderClientGtk::canCachePage):
906         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
907         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
908         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
909         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
910         (WebCore::FrameLoaderClientGtk::webFrame):
911         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
912         (WebCore::InspectorClientGtk::inspectorDestroyed):
913         (WebCore::InspectorClientGtk::createPage):
914         (WebCore::InspectorClientGtk::showWindow):
915         (WebCore::InspectorClientGtk::closeWindow):
916         (WebCore::InspectorClientGtk::attachWindow):
917         (WebCore::InspectorClientGtk::detachWindow):
918         (WebCore::InspectorClientGtk::highlight):
919         (WebCore::InspectorClientGtk::hideHighlight):
920         (WebCore::InspectorClientGtk::inspectedURLChanged):
921         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
922
923 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
924
925         Build fix.
926
927         * Api/webkitgtkframe.cpp:
928
929 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
930
931         Reviewed by Adam.
932
933         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
934         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
935         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
936         remove it.
937         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
938         is currently used by FrameLoaderClientGdk::createFrame.
939
940         * Api/webkitgtkframe.cpp:
941         * Api/webkitgtkframedata.cpp: Removed.
942         * Api/webkitgtkframedata.h: Removed.
943         * Api/webkitgtkpage.cpp:
944         * Api/webkitgtkpage.h:
945         * Api/webkitgtkprivate.h:
946
947 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
948
949         Reviewed by Adam.
950
951         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
952         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
953         the GtkAdjustments to ScrollView.
954         This makes having one GdkWindow for the complete FrameTree possible.
955         
956
957         * gtk/Api/webkitgtkframe.cpp:
958         * gtk/Api/webkitgtkpage.cpp:
959
960 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
961
962         Reviewed by Niko.
963
964         We only need to set the Settings of the Page once so do it in
965         WebKitGtkPage instead of WebKitGtkFrame.
966
967         * gtk/Api/webkitgtkframe.cpp:
968         * gtk/Api/webkitgtkpage.cpp:
969
970 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
971
972         Reviewed by Niko.
973
974         Instead of reimplementing the general event method, reimplement
975         the specific mouse, expose, keyboard event methods.
976
977         Call the finalize implementation of the base class from WebKitGtkPage
978         and WebKitGtkFrame.
979
980         * gtk/Api/webkitgtkframe.cpp:
981         * gtk/Api/webkitgtkpage.cpp:
982
983 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
984
985         Reviewed by Niko.
986
987         Remove the custom painting in favor of the Widget::paint
988         implementation.
989
990         * gtk/Api/webkitgtkpage.cpp:
991
992 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
993
994         Reviewed by Adam.
995
996         Moved code from class FrameGdk into WebKitGtkFrame. Update the
997         webkitgrkprivate.h header file to not include FrameGdk.h.
998
999         * gtk/Api/webkitgtkframe.cpp:
1000         * gtk/Api/webkitgtkprivate.h:
1001
1002 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1003
1004         Reviewed by Adam.
1005
1006         Change variable names to follow the Coding-Style. Replace occurences
1007         of a_b with aB and place the '*' correctly.
1008
1009         * gtk/Api/webkitgtkframe.cpp:
1010         * gtk/Api/webkitgtkpage.cpp:
1011         * gtk/Api/webkitgtkprivate.h:
1012
1013 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1014
1015         Reviewed by Adam.
1016
1017         Reimplement GtkWidget::event and handle the keyboard and mouse
1018         events inside WebKitGtkPage.
1019
1020         * gtk/Api/webkitgtkpage.cpp:
1021         (FrameGdkExposeData::frame_gdk_expose_child):
1022         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
1023         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
1024         (FrameGdkExposeData::webkit_gtk_page_class_init):
1025
1026 2007-08-07  Xan Lopez  <xan@gnome.org>
1027
1028         Reviewed by Mark Rowe.
1029
1030         http://bugs.webkit.org/show_bug.cgi?id=14815
1031         [gtk] API implementation: reload
1032
1033         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
1034         function.
1035
1036 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
1037
1038         Reviewed by Adam.
1039
1040         http://bugs.webkit.org/show_bug.cgi?id=14806
1041         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
1042
1043         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
1044         webkit_gtk_page_can_go_forward() functions.
1045
1046 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
1047
1048         Reviewed by Alp Toker.
1049
1050         http://bugs.webkit.org/show_bug.cgi?id=14810
1051         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1052
1053         This is the proper fix for #14810.
1054
1055         * gtk/Api/webkitgtkframe.cpp:
1056         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
1057         correct the class_offset parameters.
1058
1059 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
1060
1061         Reviewed by Alp Toker.
1062
1063         http://bugs.webkit.org/show_bug.cgi?id=14810
1064         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1065
1066         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
1067         them in the "load_finished" signal.
1068
1069 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
1070
1071         Reviewed by Adam.
1072
1073         Add the first API and partial implementation of the WebKit/Gtk port as
1074         of http://bugs.webkit.org/show_bug.cgi?id=14678.
1075
1076         The delegates of WebView will be modeled as signals. Delegates like the
1077         WebPolicyDelegate will be implemented as signals with default handlers.
1078
1079         Start moving files to WebKit/gtk/WebCoreSupport.
1080
1081         * gtk: Added.
1082         * gtk/Api: Added.
1083         * gtk/Api/headers.pri: Added.
1084         * gtk/Api/webkitgtk-marshal.list: Added.
1085         * gtk/Api/webkitgtkdefines.h: Added.
1086         * gtk/Api/webkitgtkframe.cpp: Added.
1087         * gtk/Api/webkitgtkframe.h: Added.
1088         * gtk/Api/webkitgtkframedata.cpp: Added.
1089         * gtk/Api/webkitgtkframedata.h: Added.
1090         * gtk/Api/webkitgtkglobal.cpp: Added.
1091         * gtk/Api/webkitgtkglobal.h: Added.
1092         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
1093         * gtk/Api/webkitgtknetworkrequest.h: Added.
1094         * gtk/Api/webkitgtkpage.cpp: Added.
1095         * gtk/Api/webkitgtkpage.h: Added.
1096         * gtk/Api/webkitgtkprivate.cpp: Added.
1097         * gtk/Api/webkitgtkprivate.h: Added.
1098         * gtk/Api/webkitgtksettings.cpp: Added.
1099         * gtk/Api/webkitgtksettings.h: Added.
1100         * gtk/WebCoreSupport: Added.
1101         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
1102         (WebCore::ChromeClientGdk::ChromeClientGdk):
1103         (WebCore::ChromeClientGdk::chromeDestroyed):
1104         (WebCore::ChromeClientGdk::windowRect):
1105         (WebCore::ChromeClientGdk::setWindowRect):
1106         (WebCore::ChromeClientGdk::pageRect):
1107         (WebCore::ChromeClientGdk::scaleFactor):
1108         (WebCore::ChromeClientGdk::focus):
1109         (WebCore::ChromeClientGdk::unfocus):
1110         (WebCore::ChromeClientGdk::createWindow):
1111         (WebCore::ChromeClientGdk::createModalDialog):
1112         (WebCore::ChromeClientGdk::show):
1113         (WebCore::ChromeClientGdk::canRunModal):
1114         (WebCore::ChromeClientGdk::runModal):
1115         (WebCore::ChromeClientGdk::setToolbarsVisible):
1116         (WebCore::ChromeClientGdk::toolbarsVisible):
1117         (WebCore::ChromeClientGdk::setStatusbarVisible):
1118         (WebCore::ChromeClientGdk::statusbarVisible):
1119         (WebCore::ChromeClientGdk::setScrollbarsVisible):
1120         (WebCore::ChromeClientGdk::scrollbarsVisible):
1121         (WebCore::ChromeClientGdk::setMenubarVisible):
1122         (WebCore::ChromeClientGdk::menubarVisible):
1123         (WebCore::ChromeClientGdk::setResizable):
1124         (WebCore::ChromeClientGdk::closeWindowSoon):
1125         (WebCore::ChromeClientGdk::canTakeFocus):
1126         (WebCore::ChromeClientGdk::takeFocus):
1127         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
1128         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
1129         (WebCore::ChromeClientGdk::addMessageToConsole):
1130         (WebCore::ChromeClientGdk::runJavaScriptAlert):
1131         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
1132         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
1133         (WebCore::ChromeClientGdk::setStatusbarText):
1134         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
1135         (WebCore::ChromeClientGdk::tabsToLinks):
1136         (WebCore::ChromeClientGdk::windowResizerRect):
1137         (WebCore::ChromeClientGdk::addToDirtyRegion):
1138         (WebCore::ChromeClientGdk::scrollBackingStore):
1139         (WebCore::ChromeClientGdk::updateBackingStore):
1140         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
1141         (WebCore::ChromeClientGdk::setToolTip):
1142         (WebCore::ChromeClientGdk::print):
1143         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
1144