OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ui/views/widget/desktop_aura/desktop_event_client.h" |
| 6 |
| 7 #include "ui/aura/env.h" |
| 8 |
| 9 namespace views { |
| 10 |
| 11 DesktopEventClient::DesktopEventClient() { |
| 12 } |
| 13 |
| 14 DesktopEventClient::~DesktopEventClient() { |
| 15 } |
| 16 |
| 17 bool DesktopEventClient::CanProcessEventsWithinSubtree( |
| 18 const aura::Window* window) const { |
| 19 return true; |
| 20 } |
| 21 |
| 22 ui::EventTarget* DesktopEventClient::GetToplevelEventTarget() { |
| 23 return aura::Env::GetInstance(); |
| 24 } |
| 25 |
| 26 } // namespace views |
OLD | NEW |