Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / views / widget / desktop_aura / desktop_event_client.cc
blobfe85a7247bc2ed530197be26fcc2bf5eadc98398
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.
5 #include "ui/views/widget/desktop_aura/desktop_event_client.h"
7 #include "ui/aura/env.h"
9 namespace views {
11 DesktopEventClient::DesktopEventClient() {
14 DesktopEventClient::~DesktopEventClient() {
17 bool DesktopEventClient::CanProcessEventsWithinSubtree(
18 const aura::Window* window) const {
19 return true;
22 ui::EventTarget* DesktopEventClient::GetToplevelEventTarget() {
23 return aura::Env::GetInstance();
26 } // namespace views