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