summaryrefslogtreecommitdiffstats
path: root/aura/desktop.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 20:12:13 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 20:12:13 +0000
commitc94f85914e13f04fa35a56c82ce0eb3cd46f46cf (patch)
tree4931dd5dacc240aa9e9482cf4a14bbda4dc94b25 /aura/desktop.cc
parente0379d56b61dc1bca0ee1c66b93b9c19279332b3 (diff)
downloadchromium_src-c94f85914e13f04fa35a56c82ce0eb3cd46f46cf.zip
chromium_src-c94f85914e13f04fa35a56c82ce0eb3cd46f46cf.tar.gz
chromium_src-c94f85914e13f04fa35a56c82ce0eb3cd46f46cf.tar.bz2
Beginnings of basic Focus and Key Events.
http://crbug.com/93934 http://crbug.com/93949 TEST=see unittest Review URL: http://codereview.chromium.org/7830031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'aura/desktop.cc')
-rw-r--r--aura/desktop.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/aura/desktop.cc b/aura/desktop.cc
index 2bac955..b0ffbad1 100644
--- a/aura/desktop.cc
+++ b/aura/desktop.cc
@@ -52,6 +52,10 @@ bool Desktop::OnMouseEvent(const MouseEvent& event) {
return window_->HandleMouseEvent(event);
}
+bool Desktop::OnKeyEvent(const KeyEvent& event) {
+ return window_->HandleKeyEvent(event);
+}
+
// static
Desktop* Desktop::GetInstance() {
if (!instance_) {