diff -r 57d5b8e231c4 -r e45c3f40ea5f browserplugins/browseraudiovideoplugin/src/BavpControllerVideo.cpp --- a/browserplugins/browseraudiovideoplugin/src/BavpControllerVideo.cpp Fri May 08 08:18:43 2009 +0300 +++ b/browserplugins/browseraudiovideoplugin/src/BavpControllerVideo.cpp Fri Jul 03 15:46:41 2009 +0100 @@ -29,6 +29,8 @@ #include #include +using namespace RT_GestureHelper; + // CONSTANTS // One second represented in microseconds const TInt KBavpOneSecond = 1000000; @@ -1344,4 +1346,26 @@ RevertToNormalScreenL(); } } + +// ----------------------------------------------------------------------------- +// CBavpControllerVideo::HandleGesture +// ----------------------------------------------------------------------------- +TBool CBavpControllerVideo::HandleGesture(TGestureEvent *gesture) +{ + TBool ret = EFalse; + TGestureCode gtype = gesture->Code(EAxisBoth); + switch(gtype) + { + case EGestureTap: + { + if (IsClipFullScreen()) + { + ToggleScreen(); + ret = ETrue; + } + break; + } + } + return ret; +} // End of File