diff options
author | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 10:25:53 +0000 |
---|---|---|
committer | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 10:25:53 +0000 |
commit | 73a822fc4edecfd7995319f791f0fdd2fe60da60 (patch) | |
tree | ba9da5ad28528835015e5ec810110fdd6fc48ad2 /remoting/client/plugin/chromoting_scriptable_object.h | |
parent | 55cb9d5693f8b8e9ebac337d55c2dcab4cd27dd0 (diff) | |
download | chromium_src-73a822fc4edecfd7995319f791f0fdd2fe60da60.zip chromium_src-73a822fc4edecfd7995319f791f0fdd2fe60da60.tar.gz chromium_src-73a822fc4edecfd7995319f791f0fdd2fe60da60.tar.bz2 |
If the user selects scale-to-fit, then PepperView starts
maintaining and displaying a scaled copy of its pixel backing
store.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6811043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/plugin/chromoting_scriptable_object.h')
-rw-r--r-- | remoting/client/plugin/chromoting_scriptable_object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/client/plugin/chromoting_scriptable_object.h b/remoting/client/plugin/chromoting_scriptable_object.h index bf997b3..62f9c68 100644 --- a/remoting/client/plugin/chromoting_scriptable_object.h +++ b/remoting/client/plugin/chromoting_scriptable_object.h @@ -80,6 +80,9 @@ // // // Method for submitting login information. // void submitLoginInfo(string username, string password); +// +// // Method for setting scale-to-fit. +// void setScaleToFit(bool scale_to_fit); // } #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_SCRIPTABLE_OBJECT_H_ @@ -193,6 +196,9 @@ class ChromotingScriptableObject // This method is called by JS to provide login information. pp::Var DoSubmitLogin(const std::vector<pp::Var>& args, pp::Var* exception); + // This method is called by JS to set scale-to-fit. + pp::Var DoSetScaleToFit(const std::vector<pp::Var>& args, pp::Var* exception); + // This method is caleld by Javascript to provide responses to sendIq() // requests when establishing a sandboxed Chromoting connection. pp::Var DoOnIq(const std::vector<pp::Var>& args, pp::Var* exception); |