| Index: ui/views/widget/android/android_focus_rules.cc
|
| diff --git a/ui/views/widget/android/android_focus_rules.cc b/ui/views/widget/android/android_focus_rules.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..81a07b6ebda8f858c2f907a8061753639f7fcd0a
|
| --- /dev/null
|
| +++ b/ui/views/widget/android/android_focus_rules.cc
|
| @@ -0,0 +1,19 @@
|
| +// 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/views/widget/android/android_focus_rules.h"
|
| +
|
| +#include "ui/aura/window.h"
|
| +
|
| +namespace views {
|
| +
|
| +AndroidFocusRules::AndroidFocusRules() {}
|
| +
|
| +AndroidFocusRules::~AndroidFocusRules() {}
|
| +
|
| +bool AndroidFocusRules::SupportsChildActivation(aura::Window* window) const {
|
| + return window->IsRootWindow();
|
| +}
|
| +
|
| +} // namespace views
|
|
|