Index: remoting/client/plugin/pepper_view.h |
diff --git a/remoting/client/plugin/pepper_view.h b/remoting/client/plugin/pepper_view.h |
index 90366506c1aa8dec3fb400d595ff0ed75f034edb..3ac1191e7cf383af950ea3799363318ca61aa946 100644 |
--- a/remoting/client/plugin/pepper_view.h |
+++ b/remoting/client/plugin/pepper_view.h |
@@ -42,8 +42,6 @@ class PepperView : public ChromotingView, |
virtual void SetConnectionState( |
protocol::ConnectionToHost::State state, |
protocol::ConnectionToHost::Error error) OVERRIDE; |
- virtual double GetHorizontalScaleRatio() const OVERRIDE; |
- virtual double GetVerticalScaleRatio() const OVERRIDE; |
// FrameConsumer implementation. |
virtual void AllocateFrame(media::VideoFrame::Format format, |
@@ -59,6 +57,10 @@ class PepperView : public ChromotingView, |
// Return true if plugin size has changed, false otherwise. |
bool SetPluginSize(const SkISize& plugin_size); |
+ // Return the client view, and original host dimensions. |
+ SkISize GetViewDimensions() const; |
Sergey Ulanov
2011/12/20 00:05:35
can this be inline view_dimentions()? Also, I thin
Wez
2011/12/20 07:14:14
Done.
I've also renamed member |plugin_size_| to
|
+ SkISize GetHostDimensions() const; |
+ |
private: |
void OnPaintDone(base::Time paint_start); |