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

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

Issue 1760633003: Notify normalizing input filters on blur. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix host build. Created 4 years, 10 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.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3c002212935646de428798f3f6d4627311644476..1d07c9fe3ee1c957998f9570fb81c82bd5c1b4e0 100644
--- a/remoting/client/plugin/pepper_input_handler.h
+++ b/remoting/client/plugin/pepper_input_handler.h
@@ -26,11 +26,6 @@ class PepperInputHandler {
// for the lifetime of the PepperInputHandler.
explicit PepperInputHandler(protocol::InputEventTracker* input_tracker);
- // Sets the input stub to which processed events will be passed.
- void set_input_stub(protocol::InputStub* input_stub) {
- input_stub_ = input_stub;
- }
-
// Enable or disable sending mouse input when the plugin does not have input
// focus.
void set_send_mouse_input_when_unfocused(bool send) {
@@ -46,7 +41,7 @@ class PepperInputHandler {
detect_stuck_modifiers_ = detect;
}
- // Processes PPAPI events and dispatches them to |input_stub_|.
+ // Processes PPAPI events and dispatches them to |input_tracker_|.
bool HandleInputEvent(const pp::InputEvent& event);
// Must be called when the plugin receives or loses focus.
@@ -59,10 +54,8 @@ class PepperInputHandler {
// are not indicated as active on |event|, release all keys.
void ReleaseAllIfModifiersStuck(const pp::InputEvent& event);
- // Receives input events generated from PPAPI input.
- protocol::InputStub* input_stub_;
-
- // Tracks input events to manage auto-release in ReleaseAllIfModifiersStuck.
+ // Tracks input events to manage auto-release in ReleaseAllIfModifiersStuck
+ // and receives input events generated from PPAPI input.
protocol::InputEventTracker* input_tracker_;
// True if the plugin has focus.
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698