Skip to content

Commit

Permalink
avoid silly printed message
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Feb 11, 2013
1 parent 9f9d9d8 commit d6cb2c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cefclient/client_handler.cpp
Expand Up @@ -135,10 +135,12 @@ bool ClientHandler::OnKeyEvent(CefRefPtr<CefBrowser> browser,
if (isAfterJavaScript && !m_bFormElementHasFocus && code == 0x20) {
// Special handling for the space character if a form element does not have
// focus.
/*
if (type == KEYEVENT_RAWKEYDOWN) {
browser->GetMainFrame()->ExecuteJavaScript(
"alert('You pressed the space bar!');", "", 0);
}
*/
return true;
}

Expand Down

0 comments on commit d6cb2c0

Please sign in to comment.