[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / wm / core / nested_accelerator_dispatcher.cc
blobd37c93c796f5ba7f10812b1c88454600f51de1f0
1 // Copyright 2014 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/wm/core/nested_accelerator_dispatcher.h"
7 #include "base/logging.h"
8 #include "ui/wm/core/nested_accelerator_delegate.h"
10 namespace wm {
12 NestedAcceleratorDispatcher::NestedAcceleratorDispatcher(
13 NestedAcceleratorDelegate* delegate)
14 : delegate_(delegate) {
15 DCHECK(delegate);
18 NestedAcceleratorDispatcher::~NestedAcceleratorDispatcher() {
21 } // namespace wm