Changeset 92039 in webkit
- Timestamp:
- Jul 29, 2011 7:00:35 PM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r91981 r92039 1 2011-07-29 Michal Pakula vel Rutka <m.pakula@samsung.com> 2 3 [EFL] Implement EditorClientEfl::respondToChangedContents 4 http://bugs.webkit.org/show_bug.cgi?id=64259 5 6 Implements respondToChangedContents by calling callback both from 7 ewk_frame and ewk_view with frame and view objects respectively. 8 9 Reviewed by Antonio Gomes. 10 11 * WebCoreSupport/EditorClientEfl.cpp: 12 (WebCore::EditorClientEfl::respondToChangedContents): 13 * ewk/ewk_frame.cpp: 14 (ewk_frame_editor_client_contents_changed): 15 * ewk/ewk_frame.h: 16 * ewk/ewk_private.h: 17 * ewk/ewk_view.cpp: 18 (ewk_view_editor_client_contents_changed): 19 * ewk/ewk_view.h: 20 1 21 2011-07-29 Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 22 -
trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp
r90808 r92039 123 123 void EditorClientEfl::respondToChangedContents() 124 124 { 125 notImplemented(); 125 Evas_Object* frame = ewk_view_frame_focused_get(m_view); 126 127 if (!frame) 128 frame = ewk_view_frame_main_get(m_view); 129 130 if (!frame) 131 return; 132 133 ewk_frame_editor_client_contents_changed(frame); 126 134 } 127 135 -
trunk/Source/WebKit/efl/ewk/ewk_frame.cpp
r91971 r92039 2033 2033 ewk_view_editor_client_selection_changed(sd->view); 2034 2034 } 2035 2036 /** 2037 * @internal 2038 * Reports that editor client's contents were changed. 2039 * 2040 * @param o Frame 2041 * 2042 * Emits signal: "editorclient,contents,changed" with no parameters. 2043 */ 2044 void ewk_frame_editor_client_contents_changed(Evas_Object *o) 2045 { 2046 evas_object_smart_callback_call(o, "editorclient,contents,changed", 0); 2047 EWK_FRAME_SD_GET_OR_RETURN(o, sd); 2048 ewk_view_editor_client_contents_changed(sd->view); 2049 } -
trunk/Source/WebKit/efl/ewk/ewk_frame.h
r91971 r92039 59 59 * be requested. 60 60 * - "state,save", void: frame's state will be saved as a history item. 61 * - "editorclient,contents,changed", void: reports that editor client's 62 * contents were changed 61 63 */ 62 64 -
trunk/Source/WebKit/efl/ewk/ewk_private.h
r91972 r92039 112 112 void ewk_view_download_request(Evas_Object *o, Ewk_Download *download); 113 113 114 void ewk_view_editor_client_contents_changed(Evas_Object *o); 114 115 void ewk_view_editor_client_selection_changed(Evas_Object *o); 115 116 … … 180 181 const char* ewk_settings_default_user_agent_get(void); 181 182 183 void ewk_frame_editor_client_contents_changed(Evas_Object *o); 182 184 void ewk_frame_editor_client_selection_changed(Evas_Object *o); 183 185 -
trunk/Source/WebKit/efl/ewk/ewk_view.cpp
r91981 r92039 3647 3647 evas_object_smart_callback_call(o, "editorclient,selection,changed", 0); 3648 3648 } 3649 3650 /** 3651 * @internal 3652 * Reports to the view that editor client's contents were changed. 3653 * 3654 * @param o View. 3655 * 3656 * Emits signal: "editorclient,contents,changed" with no parameters. 3657 */ 3658 void ewk_view_editor_client_contents_changed(Evas_Object *o) 3659 { 3660 evas_object_smart_callback_call(o, "editorclient,contents,changed", 0); 3661 } -
trunk/Source/WebKit/efl/ewk/ewk_view.h
r91981 r92039 91 91 * and it gives a frame that originated restore as an argument. 92 92 * - "tooltip,text,set", const char*: sets tooltip text and displays if it is currently hidden. 93 * - "editorclient,contents,changed", void: reports to the view that editor 94 * client's contents were changed 93 95 */ 94 96
Note: See TracChangeset
for help on using the changeset viewer.