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

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

Issue 7453003: Change Chromoting client to use Pepper's new Resource-base InputEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years, 5 months 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 5f523a1336b5f199cd5bae4263be28e8d464a88a..ad4557ddb1442d9ec784391e5cebf2438b718543 100644
--- a/remoting/client/plugin/pepper_view_proxy.cc
+++ b/remoting/client/plugin/pepper_view_proxy.cc
@@ -103,14 +103,14 @@ void PepperViewProxy::SetViewport(int x, int y, int width, int height) {
view_->SetViewport(x, y, width, height);
}
-gfx::Point PepperViewProxy::ConvertScreenToHost(const gfx::Point& p) const {
+pp::Point PepperViewProxy::ConvertScreenToHost(const pp::Point& p) const {
// This method returns a value, so must run synchronously, so must be
// called only on the pepper thread.
DCHECK(CurrentlyOnPluginThread());
if (view_)
return view_->ConvertScreenToHost(p);
- return gfx::Point();
+ return pp::Point();
}
void PepperViewProxy::AllocateFrame(
« remoting/client/plugin/pepper_view_proxy.h ('K') | « remoting/client/plugin/pepper_view_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698