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