Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: components/window_manager/focus_rules.h

Issue 1085233004: Moves services implementations out of third_party/mojo_services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unnecessary changes Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_WINDOW_MANAGER_FOCUS_RULES_H_ 5 #ifndef COMPONENTS_WINDOW_MANAGER_FOCUS_RULES_H_
6 #define COMPONENTS_WINDOW_MANAGER_FOCUS_RULES_H_ 6 #define COMPONENTS_WINDOW_MANAGER_FOCUS_RULES_H_
7 7
8 #include "third_party/mojo_services/src/view_manager/public/cpp/types.h" 8 #include "components/view_manager/public/cpp/types.h"
9 #include "third_party/mojo_services/src/view_manager/public/cpp/view.h" 9 #include "components/view_manager/public/cpp/view.h"
10 10
11 namespace window_manager { 11 namespace window_manager {
12 12
13 // Implemented by an object that establishes the rules about what can be 13 // Implemented by an object that establishes the rules about what can be
14 // focused or activated. 14 // focused or activated.
15 class FocusRules { 15 class FocusRules {
16 public: 16 public:
17 virtual ~FocusRules() {} 17 virtual ~FocusRules() {}
18 18
19 // Returns true if the children of |window| can be activated. 19 // Returns true if the children of |window| can be activated.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // RootView. 56 // RootView.
57 // - it is being destroyed. 57 // - it is being destroyed.
58 // - it is being explicitly deactivated. 58 // - it is being explicitly deactivated.
59 // |ignore| cannot be null. 59 // |ignore| cannot be null.
60 virtual mojo::View* GetNextActivatableView(mojo::View* ignore) const = 0; 60 virtual mojo::View* GetNextActivatableView(mojo::View* ignore) const = 0;
61 }; 61 };
62 62
63 } // namespace window_manager 63 } // namespace window_manager
64 64
65 #endif // COMPONENTS_WINDOW_MANAGER_FOCUS_RULES_H_ 65 #endif // COMPONENTS_WINDOW_MANAGER_FOCUS_RULES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698