Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // TODO(ajwong): We need to come up with a better description of the | 5 // TODO(ajwong): We need to come up with a better description of the |
| 6 // responsibilities for each thread. | 6 // responsibilities for each thread. |
| 7 | 7 |
| 8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| 9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| 10 | 10 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 201 void HandleSendClipboardItem(const base::DictionaryValue& data); | 201 void HandleSendClipboardItem(const base::DictionaryValue& data); |
| 202 void HandleNotifyClientResolution(const base::DictionaryValue& data); | 202 void HandleNotifyClientResolution(const base::DictionaryValue& data); |
| 203 void HandlePauseVideo(const base::DictionaryValue& data); | 203 void HandlePauseVideo(const base::DictionaryValue& data); |
| 204 void HandlePauseAudio(const base::DictionaryValue& data); | 204 void HandlePauseAudio(const base::DictionaryValue& data); |
| 205 void HandleOnPinFetched(const base::DictionaryValue& data); | 205 void HandleOnPinFetched(const base::DictionaryValue& data); |
| 206 void HandleOnThirdPartyTokenFetched(const base::DictionaryValue& data); | 206 void HandleOnThirdPartyTokenFetched(const base::DictionaryValue& data); |
| 207 void HandleRequestPairing(const base::DictionaryValue& data); | 207 void HandleRequestPairing(const base::DictionaryValue& data); |
| 208 void HandleExtensionMessage(const base::DictionaryValue& data); | 208 void HandleExtensionMessage(const base::DictionaryValue& data); |
| 209 void HandleAllowMouseLockMessage(); | 209 void HandleAllowMouseLockMessage(); |
| 210 void HandleEnableMediaSourceRendering(); | 210 void HandleEnableMediaSourceRendering(); |
| 211 void HandleSendMouseInputWhenUnfocused(); | |
|
Wez
2014/05/22 01:14:23
nit: Unfocused -> Blurred for consistency w/ DOM t
Jamie
2014/05/22 01:32:09
"blur" is a horrible terminology for the unfocused
Wez
2014/05/22 01:47:18
True!
| |
| 211 | 212 |
| 212 // Helper method called from Connect() to connect with parsed config. | 213 // Helper method called from Connect() to connect with parsed config. |
| 213 void ConnectWithConfig(const ClientConfig& config, | 214 void ConnectWithConfig(const ClientConfig& config, |
| 214 const std::string& local_jid); | 215 const std::string& local_jid); |
| 215 | 216 |
| 216 // Helper method to post messages to the webapp. | 217 // Helper method to post messages to the webapp. |
| 217 void PostChromotingMessage(const std::string& method, | 218 void PostChromotingMessage(const std::string& method, |
| 218 const pp::VarDictionary& data); | 219 const pp::VarDictionary& data); |
| 219 | 220 |
| 220 // Same as above, but serializes messages to JSON before sending them. This | 221 // Same as above, but serializes messages to JSON before sending them. This |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 293 | 294 |
| 294 // Weak reference to this instance, used for global logging and task posting. | 295 // Weak reference to this instance, used for global logging and task posting. |
| 295 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 296 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
| 296 | 297 |
| 297 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 298 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
| 298 }; | 299 }; |
| 299 | 300 |
| 300 } // namespace remoting | 301 } // namespace remoting |
| 301 | 302 |
| 302 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 303 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| OLD | NEW |