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