shell/platform/windows/keyboard_key_handler_unittests.cc
MockKeyHandlerDelegate(int delegate_id,
                         std::list<KeyboardHookCall>* hook_history)
      : delegate_id(delegate_id),
        hook_history(hook_history),
        callback_handler(dont_respond) {}
// Create a |MockKeyHandlerDelegate|.
//
// The |delegate_id| is an arbitrary ID to tell between delegates
// that will be recorded in |KeyboardHookCall|.
//
// The |hook_history| will store every call to |KeyboardHookCall| that are
// handled asynchronously.
//
// The |is_async| is a function that the class calls upon every
// |KeyboardHookCall| to decide whether the call is handled asynchronously.
// Defaults to always returning true (async).


The |hook_history| will store every call to |KeyboardHookCall| that are
handled asynchronously.

The |is_async| is a function that the class calls upon every
|KeyboardHookCall| to decide whether the call is handled asynchronously.
Defaults to always returning true (async).
The |hook_history| will store every call to |KeyboardHookCall| that are handled asynchronously . The |is_async| is a function that the class calls upon every |KeyboardHookCall| to decide whether the call is handled asynchronously . Defaults to always returning true ( async ) .
MockKeyHandlerDelegate(int delegate_id,
                         std::list<KeyboardHookCall>* hook_history)
      : delegate_id(delegate_id),
        hook_history(hook_history),
        callback_handler(dont_respond) {}
MockKeyHandlerDelegate ( int delegate_id , std :: list < KeyboardHookCall > * hook_history ) : delegate_id ( delegate_id ) , hook_history ( hook_history ) , callback_handler ( dont_respond ) { }
Create a |MockKeyHandlerDelegate|.
Create a |MockKeyHandlerDelegate| .