Changeset 89920 in webkit
- Timestamp:
- Jun 28, 2011 4:38:05 AM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r89905 r89920 1 2011-06-28 Michal Pakula vel Rutka <m.pakula@samsung.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [EFL] Implement EditorClientEfl::respondToChangedSelection 6 https://bugs.webkit.org/show_bug.cgi?id=63525 7 8 This patch: 9 - implements EditorClientEfl::respondToChangedSelection, 10 - adds ewk_frame_editor_client_selection_changed and 11 - ewk_view_editor_client_selection_changed 12 13 * WebCoreSupport/EditorClientEfl.cpp: 14 (WebCore::EditorClientEfl::respondToChangedSelection): 15 * ewk/ewk_frame.cpp: 16 (ewk_frame_editor_client_selection_changed): 17 * ewk/ewk_private.h: 18 * ewk/ewk_view.cpp: 19 (ewk_view_editor_client_selection_changed): 20 1 21 2011-06-28 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 22 -
trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp
r89298 r89920 128 128 void EditorClientEfl::respondToChangedSelection() 129 129 { 130 notImplemented(); 130 Evas_Object* frame = ewk_view_frame_focused_get(m_view); 131 132 if (!frame) 133 frame = ewk_view_frame_main_get(m_view); 134 135 if (!frame) 136 return; 137 138 WebCore::Frame* coreFrame = ewk_frame_core_get(frame); 139 140 if (!coreFrame) 141 return; 142 143 if (coreFrame->editor() && coreFrame->editor()->ignoreCompositionSelectionChange()) 144 return; 145 146 ewk_frame_editor_client_selection_changed(frame); 131 147 } 132 148 -
trunk/Source/WebKit/efl/ewk/ewk_frame.cpp
r89721 r89920 1976 1976 return 0; 1977 1977 } 1978 1979 /** 1980 * @internal 1981 * Reports that editor client selection was changed. 1982 * 1983 * @param o Frame 1984 * 1985 * Emits signal: "editorclientselection,changed" with no parameters. 1986 */ 1987 void ewk_frame_editor_client_selection_changed(Evas_Object* o) 1988 { 1989 evas_object_smart_callback_call(o, "editorclient,selection,changed", 0); 1990 EWK_FRAME_SD_GET_OR_RETURN(o, sd); 1991 ewk_view_editor_client_selection_changed(sd->view); 1992 } -
trunk/Source/WebKit/efl/ewk/ewk_private.h
r89812 r89920 112 112 void ewk_view_download_request(Evas_Object *o, Ewk_Download *download); 113 113 114 void ewk_view_editor_client_selection_changed(Evas_Object* o); 115 114 116 int ewk_util_dpi_get(void); 115 117 … … 178 180 const char* ewk_settings_default_user_agent_get(void); 179 181 182 void ewk_frame_editor_client_selection_changed(Evas_Object* o); 183 180 184 #ifdef __cplusplus 181 185 -
trunk/Source/WebKit/efl/ewk/ewk_view.cpp
r89812 r89920 4499 4499 } 4500 4500 #endif 4501 4502 /** 4503 * @internal 4504 * Reports the view that editor client selection has changed. 4505 * 4506 * @param o View. 4507 * 4508 * Emits signal: "editorclientselection,changed" with no parameters. 4509 */ 4510 void ewk_view_editor_client_selection_changed(Evas_Object* o) 4511 { 4512 evas_object_smart_callback_call(o, "editorclient,selection,changed", 0); 4513 }
Note: See TracChangeset
for help on using the changeset viewer.