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