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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "remoting/client/plugin/chromoting_instance.h" 5 #include "remoting/client/plugin/chromoting_instance.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 291
292 return instance_object_; 292 return instance_object_;
293 } 293 }
294 294
295 ChromotingStats* ChromotingInstance::GetStats() { 295 ChromotingStats* ChromotingInstance::GetStats() {
296 if (!client_.get()) 296 if (!client_.get())
297 return NULL; 297 return NULL;
298 return client_->GetStats(); 298 return client_->GetStats();
299 } 299 }
300 300
301 void ChromotingInstance::ReleaseAllKeys() {
302 PepperInputHandler* pih
303 = 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.
304 pih->ReleaseAllKeys();
305 }
306
301 } // namespace remoting 307 } // namespace remoting
OLDNEW
« 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