| Index: ui/wm/android/android_focus_rules.cc
|
| diff --git a/ui/wm/android/android_focus_rules.cc b/ui/wm/android/android_focus_rules.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e6376e932e369789dd02373c57a94fc2070a92a1
|
| --- /dev/null
|
| +++ b/ui/wm/android/android_focus_rules.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2015 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/wm/android/android_focus_rules.h"
|
| +
|
| +#include "ui/aura/window.h"
|
| +
|
| +namespace wm {
|
| +
|
| +AndroidFocusRules::AndroidFocusRules() {
|
| +}
|
| +
|
| +AndroidFocusRules::~AndroidFocusRules() {
|
| +}
|
| +
|
| +bool AndroidFocusRules::SupportsChildActivation(aura::Window* window) const {
|
| + if (window->IsRootWindow())
|
| + return true;
|
| + else
|
| + return false;
|
| +}
|
| +
|
| +} // namespace wm
|
|
|