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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 7316011: Release all keys on blur. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/plugin/chromoting_instance.h ('k') | remoting/client/plugin/chromoting_scriptable_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index b44f5903754ab28c1d0f16349635acad39c6eca5..167d03329bb1375e1fb36b29d54355c9f25dbdff 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -298,4 +298,10 @@ ChromotingStats* ChromotingInstance::GetStats() {
return client_->GetStats();
}
+void ChromotingInstance::ReleaseAllKeys() {
+ PepperInputHandler* pih
+ = static_cast<PepperInputHandler*>(input_handler_.get());
garykac 2011/07/07 00:19:11 Why not add ReleaseAllKeys() to input_handler and
Jamie 2011/07/08 18:38:07 Fair point. Done.
+ pih->ReleaseAllKeys();
+}
+
} // namespace remoting
« no previous file with comments | « remoting/client/plugin/chromoting_instance.h ('k') | remoting/client/plugin/chromoting_scriptable_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698