2007-12-22 Xan Lopez <xan@gnome.org>
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2007-12-22  Xan Lopez  <xan@gnome.org>
2
3         Reviewed by Alp Toker.
4
5         Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
6
7         * WebView/webkitwebview.cpp:
8         Fix signal id arguments for g_signal_emit in
9         clipboard functions.
10
11 2007-12-21  Alp Toker  <alp@atoker.com>
12
13         Documentation typo fix: s/wether/whether
14
15         * WebView/webkitwebview.cpp:
16
17 2007-12-21  Christian Dywan  <christian@twotoasts.de>
18
19         Reviewed by Alp Toker.
20
21         http://bugs.webkit.org/show_bug.cgi?id=16144
22         [GTK] Clipboard/ selection handling functions
23
24         * WebView/webkitprivate.h:
25         * WebView/webkitwebview.cpp:
26         * WebView/webkitwebview.h:
27
28 2007-12-19  Christian Dywan  <christian@twotoasts.de> 
29
30         Reviewed by Alp Toker.
31
32         http://bugs.webkit.org/show_bug.cgi?id=16222
33         [GTK] Implement inline search and highlighting of matching strings.
34
35         * WebView/webkitwebview.cpp:
36         * WebView/webkitwebview.h:
37
38 2007-12-19  Alp Toker  <alp@atoker.com>
39
40         Reviewed by Holger Freyther.
41
42         Delete when Destroy functions are called to avoid leaks
43         
44         This matches the Mac port.
45
46         * WebCoreSupport/ChromeClientGtk.cpp:
47         * WebCoreSupport/ContextMenuClientGtk.cpp:
48         * WebCoreSupport/InspectorClientGtk.cpp:
49
50 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
51
52         Reviewed by Alp Toker.
53
54         http://bugs.webkit.org/show_bug.cgi?id=16042
55         [GTK] Eliminate webkit_init()
56
57         Move webkit initialization to WebView class init.
58
59         * WebView/headers.pri:
60         * WebView/webkit.h:
61         * WebView/webkitglobal.cpp: Removed.
62         * WebView/webkitglobal.h: Removed.
63         * WebView/webkitprivate.cpp:
64         (WebKit::webkit_init):
65         * WebView/webkitprivate.h:
66         * WebView/webkitwebframe.cpp:
67         * WebView/webkitwebview.cpp:
68
69 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
70
71         Reviewed by Alp Toker.
72
73         http://bugs.webkit.org/show_bug.cgi?id=13542
74         gdklauncher doesnt change URL in adress GTKEntry.
75
76         Let DOMDocument observers do their work before emitting title-changed.
77         The load-committed signal has been added for both the view and the frame.
78
79         * WebCoreSupport/FrameLoaderClientGtk.cpp:
80         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
81         (WebKit::FrameLoaderClient::setTitle): set private title
82         (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
83         * WebView/webkit-marshal.list:
84         * WebView/webkitprivate.h:
85         (_WebKitWebFramePrivate): rename location to uri
86         * WebView/webkitwebframe.cpp:
87         (webkit_web_frame_get_location): renamed to *_get_uri
88         (webkit_web_frame_get_uri):
89         (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
90         (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
91         (webkit_web_frame_finalize):
92         * WebView/webkitwebframe.h:
93         (_WebKitWebFrameClass): removed title_changed
94         * WebView/webkitwebview.cpp:
95         (webkit_web_view_class_init): pass only the title in title-changed
96
97 2007-12-14  Alp Toker  <alp@atoker.com>
98
99         Fix inconsistent indentation in the license header. Maciej was right!
100
101         * WebCoreSupport/FrameLoaderClientGtk.cpp:
102
103 2007-12-14  Alp Toker  <alp@atoker.com>
104
105         Reviewed by Maciej.
106
107         http://bugs.webkit.org/show_bug.cgi?id=16432
108         [GTK] Update license headers
109
110         Consent has been given by the authors of these files to change license
111         to the LGPL as outlined in the bug report.
112
113         * WebCoreSupport/ChromeClientGtk.cpp:
114         * WebCoreSupport/ContextMenuClientGtk.cpp:
115         * WebCoreSupport/DragClientGtk.cpp:
116         * WebCoreSupport/EditorClientGtk.cpp:
117         * WebCoreSupport/FrameLoaderClientGtk.cpp:
118         (WebKit::FrameLoaderClient::makeRepresentation):
119         (WebKit::FrameLoaderClient::forceLayout):
120         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
121         (WebKit::FrameLoaderClient::setCopiesOnScroll):
122         (WebKit::FrameLoaderClient::detachedFromParent1):
123         (WebKit::FrameLoaderClient::detachedFromParent2):
124         (WebKit::FrameLoaderClient::detachedFromParent3):
125         (WebKit::FrameLoaderClient::detachedFromParent4):
126         (WebKit::FrameLoaderClient::loadedFromCachedPage):
127         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
128         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
129         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
130         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
131         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
132         (WebKit::FrameLoaderClient::dispatchWillClose):
133         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
134         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
135         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
136         (WebKit::FrameLoaderClient::dispatchShow):
137         (WebKit::FrameLoaderClient::cancelPolicyCheck):
138         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
139         (WebKit::FrameLoaderClient::revertToProvisionalState):
140         (WebKit::FrameLoaderClient::clearUnarchivingState):
141         (WebKit::FrameLoaderClient::willChangeTitle):
142         (WebKit::FrameLoaderClient::didChangeTitle):
143         (WebKit::FrameLoaderClient::finalSetupForReplace):
144         (WebKit::FrameLoaderClient::setDefersLoading):
145         (WebKit::FrameLoaderClient::isArchiveLoadPending):
146         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
147         (WebKit::FrameLoaderClient::clearArchivedResources):
148         (WebKit::FrameLoaderClient::canHandleRequest):
149         (WebKit::FrameLoaderClient::canShowMIMEType):
150         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
151         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
152         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
153         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
154         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
155         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
156         (WebKit::FrameLoaderClient::download):
157         (WebKit::FrameLoaderClient::cancelledError):
158         (WebKit::FrameLoaderClient::blockedError):
159         (WebKit::FrameLoaderClient::cannotShowURLError):
160         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
161         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
162         (WebKit::FrameLoaderClient::fileDoesNotExistError):
163         (WebKit::FrameLoaderClient::shouldFallBack):
164         (WebKit::FrameLoaderClient::willUseArchive):
165         (WebKit::FrameLoaderClient::canCachePage):
166         (WebKit::FrameLoaderClient::dispatchCreatePage):
167         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
168         (WebKit::FrameLoaderClient::setMainDocumentError):
169         (WebKit::FrameLoaderClient::startDownload):
170         (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
171         (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
172         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
173         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
174         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
175         * WebCoreSupport/InspectorClientGtk.cpp:
176         * WebView/webkitwebview.cpp:
177
178 2007-12-14  Darin Adler  <darin@apple.com>
179
180         Reviewed by Alexey.
181
182         * WebCoreSupport/EditorClientGtk.cpp:
183         (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
184         instead of Editor::execCommand.
185         * WebView/webkitwebview.cpp: Ditto.
186
187 2007-12-12  Brady Eidson  <beidson@apple.com>
188
189         Reviewed by Sam Weinig
190
191         As part of doing some CachedPage and client cleanup, keep GTK building
192
193         * WebCoreSupport/FrameLoaderClientGtk.cpp:
194         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
195         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
196         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
197         * WebCoreSupport/FrameLoaderClientGtk.h:
198
199 2007-12-12  Alp Toker  <alp@atoker.com>
200
201         Reviewed by Holger Freyther.
202
203         http://bugs.webkit.org/show_bug.cgi?id=15576
204         [GTK] Printing support
205
206         Add printing support.
207
208         The API will be kept internal for the time being, but printing can now
209         be triggered by Web pages or the JSC API using JavaScript.
210
211         The print spooler and pagination code is fairly abstract and could be
212         shared by other ports including Win and Qt once complete. It doesn't
213         have header/footer support yet.
214
215         * WebCoreSupport/ChromeClientGtk.cpp:
216         (WebKit::ChromeClient::print):
217         * WebView/webkitprivate.h:
218         * WebView/webkitwebframe.cpp:
219         (PrintContext::begin_print):
220         (PrintContext::draw_page):
221         (PrintContext::end_print):
222         (PrintContext::webkit_web_frame_print):
223
224 2007-12-12  Sam Weinig  <sam@webkit.org>
225
226         Build fix.
227
228         * WebCoreSupport/FrameLoaderClientGtk.cpp:
229         (WebKit::FrameLoaderClient::didChangeTitle):
230
231 2007-12-12  Sam Weinig  <sam@webkit.org>
232
233         Build fix.
234
235         * WebCoreSupport/FrameLoaderClientGtk.cpp:
236         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
237
238 2007-12-11  George Wright  <george.wright@collabora.co.uk>
239
240         Reviewed by Alp Toker.
241
242         http://bugs.webkit.org/show_bug.cgi?id=14120
243         [GDK] Support input methods
244
245         This patch adds infrastructure for input method support.
246
247         It also adds Hildon features for the Maemo mobile platform sufficient
248         to support the virtual keyboard.
249
250         * WebCoreSupport/EditorClientGtk.cpp:
251         (WebKit::imContextCommitted):
252         (WebKit::EditorClient::EditorClient):
253         (WebKit::EditorClient::~EditorClient):
254         (WebKit::EditorClient::textFieldDidBeginEditing):
255         (WebKit::EditorClient::textFieldDidEndEditing):
256         * WebCoreSupport/EditorClientGtk.h:
257         * WebView/webkitprivate.h:
258         * WebView/webkitwebview.cpp:
259
260 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
261
262         Reviewed by Darin.
263
264         <rdar://problem/5535636>
265         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
266
267         http://bugs.webkit.org/show_bug.cgi?id=13916
268         JavaScript detects Tab as a character input on a textfield validation
269
270         * WebCoreSupport/EditorClientGtk.cpp:
271         (WebKit::EditorClient::handleKeyboardEvent):
272         (WebKit::EditorClient::handleInputMethodKeydown):
273         * WebCoreSupport/EditorClientGtk.h:
274         Updated for cross-platform changes as much as it was possible without a gtk build environment.
275
276 2007-12-08  Luca Bruno  <lethalman88@gmail.com>
277
278         Reviewed by Alp Toker.
279
280         http://bugs.webkit.org/show_bug.cgi?id=16346
281         [GTK] Some webview parts must use the focused frame.
282
283         Also update some old code.
284
285         * WebView/webkitprivate.cpp:
286         (getFrameFromView): removed
287
288         * WebView/webkitprivate.h:
289         (getFrameFromView): removed
290         
291         * WebView/webkitwebview.cpp:
292         (webkit_web_view_expose_event):
293         (webkit_web_view_key_press_event): use focused frame
294         (webkit_web_view_key_release_event): use focused frame
295         (webkit_web_view_button_press_event):
296         (webkit_web_view_button_release_event):
297         (webkit_web_view_motion_event):
298         (webkit_web_view_scroll_event):
299         (webkit_web_view_size_allocate):
300         (webkit_web_view_set_scroll_adjustments):
301         (webkit_web_view_execute_script):
302         (webkit_web_view_stop_loading):
303         (webkit_web_view_load_string):
304         (webkit_web_view_reload):
305         (webkit_web_view_open):
306         (webkit_web_view_can_go_forward):
307         (webkit_web_view_can_go_backward):
308         (webkit_web_view_go_forward):
309         (webkit_web_view_go_backward):
310
311         * WebCoreSupport/EditorClientGtk.cpp:
312         (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
313
314 2007-12-07  Luca Bruno  <lethalman88@gmail.com>
315
316         Reviewed by Alp Toker.
317
318         http://bugs.webkit.org/show_bug.cgi?id=16333
319         [GTK] Key bindings must work with focused frames.
320
321         There are still more cases where getFrameFromView() is mis-used that
322         need to be fixed, but this is a good start.
323
324         * WebView/webkitwebview.cpp:
325         (webkit_web_view_real_select_all):
326         (webkit_web_view_real_cut_clipboard):
327         (webkit_web_view_real_copy_clipboard):
328         (webkit_web_view_real_paste_clipboard):
329
330 2007-12-06  Xan Lopez  <xan@gnome.org>
331
332         Reviewed by Alp Toker.
333
334         http://bugs.webkit.org/show_bug.cgi?id=16329
335         [GTK] Two small cleanups
336
337         * WebCoreSupport/ChromeClientGtk.cpp:
338         (WebKit::ChromeClient::createWindow):
339         (WebKit::ChromeClient::addMessageToConsole):
340         (WebKit::ChromeClient::runJavaScriptAlert):
341         (WebKit::ChromeClient::runJavaScriptConfirm):
342         (WebKit::ChromeClient::runJavaScriptPrompt):
343         (WebKit::ChromeClient::setStatusbarText):
344         (WebKit::ChromeClient::mouseDidMoveOverElement):
345         (WebKit::ChromeClient::setToolTip):
346         * WebCoreSupport/ChromeClientGtk.h:
347         * WebView/webkitprivate.cpp:
348         (WebKit::kit):
349         s/m_webPage/m_webView/
350         * WebView/webkitwebview.cpp:
351         Chain up to the parent class to activate bindings instead
352         of doing it explicitely.
353
354 2007-12-06  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
355
356         Reviewed by Alp Toker.
357
358         http://bugs.webkit.org/show_bug.cgi?id=16173
359         Licensing change
360
361         Change license from BSD to LGPL.
362
363         * WebCoreSupport/ChromeClientGtk.h:
364         * WebView/webkitdefines.h:
365         * WebView/webkitglobal.cpp:
366         * WebView/webkitglobal.h:
367         * WebView/webkitnetworkrequest.cpp:
368         * WebView/webkitnetworkrequest.h:
369         * WebView/webkitprivate.cpp:
370         * WebView/webkitprivate.h:
371         * WebView/webkitsettings.cpp:
372         * WebView/webkitsettings.h:
373         * WebView/webkitwebframe.cpp:
374         * WebView/webkitwebframe.h:
375         * WebView/webkitwebview.h:
376
377 2007-12-05  Michael Natterer  <mitch@imendio.com>
378
379         Reviewed by Alp Toker.
380
381         * WebView/webkitwebview.cpp: split key and button event handlers
382         into separate press and release functions.
383
384 2007-12-05  Luca Bruno  <lethalman88@gmail.com>
385
386         Reviewed by Alp Toker.
387
388         Handle events for Home and End keys.
389
390         * WebView/webkitwebview.cpp:
391         (webkit_web_view_key_event):
392         * WebCoreSupport/EditorClientGtk.cpp:
393         (EditorClient::handleKeypress):
394
395 2007-12-05  Michael Natterer  <mitch@imendio.com>
396
397         Reviewed by Alp Toker.
398
399         * WebView/webkitwebview.cpp
400         * WebCoreSupport/ChromeClientGtk.cpp
401         * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
402
403 2007-12-04  Darin Adler  <darin@apple.com>
404
405         Reviewed by Kevin Decker.
406
407         * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
408         * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
409
410 2007-12-04  Michael Natterer  <mitch@imendio.com>
411
412         Reviewed by Alp Toker.
413
414         * WebView/webkitwebframe.cpp: don't redeclare the marshaller
415         prototype but simply include "webkit-marshal.h" now that its build
416         is fixed.
417
418 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
419
420         Reviewed by Alp Toker.
421
422         Fix a regression in key press propagation in r28386.
423
424         Fix indentation (was off by two spaces).
425
426         * WebView/webkitwebview.cpp:
427
428 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
429
430         Reviewed by Alp Toker.
431
432         http://bugs.webkit.org/show_bug.cgi?id=15911
433         [GTK] Use GtkBindingSet to make key bindings user-configurable
434
435         This patch doesn't cover the full range of bindings, only the ones
436         that seem obviously correct and have clear public API.
437
438         * WebCoreSupport/EditorClientGtk.cpp:
439         (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
440         * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
441         * WebView/webkitwebview.h:
442
443 2007-12-04  Xan Lopez  <xan@gnome.org>
444
445         Reviewed by Alp Toker.
446
447         http://bugs.webkit.org/show_bug.cgi?id=15561
448         GTK port needs DumpRenderTree implementation
449
450         Start work on the GTK+ DRT.
451
452         Add a couple of proposed new API entry points. They are currently for
453         internal use only by DRT and not in the public headers.
454
455         * WebView/webkitprivate.h:
456         * WebView/webkitwebframe.cpp:
457
458 2007-12-03  Dan Bernstein  <mitz@apple.com>
459
460         Reviewed by Dave Hyatt.
461
462         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
463
464         * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
465         FrameView sends it now.
466
467 2007-12-03  Alp Toker  <alp@atoker.com>
468
469         globalObject() GTK+ build fix.
470
471         * WebCoreSupport/FrameLoaderClientGtk.cpp:
472         (WebKit::FrameLoaderClient::windowObjectCleared):
473
474 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
475
476         GTK Build fix: get globalExec from the right place.
477
478         * WebView/webkitwebframe.cpp:
479
480 2007-12-01  Alp Toker  <alp@atoker.com>
481
482         Reviewed by Adam Roben.
483
484         Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
485         takes care of extern "C".
486
487         Introduce a webkit.h convenience header.
488
489         Remove another left-over from the old API.
490
491         * WebView/headers.pri:
492         * WebView/webkit.h: Added.
493         * WebView/webkitdefines.h:
494
495 2007-12-01  Alp Toker  <alp@atoker.com>
496
497         Reviewed by Adam Roben.
498
499         http://bugs.webkit.org/show_bug.cgi?id=15687
500         [Gtk] Allow API clients to interact with JavaScript in web pages
501
502         Include the necessary JavaScriptCore headers directly in the public
503         API headers.
504
505         This is the last of a series of changes needed to allow GTK+
506         applications to access the JS API.
507
508         Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
509         developers will still have to include the individual JS API headers
510         individually if they want to use it in their applications.
511
512         Patch also removes some old legacy use of GDK that was in
513         WebKitWebFrame. No ABI change.
514
515         * WebView/webkitdefines.h:
516         * WebView/webkitwebframe.h:
517         * WebView/webkitwebview.h:
518
519 2007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
520
521         Fix for GTK+ Debug build breakage introduced in r28273.
522
523         * WebView/webkitprivate.cpp:
524         (WebKit::kit):
525
526 2007-11-30  Alp Toker  <alp@atoker.com>
527
528         Reviewed by Adam Roben.
529
530         http://bugs.webkit.org/show_bug.cgi?id=15691
531         [GTK] Public API does not follow GTK+ conventions
532
533         Refactor the WebKit/GTK+ public API. Changes:
534           WebKitPage -> WebKitWebView
535           WebKitFrame -> WebKitWebFrame
536
537         Public API source and header names have been updated to mirror the API
538         changes.
539
540         The API is now kept in WebKit/gtk/WebView to match other ports in the
541         same class such as Mac and Win.
542
543         API/ABI-breaking change.
544
545         * Api: Removed.
546         * Api/headers.pri: Removed.
547         * Api/webkitgtk-marshal.list: Removed.
548         * Api/webkitgtkdefines.h: Removed.
549         * Api/webkitgtkframe.cpp: Removed.
550         * Api/webkitgtkframe.h: Removed.
551         * Api/webkitgtkglobal.cpp: Removed.
552         * Api/webkitgtkglobal.h: Removed.
553         * Api/webkitgtknetworkrequest.cpp: Removed.
554         * Api/webkitgtknetworkrequest.h: Removed.
555         * Api/webkitgtkpage.cpp: Removed.
556         * Api/webkitgtkpage.h: Removed.
557         * Api/webkitgtkprivate.cpp: Removed.
558         * Api/webkitgtkprivate.h: Removed.
559         * Api/webkitgtksettings.cpp: Removed.
560         * Api/webkitgtksettings.h: Removed.
561         * WebCoreSupport/ChromeClientGtk.cpp:
562         (WebKit::ChromeClient::ChromeClient):
563         (WebKit::ChromeClient::createWindow):
564         * WebCoreSupport/ChromeClientGtk.h:
565         (WebKit::ChromeClient::webPage):
566         * WebCoreSupport/EditorClientGtk.cpp:
567         (WebKit::EditorClient::isEditable):
568         (WebKit::EditorClient::EditorClient):
569         * WebCoreSupport/EditorClientGtk.h:
570         * WebCoreSupport/FrameLoaderClientGtk.cpp:
571         (WebKit::FrameLoaderClient::FrameLoaderClient):
572         (WebKit::FrameLoaderClient::postProgressStartedNotification):
573         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
574         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
575         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
576         (WebKit::FrameLoaderClient::createFrame):
577         (WebKit::FrameLoaderClient::windowObjectCleared):
578         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
579         (WebKit::FrameLoaderClient::setTitle):
580         * WebCoreSupport/FrameLoaderClientGtk.h:
581         (WebKit::FrameLoaderClient::webFrame):
582         * WebView: Added.
583         * WebView/headers.pri: Added.
584         * WebView/webkit-marshal.list: Added.
585         * WebView/webkitdefines.h: Added.
586         * WebView/webkitglobal.cpp: Added.
587         * WebView/webkitglobal.h: Added.
588         * WebView/webkitnetworkrequest.cpp: Added.
589         * WebView/webkitnetworkrequest.h: Added.
590         * WebView/webkitprivate.cpp: Added.
591         (WebKit::apply):
592         (WebKit::create):
593         (WebKit::getFrameFromView):
594         (WebKit::getViewFromFrame):
595         (WebKit::core):
596         (WebKit::kit):
597         * WebView/webkitprivate.h: Added.
598         * WebView/webkitsettings.cpp: Added.
599         * WebView/webkitsettings.h: Added.
600         * WebView/webkitwebframe.cpp: Added.
601         * WebView/webkitwebframe.h: Added.
602         * WebView/webkitwebview.cpp: Added.
603         * WebView/webkitwebview.h: Added.
604
605 2007-11-28  Alp Toker  <alp@atoker.com>
606
607         Reviewed by Timothy Hatcher.
608
609         http://bugs.webkit.org/show_bug.cgi?id=16174
610         [GTK] Use "URI" not "URL" in public API
611
612         Replace use of the term "URL" with "URI" in public headers,
613         documentation and some internal code to match GLib/GTK+ convention.
614
615         This is now mentioned in the API guidelines:
616           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
617
618         API/ABI-breaking change.
619
620         * Api/webkitgtkframe.cpp:
621         * Api/webkitgtknetworkrequest.cpp:
622         * Api/webkitgtknetworkrequest.h:
623         * Api/webkitgtkpage.cpp:
624         * Api/webkitgtkpage.h:
625         * Api/webkitgtkprivate.h:
626         * Api/webkitgtksettings.h:
627
628 2007-11-29  Brady Eidson  <beidson@apple.com>
629
630         Better build fix for Gtk
631
632         * WebCoreSupport/ChromeClientGtk.h:
633
634 2007-11-29  Brady Eidson  <beidson@apple.com>
635
636         Keep it building with new client method
637
638         * WebCoreSupport/ChromeClientGtk.cpp:
639         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
640         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
641         * WebCoreSupport/ChromeClientGtk.h:
642
643 2007-11-26  Alp Toker  <alp@atoker.com>
644
645         Reviewed by Adam Roben.
646
647         http://bugs.webkit.org/show_bug.cgi?id=16149
648         Implement the window-object-cleared signal
649
650         This implementation provides the JSGlobalContextRef and JSObjectRef
651         directly rather than using an intermediate JS wrapper object, similar
652         to the approach taken by the Win port.
653
654         * Api/webkitgtk-marshal.list:
655         * Api/webkitgtkframe.h:
656         * Api/webkitgtkpage.cpp:
657         * Api/webkitgtkpage.h:
658         * WebCoreSupport/FrameLoaderClientGtk.cpp:
659         (WebKit::FrameLoaderClient::windowObjectCleared):
660
661 2007-11-24  Alp Toker  <alp@atoker.com>
662
663         Reviewed by Mark Rowe.
664
665         http://bugs.webkit.org/show_bug.cgi?id=15691
666         [GTK] Public API does not follow GTK+ conventions
667
668         Public API enhancements:
669
670         Implement webkit_page_get_editable() and webkit_page_set_editable().
671
672         Implement webkit_frame_get_name().
673
674         Remove definitions for functions that are unusable or not implemented.
675         This has caused much confusion for application developers.
676
677         Improve documentation.
678
679         Correct/constify some return types.
680
681         Add parameter checks.
682
683         Make the default fixed font "Courier New" to match the other Web
684         font names.
685
686         * Api/webkitgtkframe.cpp:
687         * Api/webkitgtkframe.h:
688         * Api/webkitgtkpage.cpp:
689         * Api/webkitgtkpage.h:
690         * Api/webkitgtkprivate.h:
691         * WebCoreSupport/EditorClientGtk.cpp:
692         (WebKit::EditorClient::isEditable):
693
694 2007-11-24  Alp Toker  <alp@atoker.com>
695
696         Reviewed by Mark Rowe.
697
698         http://bugs.webkit.org/show_bug.cgi?id=16125
699         [GTK] Up key doesn't work properly when content is editable
700
701         Add a missing 'break' to avoid falling through to the next case when
702         handling VK_UP keystrokes. This was noticed when working on editing
703         support in the GTK+ port.
704
705         I've checked the other cases for similar typos and they seem fine.
706
707         * WebCoreSupport/EditorClientGtk.cpp:
708         (WebKit::EditorClient::handleKeypress):
709
710 2007-11-24  Xan Lopez  <xan@gnome.org>
711
712         Reviewed by Alp Toker.
713
714         http://bugs.webkit.org/show_bug.cgi?id=15745
715         [GTK] Arrow keys do not Scroll
716         
717         * Api/webkitgtkpage.cpp:
718
719         Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
720         details.
721
722 2007-11-24  Christian Dywan  <christian@twotoasts.de>
723
724         Reviewed by Alp Toker.
725
726         http://bugs.webkit.org/show_bug.cgi?id=15891
727         [GTK] Javascript console and dialogs are not implemented
728
729         Fix call to gtk_message_dialog_new() which expects a format string.
730
731         * Api/webkitgtkpage.cpp:
732
733 2007-11-24  Christian Dywan  <christian@twotoasts.de>
734
735         Reviewed by Alp Toker.
736
737         http://bugs.webkit.org/show_bug.cgi?id=15793
738         [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
739
740         Implement tooltip support using the new Tooltip API.
741
742         Support for older versions of GTK+ is still lacking.
743
744         * WebCoreSupport/ChromeClientGtk.cpp:
745         (WebKit::ChromeClient::setToolTip):
746
747 2007-11-22  Alp Toker  <alp@atoker.com>
748
749         Reviewed by Mark Rowe.
750
751         Implement and document several WebKitFrame functions, some of which
752         are necessary to support DRT.
753
754         Correct NULL handling and improve run-time checks.
755
756         * Api/webkitgtkframe.cpp:
757         * Api/webkitgtkframe.h:
758         * Api/webkitgtkprivate.cpp:
759
760 2007-11-22  Alp Toker  <alp@atoker.com>
761
762         Whitespace fixes only.
763
764         * Api/webkitgtkframe.cpp:
765         * Api/webkitgtkpage.cpp:
766         * Api/webkitgtkpage.h:
767         * Api/webkitgtkprivate.h:
768         * WebCoreSupport/ChromeClientGtk.cpp:
769         * WebCoreSupport/ContextMenuClientGtk.cpp:
770         * WebCoreSupport/ContextMenuClientGtk.h:
771         * WebCoreSupport/DragClientGtk.h:
772         * WebCoreSupport/EditorClientGtk.h:
773         * WebCoreSupport/FrameLoaderClientGtk.cpp:
774         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
775         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
776         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
777         (WebKit::FrameLoaderClient::createFrame):
778         (WebKit::FrameLoaderClient::createJavaAppletWidget):
779         (WebKit::FrameLoaderClient::registerForIconNotification):
780         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
781         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
782         (WebKit::FrameLoaderClient::frameLoadCompleted):
783         (WebKit::FrameLoaderClient::saveViewStateToItem):
784         (WebKit::FrameLoaderClient::restoreViewState):
785         (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
786         (WebKit::FrameLoaderClient::setTitle):
787         * WebCoreSupport/FrameLoaderClientGtk.h:
788
789 2007-11-22  Michael Natterer  <mitch@imendio.com>
790
791         Reviewed by Alp Toker.
792
793         http://bugs.webkit.org/show_bug.cgi?id=15984
794         Implement "navigation-requested" signal for WebKit Gtk
795
796         * Api/webkitgtknetworkrequest.h: fix parent class member.
797
798         * Api/webkitgtknetworkrequest.cpp
799         * Api/webkitgtkprivate.h: basic implementation featuring an
800         "url" member and API.
801
802         * Api/webkitgtkdefines.h: added network request typedefs.
803
804         * Api/webkitgtkpage.h: fix enum name:
805         s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
806         and sanitized enum values.
807
808         * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
809
810         * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
811
812         * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
813         dispatchDecidePolicyForNavigationAction().
814
815 2007-11-18  Christian Dywan  <christian@twotoasts.de>
816
817         Reviewed by Alp.
818
819         http://bugs.webkit.org/show_bug.cgi?id=15891
820         [GTK] Javascript console and dialogs are not implemented
821
822         Correct script-prompt to return NULL when cancelled.
823
824         Small changes to avoid compiler warnings.
825
826         * Api/webkitgtkpage.cpp:
827
828 2007-11-17  Timothy Hatcher  <timothy@apple.com>
829
830         Reviewed by Mark Rowe.
831
832         Bug 13470: i18n: The Web Inspector is not localizable
833         http://bugs.webkit.org/show_bug.cgi?id=13470
834
835         * WebCoreSupport/InspectorClientGtk.cpp:
836         (WebKit::InspectorClient::localizedStringsURL): Empty stub.
837         * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
838
839 2007-11-13  Mark Rowe  <mrowe@apple.com>
840
841         Gtk build fix. Replace incorrect use of the LOG macro with g_print.
842
843         * Api/webkitgtkpage.cpp:
844
845 2007-11-13  Christian Dywan  <christian@twotoasts.de>
846
847         Reviewed by Alp.
848
849         http://bugs.webkit.org/show_bug.cgi?id=15891
850         [GTK] Javascript console and dialogs are not implemented
851
852         Implement signals for script dialogs and console messages.
853
854         * Api/webkitgtk-marshal.list:
855         * Api/webkitgtkpage.cpp:
856         * Api/webkitgtkpage.h:
857         * WebCoreSupport/ChromeClientGtk.cpp:
858         (WebKit::ChromeClient::addMessageToConsole):
859         (WebKit::ChromeClient::runJavaScriptAlert):
860         (WebKit::ChromeClient::runJavaScriptConfirm):
861         (WebKit::ChromeClient::runJavaScriptPrompt):
862
863 2007-11-11  Alp Toker  <alp@atoker.com>
864
865         Reviewed by Anders.
866
867         Initialize m_userAgent.
868
869         Fix typos in GDK_WINDOWING conditionals.
870
871         * WebCoreSupport/FrameLoaderClientGtk.cpp:
872         (WebKit::FrameLoaderClient::FrameLoaderClient):
873         (WebKit::agentPlatform):
874
875 2007-11-11  Alp Toker  <alp@atoker.com>
876
877         Reviewed by Mark Rowe.
878
879         Mention Safari in the UserAgent string to improve site compatibility.
880
881         Also bump the hard-coded AppleWebKit version number.
882
883         * WebCoreSupport/FrameLoaderClientGtk.cpp:
884         (WebKit::composeUserAgent):
885
886 2007-11-09  Xan Lopez  <xan@gnome.org>
887
888         Reviewed by Alp.
889
890         Fix http://bugs.webkit.org/show_bug.cgi?id=15926
891         [GTK] WebKitPage map handler is redundant.
892
893         * Api/webkitgtkpage.cpp:
894         The map handler for WebKitPage is redundant, GtkContainer does
895         the same (and more correctly).
896
897 2007-11-08  Alp Toker  <alp@atoker.com>
898
899         Reviewed by Mark Rowe.
900
901         http://bugs.webkit.org/show_bug.cgi?id=15653
902         [GTK] Text editor does not handle common keystrokes
903
904         Handle more keystrokes in EditorClientGtk. Note that this is a
905         temporary measure pending a proper solution using GtkBindingSet (see
906         http://bugs.webkit.org/show_bug.cgi?id=15911).
907
908         * WebCoreSupport/EditorClientGtk.cpp:
909         (WebKit::EditorClient::handleKeypress):
910
911 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
912
913         Reviewed by Sam.
914
915         - windowObjectCleared() is no longer const.  It needs to setup the
916         script debugger and cannot be const to do so.
917
918         * WebCoreSupport/FrameLoaderClientGtk.cpp:
919         (WebKit::FrameLoaderClient::windowObjectCleared):
920         * WebCoreSupport/FrameLoaderClientGtk.h:
921
922 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
923
924         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
925         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
926
927         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
928         to determine whether the given MIME type is displayable as an image or non-image.
929
930         * WebCoreSupport/FrameLoaderClientGtk.cpp:
931         (FrameLoaderClient::objectContentType): Change logic to match that in
932         the Windows and Mac ports.
933
934 2007-11-05  Christian Dywan  <christian@twotoasts.de>
935
936         Reviewed by Maciej.
937
938         http://bugs.webkit.org/show_bug.cgi?id=15409
939         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
940
941         Compute a proper user agent string.
942
943         Patch includes fixes by Alp.
944
945         * WebCoreSupport/FrameLoaderClientGtk.cpp:
946         (WebKit::agentPlatform):
947         (WebKit::agentOS):
948         (WebKit::composeUserAgent):
949         (WebKit::FrameLoaderClient::userAgent):
950         * WebCoreSupport/FrameLoaderClientGtk.h:
951
952 2007-11-05  Mark Rowe  <mrowe@apple.com>
953
954         Rubber-stamped by Alp Toker.
955
956         Remove unused m_firstData member from FrameLoaderClientGtk.
957
958         * WebCoreSupport/FrameLoaderClientGtk.cpp:
959         * WebCoreSupport/FrameLoaderClientGtk.h:
960
961 2007-11-05  Mark Rowe  <mrowe@apple.com>
962
963         Reviewed by Alp Toker.
964
965         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
966         Bug 15842: [Gtk] about:blank doesn't work
967
968         * WebCoreSupport/FrameLoaderClientGtk.cpp:
969         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
970         get work done that is normally done when the first bit of data is received, even in the
971         case of a document with no data (like about:blank).
972
973 2007-11-03  Alp Toker  <alp@atoker.com>
974
975         Reviewed by Mark Rowe.
976
977         Restore correct double and triple click behaviour
978
979         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
980         recent refactoring.
981
982         * Api/webkitgtkpage.cpp:
983
984 2007-11-03  Alp Toker  <alp@atoker.com>
985
986         Reviewed by Mark Rowe.
987
988         Frame scrolling and invalidation fixes
989
990         Make upward scroll events have a positive delta to match other ports.
991
992         Fix the invalidation rect offset for frames so that scrolling works properly.
993
994         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
995
996         Allow tabbing to all widgets and links.
997
998         Fix event returns, improving the focus situation and correcting scroll wheel
999         behavior.
1000
1001         * Api/webkitgtkpage.cpp:
1002         * WebCoreSupport/ChromeClientGtk.cpp:
1003
1004 2007-10-29  Alp Toker  <alp@atoker.com>
1005
1006         Reviewed by Maciej.
1007
1008         Do not allow control to reach end of non-void functions
1009
1010         * Api/webkitgtksettings.cpp:
1011
1012 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
1013
1014         Reviewed by Alp.
1015
1016         http://bugs.webkit.org/show_bug.cgi?id=15466
1017         [gtk] widget does not take focus on mouse click
1018
1019         Grab widget focus in mouse press callback.
1020
1021         * Api/webkitgtkpage.cpp:
1022
1023 2007-10-25  Alp Toker  <alp@atoker.com>
1024
1025         Reviewed by Brady.
1026
1027         http://bugs.webkit.org/show_bug.cgi?id=15686
1028         GtkLauncher aborts on launch due to uninitialized threading subsystem
1029
1030         Re-enable database support in the GTK+ port, with a fix.
1031
1032         Initialize GLib threading as early as possible.
1033
1034         * Api/webkitgtkglobal.cpp:
1035
1036 2007-10-25  Alp Toker  <alp@atoker.com>
1037
1038         Unreviewed fix to make the GTK+ port run.
1039
1040         http://bugs.webkit.org/show_bug.cgi?id=15686
1041         GtkLauncher aborts on launch due to uninitialized threading subsystem
1042
1043         http://bugs.webkit.org/show_bug.cgi?id=15688
1044         [GTK] Make it possible to disable database support
1045
1046         Make database path initialization conditional on database support
1047         being enabled.
1048
1049         * Api/webkitgtkglobal.cpp:
1050
1051 2007-10-24  Mark Rowe  <mrowe@apple.com>
1052
1053         Gtk build fix.  Track WebCore changes in r27004.
1054
1055         * Api/webkitgtkglobal.cpp:
1056
1057 2007-10-22  Alp Toker  <alp@atoker.com>
1058
1059         Reviewed by Mark Rowe.
1060
1061         http://bugs.webkit.org/show_bug.cgi?id=15611
1062         [GTK] Text selection behaviour different in Debug and Release builds
1063
1064         http://bugs.webkit.org/show_bug.cgi?id=15578
1065         [GTK] Text editor caret does not blink
1066
1067         Never allow control to reach the end of non-void functions.
1068
1069         Return more sensible values, or in some cases, nulls.
1070
1071         * Api/webkitgtksettings.cpp:
1072         * Api/webkitgtksettings.h:
1073         * WebCoreSupport/DragClientGtk.cpp:
1074         (WebKit::DragClient::actionMaskForDrag):
1075         (WebKit::DragClient::dragSourceActionMaskForPoint):
1076         (WebKit::DragClient::createDragImageForLink):
1077
1078 2007-10-20  Mark Rowe  <mrowe@apple.com>
1079
1080         Reviewed by Alp.
1081
1082         Gtk changes needed to enable HTML 5 client-side database storage.
1083
1084         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
1085         This should become configurable by client applications in the future.
1086
1087 2007-10-20  Mark Rowe  <mrowe@apple.com>
1088
1089         Reviewed by Eric.
1090
1091         Don't allow control characters to be inserted into editable regions.
1092
1093         * WebCoreSupport/EditorClientGtk.cpp:
1094         (WebKit::EditorClient::handleKeypress):
1095
1096 2007-10-19  Alp Toker  <alp@atoker.com>
1097
1098         Reviewed by Oliver.
1099
1100         GTK+ build fix enabling the new local database storage feature.
1101         There is also a prospective Qt build fix.
1102
1103         * WebCoreSupport/ChromeClientGtk.cpp:
1104         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
1105         * WebCoreSupport/ChromeClientGtk.h:
1106
1107 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1108
1109         Reviewed by Adam.
1110
1111         http://bugs.webkit.org/show_bug.cgi?id=15299
1112         Fix "hovering_over_link" signal not emitted when consecutive links
1113         are hovered.
1114
1115         * WebCoreSupport/ChromeClientGtk.cpp:
1116         (WebKit::ChromeClient::mouseDidMoveOverElement):
1117         * WebCoreSupport/ChromeClientGtk.h:
1118         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
1119
1120 2007-10-10  Alice Liu  <alice.liu@apple.com>
1121
1122         Reviewed by Geoff Garen.
1123
1124         changes to keep the build from breaking
1125
1126         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1127         (WebKit::FrameLoaderClient::createFrame):
1128         * WebCoreSupport/FrameLoaderClientGtk.h:
1129
1130 2007-10-03  Alp Toker  <alp@atoker.com>
1131
1132         Reviewed by Adam.
1133
1134         http://bugs.webkit.org/show_bug.cgi?id=14726
1135         [gtk] API design. Mapping the WebView delegates to signals.
1136
1137         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1138
1139         * Api/webkitgtkdefines.h:
1140         * Api/webkitgtkframe.cpp:
1141         * Api/webkitgtkframe.h:
1142         * Api/webkitgtkglobal.cpp:
1143         * Api/webkitgtkglobal.h:
1144         * Api/webkitgtknetworkrequest.h:
1145         * Api/webkitgtkpage.cpp:
1146         * Api/webkitgtkpage.h:
1147         * Api/webkitgtkprivate.cpp:
1148         (WebKit::apply):
1149         (WebKit::create):
1150         (WebKit::getFrameFromPage):
1151         (WebKit::getPageFromFrame):
1152         (WebKit::core):
1153         (WebKit::kit):
1154         * Api/webkitgtkprivate.h:
1155         * Api/webkitgtksettings.cpp:
1156         * Api/webkitgtksettings.h:
1157         * WebCoreSupport/ChromeClientGtk.cpp:
1158         (WebKit::ChromeClient::ChromeClient):
1159         (WebKit::ChromeClient::createWindow):
1160         (WebKit::ChromeClient::addMessageToConsole):
1161         (WebKit::ChromeClient::runJavaScriptAlert):
1162         (WebKit::ChromeClient::runJavaScriptConfirm):
1163         (WebKit::ChromeClient::runJavaScriptPrompt):
1164         * WebCoreSupport/ChromeClientGtk.h:
1165         (WebKit::ChromeClient::webPage):
1166         * WebCoreSupport/EditorClientGtk.cpp:
1167         (WebKit::EditorClient::EditorClient):
1168         * WebCoreSupport/EditorClientGtk.h:
1169         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1170         (WebKit::FrameLoaderClient::FrameLoaderClient):
1171         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1172         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1173         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1174         (WebKit::FrameLoaderClient::createFrame):
1175         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1176         (WebKit::FrameLoaderClient::setTitle):
1177         * WebCoreSupport/FrameLoaderClientGtk.h:
1178         (WebKit::FrameLoaderClient::webFrame):
1179
1180 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1181
1182         Reviewed by Mark.
1183
1184         http://bugs.webkit.org/show_bug.cgi?id=15299
1185         Fix "hovering_over_link" signal being fired every time mouse moves.
1186
1187         * WebCoreSupport/ChromeClientGtk.cpp:
1188         (WebKit::ChromeClient::ChromeClient):
1189         (WebKit::ChromeClient::mouseDidMoveOverElement):
1190         * WebCoreSupport/ChromeClientGtk.h:
1191
1192 2007-09-21  Sean Egan  <seanegan@gmail.com>
1193
1194         Reviewed by Alp.
1195
1196         Add an "execute_script" method to programmatically call Javascript
1197         http://bugs.webkit.org/show_bug.cgi?id=15255
1198
1199         * Api/webkitgtkpage.cpp:
1200         * Api/webkitgtkpage.h:
1201
1202 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
1203
1204         Reviewed by Adam.
1205
1206         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
1207         http://bugs.webkit.org/show_bug.cgi?id=15299
1208
1209         Implementing "hovering_over_link" signal.
1210
1211         * WebCoreSupport/ChromeClientGtk.cpp:
1212         (WebKit::ChromeClient::mouseDidMoveOverElement):
1213
1214 2007-09-26  Mark Rowe  <mrowe@apple.com>
1215
1216         Gtk build fix.
1217
1218         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
1219
1220 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
1221
1222         Reviewed by Adam.
1223
1224         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
1225         allow client code to include both headers the typedef's for
1226         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
1227         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
1228         webkitgtkframe.h
1229
1230         * Api/webkitgtkdefines.h:
1231         * Api/webkitgtkframe.h:
1232         * Api/webkitgtkpage.h:
1233
1234 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
1235
1236         Reviewed by Mark, some Coding Style changes by Holger.
1237
1238         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
1239
1240         Add title and location to WebKitGtkFramePrivate, add
1241         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
1242         as a title_changed callback, implement
1243         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
1244
1245         Initial patch by Diego Escalante Urrelo.
1246
1247         * Api/webkitgtkframe.cpp:
1248         * Api/webkitgtkframe.h:
1249         * Api/webkitgtkprivate.h:
1250
1251 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
1252
1253         Reviewed by Mark.
1254
1255         Use the new WebCore::String::fromUTF8 function to convert
1256         from the Gtk+ representation of a string to WebCore::String.
1257
1258         * WebCoreSupport/ChromeClientGtk.cpp:
1259         (WebKit::ChromeClient::runJavaScriptPrompt):
1260
1261 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
1262
1263         Reviewed by Mark Rowe.
1264
1265         Fix a typo where webkit_gtk_page_can_copy was declared twice,
1266         rather than webkit_gtk_page_can_paste.
1267
1268         * Api/webkitgtkpage.h:
1269
1270 2007-09-08  Brady Eidson  <beidson@apple.com>
1271
1272         Better build fix
1273
1274         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1275         (WebKit::FrameLoaderClient::registerForIconNotification):
1276         * WebCoreSupport/FrameLoaderClientGtk.h:
1277
1278 2007-09-08  Brady Eidson  <beidson@apple.com>
1279
1280         Build fix
1281
1282         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1283         (WebKit::FrameLoaderClient::registerForIconNotification):
1284         * WebCoreSupport/FrameLoaderClientGtk.h:
1285
1286 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
1287
1288         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1289         
1290         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
1291         memory cache, or a very tiny one
1292         
1293         Keep the GTK build working with an empty stub.
1294         
1295         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1296         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
1297         * WebCoreSupport/FrameLoaderClientGtk.h:
1298
1299 2007-09-01  Oliver Hunt  <oliver@apple.com>
1300
1301         Reviewed by Sam.
1302
1303         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1304  
1305         EditorClient::setInputMethodState stub
1306
1307         * WebCoreSupport/EditorClientGtk.cpp:
1308         (WebKit::EditorClient::setInputMethodState):
1309         * WebCoreSupport/EditorClientGtk.h:
1310
1311 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
1312
1313         Build fix. Add const to the first parameter of createPlugin
1314
1315         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1316
1317 2007-08-17  Anders Carlsson  <andersca@apple.com>
1318
1319         Build fix.
1320         
1321         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1322         (WebKit::FrameLoaderClient::createPlugin):
1323         * WebCoreSupport/FrameLoaderClientGtk.h:
1324
1325 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
1326
1327         Reviewed by Adam.
1328
1329         To not hit the needsLayout() assert of Frame::paint for subframes we need to
1330         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
1331         method to do this.
1332
1333         * Api/webkitgtkpage.cpp:
1334
1335 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
1336
1337         Reviewed by Adam.
1338
1339         Fix text selection by setting a DragClient when creating the Page. Now
1340         that we have a DragClient we can free the Page when WebKitGtkPage gets
1341         destructed.
1342
1343         * Api/webkitgtkpage.cpp:
1344         * WebCoreSupport/DragClientGtk.cpp: Added.
1345         (WebKit::DragClient::willPerformDragDestinationAction):
1346         (WebKit::DragClient::willPerformDragSourceAction):
1347         (WebKit::DragClient::actionMaskForDrag):
1348         (WebKit::DragClient::dragSourceActionMaskForPoint):
1349         (WebKit::DragClient::startDrag):
1350         (WebKit::DragClient::createDragImageForLink):
1351         * WebCoreSupport/DragClientGtk.h: Added.
1352
1353 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1354
1355         Reviewed by Anders.
1356
1357         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
1358         race of GtkScrollBar and GtkLayout.
1359
1360         * Api/webkitgtk-marshal.list:
1361         * Api/webkitgtkframe.cpp:
1362         * Api/webkitgtkpage.cpp:
1363         * Api/webkitgtkpage.h:
1364         * Api/webkitgtkprivate.h:
1365
1366 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1367
1368         Reviewed by Niko.
1369
1370         Minor changes to the WebKit::EditorClient to allow removing
1371         of text from TextFields. Remove the selectWordBeforeMenuEvent method
1372         which is not used and not within WebCore::EditorClient. 
1373
1374         * WebCoreSupport/EditorClientGtk.cpp:
1375         (WebKit::EditorClient::shouldDeleteRange):
1376         (WebKit::EditorClient::shouldBeginEditing):
1377         (WebKit::EditorClient::shouldEndEditing):
1378         (WebKit::EditorClient::shouldApplyStyle):
1379         (WebKit::EditorClient::shouldInsertNode):
1380         * WebCoreSupport/EditorClientGtk.h:
1381
1382 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1383
1384         Reviewed by Mark.
1385
1386         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
1387         classes into the WebKit namespace. Change the class names to not contain Gtk.
1388         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
1389         bridge/EditorClient.h).
1390         
1391
1392         * Api/webkitgtkframe.cpp:
1393         * Api/webkitgtkpage.cpp:
1394         * Api/webkitgtkprivate.cpp:
1395         * Api/webkitgtkprivate.h:
1396         * ChangeLog:
1397         * WebCoreSupport/ChromeClientGtk.cpp:
1398         (WebKit::ChromeClient::ChromeClient):
1399         (WebKit::ChromeClient::chromeDestroyed):
1400         (WebKit::ChromeClient::windowRect):
1401         (WebKit::ChromeClient::setWindowRect):
1402         (WebKit::ChromeClient::pageRect):
1403         (WebKit::ChromeClient::scaleFactor):
1404         (WebKit::ChromeClient::focus):
1405         (WebKit::ChromeClient::unfocus):
1406         (WebKit::ChromeClient::createWindow):
1407         (WebKit::ChromeClient::createModalDialog):
1408         (WebKit::ChromeClient::show):
1409         (WebKit::ChromeClient::canRunModal):
1410         (WebKit::ChromeClient::runModal):
1411         (WebKit::ChromeClient::setToolbarsVisible):
1412         (WebKit::ChromeClient::toolbarsVisible):
1413         (WebKit::ChromeClient::setStatusbarVisible):
1414         (WebKit::ChromeClient::statusbarVisible):
1415         (WebKit::ChromeClient::setScrollbarsVisible):
1416         (WebKit::ChromeClient::scrollbarsVisible):
1417         (WebKit::ChromeClient::setMenubarVisible):
1418         (WebKit::ChromeClient::menubarVisible):
1419         (WebKit::ChromeClient::setResizable):
1420         (WebKit::ChromeClient::closeWindowSoon):
1421         (WebKit::ChromeClient::canTakeFocus):
1422         (WebKit::ChromeClient::takeFocus):
1423         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1424         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
1425         (WebKit::ChromeClient::runJavaScriptAlert):
1426         (WebKit::ChromeClient::runJavaScriptConfirm):
1427         (WebKit::ChromeClient::setStatusbarText):
1428         (WebKit::ChromeClient::shouldInterruptJavaScript):
1429         (WebKit::ChromeClient::tabsToLinks):
1430         (WebKit::ChromeClient::windowResizerRect):
1431         (WebKit::ChromeClient::addToDirtyRegion):
1432         (WebKit::ChromeClient::scrollBackingStore):
1433         (WebKit::ChromeClient::updateBackingStore):
1434         (WebKit::ChromeClient::mouseDidMoveOverElement):
1435         (WebKit::ChromeClient::setToolTip):
1436         * WebCoreSupport/ChromeClientGtk.h:
1437         * WebCoreSupport/ContextMenuClientGtk.cpp:
1438         (WebKit::ContextMenuClient::contextMenuDestroyed):
1439         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1440         (WebKit::ContextMenuClient::contextMenuItemSelected):
1441         (WebKit::ContextMenuClient::downloadURL):
1442         (WebKit::ContextMenuClient::copyImageToClipboard):
1443         (WebKit::ContextMenuClient::searchWithGoogle):
1444         (WebKit::ContextMenuClient::lookUpInDictionary):
1445         (WebKit::ContextMenuClient::speak):
1446         * WebCoreSupport/ContextMenuClientGtk.h:
1447         * WebCoreSupport/EditorClientGtk.cpp:
1448         (WebKit::EditorClient::shouldDeleteRange):
1449         (WebKit::EditorClient::shouldShowDeleteInterface):
1450         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
1451         (WebKit::EditorClient::isGrammarCheckingEnabled):
1452         (WebKit::EditorClient::spellCheckerDocumentTag):
1453         (WebKit::EditorClient::shouldBeginEditing):
1454         (WebKit::EditorClient::shouldEndEditing):
1455         (WebKit::EditorClient::shouldInsertText):
1456         (WebKit::EditorClient::shouldChangeSelectedRange):
1457         (WebKit::EditorClient::shouldApplyStyle):
1458         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
1459         (WebKit::EditorClient::didBeginEditing):
1460         (WebKit::EditorClient::respondToChangedContents):
1461         (WebKit::EditorClient::respondToChangedSelection):
1462         (WebKit::EditorClient::didEndEditing):
1463         (WebKit::EditorClient::didWriteSelectionToPasteboard):
1464         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
1465         (WebKit::EditorClient::selectWordBeforeMenuEvent):
1466         (WebKit::EditorClient::isEditable):
1467         (WebKit::EditorClient::registerCommandForUndo):
1468         (WebKit::EditorClient::registerCommandForRedo):
1469         (WebKit::EditorClient::clearUndoRedoOperations):
1470         (WebKit::EditorClient::canUndo):
1471         (WebKit::EditorClient::canRedo):
1472         (WebKit::EditorClient::undo):
1473         (WebKit::EditorClient::redo):
1474         (WebKit::EditorClient::shouldInsertNode):
1475         (WebKit::EditorClient::pageDestroyed):
1476         (WebKit::EditorClient::smartInsertDeleteEnabled):
1477         (WebKit::EditorClient::toggleContinuousSpellChecking):
1478         (WebKit::EditorClient::toggleGrammarChecking):
1479         (WebKit::EditorClient::handleInputMethodKeypress):
1480         (WebKit::EditorClient::EditorClient):
1481         (WebKit::EditorClient::textFieldDidBeginEditing):
1482         (WebKit::EditorClient::textFieldDidEndEditing):
1483         (WebKit::EditorClient::textDidChangeInTextField):
1484         (WebKit::EditorClient::doTextFieldCommandFromEvent):
1485         (WebKit::EditorClient::textWillBeDeletedInTextField):
1486         (WebKit::EditorClient::textDidChangeInTextArea):
1487         (WebKit::EditorClient::ignoreWordInSpellDocument):
1488         (WebKit::EditorClient::learnWord):
1489         (WebKit::EditorClient::checkSpellingOfString):
1490         (WebKit::EditorClient::checkGrammarOfString):
1491         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
1492         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
1493         (WebKit::EditorClient::showSpellingUI):
1494         (WebKit::EditorClient::spellingUIIsShowing):
1495         * WebCoreSupport/EditorClientGtk.h:
1496         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1497         (WebKit::FrameLoaderClient::FrameLoaderClient):
1498         (WebKit::FrameLoaderClient::userAgent):
1499         (WebKit::FrameLoaderClient::createDocumentLoader):
1500         (WebKit::FrameLoaderClient::committedLoad):
1501         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1502         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
1503         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1504         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1505         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1506         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1507         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1508         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1509         (WebKit::FrameLoaderClient::createPlugin):
1510         (WebKit::FrameLoaderClient::redirectDataToPlugin):
1511         (WebKit::FrameLoaderClient::createJavaAppletWidget):
1512         (WebKit::FrameLoaderClient::overrideMediaType):
1513         (WebKit::FrameLoaderClient::windowObjectCleared):
1514         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
1515         (WebKit::FrameLoaderClient::hasWebView):
1516         (WebKit::FrameLoaderClient::hasFrameView):
1517         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1518         (WebKit::FrameLoaderClient::frameLoadCompleted):
1519         (WebKit::FrameLoaderClient::saveViewStateToItem):
1520         (WebKit::FrameLoaderClient::restoreViewState):
1521         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
1522         (WebKit::FrameLoaderClient::makeDocumentView):
1523         (WebKit::FrameLoaderClient::makeRepresentation):
1524         (WebKit::FrameLoaderClient::forceLayout):
1525         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1526         (WebKit::FrameLoaderClient::setCopiesOnScroll):
1527         (WebKit::FrameLoaderClient::detachedFromParent1):
1528         (WebKit::FrameLoaderClient::detachedFromParent2):
1529         (WebKit::FrameLoaderClient::detachedFromParent3):
1530         (WebKit::FrameLoaderClient::detachedFromParent4):
1531         (WebKit::FrameLoaderClient::loadedFromCachedPage):
1532         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1533         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1534         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1535         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1536         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1537         (WebKit::FrameLoaderClient::dispatchWillClose):
1538         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1539         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
1540         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1541         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1542         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1543         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1544         (WebKit::FrameLoaderClient::dispatchShow):
1545         (WebKit::FrameLoaderClient::cancelPolicyCheck):
1546         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1547         (WebKit::FrameLoaderClient::revertToProvisionalState):
1548         (WebKit::FrameLoaderClient::clearUnarchivingState):
1549         (WebKit::FrameLoaderClient::willChangeTitle):
1550         (WebKit::FrameLoaderClient::didChangeTitle):
1551         (WebKit::FrameLoaderClient::finishedLoading):
1552         (WebKit::FrameLoaderClient::finalSetupForReplace):
1553         (WebKit::FrameLoaderClient::setDefersLoading):
1554         (WebKit::FrameLoaderClient::isArchiveLoadPending):
1555         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1556         (WebKit::FrameLoaderClient::clearArchivedResources):
1557         (WebKit::FrameLoaderClient::canHandleRequest):
1558         (WebKit::FrameLoaderClient::canShowMIMEType):
1559         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1560         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1561         (WebKit::FrameLoaderClient::provisionalLoadStarted):
1562         (WebKit::FrameLoaderClient::didFinishLoad):
1563         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
1564         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1565         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1566         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1567         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1568         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
1569         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1570         (WebKit::FrameLoaderClient::download):
1571         (WebKit::FrameLoaderClient::cancelledError):
1572         (WebKit::FrameLoaderClient::blockedError):
1573         (WebKit::FrameLoaderClient::cannotShowURLError):
1574         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1575         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1576         (WebKit::FrameLoaderClient::fileDoesNotExistError):
1577         (WebKit::FrameLoaderClient::shouldFallBack):
1578         (WebKit::FrameLoaderClient::willUseArchive):
1579         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
1580         (WebKit::FrameLoaderClient::canCachePage):
1581         (WebKit::FrameLoaderClient::dispatchCreatePage):
1582         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1583         * WebCoreSupport/FrameLoaderClientGtk.h:
1584         * WebCoreSupport/InspectorClientGtk.cpp:
1585         (WebKit::InspectorClient::inspectorDestroyed):
1586         (WebKit::InspectorClient::createPage):
1587         (WebKit::InspectorClient::showWindow):
1588         (WebKit::InspectorClient::closeWindow):
1589         (WebKit::InspectorClient::attachWindow):
1590         (WebKit::InspectorClient::detachWindow):
1591         (WebKit::InspectorClient::highlight):
1592         (WebKit::InspectorClient::hideHighlight):
1593         * WebCoreSupport/InspectorClientGtk.h:
1594
1595 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1596
1597         Reviewed by Adam.
1598
1599         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
1600         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
1601         rename it from Gdk to Gtk.
1602
1603         * Api/webkitgtkdefines.h:
1604         * Api/webkitgtkframe.cpp:
1605         * Api/webkitgtkframe.h:
1606         * Api/webkitgtkglobal.cpp:
1607         * Api/webkitgtkglobal.h:
1608         * Api/webkitgtknetworkrequest.cpp:
1609         * Api/webkitgtknetworkrequest.h:
1610         * Api/webkitgtkpage.cpp:
1611         * Api/webkitgtkpage.h:
1612         * Api/webkitgtkprivate.cpp:
1613         * Api/webkitgtkprivate.h:
1614         * Api/webkitgtksettings.cpp:
1615         * Api/webkitgtksettings.h:
1616         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
1617         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
1618         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
1619         (WebKitGtk::ChromeClientGtk::windowRect):
1620         (WebKitGtk::ChromeClientGtk::setWindowRect):
1621         (WebKitGtk::ChromeClientGtk::pageRect):
1622         (WebKitGtk::ChromeClientGtk::scaleFactor):
1623         (WebKitGtk::ChromeClientGtk::focus):
1624         (WebKitGtk::ChromeClientGtk::unfocus):
1625         (WebKitGtk::ChromeClientGtk::createWindow):
1626         (WebKitGtk::ChromeClientGtk::createModalDialog):
1627         (WebKitGtk::ChromeClientGtk::show):
1628         (WebKitGtk::ChromeClientGtk::canRunModal):
1629         (WebKitGtk::ChromeClientGtk::runModal):
1630         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
1631         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
1632         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
1633         (WebKitGtk::ChromeClientGtk::statusbarVisible):
1634         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
1635         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
1636         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
1637         (WebKitGtk::ChromeClientGtk::menubarVisible):
1638         (WebKitGtk::ChromeClientGtk::setResizable):
1639         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
1640         (WebKitGtk::ChromeClientGtk::canTakeFocus):
1641         (WebKitGtk::ChromeClientGtk::takeFocus):
1642         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
1643         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
1644         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
1645         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
1646         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
1647         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
1648         (WebKitGtk::ChromeClientGtk::setStatusbarText):
1649         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
1650         (WebKitGtk::ChromeClientGtk::tabsToLinks):
1651         (WebKitGtk::ChromeClientGtk::windowResizerRect):
1652         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
1653         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
1654         (WebKitGtk::ChromeClientGtk::updateBackingStore):
1655         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
1656         (WebKitGtk::ChromeClientGtk::setToolTip):
1657         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
1658         (WebKitGtk::ChromeClientGtk::webPage):
1659         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
1660         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
1661         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
1662         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
1663         (WebCore::ContextMenuClientGtk::downloadURL):
1664         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
1665         (WebCore::ContextMenuClientGtk::searchWithGoogle):
1666         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
1667         (WebCore::ContextMenuClientGtk::speak):
1668         (WebCore::ContextMenuClientGtk::stopSpeaking):
1669         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
1670         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
1671         (WebCore::EditorClientGtk::shouldDeleteRange):
1672         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
1673         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
1674         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
1675         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
1676         (WebCore::EditorClientGtk::shouldBeginEditing):
1677         (WebCore::EditorClientGtk::shouldEndEditing):
1678         (WebCore::EditorClientGtk::shouldInsertText):
1679         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
1680         (WebCore::EditorClientGtk::shouldApplyStyle):
1681         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
1682         (WebCore::EditorClientGtk::didBeginEditing):
1683         (WebCore::EditorClientGtk::respondToChangedContents):
1684         (WebCore::EditorClientGtk::respondToChangedSelection):
1685         (WebCore::EditorClientGtk::didEndEditing):
1686         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
1687         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
1688         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
1689         (WebCore::EditorClientGtk::isEditable):
1690         (WebCore::EditorClientGtk::registerCommandForUndo):
1691         (WebCore::EditorClientGtk::registerCommandForRedo):
1692         (WebCore::EditorClientGtk::clearUndoRedoOperations):
1693         (WebCore::EditorClientGtk::canUndo):
1694         (WebCore::EditorClientGtk::canRedo):
1695         (WebCore::EditorClientGtk::undo):
1696         (WebCore::EditorClientGtk::redo):
1697         (WebCore::EditorClientGtk::shouldInsertNode):
1698         (WebCore::EditorClientGtk::pageDestroyed):
1699         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
1700         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
1701         (WebCore::EditorClientGtk::toggleGrammarChecking):
1702         (WebCore::EditorClientGtk::handleKeypress):
1703         (WebCore::EditorClientGtk::handleInputMethodKeypress):
1704         (WebCore::EditorClientGtk::EditorClientGtk):
1705         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
1706         (WebCore::EditorClientGtk::textFieldDidEndEditing):
1707         (WebCore::EditorClientGtk::textDidChangeInTextField):
1708         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
1709         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
1710         (WebCore::EditorClientGtk::textDidChangeInTextArea):
1711         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
1712         (WebCore::EditorClientGtk::learnWord):
1713         (WebCore::EditorClientGtk::checkSpellingOfString):
1714         (WebCore::EditorClientGtk::checkGrammarOfString):
1715         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
1716         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
1717         (WebCore::EditorClientGtk::showSpellingUI):
1718         (WebCore::EditorClientGtk::spellingUIIsShowing):
1719         (WebCore::EditorClientGtk::getGuessesForWord):
1720         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
1721         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
1722         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
1723         (WebCore::FrameLoaderClientGtk::userAgent):
1724         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
1725         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
1726         (WebCore::FrameLoaderClientGtk::committedLoad):
1727         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
1728         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
1729         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
1730         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
1731         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
1732         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
1733         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
1734         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
1735         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
1736         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
1737         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
1738         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
1739         (WebCore::FrameLoaderClientGtk::createPlugin):
1740         (WebCore::FrameLoaderClientGtk::createFrame):
1741         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
1742         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
1743         (WebCore::FrameLoaderClientGtk::objectContentType):
1744         (WebCore::FrameLoaderClientGtk::overrideMediaType):
1745         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
1746         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
1747         (WebCore::FrameLoaderClientGtk::hasWebView):
1748         (WebCore::FrameLoaderClientGtk::hasFrameView):
1749         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
1750         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
1751         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
1752         (WebCore::FrameLoaderClientGtk::restoreViewState):
1753         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
1754         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
1755         (WebCore::FrameLoaderClientGtk::makeDocumentView):
1756         (WebCore::FrameLoaderClientGtk::makeRepresentation):
1757         (WebCore::FrameLoaderClientGtk::forceLayout):
1758         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
1759         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
1760         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
1761         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
1762         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
1763         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
1764         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
1765         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
1766         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
1767         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
1768         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
1769         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
1770         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
1771         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
1772         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
1773         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
1774         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
1775         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
1776         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
1777         (WebCore::FrameLoaderClientGtk::dispatchShow):
1778         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
1779         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
1780         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
1781         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
1782         (WebCore::FrameLoaderClientGtk::willChangeTitle):
1783         (WebCore::FrameLoaderClientGtk::didChangeTitle):
1784         (WebCore::FrameLoaderClientGtk::finishedLoading):
1785         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
1786         (WebCore::FrameLoaderClientGtk::setDefersLoading):
1787         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
1788         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
1789         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
1790         (WebCore::FrameLoaderClientGtk::canHandleRequest):
1791         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
1792         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
1793         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
1794         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
1795         (WebCore::FrameLoaderClientGtk::didFinishLoad):
1796         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
1797         (WebCore::FrameLoaderClientGtk::setTitle):
1798         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
1799         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
1800         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
1801         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
1802         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
1803         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
1804         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
1805         (WebCore::FrameLoaderClientGtk::download):
1806         (WebCore::FrameLoaderClientGtk::cancelledError):
1807         (WebCore::FrameLoaderClientGtk::blockedError):
1808         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
1809         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
1810         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
1811         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
1812         (WebCore::FrameLoaderClientGtk::shouldFallBack):
1813         (WebCore::FrameLoaderClientGtk::willUseArchive):
1814         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
1815         (WebCore::FrameLoaderClientGtk::canCachePage):
1816         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
1817         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
1818         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
1819         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
1820         (WebCore::FrameLoaderClientGtk::webFrame):
1821         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
1822         (WebCore::InspectorClientGtk::inspectorDestroyed):
1823         (WebCore::InspectorClientGtk::createPage):
1824         (WebCore::InspectorClientGtk::showWindow):
1825         (WebCore::InspectorClientGtk::closeWindow):
1826         (WebCore::InspectorClientGtk::attachWindow):
1827         (WebCore::InspectorClientGtk::detachWindow):
1828         (WebCore::InspectorClientGtk::highlight):
1829         (WebCore::InspectorClientGtk::hideHighlight):
1830         (WebCore::InspectorClientGtk::inspectedURLChanged):
1831         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
1832
1833 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1834
1835         Build fix.
1836
1837         * Api/webkitgtkframe.cpp:
1838
1839 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1840
1841         Reviewed by Adam.
1842
1843         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
1844         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
1845         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
1846         remove it.
1847         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
1848         is currently used by FrameLoaderClientGdk::createFrame.
1849
1850         * Api/webkitgtkframe.cpp:
1851         * Api/webkitgtkframedata.cpp: Removed.
1852         * Api/webkitgtkframedata.h: Removed.
1853         * Api/webkitgtkpage.cpp:
1854         * Api/webkitgtkpage.h:
1855         * Api/webkitgtkprivate.h:
1856
1857 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1858
1859         Reviewed by Adam.
1860
1861         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
1862         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
1863         the GtkAdjustments to ScrollView.
1864         This makes having one GdkWindow for the complete FrameTree possible.
1865         
1866
1867         * gtk/Api/webkitgtkframe.cpp:
1868         * gtk/Api/webkitgtkpage.cpp:
1869
1870 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1871
1872         Reviewed by Niko.
1873
1874         We only need to set the Settings of the Page once so do it in
1875         WebKitGtkPage instead of WebKitGtkFrame.
1876
1877         * gtk/Api/webkitgtkframe.cpp:
1878         * gtk/Api/webkitgtkpage.cpp:
1879
1880 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1881
1882         Reviewed by Niko.
1883
1884         Instead of reimplementing the general event method, reimplement
1885         the specific mouse, expose, keyboard event methods.
1886
1887         Call the finalize implementation of the base class from WebKitGtkPage
1888         and WebKitGtkFrame.
1889
1890         * gtk/Api/webkitgtkframe.cpp:
1891         * gtk/Api/webkitgtkpage.cpp:
1892
1893 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1894
1895         Reviewed by Niko.
1896
1897         Remove the custom painting in favor of the Widget::paint
1898         implementation.
1899
1900         * gtk/Api/webkitgtkpage.cpp:
1901
1902 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1903
1904         Reviewed by Adam.
1905
1906         Moved code from class FrameGdk into WebKitGtkFrame. Update the
1907         webkitgrkprivate.h header file to not include FrameGdk.h.
1908
1909         * gtk/Api/webkitgtkframe.cpp:
1910         * gtk/Api/webkitgtkprivate.h:
1911
1912 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1913
1914         Reviewed by Adam.
1915
1916         Change variable names to follow the Coding-Style. Replace occurences
1917         of a_b with aB and place the '*' correctly.
1918
1919         * gtk/Api/webkitgtkframe.cpp:
1920         * gtk/Api/webkitgtkpage.cpp:
1921         * gtk/Api/webkitgtkprivate.h:
1922
1923 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1924
1925         Reviewed by Adam.
1926
1927         Reimplement GtkWidget::event and handle the keyboard and mouse
1928         events inside WebKitGtkPage.
1929
1930         * gtk/Api/webkitgtkpage.cpp:
1931         (FrameGdkExposeData::frame_gdk_expose_child):
1932         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
1933         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
1934         (FrameGdkExposeData::webkit_gtk_page_class_init):
1935
1936 2007-08-07  Xan Lopez  <xan@gnome.org>
1937
1938         Reviewed by Mark Rowe.
1939
1940         http://bugs.webkit.org/show_bug.cgi?id=14815
1941         [gtk] API implementation: reload
1942
1943         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
1944         function.
1945
1946 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
1947
1948         Reviewed by Adam.
1949
1950         http://bugs.webkit.org/show_bug.cgi?id=14806
1951         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
1952
1953         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
1954         webkit_gtk_page_can_go_forward() functions.
1955
1956 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
1957
1958         Reviewed by Alp Toker.
1959
1960         http://bugs.webkit.org/show_bug.cgi?id=14810
1961         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1962
1963         This is the proper fix for #14810.
1964
1965         * gtk/Api/webkitgtkframe.cpp:
1966         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
1967         correct the class_offset parameters.
1968
1969 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
1970
1971         Reviewed by Alp Toker.
1972
1973         http://bugs.webkit.org/show_bug.cgi?id=14810
1974         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1975
1976         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
1977         them in the "load_finished" signal.
1978
1979 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
1980
1981         Reviewed by Adam.
1982
1983         Add the first API and partial implementation of the WebKit/Gtk port as
1984         of http://bugs.webkit.org/show_bug.cgi?id=14678.
1985
1986         The delegates of WebView will be modeled as signals. Delegates like the
1987         WebPolicyDelegate will be implemented as signals with default handlers.
1988
1989         Start moving files to WebKit/gtk/WebCoreSupport.
1990
1991         * gtk: Added.
1992         * gtk/Api: Added.
1993         * gtk/Api/headers.pri: Added.
1994         * gtk/Api/webkitgtk-marshal.list: Added.
1995         * gtk/Api/webkitgtkdefines.h: Added.
1996         * gtk/Api/webkitgtkframe.cpp: Added.
1997         * gtk/Api/webkitgtkframe.h: Added.
1998         * gtk/Api/webkitgtkframedata.cpp: Added.
1999         * gtk/Api/webkitgtkframedata.h: Added.
2000         * gtk/Api/webkitgtkglobal.cpp: Added.
2001         * gtk/Api/webkitgtkglobal.h: Added.
2002         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
2003         * gtk/Api/webkitgtknetworkrequest.h: Added.
2004         * gtk/Api/webkitgtkpage.cpp: Added.
2005         * gtk/Api/webkitgtkpage.h: Added.
2006         * gtk/Api/webkitgtkprivate.cpp: Added.
2007         * gtk/Api/webkitgtkprivate.h: Added.
2008         * gtk/Api/webkitgtksettings.cpp: Added.
2009         * gtk/Api/webkitgtksettings.h: Added.
2010         * gtk/WebCoreSupport: Added.
2011         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
2012         (WebCore::ChromeClientGdk::ChromeClientGdk):
2013         (WebCore::ChromeClientGdk::chromeDestroyed):
2014         (WebCore::ChromeClientGdk::windowRect):
2015         (WebCore::ChromeClientGdk::setWindowRect):
2016         (WebCore::ChromeClientGdk::pageRect):
2017         (WebCore::ChromeClientGdk::scaleFactor):
2018         (WebCore::ChromeClientGdk::focus):
2019         (WebCore::ChromeClientGdk::unfocus):
2020         (WebCore::ChromeClientGdk::createWindow):
2021         (WebCore::ChromeClientGdk::createModalDialog):
2022         (WebCore::ChromeClientGdk::show):
2023         (WebCore::ChromeClientGdk::canRunModal):
2024         (WebCore::ChromeClientGdk::runModal):
2025         (WebCore::ChromeClientGdk::setToolbarsVisible):
2026         (WebCore::ChromeClientGdk::toolbarsVisible):
2027         (WebCore::ChromeClientGdk::setStatusbarVisible):
2028         (WebCore::ChromeClientGdk::statusbarVisible):
2029         (WebCore::ChromeClientGdk::setScrollbarsVisible):
2030         (WebCore::ChromeClientGdk::scrollbarsVisible):
2031         (WebCore::ChromeClientGdk::setMenubarVisible):
2032         (WebCore::ChromeClientGdk::menubarVisible):
2033         (WebCore::ChromeClientGdk::setResizable):
2034         (WebCore::ChromeClientGdk::closeWindowSoon):
2035         (WebCore::ChromeClientGdk::canTakeFocus):
2036         (WebCore::ChromeClientGdk::takeFocus):
2037         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
2038         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
2039         (WebCore::ChromeClientGdk::addMessageToConsole):
2040         (WebCore::ChromeClientGdk::runJavaScriptAlert):
2041         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
2042         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
2043         (WebCore::ChromeClientGdk::setStatusbarText):
2044         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
2045         (WebCore::ChromeClientGdk::tabsToLinks):
2046         (WebCore::ChromeClientGdk::windowResizerRect):
2047         (WebCore::ChromeClientGdk::addToDirtyRegion):
2048         (WebCore::ChromeClientGdk::scrollBackingStore):
2049         (WebCore::ChromeClientGdk::updateBackingStore):
2050         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
2051         (WebCore::ChromeClientGdk::setToolTip):
2052         (WebCore::ChromeClientGdk::print):
2053         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
2054