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

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

Issue 296943003: Allow mouse-input to be enabled even if the plugin does not have keyboard focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 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
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void HandleSendClipboardItem(const base::DictionaryValue& data); 202 void HandleSendClipboardItem(const base::DictionaryValue& data);
203 void HandleNotifyClientResolution(const base::DictionaryValue& data); 203 void HandleNotifyClientResolution(const base::DictionaryValue& data);
204 void HandlePauseVideo(const base::DictionaryValue& data); 204 void HandlePauseVideo(const base::DictionaryValue& data);
205 void HandlePauseAudio(const base::DictionaryValue& data); 205 void HandlePauseAudio(const base::DictionaryValue& data);
206 void HandleOnPinFetched(const base::DictionaryValue& data); 206 void HandleOnPinFetched(const base::DictionaryValue& data);
207 void HandleOnThirdPartyTokenFetched(const base::DictionaryValue& data); 207 void HandleOnThirdPartyTokenFetched(const base::DictionaryValue& data);
208 void HandleRequestPairing(const base::DictionaryValue& data); 208 void HandleRequestPairing(const base::DictionaryValue& data);
209 void HandleExtensionMessage(const base::DictionaryValue& data); 209 void HandleExtensionMessage(const base::DictionaryValue& data);
210 void HandleAllowMouseLockMessage(); 210 void HandleAllowMouseLockMessage();
211 void HandleEnableMediaSourceRendering(); 211 void HandleEnableMediaSourceRendering();
212 void HandleSendMouseInputWhenUnfocused();
212 213
213 // Helper method called from Connect() to connect with parsed config. 214 // Helper method called from Connect() to connect with parsed config.
214 void ConnectWithConfig(const ClientConfig& config, 215 void ConnectWithConfig(const ClientConfig& config,
215 const std::string& local_jid); 216 const std::string& local_jid);
216 217
217 // Helper method to post messages to the webapp. 218 // Helper method to post messages to the webapp.
218 void PostChromotingMessage(const std::string& method, 219 void PostChromotingMessage(const std::string& method,
219 const pp::VarDictionary& data); 220 const pp::VarDictionary& data);
220 221
221 // Same as above, but serializes messages to JSON before sending them. This 222 // Same as above, but serializes messages to JSON before sending them. This
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 297
297 // Weak reference to this instance, used for global logging and task posting. 298 // Weak reference to this instance, used for global logging and task posting.
298 base::WeakPtrFactory<ChromotingInstance> weak_factory_; 299 base::WeakPtrFactory<ChromotingInstance> weak_factory_;
299 300
300 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); 301 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
301 }; 302 };
302 303
303 } // namespace remoting 304 } // namespace remoting
304 305
305 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 306 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698