| Index: ui/wm/android/android_focus_rules.h
|
| diff --git a/ui/wm/android/android_focus_rules.h b/ui/wm/android/android_focus_rules.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bd4ef2a206e9e5cb30a71511acbeb743de13ef65
|
| --- /dev/null
|
| +++ b/ui/wm/android/android_focus_rules.h
|
| @@ -0,0 +1,27 @@
|
| +// 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.
|
| +
|
| +#ifndef UI_WM_ANDROID_ANDROID_FOCUS_RULES_H_
|
| +#define UI_WM_ANDROID_ANDROID_FOCUS_RULES_H_
|
| +
|
| +#include "ui/wm/core/base_focus_rules.h"
|
| +
|
| +namespace wm {
|
| +
|
| +// A set of focus rules for android using aura.
|
| +class AndroidFocusRules : public BaseFocusRules {
|
| + public:
|
| + AndroidFocusRules();
|
| + ~AndroidFocusRules() override;
|
| +
|
| + private:
|
| + // ::wm::BaseFocusRules:
|
| + bool SupportsChildActivation(aura::Window* window) const override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AndroidFocusRules);
|
| +};
|
| +
|
| +} // namespace wm
|
| +
|
| +#endif // UI_WM_ANDROID_ANDROID_FOCUS_RULES_H_
|
|
|