summaryrefslogtreecommitdiffstats
path: root/views/focus
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 22:35:13 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-25 22:35:13 +0000
commit8d8c773c297d22dbf01e2bbb69b7335f52208845 (patch)
treed45e8affaa57b2dd2516e14c03c3a5f9238247f0 /views/focus
parent93543752960447decfc8f0ca38ef9f44f7209cfd (diff)
downloadchromium_src-8d8c773c297d22dbf01e2bbb69b7335f52208845.zip
chromium_src-8d8c773c297d22dbf01e2bbb69b7335f52208845.tar.gz
chromium_src-8d8c773c297d22dbf01e2bbb69b7335f52208845.tar.bz2
Re-land: Create a new views_aura_desktop.
Get views::Widget rendering working against an aura::Window NativeWidget. http://crbug.com/93944 TEST=none Original review URL: http://codereview.chromium.org/7741027 Review URL: http://codereview.chromium.org/7747032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/focus')
-rw-r--r--views/focus/accelerator_handler_aura.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/focus/accelerator_handler_aura.cc b/views/focus/accelerator_handler_aura.cc
new file mode 100644
index 0000000..8f2f31a
--- /dev/null
+++ b/views/focus/accelerator_handler_aura.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "views/focus/accelerator_handler.h"
+
+namespace views {
+
+AcceleratorHandler::AcceleratorHandler() {
+}
+
+bool AcceleratorHandler::Dispatch(const MSG& msg) {
+#if defined(OS_WIN)
+ TranslateMessage(&msg);
+ DispatchMessage(&msg);
+#endif
+ return true;
+}
+
+} // namespace views