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