/**
* Request surface rotation
* @param[in] angle A new angle of the surface
- * @param[in] width A new width of the surface
- * @param[in] height A new height of the surface
+ * @param[in] positionSize A new position and size of the surface
*/
- void RequestRotation(int angle, int width, int height);
+ void RequestRotation(int angle, PositionSize positionSize);
/**
* @brief Gets the window base object
void SetNeedsRotationCompletedAcknowledgement(bool needAcknowledgement);
/**
+ * @brief Updates window surface's position and size.
+ * It is just to update the local variable in window surface.
+ * This function is only called when window's position or size is changed by display server.
+ *
+ * @param[in] positionSize The updated window surface's position and size.
+ */
+ void UpdatePositionSize(Dali::PositionSize positionSize);
+
+ /**
+ * @brief Query whether window is rotating or not.
+ *
+ * @return true if window is rotating, false otherwise.
+ */
+ bool IsWindowRotating() const;
+
+ /**
* @brief This signal is emitted when the output is transformed.
*/
OutputSignalType& OutputTransformedSignal();