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

Side by Side Diff: remoting/client/plugin/chromoting_scriptable_object.h

Issue 8310001: Show framerate in chromoting debug log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops.. compile error. Created 9 years, 2 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 // This implements the JavaScript class entrypoint for the plugin instance. 5 // This implements the JavaScript class entrypoint for the plugin instance.
6 // The Javascript API is defined as follows. 6 // The Javascript API is defined as follows.
7 // 7 //
8 // interface ChromotingScriptableObject { 8 // interface ChromotingScriptableObject {
9 // 9 //
10 // // Chromoting session API version (for this plugin). 10 // // Chromoting session API version (for this plugin).
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // // of type void(string request_xml). 61 // // of type void(string request_xml).
62 // attribute Function sendIq; 62 // attribute Function sendIq;
63 // 63 //
64 // // Dimension of the desktop area. 64 // // Dimension of the desktop area.
65 // readonly attribute int desktopWidth; 65 // readonly attribute int desktopWidth;
66 // readonly attribute int desktopHeight; 66 // readonly attribute int desktopHeight;
67 // 67 //
68 // // Statistics. 68 // // Statistics.
69 // // Video Bandwidth in bytes per second. 69 // // Video Bandwidth in bytes per second.
70 // readonly attribute float videoBandwidth; 70 // readonly attribute float videoBandwidth;
71 // // Video frames received per second.
72 // readonly attribute float videoFramerate;
Wez 2011/10/21 18:01:43 videoFramerate -> videoFrameRate
71 // // Latency for capturing in milliseconds. 73 // // Latency for capturing in milliseconds.
72 // readonly attribute int videoCaptureLatency; 74 // readonly attribute int videoCaptureLatency;
73 // // Latency for video encoding in milliseconds. 75 // // Latency for video encoding in milliseconds.
74 // readonly attribute int videoEncodeLatency; 76 // readonly attribute int videoEncodeLatency;
75 // // Latency for video decoding in milliseconds. 77 // // Latency for video decoding in milliseconds.
76 // readonly attribute int videoDecodeLatency; 78 // readonly attribute int videoDecodeLatency;
77 // // Latency for rendering in milliseconds. 79 // // Latency for rendering in milliseconds.
78 // readonly attribute int videoRenderLatency; 80 // readonly attribute int videoRenderLatency;
79 // // Latency between an event is sent and a corresponding video packet is 81 // // Latency between an event is sent and a corresponding video packet is
80 // // received. 82 // // received.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 251
250 scoped_refptr<base::MessageLoopProxy> plugin_message_loop_; 252 scoped_refptr<base::MessageLoopProxy> plugin_message_loop_;
251 ScopedRunnableMethodFactory<ChromotingScriptableObject> task_factory_; 253 ScopedRunnableMethodFactory<ChromotingScriptableObject> task_factory_;
252 254
253 DISALLOW_COPY_AND_ASSIGN(ChromotingScriptableObject); 255 DISALLOW_COPY_AND_ASSIGN(ChromotingScriptableObject);
254 }; 256 };
255 257
256 } // namespace remoting 258 } // namespace remoting
257 259
258 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_ 260 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698