Changeset 167708 in webkit
- Timestamp:
- Apr 23, 2014 6:43:12 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r167707 r167708 1 2014-04-23 Philippe Normand <pnormand@igalia.com> 2 3 [GTK] ShadowRoot API was removed in r164131 4 https://bugs.webkit.org/show_bug.cgi?id=132059 5 6 Reviewed by Gustavo Noronha Silva. 7 8 Add ShadowRoot removed API to WebKitDOMDeprecated to keep API/ABI compatibility. 9 10 * bindings/gobject/WebKitDOMDeprecated.cpp: 11 (webkit_dom_shadow_root_class_init): 12 (webkit_dom_shadow_root_init): 13 (webkit_dom_shadow_root_element_from_point): 14 (webkit_dom_shadow_root_get_active_element): 15 (webkit_dom_shadow_root_get_apply_author_styles): 16 (webkit_dom_shadow_root_get_element_by_id): 17 (webkit_dom_shadow_root_get_elements_by_class_name): 18 (webkit_dom_shadow_root_get_elements_by_tag_name): 19 (webkit_dom_shadow_root_get_elements_by_tag_name_ns): 20 (webkit_dom_shadow_root_get_inner_html): 21 (webkit_dom_shadow_root_get_reset_style_inheritance): 22 (webkit_dom_shadow_root_get_selection): 23 (webkit_dom_shadow_root_set_apply_author_styles): 24 (webkit_dom_shadow_root_set_inner_html): 25 (webkit_dom_shadow_root_set_reset_style_inheritance): 26 * bindings/gobject/WebKitDOMDeprecated.h: 27 * bindings/gobject/WebKitDOMDeprecated.symbols: 28 1 29 2014-04-23 Morten Stenshorne <mstensho@opera.com> 2 30 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp
r165618 r167708 553 553 } 554 554 555 // WebKitDOMShadowRoot 556 557 typedef struct _WebKitDOMShadowRoot { 558 WebKitDOMObject parent_instance; 559 } WebKitDOMShadowRoot; 560 561 typedef struct _WebKitDOMShadowRootClass { 562 WebKitDOMObjectClass parent_class; 563 } WebKitDOMShadowRootClass; 564 565 G_DEFINE_TYPE(WebKitDOMShadowRoot, webkit_dom_shadow_root, WEBKIT_TYPE_DOM_OBJECT) 566 567 static void webkit_dom_shadow_root_class_init(WebKitDOMShadowRootClass*) 568 { 569 } 570 571 static void webkit_dom_shadow_root_init(WebKitDOMShadowRoot*) 572 { 573 } 574 575 WebKitDOMElement* webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot*, glong, glong) 576 { 577 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 578 return 0; 579 } 580 581 WebKitDOMElement* webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot*) 582 { 583 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 584 return 0; 585 } 586 587 gboolean webkit_dom_shadow_root_get_apply_author_styles(WebKitDOMShadowRoot*) 588 { 589 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 590 return 0; 591 } 592 593 WebKitDOMElement* webkit_dom_shadow_root_get_element_by_id(WebKitDOMShadowRoot*, const gchar*) 594 { 595 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 596 return 0; 597 } 598 599 WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_class_name(WebKitDOMShadowRoot*, const gchar*) 600 { 601 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 602 return 0; 603 } 604 605 WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name(WebKitDOMShadowRoot*, const gchar*) 606 { 607 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 608 return 0; 609 } 610 611 WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name_ns(WebKitDOMShadowRoot*, const gchar*, const gchar*) 612 { 613 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 614 return 0; 615 } 616 617 gchar* webkit_dom_shadow_root_get_inner_html(WebKitDOMShadowRoot*) 618 { 619 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 620 return 0; 621 } 622 623 gboolean webkit_dom_shadow_root_get_reset_style_inheritance(WebKitDOMShadowRoot*) 624 { 625 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 626 return FALSE; 627 } 628 629 WebKitDOMDOMSelection* webkit_dom_shadow_root_get_selection(WebKitDOMShadowRoot*) 630 { 631 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 632 return 0; 633 } 634 635 void webkit_dom_shadow_root_set_apply_author_styles(WebKitDOMShadowRoot*, gboolean) 636 { 637 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 638 } 639 640 void webkit_dom_shadow_root_set_inner_html(WebKitDOMShadowRoot*, const gchar*, GError**) 641 { 642 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 643 } 644 645 void webkit_dom_shadow_root_set_reset_style_inheritance(WebKitDOMShadowRoot*, gboolean) 646 { 647 g_warning("%s: Access to the DOM Shadow Root has been removed from WebKit, this function does nothing.", __func__); 648 } -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h
r165199 r167708 565 565 webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction* self, const gchar* value, GError** error); 566 566 567 WEBKIT_DEPRECATED GType 568 webkit_dom_shadow_root_get_type(void); 569 570 typedef struct _WebKitDOMShadowRoot WebKitDOMShadowRoot; 571 572 /** 573 * webkit_dom_shadow_root_element_from_point: 574 * @self: A #WebKitDOMShadowRoot 575 * @x: A #glong 576 * @y: A #glong 577 * 578 * This functionality has been removed from WebKit, this function does nothing. 579 * 580 * Returns: (transfer none): a #WebKitDOMElement 581 * 582 * Deprecated: 2.6 583 */ 584 WEBKIT_DEPRECATED WebKitDOMElement* 585 webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot* self, glong x, glong y); 586 587 /** 588 * webkit_dom_shadow_root_get_active_element: 589 * @self: A #WebKitDOMShadowRoot 590 * 591 * This functionality has been removed from WebKit, this function does nothing. 592 * 593 * Returns: (transfer none): a #WebKitDOMElement 594 * 595 * Deprecated: 2.6 596 */ 597 WEBKIT_DEPRECATED WebKitDOMElement* 598 webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot* self); 599 600 /** 601 * webkit_dom_shadow_root_get_apply_author_styles: 602 * @self: A #WebKitDOMShadowRoot 603 * 604 * This functionality has been removed from WebKit, this function does nothing. 605 * 606 * Returns: (transfer none): a #gboolean 607 * 608 * Deprecated: 2.6 609 */ 610 WEBKIT_DEPRECATED gboolean 611 webkit_dom_shadow_root_get_apply_author_styles(WebKitDOMShadowRoot* self); 612 613 /** 614 * webkit_dom_shadow_root_get_element_by_id: 615 * @self: A #WebKitDOMShadowRoot 616 * @id: A #gchar 617 * 618 * This functionality has been removed from WebKit, this function does nothing. 619 * 620 * Returns: (transfer none): a #WebKitDOMElement 621 * 622 * Deprecated: 2.6 623 */ 624 WEBKIT_DEPRECATED WebKitDOMElement* 625 webkit_dom_shadow_root_get_element_by_id(WebKitDOMShadowRoot* self, const gchar* id); 626 627 /** 628 * webkit_dom_shadow_root_get_elements_by_class_name: 629 * @self: A #WebKitDOMShadowRoot 630 * @name: A #gchar 631 * 632 * This functionality has been removed from WebKit, this function does nothing. 633 * 634 * Returns: (transfer none): a #WebKitDOMNodeList 635 * 636 * Deprecated: 2.6 637 */ 638 WEBKIT_DEPRECATED WebKitDOMNodeList* 639 webkit_dom_shadow_root_get_elements_by_class_name(WebKitDOMShadowRoot* self, const gchar* name); 640 641 /** 642 * webkit_dom_shadow_root_get_elements_by_tag_name: 643 * @self: A #WebKitDOMShadowRoot 644 * @name: A #gchar 645 * 646 * This functionality has been removed from WebKit, this function does nothing. 647 * 648 * Returns: (transfer none): a #WebKitDOMNodeList 649 * 650 * Deprecated: 2.6 651 */ 652 WEBKIT_DEPRECATED WebKitDOMNodeList* 653 webkit_dom_shadow_root_get_elements_by_tag_name(WebKitDOMShadowRoot* self, const gchar* name); 654 655 /** 656 * webkit_dom_shadow_root_get_elements_by_tag_name_ns: 657 * @self: A #WebKitDOMShadowRoot 658 * @name: A #gchar 659 * @ns: A #gchar 660 * 661 * This functionality has been removed from WebKit, this function does nothing. 662 * 663 * Returns: (transfer none): a #WebKitDOMNodeList 664 * 665 * Deprecated: 2.6 666 */ 667 WEBKIT_DEPRECATED WebKitDOMNodeList* 668 webkit_dom_shadow_root_get_elements_by_tag_name_ns(WebKitDOMShadowRoot* self, const gchar* name, const gchar* ns); 669 670 /** 671 * webkit_dom_shadow_root_get_inner_html: 672 * @self: A #WebKitDOMShadowRoot 673 * 674 * This functionality has been removed from WebKit, this function does nothing. 675 * 676 * Returns: (transfer none): a #gchar 677 * 678 * Deprecated: 2.6 679 */ 680 WEBKIT_DEPRECATED gchar* 681 webkit_dom_shadow_root_get_inner_html(WebKitDOMShadowRoot* self); 682 683 /** 684 * webkit_dom_shadow_root_get_reset_style_inheritance: 685 * @self: A #WebKitDOMShadowRoot 686 * 687 * This functionality has been removed from WebKit, this function does nothing. 688 * 689 * Returns: (transfer none): a #gboolean 690 * 691 * Deprecated: 2.6 692 */ 693 WEBKIT_DEPRECATED gboolean 694 webkit_dom_shadow_root_get_reset_style_inheritance(WebKitDOMShadowRoot* self); 695 696 /** 697 * webkit_dom_shadow_root_get_selection: 698 * @self: A #WebKitDOMShadowRoot 699 * 700 * This functionality has been removed from WebKit, this function does nothing. 701 * 702 * Returns: (transfer none): a #WebKitDOMDOMSelection 703 * 704 * Deprecated: 2.6 705 */ 706 WEBKIT_DEPRECATED WebKitDOMDOMSelection* 707 webkit_dom_shadow_root_get_selection(WebKitDOMShadowRoot* self); 708 709 /** 710 * webkit_dom_shadow_root_set_apply_author_styles: 711 * @self: A #WebKitDOMShadowRoot 712 * @value: A #gboolean 713 * 714 * This functionality has been removed from WebKit, this function does nothing. 715 * 716 * Deprecated: 2.6 717 */ 718 WEBKIT_DEPRECATED void 719 webkit_dom_shadow_root_set_apply_author_styles(WebKitDOMShadowRoot* self, gboolean value); 720 721 /** 722 * webkit_dom_shadow_root_set_inner_html: 723 * @self: A #WebKitDOMShadowRoot 724 * @html: A #gchar 725 * @error: A #GError 726 * 727 * This functionality has been removed from WebKit, this function does nothing. 728 * 729 * Deprecated: 2.6 730 */ 731 WEBKIT_DEPRECATED void 732 webkit_dom_shadow_root_set_inner_html(WebKitDOMShadowRoot* self, const gchar* html, GError** error); 733 734 /** 735 * webkit_dom_shadow_root_set_reset_style_inheritance: 736 * @self: A #WebKitDOMShadowRoot 737 * @value: A #gboolean 738 * 739 * This functionality has been removed from WebKit, this function does nothing. 740 * 741 * Deprecated: 2.6 742 */ 743 WEBKIT_DEPRECATED void 744 webkit_dom_shadow_root_set_reset_style_inheritance(WebKitDOMShadowRoot* self, gboolean value); 745 746 567 747 G_END_DECLS 568 748 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols
r165199 r167708 46 46 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*) 47 47 void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**) 48 WebKitDOMElement* webkit_dom_shadow_root_element_from_point(WebKitDOMShadowRoot*, glong, glong) 49 WebKitDOMElement* webkit_dom_shadow_root_get_active_element(WebKitDOMShadowRoot*) 50 gboolean webkit_dom_shadow_root_get_apply_author_styles(WebKitDOMShadowRoot*) 51 WebKitDOMElement* webkit_dom_shadow_root_get_element_by_id(WebKitDOMShadowRoot*, const gchar*) 52 WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_class_name(WebKitDOMShadowRoot*, const gchar*) 53 WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name(WebKitDOMShadowRoot*, const gchar*) 54 WebKitDOMNodeList* webkit_dom_shadow_root_get_elements_by_tag_name_ns(WebKitDOMShadowRoot*, const gchar*, const gchar*) 55 gchar* webkit_dom_shadow_root_get_inner_html(WebKitDOMShadowRoot*) 56 gboolean webkit_dom_shadow_root_get_reset_style_inheritance(WebKitDOMShadowRoot*) 57 WebKitDOMDOMSelection* webkit_dom_shadow_root_get_selection(WebKitDOMShadowRoot*) 58 void webkit_dom_shadow_root_set_apply_author_styles(WebKitDOMShadowRoot*, gboolean) 59 void webkit_dom_shadow_root_set_inner_html(WebKitDOMShadowRoot*, const gchar*, GError**) 60 void webkit_dom_shadow_root_set_reset_style_inheritance(WebKitDOMShadowRoot*, gboolean) -
trunk/Tools/ChangeLog
r167702 r167708 1 2014-04-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] ShadowRoot API was removed in r164131 4 https://bugs.webkit.org/show_bug.cgi?id=132059 5 6 Reviewed by Gustavo Noronha Silva. 7 8 Add WebKitDOMShadowRoot to the list of deleted classes to generate 9 the API docs. 10 11 * gtk/webkitdom.py: 12 (WebKitDOMDocGenerator): 13 1 14 2014-04-23 Lorenzo Tilve <ltilve@igalia.com> 2 15 -
trunk/Tools/gtk/webkitdom.py
r165114 r167708 32 32 "WebKitDOMMemoryInfo", 33 33 "WebKitDOMMicroDataItemValue", 34 "WebKitDOMPropertyNodeList"] 34 "WebKitDOMPropertyNodeList", 35 "WebKitDOMShadowRoot"] 35 36 36 37 def __init__(self, symbol_files, file_handle):
Note: See TracChangeset
for help on using the changeset viewer.