Changeset 106330 in webkit
- Timestamp:
- Jan 30, 2012 9:03:02 PM (12 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r105996 r106330 1 2012-01-30 Eunsol Park <eunsol47.park@samsung.com> 2 3 [EFL] Define the names of view smart class 4 https://bugs.webkit.org/show_bug.cgi?id=76370 5 6 Reviewed by Andreas Kling. 7 8 Strings of ewk_tiled_view's name were defined differently, 9 so the definitions were modified to make users not confused. 10 11 * ewk/ewk_private.h: 12 * ewk/ewk_view.cpp: 13 * ewk/ewk_view_single.cpp: 14 (_ewk_view_single_smart_class_new): 15 * ewk/ewk_view_tiled.cpp: 16 (ewk_view_tiled_smart_set): 17 (_ewk_view_tiled_smart_class_new): 18 1 19 2012-01-26 Tomasz Morawski <t.morawski@samsung.com> 2 20 -
trunk/Source/WebKit/efl/ewk/ewk_private.h
r104937 r106330 58 58 }; 59 59 #endif // ENABLE(NETSCAPE_PLUGIN_API) 60 61 // Defines the names for initializing ewk_view_smart_class 62 const char ewkViewTiledName[] = "Ewk_View_Tiled"; 63 const char ewkViewSingleName[] = "Ewk_View_Single"; 60 64 61 65 // forward declarations -
trunk/Source/WebKit/efl/ewk/ewk_view.cpp
r105996 r106330 268 268 269 269 #define EWK_VIEW_TILED_TYPE_CHECK_OR_RETURN(ewkView, ...) \ 270 if (!evas_object_smart_type_check(ewkView, "Ewk_View_Tiled")) { \271 INF("object is not a instance of Ewk_View_Tiled"); \270 if (!evas_object_smart_type_check(ewkView, ewkViewTiledName)) { \ 271 INF("object isn't an instance of %s", ewkViewTiledName); \ 272 272 return __VA_ARGS__; \ 273 273 } -
trunk/Source/WebKit/efl/ewk/ewk_view_single.cpp
r104687 r106330 397 397 static inline Evas_Smart* _ewk_view_single_smart_class_new(void) 398 398 { 399 static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION( "Ewk_View_Single");399 static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION(ewkViewSingleName); 400 400 static Evas_Smart* smart = 0; 401 401 -
trunk/Source/WebKit/efl/ewk/ewk_view_tiled.cpp
r105240 r106330 348 348 349 349 if (EINA_UNLIKELY(!_parent_sc.sc.add)) { 350 _parent_sc.sc.name = "Ewk_View_Tiled";350 _parent_sc.sc.name = ewkViewTiledName; 351 351 ewk_view_base_smart_set(&_parent_sc); 352 352 api->sc.parent = reinterpret_cast<Evas_Smart_Class*>(&_parent_sc); … … 375 375 static inline Evas_Smart* _ewk_view_tiled_smart_class_new(void) 376 376 { 377 static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION( "EWK_View_Tiled");377 static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION(ewkViewTiledName); 378 378 static Evas_Smart* smart = 0; 379 379
Note: See TracChangeset
for help on using the changeset viewer.