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