Changeset 145722 in webkit
- Timestamp:
- Mar 13, 2013 8:38:43 AM (11 years ago)
- Location:
- trunk/Source/WebKit/gtk
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/gtk/ChangeLog
r145717 r145722 1 2013-03-13 Tomas Popela <tpopela@redhat.com> 2 3 [GTK][Introspection] Fix of gtk doc annotation warnings 4 https://bugs.webkit.org/show_bug.cgi?id=109182 5 6 Reviewed by Martin Robinson. 7 8 Fixed some gtk doc annotation warnings that appears during 9 compiling. Also some white characters were removed and some restyling 10 was done - all the g_signal_new in webkit directory have now the same 11 style. 12 13 14 * webkit/webkitdownload.cpp: 15 (webkit_download_class_init): 16 * webkit/webkitfavicondatabase.cpp: 17 (webkit_favicon_database_class_init): 18 * webkit/webkitgeolocationpolicydecision.cpp: 19 * webkit/webkitglobals.cpp: 20 * webkit/webkithittestresult.h: 21 * webkit/webkiticondatabase.cpp: 22 (webkit_icon_database_class_init): 23 * webkit/webkitsecurityorigin.cpp: 24 * webkit/webkitsecurityorigin.h: 25 * webkit/webkitsoupauthdialog.cpp: 26 * webkit/webkitspellchecker.cpp: 27 * webkit/webkitviewportattributes.cpp: 28 (webkit_viewport_attributes_class_init): 29 * webkit/webkitwebdatabase.cpp: 30 * webkit/webkitwebframe.cpp: 31 (webkit_web_frame_class_init): 32 * webkit/webkitwebframe.h: 33 * webkit/webkitwebinspector.cpp: 34 (webkit_web_inspector_class_init): 35 * webkit/webkitwebnavigationaction.cpp: 36 (webkit_web_navigation_action_class_init): 37 * webkit/webkitwebplugindatabase.cpp: 38 * webkit/webkitwebpolicydecision.cpp: 39 * webkit/webkitwebresource.cpp: 40 (webkit_web_resource_class_init): 41 * webkit/webkitwebsettings.cpp: 42 (webkit_web_settings_class_init): 43 * webkit/webkitwebview.cpp: 44 (webkit_web_view_class_init): 45 (webkit_web_view_apply_zoom_level): 46 * webkit/webkitwebwindowfeatures.cpp: 47 (webkit_web_window_features_equal): 48 1 49 2013-03-13 Pavel Feldman <pfeldman@chromium.org> 2 50 -
trunk/Source/WebKit/gtk/webkit/webkitdownload.cpp
r130046 r145722 251 251 */ 252 252 webkit_download_signals[ERROR] = g_signal_new("error", 253 254 255 256 257 258 259 260 261 262 253 G_TYPE_FROM_CLASS(downloadClass), 254 (GSignalFlags)G_SIGNAL_RUN_LAST, 255 0, 256 g_signal_accumulator_true_handled, 257 NULL, 258 webkit_marshal_BOOLEAN__INT_INT_STRING, 259 G_TYPE_BOOLEAN, 3, 260 G_TYPE_INT, 261 G_TYPE_INT, 262 G_TYPE_STRING); 263 263 264 264 // Properties. 265 265 266 266 /** 267 * WebKitDownload:network-request 267 * WebKitDownload:network-request: 268 268 * 269 269 * The #WebKitNetworkRequest instance associated with the download. … … 280 280 281 281 /** 282 * WebKitDownload:network-response 282 * WebKitDownload:network-response: 283 283 * 284 284 * The #WebKitNetworkResponse instance associated with the download. … … 295 295 296 296 /** 297 * WebKitDownload:destination-uri 297 * WebKitDownload:destination-uri: 298 298 * 299 299 * The URI of the save location for this download. … … 310 310 311 311 /** 312 * WebKitDownload:suggested-filename 312 * WebKitDownload:suggested-filename: 313 313 * 314 314 * The file name suggested as default when saving … … 358 358 359 359 /** 360 * WebKitDownload:current-size 360 * WebKitDownload:current-size: 361 361 * 362 362 * The length of the data already downloaded … … 373 373 374 374 /** 375 * WebKitDownload:total-size 375 * WebKitDownload:total-size: 376 376 * 377 377 * The total size of the file -
trunk/Source/WebKit/gtk/webkit/webkitfavicondatabase.cpp
r137520 r145722 242 242 gobjectClass->get_property = webkit_favicon_database_get_property; 243 243 244 245 246 247 248 249 250 251 244 /** 245 * WebKitFaviconDatabase:path: 246 * 247 * The absolute path of the icon database folder. 248 * 249 * Since: 1.8 250 */ 251 g_object_class_install_property(gobjectClass, PROP_PATH, 252 252 g_param_spec_string("path", 253 253 _("Path"), … … 257 257 258 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 259 /** 260 * WebKitFaviconDatabase::icon-loaded: 261 * @database: the object on which the signal is emitted 262 * @frame_uri: the URI of the main frame of a Web page containing 263 * the icon 264 * 265 * This signal is fired if an icon is loaded on any 266 * #WebKitWebView. If you are only interested in a particular 267 * #WebKitWebView see #WebKitWebView::icon-loaded. 268 * 269 * Note that this signal carries the URI of the frame that loads 270 * the icon, while #WebKitWebView::icon-loaded provides the URI 271 * of the favicon. 272 * 273 * Since: 1.8 274 */ 275 webkit_favicon_database_signals[ICON_LOADED] = g_signal_new("icon-loaded", 276 G_TYPE_FROM_CLASS(klass), 277 (GSignalFlags)G_SIGNAL_RUN_LAST, 278 0, 0, 0, 279 webkit_marshal_VOID__STRING, 280 G_TYPE_NONE, 1, 281 G_TYPE_STRING); 282 282 283 283 g_type_class_add_private(klass, sizeof(WebKitFaviconDatabasePrivate)); -
trunk/Source/WebKit/gtk/webkit/webkitgeolocationpolicydecision.cpp
r111915 r145722 68 68 69 69 /** 70 * webkit_geolocation_policy_allow 70 * webkit_geolocation_policy_allow: 71 71 * @decision: a #WebKitGeolocationPolicyDecision 72 72 * … … 88 88 89 89 /** 90 * webkit_geolocation_policy_deny 90 * webkit_geolocation_policy_deny: 91 91 * @decision: a #WebKitGeolocationPolicyDecision 92 92 * -
trunk/Source/WebKit/gtk/webkit/webkitglobals.cpp
r140153 r145722 263 263 * webkit_get_text_checker: 264 264 * 265 * Returns: the #WebKitSpellChecker used by WebKit, or %NULL if spell265 * Returns: (transfer none): the #WebKitSpellChecker used by WebKit, or %NULL if spell 266 266 * checking is not enabled 267 267 * -
trunk/Source/WebKit/gtk/webkit/webkithittestresult.h
r95901 r145722 55 55 56 56 /** 57 * WebKitHitTestResultContext 57 * WebKitHitTestResultContext: 58 58 * @WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT: anywhere in the document. 59 59 * @WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK: a hyperlink element. -
trunk/Source/WebKit/gtk/webkit/webkiticondatabase.cpp
r137520 r145722 34 34 35 35 /** 36 * SECTION:webkit webdatabase36 * SECTION:webkiticondatabase 37 37 * @short_description: A WebKit web application database 38 38 * … … 167 167 */ 168 168 webkit_icon_database_signals[ICON_LOADED] = g_signal_new("icon-loaded", 169 170 171 172 173 174 175 176 177 169 G_TYPE_FROM_CLASS(klass), 170 (GSignalFlags)G_SIGNAL_RUN_LAST, 171 0, 172 NULL, 173 NULL, 174 webkit_marshal_VOID__OBJECT_STRING, 175 G_TYPE_NONE, 2, 176 WEBKIT_TYPE_WEB_FRAME, 177 G_TYPE_STRING); 178 178 179 179 g_type_class_add_private(klass, sizeof(WebKitIconDatabasePrivate)); -
trunk/Source/WebKit/gtk/webkit/webkitsecurityorigin.cpp
r137520 r145722 36 36 * number. Web sites with the same security origin can access each other's 37 37 * resources for client-side scripting or database access. 38 * 38 * 39 39 * Use #webkit_web_frame_get_security_origin to get the security origin of a 40 40 * #WebKitWebFrame. … … 289 289 * in bytes. 290 290 * 291 * Returns: the cumulative size of all databases 291 * Returns: the cumulative size of all databases 292 292 * 293 293 * Since: 1.1.14 -
trunk/Source/WebKit/gtk/webkit/webkitsecurityorigin.h
r95901 r145722 69 69 webkit_security_origin_get_web_database_quota (WebKitSecurityOrigin* securityOrigin); 70 70 71 WEBKIT_API void 71 WEBKIT_API void 72 72 webkit_security_origin_set_web_database_quota (WebKitSecurityOrigin* securityOrigin, guint64 quota); 73 73 -
trunk/Source/WebKit/gtk/webkit/webkitsoupauthdialog.cpp
r137748 r145722 110 110 * Since: 1.1.1 111 111 */ 112 signals[CURRENT_TOPLEVEL] = 113 g_signal_new("current-toplevel", 114 G_OBJECT_CLASS_TYPE(objectClass), 115 G_SIGNAL_RUN_LAST, 116 G_STRUCT_OFFSET(WebKitSoupAuthDialogClass, current_toplevel), 117 0, 0, 118 webkit_marshal_OBJECT__OBJECT, 119 GTK_TYPE_WIDGET, 1, 120 SOUP_TYPE_MESSAGE); 112 signals[CURRENT_TOPLEVEL] = g_signal_new("current-toplevel", 113 G_OBJECT_CLASS_TYPE(objectClass), 114 G_SIGNAL_RUN_LAST, 115 G_STRUCT_OFFSET(WebKitSoupAuthDialogClass, current_toplevel), 116 0, 0, 117 webkit_marshal_OBJECT__OBJECT, 118 GTK_TYPE_WIDGET, 1, 119 SOUP_TYPE_MESSAGE); 121 120 } 122 121 -
trunk/Source/WebKit/gtk/webkit/webkitspellchecker.cpp
r95901 r145722 69 69 * misspelled word @word. 70 70 * 71 * Returns: (transfer full) a newly allocated %NULL-terminated array71 * Returns: (transfer full): a newly allocated %NULL-terminated array 72 72 * of suggested corrections for a misspelled word @word. Free it with 73 73 * %g_strfreev when done with it. -
trunk/Source/WebKit/gtk/webkit/webkitviewportattributes.cpp
r134773 r145722 33 33 * SECTION:webkitviewportattributes 34 34 * @short_description: Represents the viewport properties of a web page 35 * @see_also: #WebKitWebView::viewport-attributes-recompute-requested 36 * @see_also: #WebKitWebView::viewport-attributes-changed 35 * @see_also: #WebKitWebView::viewport-attributes-recompute-requested, #WebKitWebView::viewport-attributes-changed 37 36 * 38 37 * #WebKitViewportAttributes offers the viewport properties to user agents to … … 45 44 * the viewport properties and calling webkit_viewport_attributes_recompute. 46 45 * 47 * If the device size, available size, desktop width, or device DPI needs to be changed due to 46 * If the device size, available size, desktop width, or device DPI needs to be changed due to 48 47 * a consequence of an explicit browser request (caused by screen rotation, resizing, or similar reasons), 49 * You should call #webkit_viewport_attributes_recompute to recompute the viewport properties and 48 * You should call #webkit_viewport_attributes_recompute to recompute the viewport properties and 50 49 * override those values in the handler of #WebKitWebView::viewport-attributes-recompute-requested signal. 51 50 * … … 69 68 * 70 69 * /<!-- -->* Handle the viewport-attributes-changed signal to recompute the initial scale factor *<!-- -->/ 71 * static void 70 * static void 72 71 * viewport_changed_cb (WebKitWebView* web_view, WebKitViewportAttributes* attributes, gpointer data) 73 72 * { … … 76 75 * webkit_web_view_set_zoom_level (web_view, initialScale); 77 76 * } 78 * 77 * 79 78 * /<!-- -->* Handle the notify::valid signal to initialize the zoom level *<!-- -->/ 80 79 * static void … … 83 82 * gboolean is_valid; 84 83 * g_object_get (attributes, "valid", &is_valid, NULL); 85 * if (!is_valid) 84 * if (!is_valid) 86 85 * webkit_web_view_set_zoom_level (web_view, 1.0); 87 86 * } … … 217 216 * WebKitViewportAttributs:desktop-width: 218 217 * 219 * The width of viewport that works well for most web pages designed for 220 * desktop. This value is initialized to 980 pixels by default and used 218 * The width of viewport that works well for most web pages designed for 219 * desktop. This value is initialized to 980 pixels by default and used 221 220 * during a viewport attributes recomputation. Also, it can be overriden by 222 * the handler of WebKitWebView::viewport-attributes-recompute-requested. 221 * the handler of WebKitWebView::viewport-attributes-recompute-requested. 223 222 * You should not do that unless you have a very good reason. 224 223 * … … 239 238 * WebKitViewportAttributs:device-dpi: 240 239 * 241 * The number of dots per inch of the screen. This value is 242 * initialized to 160 dpi by default and used during a viewport 243 * attributes recomputation, because it is the dpi of the original 244 * iPhone and Android devices. Also, it can be overriden by the 245 * handler of WebKitWebView::viewport-attributes-recompute-requested. 240 * The number of dots per inch of the screen. This value is 241 * initialized to 160 dpi by default and used during a viewport 242 * attributes recomputation, because it is the dpi of the original 243 * iPhone and Android devices. Also, it can be overriden by the 244 * handler of WebKitWebView::viewport-attributes-recompute-requested. 246 245 * You should not do that unless you have a very good reason. 247 246 * … … 262 261 * WebKitViewportAttributs:width: 263 262 * 264 * The width of the viewport. Before getting this property, 263 * The width of the viewport. Before getting this property, 265 264 * you need to make sure that #WebKitViewportAttributes is valid. 266 * 265 * 267 266 * Since: 1.3.8 268 267 */ … … 319 318 * WebKitViewportAttributs:minimum-scale-factor: 320 319 * 321 * The minimum scale of the viewport. Before getting this property, 320 * The minimum scale of the viewport. Before getting this property, 322 321 * you need to make sure that #WebKitViewportAttributes is valid. 323 322 * … … 338 337 * WebKitViewportAttributs:maximum-scale-factor: 339 338 * 340 * The maximum scale of the viewport. Before getting this property, 339 * The maximum scale of the viewport. Before getting this property, 341 340 * you need to make sure that #WebKitViewportAttributes is valid. 342 341 * … … 377 376 * 378 377 * Determines whether or not the user can zoom in and out. 379 * Before getting this property, you need to make sure that 378 * Before getting this property, you need to make sure that 380 379 * #WebKitViewportAttributes is valid. 381 380 * … … 394 393 * WebKitViewportAttributs:valid: 395 394 * 396 * Determines whether or not the attributes are valid. 397 * #WebKitViewportAttributes are only valid on pages 398 * which have a viewport meta tag, and have already 395 * Determines whether or not the attributes are valid. 396 * #WebKitViewportAttributes are only valid on pages 397 * which have a viewport meta tag, and have already 399 398 * had the attributes calculated. 400 399 * … … 561 560 * @viewportAttributes: a #WebKitViewportAttributes 562 561 * 563 * Recompute the optimal viewport attributes and emit the viewport-attribute-changed signal. 564 * The viewport-attributes-recompute-requested signal also will be handled to override 562 * Recompute the optimal viewport attributes and emit the viewport-attribute-changed signal. 563 * The viewport-attributes-recompute-requested signal also will be handled to override 565 564 * the device size, available size, desktop width, or device DPI. 566 565 * -
trunk/Source/WebKit/gtk/webkit/webkitwebdatabase.cpp
r140153 r145722 42 42 * #webkit_security_origin_get_databases. Each database has a canonical 43 43 * name, as well as a user-friendly display name. 44 * 44 * 45 45 * WebKit uses SQLite to create and access the local SQL databases. The location 46 46 * of a #WebKitWebDatabase can be accessed wth #webkit_web_database_get_filename. 47 47 * You can configure the location of all databases with 48 48 * #webkit_set_database_directory_path. 49 * 49 * 50 50 * For each database the web site can define an estimated size which can be 51 51 * accessed with #webkit_web_database_get_expected_size. The current size of the 52 52 * database in bytes is returned by #webkit_web_database_get_size. 53 * 53 * 54 54 * For more information refer to the Web Database specification proposal at 55 55 * http://dev.w3.org/html5/webdatabase … … 460 460 * webkit_get_web_database_directory_path: 461 461 * 462 * Returns the current path to the directory WebKit will write Web 462 * Returns the current path to the directory WebKit will write Web 463 463 * Database and Indexed Database databases. By default this path will 464 464 * be in the user data directory. … … 477 477 * @path: the new database directory path in the filesystem encoding 478 478 * 479 * Sets the current path to the directory WebKit will write Web 480 * Database and Indexed Database databases. 479 * Sets the current path to the directory WebKit will write Web 480 * Database and Indexed Database databases. 481 481 * 482 482 * Since: 1.1.14 … … 502 502 * Returns the default quota for Web Database databases. By default 503 503 * this value is 5MB. 504 504 * 505 505 * Returns: the current default database quota in bytes 506 506 * -
trunk/Source/WebKit/gtk/webkit/webkitwebframe.cpp
r137329 r145722 207 207 */ 208 208 webkit_web_frame_signals[CLEARED] = g_signal_new("cleared", 209 210 211 212 213 214 215 209 G_TYPE_FROM_CLASS(frameClass), 210 (GSignalFlags)G_SIGNAL_RUN_LAST, 211 0, 212 0, 213 0, 214 g_cclosure_marshal_VOID__VOID, 215 G_TYPE_NONE, 0); 216 216 217 217 /** 218 * WebKitWebFrame::load-committed 218 * WebKitWebFrame::load-committed: 219 219 * @web_frame: the object on which the signal is emitted 220 220 * … … 224 224 */ 225 225 webkit_web_frame_signals[LOAD_COMMITTED] = g_signal_new("load-committed", 226 227 228 229 230 231 232 226 G_TYPE_FROM_CLASS(frameClass), 227 (GSignalFlags)G_SIGNAL_RUN_LAST, 228 0, 229 0, 230 0, 231 g_cclosure_marshal_VOID__VOID, 232 G_TYPE_NONE, 0); 233 233 234 234 /** … … 242 242 */ 243 243 webkit_web_frame_signals[TITLE_CHANGED] = g_signal_new("title-changed", 244 245 246 247 248 249 250 251 244 G_TYPE_FROM_CLASS(frameClass), 245 (GSignalFlags)G_SIGNAL_RUN_LAST, 246 0, 247 0, 248 0, 249 webkit_marshal_VOID__STRING, 250 G_TYPE_NONE, 1, 251 G_TYPE_STRING); 252 252 253 253 webkit_web_frame_signals[HOVERING_OVER_LINK] = g_signal_new("hovering-over-link", 254 255 256 257 258 259 260 261 254 G_TYPE_FROM_CLASS(frameClass), 255 (GSignalFlags)G_SIGNAL_RUN_LAST, 256 0, 257 0, 258 0, 259 webkit_marshal_VOID__STRING_STRING, 260 G_TYPE_NONE, 2, 261 G_TYPE_STRING, G_TYPE_STRING); 262 262 263 263 /** … … 287 287 */ 288 288 webkit_web_frame_signals[SCROLLBARS_POLICY_CHANGED] = g_signal_new("scrollbars-policy-changed", 289 290 291 292 293 294 295 289 G_TYPE_FROM_CLASS(frameClass), 290 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 291 0, 292 g_signal_accumulator_true_handled, 293 0, 294 webkit_marshal_BOOLEAN__VOID, 295 G_TYPE_BOOLEAN, 0); 296 296 297 297 … … 325 325 */ 326 326 webkit_web_frame_signals[RESOURCE_REQUEST_STARTING] = g_signal_new("resource-request-starting", 327 328 329 330 331 332 333 334 335 327 G_TYPE_FROM_CLASS(frameClass), 328 G_SIGNAL_RUN_LAST, 329 0, 330 0, 0, 331 webkit_marshal_VOID__OBJECT_OBJECT_OBJECT, 332 G_TYPE_NONE, 3, 333 WEBKIT_TYPE_WEB_RESOURCE, 334 WEBKIT_TYPE_NETWORK_REQUEST, 335 WEBKIT_TYPE_NETWORK_RESPONSE); 336 336 337 337 /** … … 346 346 */ 347 347 webkit_web_frame_signals[RESOURCE_RESPONSE_RECEIVED] = g_signal_new("resource-response-received", 348 349 350 351 352 353 354 355 348 G_TYPE_FROM_CLASS(frameClass), 349 G_SIGNAL_RUN_LAST, 350 0, 351 0, 0, 352 webkit_marshal_VOID__OBJECT_OBJECT, 353 G_TYPE_NONE, 2, 354 WEBKIT_TYPE_WEB_RESOURCE, 355 WEBKIT_TYPE_NETWORK_RESPONSE); 356 356 357 357 /** … … 365 365 */ 366 366 webkit_web_frame_signals[RESOURCE_LOAD_FINISHED] = g_signal_new("resource-load-finished", 367 368 369 370 371 372 373 367 G_TYPE_FROM_CLASS(frameClass), 368 G_SIGNAL_RUN_LAST, 369 0, 370 0, 0, 371 g_cclosure_marshal_VOID__OBJECT, 372 G_TYPE_NONE, 1, 373 WEBKIT_TYPE_WEB_RESOURCE); 374 374 375 375 /** … … 387 387 */ 388 388 webkit_web_frame_signals[RESOURCE_CONTENT_LENGTH_RECEIVED] = g_signal_new("resource-content-length-received", 389 390 391 392 393 394 395 396 389 G_TYPE_FROM_CLASS(frameClass), 390 G_SIGNAL_RUN_LAST, 391 0, 392 0, 0, 393 webkit_marshal_VOID__OBJECT_INT, 394 G_TYPE_NONE, 2, 395 WEBKIT_TYPE_WEB_RESOURCE, 396 G_TYPE_INT); 397 397 398 398 /** … … 407 407 */ 408 408 webkit_web_frame_signals[RESOURCE_LOAD_FAILED] = g_signal_new("resource-load-failed", 409 410 411 412 413 414 415 416 409 G_TYPE_FROM_CLASS(frameClass), 410 G_SIGNAL_RUN_LAST, 411 0, 412 0, 0, 413 webkit_marshal_VOID__OBJECT_POINTER, 414 G_TYPE_NONE, 2, 415 WEBKIT_TYPE_WEB_RESOURCE, 416 G_TYPE_POINTER); 417 417 418 418 /** … … 429 429 */ 430 430 webkit_web_frame_signals[INSECURE_CONTENT_RUN] = g_signal_new("insecure-content-run", 431 432 433 434 435 436 437 438 431 G_TYPE_FROM_CLASS(frameClass), 432 G_SIGNAL_RUN_LAST, 433 0, 434 0, 0, 435 webkit_marshal_VOID__OBJECT_STRING, 436 G_TYPE_NONE, 2, 437 WEBKIT_TYPE_SECURITY_ORIGIN, 438 G_TYPE_STRING); 439 439 440 440 /* … … 838 838 * between the WebKit and JavaScriptCore APIs. 839 839 * 840 * Return value: (transfer none): the global JavaScript context 840 * Return value: (transfer none): the global JavaScript context #JSGlobalContextRef 841 841 */ 842 842 JSGlobalContextRef webkit_web_frame_get_global_context(WebKitWebFrame* frame) … … 1144 1144 * positioned. 1145 1145 * 1146 * Returns: a #WebKitDOMRange spanning the word where the caret1146 * Returns: (transfer none): a #WebKitDOMRange spanning the word where the caret 1147 1147 * currently is positioned. If there is no caret %NULL will be 1148 1148 * returned. … … 1167 1167 * webkit_web_frame_get_dom_document: 1168 1168 * @frame: a #WebKitWebFrame 1169 * 1169 * 1170 1170 * Returns: (transfer none): the #WebKitDOMDocument currently loaded 1171 1171 * in the @frame or %NULL if no document is loaded -
trunk/Source/WebKit/gtk/webkit/webkitwebframe.h
r137329 r145722 61 61 62 62 /** 63 * WebKitLoadStatus 63 * WebKitLoadStatus: 64 64 * @WEBKIT_LOAD_PROVISIONAL: No data has been received yet, empty 65 65 * structures have been allocated to perform the load; the load may -
trunk/Source/WebKit/gtk/webkit/webkitwebinspector.cpp
r137329 r145722 146 146 */ 147 147 webkit_web_inspector_signals[INSPECT_WEB_VIEW] = g_signal_new("inspect-web-view", 148 149 150 151 152 153 154 155 148 G_TYPE_FROM_CLASS(klass), 149 (GSignalFlags)G_SIGNAL_RUN_LAST, 150 0, 151 webkit_inspect_web_view_request_handled, 152 NULL, 153 webkit_marshal_OBJECT__OBJECT, 154 WEBKIT_TYPE_WEB_VIEW , 1, 155 WEBKIT_TYPE_WEB_VIEW); 156 156 157 157 /** … … 167 167 */ 168 168 webkit_web_inspector_signals[SHOW_WINDOW] = g_signal_new("show-window", 169 170 171 172 173 174 175 169 G_TYPE_FROM_CLASS(klass), 170 (GSignalFlags)G_SIGNAL_RUN_LAST, 171 0, 172 g_signal_accumulator_true_handled, 173 NULL, 174 webkit_marshal_BOOLEAN__VOID, 175 G_TYPE_BOOLEAN , 0); 176 176 177 177 /** … … 186 186 */ 187 187 webkit_web_inspector_signals[ATTACH_WINDOW] = g_signal_new("attach-window", 188 189 190 191 192 193 194 188 G_TYPE_FROM_CLASS(klass), 189 (GSignalFlags)G_SIGNAL_RUN_LAST, 190 0, 191 g_signal_accumulator_true_handled, 192 NULL, 193 webkit_marshal_BOOLEAN__VOID, 194 G_TYPE_BOOLEAN , 0); 195 195 196 196 /** … … 204 204 */ 205 205 webkit_web_inspector_signals[DETACH_WINDOW] = g_signal_new("detach-window", 206 207 208 209 210 211 212 206 G_TYPE_FROM_CLASS(klass), 207 (GSignalFlags)G_SIGNAL_RUN_LAST, 208 0, 209 g_signal_accumulator_true_handled, 210 NULL, 211 webkit_marshal_BOOLEAN__VOID, 212 G_TYPE_BOOLEAN , 0); 213 213 214 214 /** … … 231 231 */ 232 232 webkit_web_inspector_signals[CLOSE_WINDOW] = g_signal_new("close-window", 233 234 235 236 237 238 239 233 G_TYPE_FROM_CLASS(klass), 234 (GSignalFlags)G_SIGNAL_RUN_LAST, 235 0, 236 g_signal_accumulator_true_handled, 237 NULL, 238 webkit_marshal_BOOLEAN__VOID, 239 G_TYPE_BOOLEAN , 0); 240 240 241 241 /** … … 250 250 */ 251 251 webkit_web_inspector_signals[FINISHED] = g_signal_new("finished", 252 253 254 255 256 257 258 252 G_TYPE_FROM_CLASS(klass), 253 (GSignalFlags)G_SIGNAL_RUN_LAST, 254 0, 255 NULL, 256 NULL, 257 g_cclosure_marshal_VOID__VOID, 258 G_TYPE_NONE , 0); 259 259 260 260 /* … … 291 291 292 292 /** 293 * WebKitWebInspector:javascript-profiling-enabled 293 * WebKitWebInspector:javascript-profiling-enabled: 294 294 * 295 295 * This is enabling JavaScript profiling in the Inspector. This means … … 308 308 309 309 /** 310 * WebKitWebInspector:timeline-profiling-enabled 310 * WebKitWebInspector:timeline-profiling-enabled: 311 311 * 312 312 * This is enabling Timeline profiling in the Inspector. -
trunk/Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp
r122111 r145722 187 187 * 188 188 * The state of the modifier keys when the action was requested. 189 * 189 * 190 190 * Since: 1.0.3 191 191 */ -
trunk/Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp
r98677 r145722 66 66 67 67 /** 68 * webkit_web_plugin_database_ list_free:69 * @list: a #WebKitWebPluginDatabasePluginList68 * webkit_web_plugin_database_plugins_list_free: 69 * @list: (element-type WebKitWebPlugin): a #GSList of #WebKitWebPlugin 70 70 * 71 71 * Frees @list. -
trunk/Source/WebKit/gtk/webkit/webkitwebpolicydecision.cpp
r144565 r145722 72 72 73 73 /** 74 * webkit_web_policy_decision_use 74 * webkit_web_policy_decision_use: 75 75 * @decision: a #WebKitWebPolicyDecision 76 76 * … … 90 90 91 91 /** 92 * webkit_web_policy_decision_ignore 92 * webkit_web_policy_decision_ignore: 93 93 * @decision: a #WebKitWebPolicyDecision 94 94 * … … 108 108 109 109 /** 110 * webkit_web_policy_decision_download 110 * webkit_web_policy_decision_download: 111 111 * @decision: a #WebKitWebPolicyDecision 112 112 * -
trunk/Source/WebKit/gtk/webkit/webkitwebresource.cpp
r127757 r145722 133 133 */ 134 134 webkit_web_resource_signals[RESPONSE_RECEIVED] = g_signal_new("response-received", 135 136 137 138 139 140 141 135 G_TYPE_FROM_CLASS(webResourceClass), 136 G_SIGNAL_RUN_LAST, 137 0, 138 0, 0, 139 g_cclosure_marshal_VOID__OBJECT, 140 G_TYPE_NONE, 1, 141 WEBKIT_TYPE_NETWORK_RESPONSE); 142 142 143 143 /** … … 151 151 */ 152 152 webkit_web_resource_signals[LOAD_FAILED] = g_signal_new("load-failed", 153 154 155 156 157 158 159 153 G_TYPE_FROM_CLASS(webResourceClass), 154 G_SIGNAL_RUN_LAST, 155 0, 156 0, 0, 157 g_cclosure_marshal_VOID__POINTER, 158 G_TYPE_NONE, 1, 159 G_TYPE_POINTER); 160 160 161 161 /** … … 168 168 */ 169 169 webkit_web_resource_signals[LOAD_FINISHED] = g_signal_new("load-finished", 170 171 172 173 174 175 170 G_TYPE_FROM_CLASS(webResourceClass), 171 G_SIGNAL_RUN_LAST, 172 0, 173 0, 0, 174 g_cclosure_marshal_VOID__VOID, 175 G_TYPE_NONE, 0); 176 176 177 177 /** … … 188 188 */ 189 189 webkit_web_resource_signals[CONTENT_LENGTH_RECEIVED] = g_signal_new("content-length-received", 190 191 192 193 194 195 196 190 G_TYPE_FROM_CLASS(webResourceClass), 191 G_SIGNAL_RUN_LAST, 192 0, 193 0, 0, 194 g_cclosure_marshal_VOID__INT, 195 G_TYPE_NONE, 1, 196 G_TYPE_INT); 197 197 198 198 /** -
trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp
r145070 r145722 45 45 * @short_description: Control the behaviour of a #WebKitWebView 46 46 * 47 * #WebKitWebSettings can be applied to a #WebKitWebView to control text encoding, 48 * color, font sizes, printing mode, script support, loading of images and various other things. 49 * After creation, a #WebKitWebSettings object contains default settings. 47 * #WebKitWebSettings can be applied to a #WebKitWebView to control text encoding, 48 * color, font sizes, printing mode, script support, loading of images and various other things. 49 * After creation, a #WebKitWebSettings object contains default settings. 50 50 * 51 51 * <informalexample><programlisting> … … 493 493 flags)); 494 494 /** 495 * WebKitWebSettings:enable-xss-auditor 495 * WebKitWebSettings:enable-xss-auditor: 496 496 * 497 497 * Whether to enable the XSS Auditor. This feature filters some kinds of … … 508 508 flags)); 509 509 /** 510 * WebKitWebSettings:enable-spatial-navigation 510 * WebKitWebSettings:enable-spatial-navigation: 511 511 * 512 512 * Whether to enable the Spatial Navigation. This feature consists in the ability … … 527 527 flags)); 528 528 /** 529 * WebKitWebSettings:enable-frame-flattening 529 * WebKitWebSettings:enable-frame-flattening: 530 530 * 531 531 * Whether to enable the Frame Flattening. With this setting each subframe is expanded … … 565 565 566 566 /** 567 * WebKitWebSettings:javascript-can-open-windows-automatically 567 * WebKitWebSettings:javascript-can-open-windows-automatically: 568 568 * 569 569 * Whether JavaScript can open popup windows automatically without user … … 581 581 582 582 /** 583 * WebKitWebSettings:javascript-can-access-clipboard 583 * WebKitWebSettings:javascript-can-access-clipboard: 584 584 * 585 585 * Whether JavaScript can access Clipboard. … … 596 596 597 597 /** 598 * WebKitWebSettings:enable-offline-web-application-cache 598 * WebKitWebSettings:enable-offline-web-application-cache: 599 599 * 600 600 * Whether to enable HTML5 offline web application cache support. Offline … … 614 614 615 615 /** 616 * WebKitWebSettings:editing-behavior 616 * WebKitWebSettings:editing-behavior: 617 617 * 618 618 * This setting controls various editing behaviors that differ 619 619 * between platforms and that have been combined in two groups, 620 620 * 'Mac' and 'Windows'. Some examples: 621 * 621 * 622 622 * 1) Clicking below the last line of an editable area puts the 623 623 * caret at the end of the last line on Mac, but in the middle of … … 640 640 641 641 /** 642 * WebKitWebSettings:enable-universal-access-from-file-uris 642 * WebKitWebSettings:enable-universal-access-from-file-uris: 643 643 * 644 644 * Whether to allow files loaded through file:// URIs universal access to … … 656 656 657 657 /** 658 * WebKitWebSettings:enable-dom-paste 658 * WebKitWebSettings:enable-dom-paste: 659 659 * 660 660 * Whether to enable DOM paste. If set to %TRUE, document.execCommand("Paste") … … 714 714 715 715 /** 716 * WebKitWebSettings::enable-site-specific-quirks 716 * WebKitWebSettings::enable-site-specific-quirks: 717 717 * 718 718 * Whether to turn on site-specific hacks. Turning this on will … … 767 767 * can connect to the notify signal for the 768 768 * #WebKitWebWindowFeatures of your #WebKitWebView. 769 * 769 * 770 770 * Since: 1.1.22 771 771 */ … … 889 889 890 890 /** 891 * WebKitWebSettings:enable-dns-prefetching 891 * WebKitWebSettings:enable-dns-prefetching: 892 892 * 893 893 * Whether webkit prefetches domain names. This is a separate knob from private browsing. … … 924 924 925 925 /** 926 * WebKitWebSettings:enable-smooth-scrolling 926 * WebKitWebSettings:enable-smooth-scrolling: 927 927 * 928 928 * Enable or disable support for smooth scrolling. The current implementation relies upon … … 940 940 941 941 /** 942 * WebKitWebSettings:media-playback-requires-user-gesture 942 * WebKitWebSettings:media-playback-requires-user-gesture: 943 943 * 944 944 * Whether a user gesture (such as clicking the play button) would … … 959 959 960 960 /** 961 * WebKitWebSettings:media-playback-allows-inline 961 * WebKitWebSettings:media-playback-allows-inline: 962 962 * 963 963 * Whether media playback is full-screen only or inline playback is allowed. … … 976 976 977 977 /** 978 * WebKitWebSettings:enable-css-shaders 978 * WebKitWebSettings:enable-css-shaders: 979 979 * 980 980 * Enable or disable support for css shaders (css custom filters). … … 995 995 996 996 /** 997 * WebKitWebSettings:enable-display-of-insecure-content 997 * WebKitWebSettings:enable-display-of-insecure-content: 998 998 * 999 999 * Whether pages loaded via HTTPS should load subresources such as 1000 * images and frames from non-HTTPS URLs. 1000 * images and frames from non-HTTPS URLs. 1001 1001 * 1002 1002 * Since: 2.0 … … 1011 1011 1012 1012 /** 1013 * WebKitWebSettings:enable-running-of-insecure-content 1013 * WebKitWebSettings:enable-running-of-insecure-content: 1014 1014 * 1015 1015 * Whether pages loaded via HTTPS should run subresources such as 1016 * CSS, scripts, and plugins from non-HTTPS URLs. 1016 * CSS, scripts, and plugins from non-HTTPS URLs. 1017 1017 * 1018 1018 * Since: 2.0 -
trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp
r145070 r145722 1675 1675 */ 1676 1676 webkit_web_view_signals[CREATE_WEB_VIEW] = g_signal_new("create-web-view", 1677 1678 1679 1680 1681 1682 1683 1684 1677 G_TYPE_FROM_CLASS(webViewClass), 1678 (GSignalFlags)G_SIGNAL_RUN_LAST, 1679 G_STRUCT_OFFSET (WebKitWebViewClass, create_web_view), 1680 webkit_signal_accumulator_object_handled, 1681 NULL, 1682 webkit_marshal_OBJECT__OBJECT, 1683 WEBKIT_TYPE_WEB_VIEW , 1, 1684 WEBKIT_TYPE_WEB_FRAME); 1685 1685 1686 1686 /** … … 1705 1705 */ 1706 1706 webkit_web_view_signals[WEB_VIEW_READY] = g_signal_new("web-view-ready", 1707 1708 1709 1710 1711 1712 1713 1707 G_TYPE_FROM_CLASS(webViewClass), 1708 (GSignalFlags)G_SIGNAL_RUN_LAST, 1709 G_STRUCT_OFFSET (WebKitWebViewClass, web_view_ready), 1710 g_signal_accumulator_true_handled, 1711 NULL, 1712 webkit_marshal_BOOLEAN__VOID, 1713 G_TYPE_BOOLEAN, 0); 1714 1714 1715 1715 /** … … 1728 1728 */ 1729 1729 webkit_web_view_signals[CLOSE_WEB_VIEW] = g_signal_new("close-web-view", 1730 1731 1732 1733 1734 1735 1736 1730 G_TYPE_FROM_CLASS(webViewClass), 1731 (GSignalFlags)G_SIGNAL_RUN_LAST, 1732 G_STRUCT_OFFSET (WebKitWebViewClass, close_web_view), 1733 g_signal_accumulator_true_handled, 1734 NULL, 1735 webkit_marshal_BOOLEAN__VOID, 1736 G_TYPE_BOOLEAN, 0); 1737 1737 1738 1738 /** … … 1750 1750 */ 1751 1751 webkit_web_view_signals[NAVIGATION_REQUESTED] = g_signal_new("navigation-requested", 1752 1753 1754 1755 1756 1757 1758 1759 1760 1752 G_TYPE_FROM_CLASS(webViewClass), 1753 (GSignalFlags)G_SIGNAL_RUN_LAST, 1754 G_STRUCT_OFFSET (WebKitWebViewClass, navigation_requested), 1755 webkit_navigation_request_handled, 1756 NULL, 1757 webkit_marshal_ENUM__OBJECT_OBJECT, 1758 WEBKIT_TYPE_NAVIGATION_RESPONSE, 2, 1759 WEBKIT_TYPE_WEB_FRAME, 1760 WEBKIT_TYPE_NETWORK_REQUEST); 1761 1761 1762 1762 /** … … 1793 1793 * Since: 1.1.4 1794 1794 */ 1795 webkit_web_view_signals[NEW_WINDOW_POLICY_DECISION_REQUESTED] = 1796 g_signal_new("new-window-policy-decision-requested", 1797 G_TYPE_FROM_CLASS(webViewClass), 1798 (GSignalFlags)G_SIGNAL_RUN_LAST, 1799 0, 1800 g_signal_accumulator_true_handled, 1801 NULL, 1802 webkit_marshal_BOOLEAN__OBJECT_OBJECT_OBJECT_OBJECT, 1803 G_TYPE_BOOLEAN, 4, 1804 WEBKIT_TYPE_WEB_FRAME, 1805 WEBKIT_TYPE_NETWORK_REQUEST, 1806 WEBKIT_TYPE_WEB_NAVIGATION_ACTION, 1807 WEBKIT_TYPE_WEB_POLICY_DECISION); 1795 webkit_web_view_signals[NEW_WINDOW_POLICY_DECISION_REQUESTED] = g_signal_new("new-window-policy-decision-requested", 1796 G_TYPE_FROM_CLASS(webViewClass), 1797 (GSignalFlags)G_SIGNAL_RUN_LAST, 1798 0, 1799 g_signal_accumulator_true_handled, 1800 NULL, 1801 webkit_marshal_BOOLEAN__OBJECT_OBJECT_OBJECT_OBJECT, 1802 G_TYPE_BOOLEAN, 4, 1803 WEBKIT_TYPE_WEB_FRAME, 1804 WEBKIT_TYPE_NETWORK_REQUEST, 1805 WEBKIT_TYPE_WEB_NAVIGATION_ACTION, 1806 WEBKIT_TYPE_WEB_POLICY_DECISION); 1808 1807 1809 1808 /** … … 1832 1831 */ 1833 1832 webkit_web_view_signals[NAVIGATION_POLICY_DECISION_REQUESTED] = g_signal_new("navigation-policy-decision-requested", 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1833 G_TYPE_FROM_CLASS(webViewClass), 1834 (GSignalFlags)G_SIGNAL_RUN_LAST, 1835 0, 1836 g_signal_accumulator_true_handled, 1837 NULL, 1838 webkit_marshal_BOOLEAN__OBJECT_OBJECT_OBJECT_OBJECT, 1839 G_TYPE_BOOLEAN, 4, 1840 WEBKIT_TYPE_WEB_FRAME, 1841 WEBKIT_TYPE_NETWORK_REQUEST, 1842 WEBKIT_TYPE_WEB_NAVIGATION_ACTION, 1843 WEBKIT_TYPE_WEB_POLICY_DECISION); 1845 1844 1846 1845 /** … … 1874 1873 */ 1875 1874 webkit_web_view_signals[MIME_TYPE_POLICY_DECISION_REQUESTED] = g_signal_new("mime-type-policy-decision-requested", 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1875 G_TYPE_FROM_CLASS(webViewClass), 1876 (GSignalFlags)G_SIGNAL_RUN_LAST, 1877 0, 1878 g_signal_accumulator_true_handled, 1879 NULL, 1880 webkit_marshal_BOOLEAN__OBJECT_OBJECT_STRING_OBJECT, 1881 G_TYPE_BOOLEAN, 4, 1882 WEBKIT_TYPE_WEB_FRAME, 1883 WEBKIT_TYPE_NETWORK_REQUEST, 1884 G_TYPE_STRING, 1885 WEBKIT_TYPE_WEB_POLICY_DECISION); 1887 1886 1888 1887 /** … … 1901 1900 */ 1902 1901 webkit_web_view_signals[WINDOW_OBJECT_CLEARED] = g_signal_new("window-object-cleared", 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1902 G_TYPE_FROM_CLASS(webViewClass), 1903 (GSignalFlags)G_SIGNAL_RUN_LAST, 1904 G_STRUCT_OFFSET (WebKitWebViewClass, window_object_cleared), 1905 NULL, 1906 NULL, 1907 webkit_marshal_VOID__OBJECT_POINTER_POINTER, 1908 G_TYPE_NONE, 3, 1909 WEBKIT_TYPE_WEB_FRAME, 1910 G_TYPE_POINTER, 1911 G_TYPE_POINTER); 1913 1912 1914 1913 /** … … 1945 1944 */ 1946 1945 webkit_web_view_signals[DOWNLOAD_REQUESTED] = g_signal_new("download-requested", 1947 1948 1949 1950 1951 1952 1953 1954 1946 G_TYPE_FROM_CLASS(webViewClass), 1947 (GSignalFlags)G_SIGNAL_RUN_LAST, 1948 0, 1949 g_signal_accumulator_true_handled, 1950 NULL, 1951 webkit_marshal_BOOLEAN__OBJECT, 1952 G_TYPE_BOOLEAN, 1, 1953 G_TYPE_OBJECT); 1955 1954 1956 1955 /** … … 1964 1963 */ 1965 1964 webkit_web_view_signals[LOAD_STARTED] = g_signal_new("load-started", 1966 1967 1968 1969 1970 1971 1972 1973 1965 G_TYPE_FROM_CLASS(webViewClass), 1966 (GSignalFlags)G_SIGNAL_RUN_LAST, 1967 0, 1968 NULL, 1969 NULL, 1970 g_cclosure_marshal_VOID__OBJECT, 1971 G_TYPE_NONE, 1, 1972 WEBKIT_TYPE_WEB_FRAME); 1974 1973 1975 1974 /** … … 1983 1982 */ 1984 1983 webkit_web_view_signals[LOAD_COMMITTED] = g_signal_new("load-committed", 1985 1986 1987 1988 1989 1990 1991 1992 1984 G_TYPE_FROM_CLASS(webViewClass), 1985 (GSignalFlags)G_SIGNAL_RUN_LAST, 1986 0, 1987 NULL, 1988 NULL, 1989 g_cclosure_marshal_VOID__OBJECT, 1990 G_TYPE_NONE, 1, 1991 WEBKIT_TYPE_WEB_FRAME); 1993 1992 1994 1993 … … 2001 2000 */ 2002 2001 webkit_web_view_signals[LOAD_PROGRESS_CHANGED] = g_signal_new("load-progress-changed", 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 /** 2013 * WebKitWebView::load-error 2002 G_TYPE_FROM_CLASS(webViewClass), 2003 (GSignalFlags)G_SIGNAL_RUN_LAST, 2004 0, 2005 NULL, 2006 NULL, 2007 g_cclosure_marshal_VOID__INT, 2008 G_TYPE_NONE, 1, 2009 G_TYPE_INT); 2010 2011 /** 2012 * WebKitWebView::load-error: 2014 2013 * @web_view: the object on which the signal is emitted 2015 2014 * @web_frame: the #WebKitWebFrame … … 2027 2026 */ 2028 2027 webkit_web_view_signals[LOAD_ERROR] = g_signal_new("load-error", 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2028 G_TYPE_FROM_CLASS(webViewClass), 2029 (GSignalFlags)(G_SIGNAL_RUN_LAST), 2030 0, 2031 g_signal_accumulator_true_handled, 2032 NULL, 2033 webkit_marshal_BOOLEAN__OBJECT_STRING_BOXED, 2034 G_TYPE_BOOLEAN, 3, 2035 WEBKIT_TYPE_WEB_FRAME, 2036 G_TYPE_STRING, 2037 G_TYPE_ERROR); 2039 2038 2040 2039 /** … … 2046 2045 */ 2047 2046 webkit_web_view_signals[LOAD_FINISHED] = g_signal_new("load-finished", 2048 2049 2050 2051 2052 2053 2054 2055 2047 G_TYPE_FROM_CLASS(webViewClass), 2048 (GSignalFlags)G_SIGNAL_RUN_LAST, 2049 0, 2050 NULL, 2051 NULL, 2052 g_cclosure_marshal_VOID__OBJECT, 2053 G_TYPE_NONE, 1, 2054 WEBKIT_TYPE_WEB_FRAME); 2056 2055 2057 2056 /** … … 2063 2062 */ 2064 2063 webkit_web_view_signals[ONLOAD_EVENT] = g_signal_new("onload-event", 2065 2066 2067 2068 2069 2070 2071 2072 2064 G_TYPE_FROM_CLASS(webViewClass), 2065 (GSignalFlags)G_SIGNAL_RUN_LAST, 2066 0, 2067 NULL, 2068 NULL, 2069 g_cclosure_marshal_VOID__OBJECT, 2070 G_TYPE_NONE, 1, 2071 WEBKIT_TYPE_WEB_FRAME); 2073 2072 2074 2073 /** … … 2083 2082 */ 2084 2083 webkit_web_view_signals[TITLE_CHANGED] = g_signal_new("title-changed", 2085 2086 2087 2088 2089 2090 2091 2092 2093 2084 G_TYPE_FROM_CLASS(webViewClass), 2085 (GSignalFlags)G_SIGNAL_RUN_LAST, 2086 0, 2087 NULL, 2088 NULL, 2089 webkit_marshal_VOID__OBJECT_STRING, 2090 G_TYPE_NONE, 2, 2091 WEBKIT_TYPE_WEB_FRAME, 2092 G_TYPE_STRING); 2094 2093 2095 2094 /** … … 2102 2101 */ 2103 2102 webkit_web_view_signals[HOVERING_OVER_LINK] = g_signal_new("hovering-over-link", 2104 2105 2106 2107 2108 2109 2110 2111 2112 2103 G_TYPE_FROM_CLASS(webViewClass), 2104 (GSignalFlags)G_SIGNAL_RUN_LAST, 2105 0, 2106 NULL, 2107 NULL, 2108 webkit_marshal_VOID__STRING_STRING, 2109 G_TYPE_NONE, 2, 2110 G_TYPE_STRING, 2111 G_TYPE_STRING); 2113 2112 2114 2113 /** … … 2124 2123 */ 2125 2124 webkit_web_view_signals[POPULATE_POPUP] = g_signal_new("populate-popup", 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 /** 2136 * WebKitWebView::print-requested 2125 G_TYPE_FROM_CLASS(webViewClass), 2126 (GSignalFlags)G_SIGNAL_RUN_LAST, 2127 0, 2128 NULL, 2129 NULL, 2130 g_cclosure_marshal_VOID__OBJECT, 2131 G_TYPE_NONE, 1, 2132 GTK_TYPE_MENU); 2133 2134 /** 2135 * WebKitWebView::print-requested: 2137 2136 * @web_view: the object in which the signal is emitted 2138 2137 * @web_frame: the frame that is requesting to be printed … … 2154 2153 */ 2155 2154 webkit_web_view_signals[PRINT_REQUESTED] = g_signal_new("print-requested", 2156 2157 2158 2159 2160 2161 2162 2163 2155 G_TYPE_FROM_CLASS(webViewClass), 2156 (GSignalFlags)G_SIGNAL_RUN_LAST, 2157 0, 2158 g_signal_accumulator_true_handled, 2159 NULL, 2160 webkit_marshal_BOOLEAN__OBJECT, 2161 G_TYPE_BOOLEAN, 1, 2162 WEBKIT_TYPE_WEB_FRAME); 2164 2163 2165 2164 webkit_web_view_signals[STATUS_BAR_TEXT_CHANGED] = g_signal_new("status-bar-text-changed", 2166 2167 2168 2169 2170 2171 2172 2173 2165 G_TYPE_FROM_CLASS(webViewClass), 2166 (GSignalFlags)G_SIGNAL_RUN_LAST, 2167 0, 2168 NULL, 2169 NULL, 2170 g_cclosure_marshal_VOID__STRING, 2171 G_TYPE_NONE, 1, 2172 G_TYPE_STRING); 2174 2173 2175 2174 /** … … 2185 2184 */ 2186 2185 webkit_web_view_signals[ICON_LOADED] = g_signal_new("icon-loaded", 2187 2188 2189 2190 2191 2192 2193 2194 2186 G_TYPE_FROM_CLASS(webViewClass), 2187 (GSignalFlags)G_SIGNAL_RUN_LAST, 2188 0, 2189 NULL, 2190 NULL, 2191 g_cclosure_marshal_VOID__STRING, 2192 G_TYPE_NONE, 1, 2193 G_TYPE_STRING); 2195 2194 2196 2195 /** … … 2207 2206 */ 2208 2207 webkit_web_view_signals[CONSOLE_MESSAGE] = g_signal_new("console-message", 2209 2210 2211 2212 2213 2214 2215 2216 2208 G_TYPE_FROM_CLASS(webViewClass), 2209 (GSignalFlags)G_SIGNAL_RUN_LAST, 2210 G_STRUCT_OFFSET(WebKitWebViewClass, console_message), 2211 g_signal_accumulator_true_handled, 2212 NULL, 2213 webkit_marshal_BOOLEAN__STRING_INT_STRING, 2214 G_TYPE_BOOLEAN, 3, 2215 G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING); 2217 2216 2218 2217 /** … … 2228 2227 */ 2229 2228 webkit_web_view_signals[SCRIPT_ALERT] = g_signal_new("script-alert", 2230 2231 2232 2233 2234 2235 2236 2237 2229 G_TYPE_FROM_CLASS(webViewClass), 2230 (GSignalFlags)G_SIGNAL_RUN_LAST, 2231 G_STRUCT_OFFSET(WebKitWebViewClass, script_alert), 2232 g_signal_accumulator_true_handled, 2233 NULL, 2234 webkit_marshal_BOOLEAN__OBJECT_STRING, 2235 G_TYPE_BOOLEAN, 2, 2236 WEBKIT_TYPE_WEB_FRAME, G_TYPE_STRING); 2238 2237 2239 2238 /** … … 2251 2250 */ 2252 2251 webkit_web_view_signals[SCRIPT_CONFIRM] = g_signal_new("script-confirm", 2253 2254 2255 2256 2257 2258 2259 2260 2252 G_TYPE_FROM_CLASS(webViewClass), 2253 (GSignalFlags)G_SIGNAL_RUN_LAST, 2254 G_STRUCT_OFFSET(WebKitWebViewClass, script_confirm), 2255 g_signal_accumulator_true_handled, 2256 NULL, 2257 webkit_marshal_BOOLEAN__OBJECT_STRING_POINTER, 2258 G_TYPE_BOOLEAN, 3, 2259 WEBKIT_TYPE_WEB_FRAME, G_TYPE_STRING, G_TYPE_POINTER); 2261 2260 2262 2261 /** … … 2274 2273 */ 2275 2274 webkit_web_view_signals[SCRIPT_PROMPT] = g_signal_new("script-prompt", 2276 2277 2278 2279 2280 2281 2282 2283 2275 G_TYPE_FROM_CLASS(webViewClass), 2276 (GSignalFlags)G_SIGNAL_RUN_LAST, 2277 G_STRUCT_OFFSET(WebKitWebViewClass, script_prompt), 2278 g_signal_accumulator_true_handled, 2279 NULL, 2280 webkit_marshal_BOOLEAN__OBJECT_STRING_STRING_STRING, 2281 G_TYPE_BOOLEAN, 4, 2282 WEBKIT_TYPE_WEB_FRAME, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER); 2284 2283 2285 2284 /** … … 2293 2292 */ 2294 2293 webkit_web_view_signals[::SELECT_ALL] = g_signal_new("select-all", 2295 2296 2297 2298 2299 2300 2294 G_TYPE_FROM_CLASS(webViewClass), 2295 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2296 G_STRUCT_OFFSET(WebKitWebViewClass, select_all), 2297 NULL, NULL, 2298 g_cclosure_marshal_VOID__VOID, 2299 G_TYPE_NONE, 0); 2301 2300 2302 2301 /** … … 2310 2309 */ 2311 2310 webkit_web_view_signals[CUT_CLIPBOARD] = g_signal_new("cut-clipboard", 2312 2313 2314 2315 2316 2317 2311 G_TYPE_FROM_CLASS(webViewClass), 2312 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2313 G_STRUCT_OFFSET(WebKitWebViewClass, cut_clipboard), 2314 NULL, NULL, 2315 g_cclosure_marshal_VOID__VOID, 2316 G_TYPE_NONE, 0); 2318 2317 2319 2318 /** … … 2327 2326 */ 2328 2327 webkit_web_view_signals[COPY_CLIPBOARD] = g_signal_new("copy-clipboard", 2329 2330 2331 2332 2333 2334 2328 G_TYPE_FROM_CLASS(webViewClass), 2329 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2330 G_STRUCT_OFFSET(WebKitWebViewClass, copy_clipboard), 2331 NULL, NULL, 2332 g_cclosure_marshal_VOID__VOID, 2333 G_TYPE_NONE, 0); 2335 2334 2336 2335 /** … … 2344 2343 */ 2345 2344 webkit_web_view_signals[PASTE_CLIPBOARD] = g_signal_new("paste-clipboard", 2346 2347 2348 2349 2350 2351 2352 2353 /** 2354 * WebKitWebView::undo 2345 G_TYPE_FROM_CLASS(webViewClass), 2346 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2347 G_STRUCT_OFFSET(WebKitWebViewClass, paste_clipboard), 2348 NULL, NULL, 2349 g_cclosure_marshal_VOID__VOID, 2350 G_TYPE_NONE, 0); 2351 2352 /** 2353 * WebKitWebView::undo: 2355 2354 * @web_view: the object which received the signal 2356 2355 * … … 2363 2362 */ 2364 2363 webkit_web_view_signals[UNDO] = g_signal_new("undo", 2365 2366 2367 2368 2369 2370 2371 2372 /** 2373 * WebKitWebView::redo 2364 G_TYPE_FROM_CLASS(webViewClass), 2365 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2366 G_STRUCT_OFFSET(WebKitWebViewClass, undo), 2367 NULL, NULL, 2368 g_cclosure_marshal_VOID__VOID, 2369 G_TYPE_NONE, 0); 2370 2371 /** 2372 * WebKitWebView::redo: 2374 2373 * @web_view: the object which received the signal 2375 2374 * … … 2382 2381 */ 2383 2382 webkit_web_view_signals[REDO] = g_signal_new("redo", 2384 2385 2386 2387 2388 2389 2383 G_TYPE_FROM_CLASS(webViewClass), 2384 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2385 G_STRUCT_OFFSET(WebKitWebViewClass, redo), 2386 NULL, NULL, 2387 g_cclosure_marshal_VOID__VOID, 2388 G_TYPE_NONE, 0); 2390 2389 2391 2390 /** … … 2400 2399 * 2401 2400 * Return value: %TRUE or %FALSE 2402 * 2401 * 2403 2402 * Since: 1.1.4 2404 2403 */ 2405 2404 webkit_web_view_signals[MOVE_CURSOR] = g_signal_new("move-cursor", 2406 2407 2408 2409 2410 2411 2412 2413 2405 G_TYPE_FROM_CLASS(webViewClass), 2406 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2407 G_STRUCT_OFFSET(WebKitWebViewClass, move_cursor), 2408 NULL, NULL, 2409 webkit_marshal_BOOLEAN__ENUM_INT, 2410 G_TYPE_BOOLEAN, 2, 2411 GTK_TYPE_MOVEMENT_STEP, 2412 G_TYPE_INT); 2414 2413 2415 2414 /** … … 2432 2431 */ 2433 2432 webkit_web_view_signals[PLUGIN_WIDGET] = g_signal_new("create-plugin-widget", 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 /** 2444 * WebKitWebView::database-quota-exceeded 2433 G_TYPE_FROM_CLASS(webViewClass), 2434 (GSignalFlags) (G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2435 0, 2436 webkit_signal_accumulator_object_handled, 2437 NULL, 2438 webkit_marshal_OBJECT__STRING_STRING_POINTER, 2439 GTK_TYPE_WIDGET, 3, 2440 G_TYPE_STRING, G_TYPE_STRING, G_TYPE_HASH_TABLE); 2441 2442 /** 2443 * WebKitWebView::database-quota-exceeded: 2445 2444 * @web_view: the object which received the signal 2446 2445 * @frame: the relevant frame … … 2455 2454 */ 2456 2455 webkit_web_view_signals[DATABASE_QUOTA_EXCEEDED] = g_signal_new("database-quota-exceeded", 2457 2458 2459 2460 2461 2462 2463 2456 G_TYPE_FROM_CLASS(webViewClass), 2457 (GSignalFlags) (G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2458 0, 2459 NULL, NULL, 2460 webkit_marshal_VOID__OBJECT_OBJECT, 2461 G_TYPE_NONE, 2, 2462 G_TYPE_OBJECT, G_TYPE_OBJECT); 2464 2463 2465 2464 /** … … 2493 2492 */ 2494 2493 webkit_web_view_signals[RESOURCE_REQUEST_STARTING] = g_signal_new("resource-request-starting", 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2494 G_TYPE_FROM_CLASS(webViewClass), 2495 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2496 0, 2497 NULL, NULL, 2498 webkit_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT, 2499 G_TYPE_NONE, 4, 2500 WEBKIT_TYPE_WEB_FRAME, 2501 WEBKIT_TYPE_WEB_RESOURCE, 2502 WEBKIT_TYPE_NETWORK_REQUEST, 2503 WEBKIT_TYPE_NETWORK_RESPONSE); 2505 2504 2506 2505 /** … … 2520 2519 */ 2521 2520 webkit_web_view_signals[GEOLOCATION_POLICY_DECISION_REQUESTED] = g_signal_new("geolocation-policy-decision-requested", 2522 2523 2524 2525 2526 2527 2528 2529 2521 G_TYPE_FROM_CLASS(webViewClass), 2522 (GSignalFlags)(G_SIGNAL_RUN_LAST), 2523 0, 2524 NULL, NULL, 2525 webkit_marshal_BOOLEAN__OBJECT_OBJECT, 2526 G_TYPE_BOOLEAN, 2, 2527 WEBKIT_TYPE_WEB_FRAME, 2528 WEBKIT_TYPE_GEOLOCATION_POLICY_DECISION); 2530 2529 2531 2530 /** … … 2540 2539 */ 2541 2540 webkit_web_view_signals[GEOLOCATION_POLICY_DECISION_CANCELLED] = g_signal_new("geolocation-policy-decision-cancelled", 2542 2543 2544 2545 2546 2547 2548 2541 G_TYPE_FROM_CLASS(webViewClass), 2542 (GSignalFlags)(G_SIGNAL_RUN_LAST), 2543 0, 2544 NULL, NULL, 2545 g_cclosure_marshal_VOID__OBJECT, 2546 G_TYPE_NONE, 1, 2547 WEBKIT_TYPE_WEB_FRAME); 2549 2548 2550 2549 /* … … 2563 2562 */ 2564 2563 webkit_web_view_signals[DOCUMENT_LOAD_FINISHED] = g_signal_new("document-load-finished", 2565 2566 2567 2568 2569 2570 2571 2564 G_TYPE_FROM_CLASS(webViewClass), 2565 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2566 0, 2567 NULL, NULL, 2568 g_cclosure_marshal_VOID__OBJECT, 2569 G_TYPE_NONE, 1, 2570 WEBKIT_TYPE_WEB_FRAME); 2572 2571 2573 2572 /** … … 2584 2583 */ 2585 2584 webkit_web_view_signals[FRAME_CREATED] = g_signal_new("frame-created", 2586 2587 2588 2589 2590 2591 2592 2585 G_TYPE_FROM_CLASS(webViewClass), 2586 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2587 0, 2588 NULL, NULL, 2589 g_cclosure_marshal_VOID__OBJECT, 2590 G_TYPE_NONE, 1, 2591 WEBKIT_TYPE_WEB_FRAME); 2593 2592 2594 2593 /** … … 2618 2617 * 2619 2618 */ 2620 webkit_web_view_signals[RUN_FILE_CHOOSER] = 2621 g_signal_new("run-file-chooser", 2622 G_TYPE_FROM_CLASS(webViewClass), 2623 G_SIGNAL_RUN_LAST, 2624 G_STRUCT_OFFSET(WebKitWebViewClass, run_file_chooser), 2625 g_signal_accumulator_true_handled, 0 /* accumulator data */, 2626 webkit_marshal_BOOLEAN__OBJECT, 2627 G_TYPE_BOOLEAN, 1, /* number of parameters */ 2628 WEBKIT_TYPE_FILE_CHOOSER_REQUEST); 2629 2619 webkit_web_view_signals[RUN_FILE_CHOOSER] = g_signal_new("run-file-chooser", 2620 G_TYPE_FROM_CLASS(webViewClass), 2621 G_SIGNAL_RUN_LAST, 2622 G_STRUCT_OFFSET(WebKitWebViewClass, run_file_chooser), 2623 g_signal_accumulator_true_handled, 0 /* accumulator data */, 2624 webkit_marshal_BOOLEAN__OBJECT, 2625 G_TYPE_BOOLEAN, 1, /* number of parameters */ 2626 WEBKIT_TYPE_FILE_CHOOSER_REQUEST); 2627 2628 /** 2629 * WebKitWebView::should-begin-editing: 2630 * @web_view: the #WebKitWebView on which the signal is emitted 2631 * @range: a #WebKitDOMRange 2632 * 2633 */ 2630 2634 webkit_web_view_signals[SHOULD_BEGIN_EDITING] = g_signal_new("should-begin-editing", 2631 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2632 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2633 webkit_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_RANGE); 2634 2635 webkit_web_view_signals[SHOULD_END_EDITING] = g_signal_new("should-end-editing", G_TYPE_FROM_CLASS(webViewClass), 2635 G_TYPE_FROM_CLASS(webViewClass), 2636 2636 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2637 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2638 webkit_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_RANGE); 2639 2640 webkit_web_view_signals[SHOULD_INSERT_NODE] = g_signal_new("should-insert-node", G_TYPE_FROM_CLASS(webViewClass), 2637 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2638 g_signal_accumulator_first_wins, 0, 2639 webkit_marshal_BOOLEAN__OBJECT, 2640 G_TYPE_BOOLEAN, 1, 2641 WEBKIT_TYPE_DOM_RANGE); 2642 2643 /** 2644 * WebKitWebView::should-end-editing: 2645 * @web_view: the #WebKitWebView on which the signal is emitted 2646 * @range: a #WebKitDOMRange 2647 * 2648 */ 2649 webkit_web_view_signals[SHOULD_END_EDITING] = g_signal_new("should-end-editing", 2650 G_TYPE_FROM_CLASS(webViewClass), 2641 2651 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2642 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2643 webkit_marshal_BOOLEAN__OBJECT_OBJECT_ENUM, G_TYPE_BOOLEAN, 2644 3, WEBKIT_TYPE_DOM_NODE, WEBKIT_TYPE_DOM_RANGE, WEBKIT_TYPE_INSERT_ACTION); 2645 2646 webkit_web_view_signals[SHOULD_INSERT_TEXT] = g_signal_new("should-insert-text", G_TYPE_FROM_CLASS(webViewClass), 2652 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2653 g_signal_accumulator_first_wins, 0, 2654 webkit_marshal_BOOLEAN__OBJECT, 2655 G_TYPE_BOOLEAN, 1, 2656 WEBKIT_TYPE_DOM_RANGE); 2657 2658 /** 2659 * WebKitWebView::should-insert-node: 2660 * @web_view: the #WebKitWebView on which the signal is emitted 2661 * @node: a #WebKitDOMNode 2662 * @range: a #WebKitDOMRange 2663 * @action: a #WebKitInsertAction 2664 * 2665 */ 2666 webkit_web_view_signals[SHOULD_INSERT_NODE] = g_signal_new("should-insert-node", 2667 G_TYPE_FROM_CLASS(webViewClass), 2647 2668 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2648 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2649 webkit_marshal_BOOLEAN__STRING_OBJECT_ENUM, G_TYPE_BOOLEAN, 2650 3, G_TYPE_STRING, WEBKIT_TYPE_DOM_RANGE, WEBKIT_TYPE_INSERT_ACTION); 2651 2652 // Only exists for GTK+ API compatbiility. 2653 webkit_web_view_signals[SHOULD_DELETE_RANGE] = g_signal_new("should-delete-range", G_TYPE_FROM_CLASS(webViewClass), 2669 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2670 g_signal_accumulator_first_wins, 0, 2671 webkit_marshal_BOOLEAN__OBJECT_OBJECT_ENUM, 2672 G_TYPE_BOOLEAN, 3, 2673 WEBKIT_TYPE_DOM_NODE, 2674 WEBKIT_TYPE_DOM_RANGE, 2675 WEBKIT_TYPE_INSERT_ACTION); 2676 2677 /** 2678 * WebKitWebView::should-insert-text: 2679 * @web_view: the #WebKitWebView on which the signal is emitted 2680 * @string: a string 2681 * @range: a #WebKitDOMRange 2682 * @action: a #WebKitInsertAction 2683 * 2684 */ 2685 webkit_web_view_signals[SHOULD_INSERT_TEXT] = g_signal_new("should-insert-text", 2686 G_TYPE_FROM_CLASS(webViewClass), 2654 2687 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2655 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2656 webkit_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_RANGE); 2657 2688 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2689 g_signal_accumulator_first_wins, 0, 2690 webkit_marshal_BOOLEAN__STRING_OBJECT_ENUM, 2691 G_TYPE_BOOLEAN, 3, 2692 G_TYPE_STRING, 2693 WEBKIT_TYPE_DOM_RANGE, 2694 WEBKIT_TYPE_INSERT_ACTION); 2695 2696 // Only exists for GTK+ API compatibility. 2697 /** 2698 * WebKitWebView::should-delete-range: 2699 * @web_view: the #WebKitWebView on which the signal is emitted 2700 * @range: a #WebKitDOMRange 2701 * 2702 */ 2703 webkit_web_view_signals[SHOULD_DELETE_RANGE] = g_signal_new("should-delete-range", 2704 G_TYPE_FROM_CLASS(webViewClass), 2705 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2706 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2707 g_signal_accumulator_first_wins, 0, 2708 webkit_marshal_BOOLEAN__OBJECT, 2709 G_TYPE_BOOLEAN, 1, 2710 WEBKIT_TYPE_DOM_RANGE); 2711 2712 /** 2713 * WebKitWebView::should-show-delete-interface-for-element: 2714 * @web_view: the #WebKitWebView on which the signal is emitted 2715 * @element: a #WebKitDOMHtmlElement 2716 * 2717 */ 2658 2718 webkit_web_view_signals[SHOULD_SHOW_DELETE_INTERFACE_FOR_ELEMENT] = g_signal_new("should-show-delete-interface-for-element", 2659 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2660 0, g_signal_accumulator_first_wins, 0, 2661 webkit_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_HTML_ELEMENT); 2662 2719 G_TYPE_FROM_CLASS(webViewClass), 2720 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2721 0, 2722 g_signal_accumulator_first_wins, 0, 2723 webkit_marshal_BOOLEAN__OBJECT, 2724 G_TYPE_BOOLEAN, 1, 2725 WEBKIT_TYPE_DOM_HTML_ELEMENT); 2726 2727 /** 2728 * WebKitWebView::should-change-selected-range: 2729 * @web_view: the #WebKitWebView on which the signal is emitted 2730 * @fromRange: a #WebKitDOMRange 2731 * @toRange: a #WebKitDOMRange 2732 * @affinity: a #WebKitElectionAffinity 2733 * @stillSelecting: bool 2734 * 2735 */ 2663 2736 webkit_web_view_signals[SHOULD_CHANGE_SELECTED_RANGE] = g_signal_new("should-change-selected-range", 2664 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2665 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2666 webkit_marshal_BOOLEAN__OBJECT_OBJECT_ENUM_BOOLEAN, G_TYPE_BOOLEAN, 2667 4, WEBKIT_TYPE_DOM_RANGE, WEBKIT_TYPE_DOM_RANGE, WEBKIT_TYPE_SELECTION_AFFINITY, G_TYPE_BOOLEAN); 2668 2737 G_TYPE_FROM_CLASS(webViewClass), 2738 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2739 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2740 g_signal_accumulator_first_wins, 0, 2741 webkit_marshal_BOOLEAN__OBJECT_OBJECT_ENUM_BOOLEAN, 2742 G_TYPE_BOOLEAN, 4, 2743 WEBKIT_TYPE_DOM_RANGE, 2744 WEBKIT_TYPE_DOM_RANGE, 2745 WEBKIT_TYPE_SELECTION_AFFINITY, 2746 G_TYPE_BOOLEAN); 2747 2748 /** 2749 * WebKitWebView::should-apply-style: 2750 * @web_view: the #WebKitWebView on which the signal is emitted 2751 * @set: a #WebKitDOMCSSStyleDeclaration 2752 * @range: a #WebKitDOMRange 2753 * 2754 */ 2669 2755 webkit_web_view_signals[SHOULD_APPLY_STYLE] = g_signal_new("should-apply-style", 2670 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2671 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), g_signal_accumulator_first_wins, 0, 2672 webkit_marshal_BOOLEAN__OBJECT_OBJECT, G_TYPE_BOOLEAN, 2673 2, WEBKIT_TYPE_DOM_CSS_STYLE_DECLARATION, WEBKIT_TYPE_DOM_RANGE); 2674 2756 G_TYPE_FROM_CLASS(webViewClass), 2757 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2758 G_STRUCT_OFFSET(WebKitWebViewClass, should_allow_editing_action), 2759 g_signal_accumulator_first_wins, 0, 2760 webkit_marshal_BOOLEAN__OBJECT_OBJECT, 2761 G_TYPE_BOOLEAN, 2, 2762 WEBKIT_TYPE_DOM_CSS_STYLE_DECLARATION, 2763 WEBKIT_TYPE_DOM_RANGE); 2764 2765 /** 2766 * WebKitWebView::editing-began: 2767 * @web_view: the #WebKitWebView on which the signal is emitted 2768 * 2769 */ 2675 2770 webkit_web_view_signals[EDITING_BEGAN] = g_signal_new("editing-began", 2676 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 0, 0, 0, 2677 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); 2678 2771 G_TYPE_FROM_CLASS(webViewClass), 2772 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2773 0, 2774 0, 0, 2775 g_cclosure_marshal_VOID__VOID, 2776 G_TYPE_NONE, 0); 2777 2778 /** 2779 * WebKitWebView::user-changed-contents: 2780 * @web_view: the #WebKitWebView on which the signal is emitted 2781 * 2782 */ 2679 2783 webkit_web_view_signals[USER_CHANGED_CONTENTS] = g_signal_new("user-changed-contents", 2680 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 0, 0, 0, 2681 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); 2682 2784 G_TYPE_FROM_CLASS(webViewClass), 2785 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2786 0, 2787 0, 0, 2788 g_cclosure_marshal_VOID__VOID, 2789 G_TYPE_NONE, 0); 2790 2791 /** 2792 * WebKitWebView::editing-ended: 2793 * @web_view: the #WebKitWebView on which the signal is emitted 2794 * 2795 */ 2683 2796 webkit_web_view_signals[EDITING_ENDED] = g_signal_new("editing-ended", 2684 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 0, 0, 0, 2685 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); 2686 2797 G_TYPE_FROM_CLASS(webViewClass), 2798 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2799 0, 2800 0, 0, 2801 g_cclosure_marshal_VOID__VOID, 2802 G_TYPE_NONE, 0); 2803 2804 /** 2805 * WebKitWebView::selection-changed: 2806 * @web_view: the #WebKitWebView on which the signal is emitted 2807 * 2808 */ 2687 2809 webkit_web_view_signals[SELECTION_CHANGED] = g_signal_new("selection-changed", 2688 G_TYPE_FROM_CLASS(webViewClass), static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 0, 0, 0, 2689 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); 2810 G_TYPE_FROM_CLASS(webViewClass), 2811 static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2812 0, 2813 0, 0, 2814 g_cclosure_marshal_VOID__VOID, 2815 G_TYPE_NONE, 0); 2690 2816 2691 2817 /* 2692 * WebKitWebView::viewport-attributes-recompute-requested 2818 * WebKitWebView::viewport-attributes-recompute-requested: 2693 2819 * @web_view: the object which received the signal 2694 2820 * @viewport_attributes: the #WebKitViewportAttributes which has the viewport attributes. 2695 2821 * 2696 * The #WebKitWebView::viewport-attributes-recompute-requested 2822 * The #WebKitWebView::viewport-attributes-recompute-requested 2697 2823 * signal will be emitted when a page with a viewport meta tag 2698 2824 * loads and when webkit_viewport_attributes_recompute is called. 2699 2825 * 2700 2826 * The #WebKitViewportAttributes will have device size, available size, 2701 * desktop width, and device DPI pre-filled by values that make sense 2702 * for the current screen and widget, but you can override those values 2827 * desktop width, and device DPI pre-filled by values that make sense 2828 * for the current screen and widget, but you can override those values 2703 2829 * if you have special requirements (for instance, if you made your 2704 * widget bigger than the available visible area, you should override 2705 * the available-width and available-height properties to the actual 2830 * widget bigger than the available visible area, you should override 2831 * the available-width and available-height properties to the actual 2706 2832 * visible area). 2707 2833 * … … 2709 2835 */ 2710 2836 webkit_web_view_signals[VIEWPORT_ATTRIBUTES_RECOMPUTE_REQUESTED] = g_signal_new("viewport-attributes-recompute-requested", 2711 2712 2713 2714 2715 2716 2837 G_TYPE_FROM_CLASS(webViewClass), 2838 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2839 0, 2840 0, 0, 2841 g_cclosure_marshal_VOID__OBJECT, 2842 G_TYPE_NONE, 1, 2717 2843 WEBKIT_TYPE_VIEWPORT_ATTRIBUTES); 2718 2844 2719 2845 /* 2720 * WebKitWebView::viewport-attributes-changed 2846 * WebKitWebView::viewport-attributes-changed: 2721 2847 * @web_view: the object which received the signal 2722 2848 * @viewport_attributes: the #WebKitViewportAttributes which has the viewport attributes. 2723 2849 * 2724 * The #WebKitWebView::viewport-attributes-changed signal will be emitted 2725 * after the emission of #WebKitWebView::viewport-attributes-recompute-requested 2726 * and the subsequent viewport attribute recomputation. At this point, 2850 * The #WebKitWebView::viewport-attributes-changed signal will be emitted 2851 * after the emission of #WebKitWebView::viewport-attributes-recompute-requested 2852 * and the subsequent viewport attribute recomputation. At this point, 2727 2853 * if the #WebKitViewportAttributes are valid, the viewport attributes are available. 2728 * 2854 * 2729 2855 * Since: 1.3.8 2730 2856 */ 2731 2857 webkit_web_view_signals[VIEWPORT_ATTRIBUTES_CHANGED] = g_signal_new("viewport-attributes-changed", 2732 2733 2734 2735 2736 2737 2738 2858 G_TYPE_FROM_CLASS(webViewClass), 2859 (GSignalFlags)(G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION), 2860 0, 2861 0, 0, 2862 g_cclosure_marshal_VOID__OBJECT, 2863 G_TYPE_NONE, 1, 2864 WEBKIT_TYPE_VIEWPORT_ATTRIBUTES); 2739 2865 2740 2866 /** … … 2757 2883 * Since: 1.9.0 2758 2884 */ 2759 webkit_web_view_signals[ENTERING_FULLSCREEN] = 2760 g_signal_new("entering-fullscreen", 2761 G_TYPE_FROM_CLASS(webViewClass), 2762 G_SIGNAL_RUN_LAST, 2763 G_STRUCT_OFFSET(WebKitWebViewClass, entering_fullscreen), 2764 g_signal_accumulator_true_handled, 0, 2765 webkit_marshal_BOOLEAN__OBJECT, 2766 G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_HTML_ELEMENT); 2885 webkit_web_view_signals[ENTERING_FULLSCREEN] = g_signal_new("entering-fullscreen", 2886 G_TYPE_FROM_CLASS(webViewClass), 2887 G_SIGNAL_RUN_LAST, 2888 G_STRUCT_OFFSET(WebKitWebViewClass, entering_fullscreen), 2889 g_signal_accumulator_true_handled, 0, 2890 webkit_marshal_BOOLEAN__OBJECT, 2891 G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_HTML_ELEMENT); 2767 2892 2768 2893 … … 2782 2907 * Since: 1.9.0 2783 2908 */ 2784 webkit_web_view_signals[LEAVING_FULLSCREEN] = 2785 g_signal_new("leaving-fullscreen", 2786 G_TYPE_FROM_CLASS(webViewClass), 2787 G_SIGNAL_RUN_LAST, 2788 G_STRUCT_OFFSET(WebKitWebViewClass, leaving_fullscreen), 2789 g_signal_accumulator_true_handled, 0, 2790 webkit_marshal_BOOLEAN__OBJECT, 2791 G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_HTML_ELEMENT); 2909 webkit_web_view_signals[LEAVING_FULLSCREEN] = g_signal_new("leaving-fullscreen", 2910 G_TYPE_FROM_CLASS(webViewClass), 2911 G_SIGNAL_RUN_LAST, 2912 G_STRUCT_OFFSET(WebKitWebViewClass, leaving_fullscreen), 2913 g_signal_accumulator_true_handled, 0, 2914 webkit_marshal_BOOLEAN__OBJECT, 2915 G_TYPE_BOOLEAN, 1, WEBKIT_TYPE_DOM_HTML_ELEMENT); 2792 2916 2793 2917 /** … … 2803 2927 */ 2804 2928 webkit_web_view_signals[RESOURCE_RESPONSE_RECEIVED] = g_signal_new("resource-response-received", 2805 2806 2807 2808 2809 2810 2811 2812 2813 2929 G_TYPE_FROM_CLASS(webViewClass), 2930 G_SIGNAL_RUN_LAST, 2931 0, 2932 0, 0, 2933 webkit_marshal_VOID__OBJECT_OBJECT_OBJECT, 2934 G_TYPE_NONE, 3, 2935 WEBKIT_TYPE_WEB_FRAME, 2936 WEBKIT_TYPE_WEB_RESOURCE, 2937 WEBKIT_TYPE_NETWORK_RESPONSE); 2814 2938 2815 2939 /** … … 2824 2948 */ 2825 2949 webkit_web_view_signals[RESOURCE_LOAD_FINISHED] = g_signal_new("resource-load-finished", 2826 2827 2828 2829 2830 2831 2832 2833 2950 G_TYPE_FROM_CLASS(webViewClass), 2951 G_SIGNAL_RUN_LAST, 2952 0, 2953 0, 0, 2954 webkit_marshal_VOID__OBJECT_OBJECT, 2955 G_TYPE_NONE, 2, 2956 WEBKIT_TYPE_WEB_FRAME, 2957 WEBKIT_TYPE_WEB_RESOURCE); 2834 2958 2835 2959 /** … … 2848 2972 */ 2849 2973 webkit_web_view_signals[RESOURCE_CONTENT_LENGTH_RECEIVED] = g_signal_new("resource-content-length-received", 2850 2851 2852 2853 2854 2855 2856 2857 2858 2974 G_TYPE_FROM_CLASS(webViewClass), 2975 G_SIGNAL_RUN_LAST, 2976 0, 2977 0, 0, 2978 webkit_marshal_VOID__OBJECT_OBJECT_INT, 2979 G_TYPE_NONE, 3, 2980 WEBKIT_TYPE_WEB_FRAME, 2981 WEBKIT_TYPE_WEB_RESOURCE, 2982 G_TYPE_INT); 2859 2983 2860 2984 /** … … 2870 2994 */ 2871 2995 webkit_web_view_signals[RESOURCE_LOAD_FAILED] = g_signal_new("resource-load-failed", 2872 2873 2874 2875 2876 2877 2878 2879 2880 2996 G_TYPE_FROM_CLASS(webViewClass), 2997 G_SIGNAL_RUN_LAST, 2998 0, 2999 0, 0, 3000 webkit_marshal_VOID__OBJECT_OBJECT_BOXED, 3001 G_TYPE_NONE, 3, 3002 WEBKIT_TYPE_WEB_FRAME, 3003 WEBKIT_TYPE_WEB_RESOURCE, 3004 G_TYPE_ERROR); 2881 3005 2882 3006 /** … … 2906 3030 */ 2907 3031 webkit_web_view_signals[CONTEXT_MENU] = g_signal_new("context-menu", 2908 2909 2910 2911 2912 2913 2914 2915 3032 G_TYPE_FROM_CLASS(webViewClass), 3033 G_SIGNAL_RUN_LAST, 3034 0, 0, 0, 3035 webkit_marshal_BOOLEAN__OBJECT_OBJECT_BOOLEAN, 3036 G_TYPE_BOOLEAN, 3, 3037 GTK_TYPE_WIDGET, 3038 WEBKIT_TYPE_HIT_TEST_RESULT, 3039 G_TYPE_BOOLEAN); 2916 3040 2917 3041 /* … … 3043 3167 3044 3168 /* Movement */ 3045 3169 3046 3170 gtk_binding_entry_add_signal(binding_set, GDK_Down, static_cast<GdkModifierType>(0), 3047 3171 "move-cursor", 2, … … 4195 4319 * webkit_web_view_stop_loading: 4196 4320 * @web_view: a #WebKitWebView 4197 * 4321 * 4198 4322 * Stops any ongoing load in the @web_view. 4199 4323 **/ … … 4642 4766 frame->setPageZoomFactor(zoomLevel); 4643 4767 else 4644 frame->setTextZoomFactor(zoomLevel); 4768 frame->setTextZoomFactor(zoomLevel); 4645 4769 } 4646 4770 … … 5279 5403 * webkit_web_view_get_dom_document: 5280 5404 * @web_view: a #WebKitWebView 5281 * 5405 * 5282 5406 * Returns: (transfer none): the #WebKitDOMDocument currently loaded in 5283 5407 * the main frame of the @web_view or %NULL if no document is loaded -
trunk/Source/WebKit/gtk/webkit/webkitwebwindowfeatures.cpp
r95901 r145722 398 398 return TRUE; 399 399 if (!features1 || !features2) 400 return FALSE; 401 400 return FALSE; 401 402 402 WebKitWebWindowFeaturesPrivate* priv1 = features1->priv; 403 403 WebKitWebWindowFeaturesPrivate* priv2 = features2->priv;
Note: See TracChangeset
for help on using the changeset viewer.