+ FeedKeyEvent( keyEvent );
+}
+
+void Window::OnRotation( const RotationEvent& rotation )
+{
+ mRotationAngle = rotation.angle;
+ mWindowWidth = rotation.width;
+ mWindowHeight = rotation.height;
+
+ // Notify that the orientation is changed
+ mOrientation->OnOrientationChange( rotation );
+
+ mWindowSurface->RequestRotation( mRotationAngle, mWindowWidth, mWindowHeight );
+
+ SurfaceResized();
+
+ mAdaptor->SurfaceResizePrepare( mSurface.get(), Adaptor::SurfaceSize( mRotationAngle, mWindowHeight ) );
+
+ // Emit signal
+ Dali::Window handle( this );
+ mResizedSignal.Emit( Dali::Window::WindowSize( mRotationAngle, mWindowHeight ) );
+ mResizeSignal.Emit( handle, Dali::Window::WindowSize( mRotationAngle, mWindowHeight ) );
+
+ mAdaptor->SurfaceResizeComplete( mSurface.get(), Adaptor::SurfaceSize( mRotationAngle, mWindowHeight ) );