Handle keyboard events with AtomEventProcessingWindow.

Some system events like cmd+` will be handled by it automatically.
This commit is contained in:
Cheng Zhao 2013-04-12 20:31:15 +08:00
parent f62b00eaac
commit 26d6df7852
5 changed files with 24 additions and 5 deletions

View file

@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_contents_delegate.h"
namespace base {
class DictionaryValue;
@ -32,7 +33,7 @@ class Size;
namespace atom {
class NativeWindow {
class NativeWindow : public content::WebContentsDelegate {
public:
virtual ~NativeWindow();