| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 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_VIEWS_WIDGET_DESKTOP_FOCUS_RULES_H_ | |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_FOCUS_RULES_H_ | |
| 7 | |
| 8 #include "ui/views/corewm/base_focus_rules.h" | |
| 9 | |
| 10 namespace views { | |
| 11 | |
| 12 class DesktopFocusRules : public corewm::BaseFocusRules { | |
| 13 public: | |
| 14 DesktopFocusRules(); | |
| 15 virtual ~DesktopFocusRules(); | |
| 16 | |
| 17 private: | |
| 18 // Overridden from corewm::BaseFocusRules: | |
| 19 virtual bool SupportsChildActivation(aura::Window* window) const OVERRIDE; | |
| 20 | |
| 21 DISALLOW_COPY_AND_ASSIGN(DesktopFocusRules); | |
| 22 }; | |
| 23 | |
| 24 } // namespace views | |
| 25 | |
| 26 #endif // UI_VIEWS_WIDGET_DESKTOP_FOCUS_RULES_H_ | |
| OLD | NEW |