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
9namespace views {
10
11DesktopEventClient::DesktopEventClient() {
12}
13
14DesktopEventClient::~DesktopEventClient() {
15}
16
17bool DesktopEventClient::CanProcessEventsWithinSubtree(
18    const aura::Window* window) const {
19  return true;
20}
21
22ui::EventTarget* DesktopEventClient::GetToplevelEventTarget() {
23  return aura::Env::GetInstance();
24}
25
26}  // namespace views
27