Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: ui/views/widget/desktop_aura/desktop_event_client.cc

Issue 60443003: Makes MouseWatcher work while in metro mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_event_client.cc
diff --git a/ui/views/widget/desktop_aura/desktop_event_client.cc b/ui/views/widget/desktop_aura/desktop_event_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fe85a7247bc2ed530197be26fcc2bf5eadc98398
--- /dev/null
+++ b/ui/views/widget/desktop_aura/desktop_event_client.cc
@@ -0,0 +1,26 @@
+// Copyright 2013 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 "ui/views/widget/desktop_aura/desktop_event_client.h"
+
+#include "ui/aura/env.h"
+
+namespace views {
+
+DesktopEventClient::DesktopEventClient() {
+}
+
+DesktopEventClient::~DesktopEventClient() {
+}
+
+bool DesktopEventClient::CanProcessEventsWithinSubtree(
+ const aura::Window* window) const {
+ return true;
+}
+
+ui::EventTarget* DesktopEventClient::GetToplevelEventTarget() {
+ return aura::Env::GetInstance();
+}
+
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698