Commit 18752aca authored by garykac@chromium.org's avatar garykac@chromium.org

Re-order comments in chromoting_scriptable_object to match .cc code

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/6992067

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86664 0039d316-1c4b-4281-b951-d872f2087c98
parent 8d2ff8b7
...@@ -17,28 +17,9 @@ ...@@ -17,28 +17,9 @@
// // compatibility with older API versions. // // compatibility with older API versions.
// readonly attribute unsigned short apiMinVersion; // readonly attribute unsigned short apiMinVersion;
// //
// // Dimension of the desktop area.
// readonly attribute int desktopWidth;
// readonly attribute int desktopHeight;
//
// // Connection status. // // Connection status.
// readonly attribute unsigned short status; // readonly attribute unsigned short status;
// //
// // Statistics.
// // Video Bandwidth in bytes per second.
// readonly attribute float videoBandwidth;
// // Latency for capturing in milliseconds.
// readonly attribute int videoCaptureLatency;
// // Latency for video encoding in milliseconds.
// readonly attribute int videoEncodeLatency;
// // Latency for video decoding in milliseconds.
// readonly attribute int videoDecodeLatency;
// // Latency for rendering in milliseconds.
// readonly attribute int videoRenderLatency;
// // Latency between an event is sent and a corresponding video packet is
// // received.
// readonly attribute int roundTripLatency;
//
// // Constants for connection status. // // Constants for connection status.
// const unsigned short STATUS_UNKNOWN = 0; // const unsigned short STATUS_UNKNOWN = 0;
// const unsigned short STATUS_CONNECTING = 1; // const unsigned short STATUS_CONNECTING = 1;
...@@ -49,6 +30,7 @@ ...@@ -49,6 +30,7 @@
// //
// // Connection quality. // // Connection quality.
// readonly attribute unsigned short quality; // readonly attribute unsigned short quality;
//
// // Constants for connection quality // // Constants for connection quality
// const unsigned short QUALITY_UNKNOWN = 0; // const unsigned short QUALITY_UNKNOWN = 0;
// const unsigned short QUALITY_GOOD = 1; // const unsigned short QUALITY_GOOD = 1;
...@@ -62,14 +44,7 @@ ...@@ -62,14 +44,7 @@
// // in the client UI. // // in the client UI.
// attribute Function debugInfo; // attribute Function debugInfo;
// //
// // JS callback function to send an XMPP IQ stanza for performing the // attribute Function desktopSizeUpdate;
// // signaling in a jingle connection. The callback function should be
// // of type void(string request_xml).
// attribute Function sendIq;
//
// // Method for receiving an XMPP IQ stanza in response to a previous
// // sendIq() invocation. Other packets will be silently dropped.
// void onIq(string response_xml);
// //
// // This function is called when login information for the host machine is // // This function is called when login information for the host machine is
// // needed. // // needed.
...@@ -82,6 +57,30 @@ ...@@ -82,6 +57,30 @@
// // later case |connection_status| is changed to STATUS_FAILED. // // later case |connection_status| is changed to STATUS_FAILED.
// attribute Function loginChallenge; // attribute Function loginChallenge;
// //
// // JS callback function to send an XMPP IQ stanza for performing the
// // signaling in a jingle connection. The callback function should be
// // of type void(string request_xml).
// attribute Function sendIq;
//
// // Dimension of the desktop area.
// readonly attribute int desktopWidth;
// readonly attribute int desktopHeight;
//
// // Statistics.
// // Video Bandwidth in bytes per second.
// readonly attribute float videoBandwidth;
// // Latency for capturing in milliseconds.
// readonly attribute int videoCaptureLatency;
// // Latency for video encoding in milliseconds.
// readonly attribute int videoEncodeLatency;
// // Latency for video decoding in milliseconds.
// readonly attribute int videoDecodeLatency;
// // Latency for rendering in milliseconds.
// readonly attribute int videoRenderLatency;
// // Latency between an event is sent and a corresponding video packet is
// // received.
// readonly attribute int roundTripLatency;
//
// // Methods for establishing a Chromoting connection. // // Methods for establishing a Chromoting connection.
// // // //
// // When using the sandboxed versions, sendIq must be set and responses to // // When using the sandboxed versions, sendIq must be set and responses to
...@@ -101,6 +100,10 @@ ...@@ -101,6 +100,10 @@
// //
// // Method for setting scale-to-fit. // // Method for setting scale-to-fit.
// void setScaleToFit(bool scale_to_fit); // void setScaleToFit(bool scale_to_fit);
//
// // Method for receiving an XMPP IQ stanza in response to a previous
// // sendIq() invocation. Other packets will be silently dropped.
// void onIq(string response_xml);
// } // }
#ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_ #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_
...@@ -165,7 +168,7 @@ class ChromotingScriptableObject ...@@ -165,7 +168,7 @@ class ChromotingScriptableObject
void SignalLoginChallenge(); void SignalLoginChallenge();
// Attaches the XmppProxy used for issuing and receivng IQ stanzas for // Attaches the XmppProxy used for issuing and receivng IQ stanzas for
// initiaing a jingle connection from within the sandbox. // initializing a jingle connection from within the sandbox.
void AttachXmppProxy(PepperXmppProxy* xmpp_proxy); void AttachXmppProxy(PepperXmppProxy* xmpp_proxy);
// Sends an IQ stanza, serialized as an xml string, into Javascript for // Sends an IQ stanza, serialized as an xml string, into Javascript for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment