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

Unified Diff: remoting/client/plugin/pepper_input_handler.h

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
Index: remoting/client/plugin/pepper_input_handler.h
diff --git a/remoting/client/plugin/pepper_input_handler.h b/remoting/client/plugin/pepper_input_handler.h
index b99dd32715b76ee8a000d4467f9a4932b3f0faca..99e217eedcd1dcf1a36fc98e1189ccab8a418a47 100644
--- a/remoting/client/plugin/pepper_input_handler.h
+++ b/remoting/client/plugin/pepper_input_handler.h
@@ -5,6 +5,8 @@
#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_
#define REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_
+#include <set>
+
#include "remoting/client/input_handler.h"
struct PP_InputEvent_Character;
@@ -29,7 +31,11 @@ class PepperInputHandler : public InputHandler {
void HandleMouseButtonEvent(bool button_down,
const PP_InputEvent_Mouse& event);
+ void ReleaseAllKeys();
+
private:
+ std::set<int> pressed_keys_;
+
DISALLOW_COPY_AND_ASSIGN(PepperInputHandler);
};

Powered by Google App Engine
This is Rietveld 408576698