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

Unified Diff: remoting/client/plugin/pepper_view_proxy.cc

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_proxy.cc
diff --git a/remoting/client/plugin/pepper_view_proxy.cc b/remoting/client/plugin/pepper_view_proxy.cc
index 189602fafd91336630fe3658920182e7b101cff0..2fdcb880bb0d41dd63481f0d359e00e2171b66ce 100644
--- a/remoting/client/plugin/pepper_view_proxy.cc
+++ b/remoting/client/plugin/pepper_view_proxy.cc
@@ -84,26 +84,6 @@ void PepperViewProxy::SetConnectionState(
view_->SetConnectionState(state, error);
}
-double PepperViewProxy::GetHorizontalScaleRatio() const {
- // This method returns a value, so must run synchronously, so must be
- // called only on the pepper thread.
- DCHECK(plugin_message_loop_->BelongsToCurrentThread());
-
- if (view_)
- return view_->GetHorizontalScaleRatio();
- return 1.0;
-}
-
-double PepperViewProxy::GetVerticalScaleRatio() const {
- // This method returns a value, so must run synchronously, so must be
- // called only on the pepper thread.
- DCHECK(plugin_message_loop_->BelongsToCurrentThread());
-
- if (view_)
- return view_->GetVerticalScaleRatio();
- return 1.0;
-}
-
void PepperViewProxy::AllocateFrame(
media::VideoFrame::Format format,
const SkISize& size,

Powered by Google App Engine
This is Rietveld 408576698