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

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

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: tweaks 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
« no previous file with comments | « remoting/client/plugin/pepper_view.cc ('k') | remoting/client/plugin/pepper_view_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_view_proxy.h
diff --git a/remoting/client/plugin/pepper_view_proxy.h b/remoting/client/plugin/pepper_view_proxy.h
index d9075442b8ad13a741991582bdb02441e8559794..a34a3c512aab7d41eaca565270e129b6a10e864d 100644
--- a/remoting/client/plugin/pepper_view_proxy.h
+++ b/remoting/client/plugin/pepper_view_proxy.h
@@ -41,9 +41,6 @@ class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>,
virtual void UpdateLoginStatus(bool success, const std::string& info)
OVERRIDE;
virtual void SetViewport(int x, int y, int width, int height) OVERRIDE;
- // This method returns a value, so must run synchronously, so must be
- // called only on the pepper thread.
- virtual gfx::Point ConvertScreenToHost(const gfx::Point& p) const OVERRIDE;
// FrameConsumer implementation.
virtual void AllocateFrame(media::VideoFrame::Format format,
@@ -60,6 +57,10 @@ class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>,
void SetScaleToFit(bool scale_to_fit);
+ // This method returns a value, so must run synchronously, so must be
+ // called only on the pepper thread.
+ pp::Point ConvertScreenToHost(const pp::Point& p) const;
+
// Remove the reference to |instance_| and |view_| by setting the value to
// NULL.
// This method should only be called on pepper thread.
« no previous file with comments | « remoting/client/plugin/pepper_view.cc ('k') | remoting/client/plugin/pepper_view_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698