add patch
[framework/osp/uifw.git] / src / ui / FUi_EcoreEvas.cpp
index 2f69919..9917928 100644 (file)
@@ -33,7 +33,6 @@
 #include <FBaseErrors.h>
 #include <FBaseSysLog.h>
 #include <FBaseRtThread.h>
-#include <FApp_IActiveWindowEventListener.h>
 #include <FBase_StringConverter.h>
 #include <FGrp_CanvasImpl.h>
 #include "FUi_CoordinateSystemUtils.h"
@@ -57,7 +56,6 @@
 #include "FUi_Clipboard.h"
 #include "FUi_TouchManager.h"
 #include "FUi_ControlManager.h"
-#include "FUi_ActiveWindowEvent.h"
 #include "FUi_ControlImplManager.h"
 #include "FUiCtrl_Popup.h"
 #include "FUiCtrl_ContextMenu.h"
@@ -1349,6 +1347,15 @@ _EcoreEvas::RotateWindow(const _Window& window, int orientation, bool rotateEvas
                        rotatePartial = false;
                }
        }
+       else
+       {
+               if (orientation != 0) //(orientation == 90 || orientation == 270 )
+               {
+                       //WARNNING: It's for the issue that popup window does not mapped.
+                       // when orientation
+                       pLayer->SetOrientationChanged();
+               }
+       }
 
        _Window* pWindow = const_cast<_Window*>(&window);
        if (pWindow->IsLayoutChangable() == true)
@@ -1368,7 +1375,6 @@ _EcoreEvas::RotateWindow(const _Window& window, int orientation, bool rotateEvas
                {
                        ecore_evas_rotation_with_resize_set(pEcoreEvas, orientation);
 
-
                        if ((orientation == 0) || (orientation == 180))
                        {
                                pLayer->SetBounds(FloatRectangle(0, 0, rootW, rootH));
@@ -1483,18 +1489,6 @@ _EcoreEvas::GetFloatingMode(const _Window& window) const
        return (ret ? true : false);
 }
 
-// [ToDo] Remove API
-void
-_EcoreEvas::AddActiveWindowEventListener(const _IActiveWindowEventListener& listener)
-{
-}
-
-// [ToDo] Remove API
-void
-_EcoreEvas::RemoveActiveWindowEventListener(const _IActiveWindowEventListener& listener)
-{
-}
-
 unsigned int
 _EcoreEvas::GetActiveWindow(void)
 {
@@ -3321,20 +3315,6 @@ extern "C"
 #endif
 
 // [ToDo] Remove API
-_OSP_EXPORT_ void
-_AddActiveWindowEventListener(const _IActiveWindowEventListener& listener)
-{
-       GetEcoreEvasMgr()->GetEcoreEvas()->AddActiveWindowEventListener(listener);
-}
-
-// [ToDo] Remove API
-_OSP_EXPORT_ void
-_RemoveActiveWindowEventListener(const _IActiveWindowEventListener& listener)
-{
-       GetEcoreEvasMgr()->GetEcoreEvas()->RemoveActiveWindowEventListener(listener);
-}
-
-// [ToDo] Remove API
 _OSP_EXPORT_ unsigned int
 _GetActiveWindow(void)
 {