Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: remoting/client/plugin/pepper_view.h

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698