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

Unified Diff: services/window_manager/basic_focus_rules.h

Issue 788453002: Put code in //services/window_manager in namespace window_manager (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/wm_flow/wm/wm.cc ('k') | services/window_manager/basic_focus_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/basic_focus_rules.h
diff --git a/services/window_manager/basic_focus_rules.h b/services/window_manager/basic_focus_rules.h
index 6802cacbb36ad5064d8c408cbfab597d679fbcfc..34482e11702bdeb8cb76098635f2a6229a51399b 100644
--- a/services/window_manager/basic_focus_rules.h
+++ b/services/window_manager/basic_focus_rules.h
@@ -8,8 +8,10 @@
#include "services/window_manager/focus_rules.h"
namespace mojo {
-
class View;
+}
+
+namespace window_manager {
// The focusing rules used inside a window manager.
//
@@ -32,16 +34,16 @@ class BasicFocusRules : public FocusRules {
mojo::View* GetNextActivatableView(mojo::View* activatable) const override;
private:
- bool CanFocusViewImpl(View* view) const;
+ bool CanFocusViewImpl(mojo::View* view) const;
// Tests to see if |view| is in |window_container_|.
- bool IsViewParentedToWindowContainer(View* view) const;
+ bool IsViewParentedToWindowContainer(mojo::View* view) const;
mojo::View* window_container_;
DISALLOW_COPY_AND_ASSIGN(BasicFocusRules);
};
-} // namespace mojo
+} // namespace window_manager
#endif // SERVICES_WINDOW_MANAGER_BASIC_FOCUS_RULES_H_
« no previous file with comments | « examples/wm_flow/wm/wm.cc ('k') | services/window_manager/basic_focus_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698