Index: webkit/media/android/webmediaplayer_android.h |
diff --git a/webkit/media/android/webmediaplayer_android.h b/webkit/media/android/webmediaplayer_android.h |
index b5ad22e9c1aeff611a42d5f7ec74582a645874f6..18739e1fe54feb127c489cf0a08d066455afb0ab 100644 |
--- a/webkit/media/android/webmediaplayer_android.h |
+++ b/webkit/media/android/webmediaplayer_android.h |
@@ -16,6 +16,7 @@ |
#include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h" |
+#include "ui/gfx/rect_f.h" |
#include "webkit/media/android/stream_texture_factory_android.h" |
namespace webkit { |
@@ -131,6 +132,8 @@ class WebMediaPlayerAndroid |
// Detach the player from its manager. |
void Detach(); |
+ bool GetGeometryChange(gfx::RectF* rect); |
+ |
protected: |
// Construct a WebMediaPlayerAndroid object with reference to the |
// client, manager and stream texture factory. |
@@ -257,6 +260,8 @@ class WebMediaPlayerAndroid |
scoped_ptr<webkit::WebLayerImpl> video_weblayer_; |
+ gfx::RectF rect_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); |
}; |