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