Refactored MoreMenuUI service 90/45590/3
authorJanusz Majnert <j.majnert@samsung.com>
Fri, 7 Aug 2015 10:01:38 +0000 (12:01 +0200)
committerSungwon Han <sungwon2.han@samsung.com>
Mon, 10 Aug 2015 07:18:03 +0000 (00:18 -0700)
commitcf77c87d050d6f9e22da1fa5f0c861f890b49a17
treee8e7435f86f2858c58d29c5f52fa6aa466f83178
parent4d76a2e6a9a867287c6a3ec5cadb0a7879417b68
Refactored MoreMenuUI service

[Issue#]   https://bugs.tizen.org/jira/browse/TT-72
[Problem]  Lots of style fixes, several fixes for build warnings
[Cause]    n/a
[Solution] Reformat code, fix casting and remove unused variables
[Verify]   1. Check that there are no build problems caused by this change
           2. Run the browser and explore the More Menu to see if nothing's broken

List of changes:
* tabs -> spaces
* proper indentation
* other minor style fixes
* removing unused variables' declarations
* renaming a few class members to better express their use
* replacing reinterpret_Cast with static_cast where appropriate
* adding null-checks in callback functions
* replacing shared_ptr copy-assignments with make_shared

Change-Id: I6a65bbcf9efaef42db955c689ba81673cb12e1fa
services/MoreMenuUI/AddBookmarkPopup.cpp
services/MoreMenuUI/AddBookmarkPopup.h
services/MoreMenuUI/MoreMenuUI.cpp
services/MoreMenuUI/MoreMenuUI.h
services/MoreMenuUI/NewFolderPopup.cpp
services/MoreMenuUI/NewFolderPopup.h