OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015 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. |
| 4 |
| 5 #ifndef UI_WM_ANDROID_ANDROID_FOCUS_RULES_H_ |
| 6 #define UI_WM_ANDROID_ANDROID_FOCUS_RULES_H_ |
| 7 |
| 8 #include "ui/wm/core/base_focus_rules.h" |
| 9 |
| 10 namespace wm { |
| 11 |
| 12 // A set of focus rules for android using aura. |
| 13 class AndroidFocusRules : public BaseFocusRules { |
| 14 public: |
| 15 AndroidFocusRules(); |
| 16 ~AndroidFocusRules() override; |
| 17 |
| 18 private: |
| 19 // ::wm::BaseFocusRules: |
| 20 bool SupportsChildActivation(aura::Window* window) const override; |
| 21 |
| 22 DISALLOW_COPY_AND_ASSIGN(AndroidFocusRules); |
| 23 }; |
| 24 |
| 25 } // namespace wm |
| 26 |
| 27 #endif // UI_WM_ANDROID_ANDROID_FOCUS_RULES_H_ |
OLD | NEW |