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

Side by Side Diff: remoting/client/chromoting_view.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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_CHROMOTING_VIEW_H_ 5 #ifndef REMOTING_CLIENT_CHROMOTING_VIEW_H_
6 #define REMOTING_CLIENT_CHROMOTING_VIEW_H_ 6 #define REMOTING_CLIENT_CHROMOTING_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Update the status of the last login attempt. Updating the UI as needed. 67 // Update the status of the last login attempt. Updating the UI as needed.
68 // |success| is set to true if the last login successful otherwise false. 68 // |success| is set to true if the last login successful otherwise false.
69 // |info| contains the error information if available. 69 // |info| contains the error information if available.
70 virtual void UpdateLoginStatus(bool success, const std::string& info) = 0; 70 virtual void UpdateLoginStatus(bool success, const std::string& info) = 0;
71 71
72 // Reposition and resize the viewport into the backing store. If the viewport 72 // Reposition and resize the viewport into the backing store. If the viewport
73 // extends past the end of the backing store, it is filled with black. 73 // extends past the end of the backing store, it is filled with black.
74 virtual void SetViewport(int x, int y, int width, int height) = 0; 74 virtual void SetViewport(int x, int y, int width, int height) = 0;
75 75
76 // Converts screen co-ordinates to host co-ordinates, and clips to the host
77 // screen.
78 virtual gfx::Point ConvertScreenToHost(const gfx::Point& p) const = 0;
Wez 2011/07/20 00:58:35 Isn't this view-to-host coordinate conversion, rat
garykac 2011/07/20 18:55:28 I think so, but the term screen is used through th
79
80 protected: 76 protected:
81 // Framebuffer for the decoder. 77 // Framebuffer for the decoder.
82 scoped_refptr<media::VideoFrame> frame_; 78 scoped_refptr<media::VideoFrame> frame_;
83 79
84 // Dimensions of |frame_| bitmap. 80 // Dimensions of |frame_| bitmap.
85 int frame_width_; 81 int frame_width_;
86 int frame_height_; 82 int frame_height_;
87 }; 83 };
88 84
89 } // namespace remoting 85 } // namespace remoting
90 86
91 #endif // REMOTING_CLIENT_CHROMOTING_VIEW_H_ 87 #endif // REMOTING_CLIENT_CHROMOTING_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.h » ('j') | remoting/client/plugin/chromoting_instance.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698