Index: mojo/services/window_manager/basic_focus_rules.h |
diff --git a/mojo/services/window_manager/basic_focus_rules.h b/mojo/services/window_manager/basic_focus_rules.h |
deleted file mode 100644 |
index fd72e850d44dcb6fb51ed95a644cce39bdda8ceb..0000000000000000000000000000000000000000 |
--- a/mojo/services/window_manager/basic_focus_rules.h |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-// Copyright 2014 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 MOJO_SERIVCES_WINDOW_MANAGER_BASIC_FOCUS_RULES_H_ |
-#define MOJO_SERIVCES_WINDOW_MANAGER_BASIC_FOCUS_RULES_H_ |
- |
-#include "mojo/services/window_manager/focus_rules.h" |
- |
-namespace mojo { |
- |
-class WindowManagerApp; |
-class View; |
- |
-// The focusing rules used inside a window manager. |
-// |
-// This is intended to be a user supplyable, subclassable component passed to |
-// WindowManagerApp, allowing for the creation of other window managers. |
-// |
-// TODO(erg): This was a straight move of the minimal focus rules from when |
-// WindowManagerApp directly used the wm::FocusController. This implementation |
-// is very incomplete. crbug.com/431047 |
-class BasicFocusRules : public FocusRules { |
- public: |
- BasicFocusRules(mojo::WindowManagerApp* window_manager_app, |
- mojo::View* window_container); |
- ~BasicFocusRules() override; |
- |
- protected: |
- // Overridden from mojo::FocusRules: |
- bool IsToplevelView(mojo::View* view) const override; |
- bool CanActivateView(mojo::View* view) const override; |
- bool CanFocusView(mojo::View* view) const override; |
- mojo::View* GetToplevelView(mojo::View* view) const override; |
- mojo::View* GetActivatableView(mojo::View* view) const override; |
- mojo::View* GetFocusableView(mojo::View* view) const override; |
- mojo::View* GetNextActivatableView(mojo::View* activatable) const override; |
- |
- private: |
- mojo::View* window_container_; |
- mojo::WindowManagerApp* window_manager_app_; |
- |
- DISALLOW_COPY_AND_ASSIGN(BasicFocusRules); |
-}; |
- |
-} // namespace mojo |
- |
-#endif // MOJO_SERIVCES_WINDOW_MANAGER_BASIC_FOCUS_RULES_H_ |