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

Unified Diff: ui/aura/focus_manager.h

Issue 26116008: Remove old FocusManager code from Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/focus_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/focus_manager.h
diff --git a/ui/aura/focus_manager.h b/ui/aura/focus_manager.h
deleted file mode 100644
index b3a13313edc08871fe49a8af8eca87d86f26de50..0000000000000000000000000000000000000000
--- a/ui/aura/focus_manager.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 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 UI_AURA_FOCUS_MANAGER_H_
-#define UI_AURA_FOCUS_MANAGER_H_
-
-#include "base/basictypes.h"
-#include "base/observer_list.h"
-#include "ui/aura/aura_export.h"
-#include "ui/aura/client/focus_client.h"
-
-namespace ui {
-class Event;
-}
-
-namespace aura {
-
-class Window;
-
-// An interface implemented by the Desktop to expose the focused window and
-// allow for it to be changed.
-class AURA_EXPORT FocusManager : public client::FocusClient {
- public:
- FocusManager();
- virtual ~FocusManager();
-
- private:
- // Overridden from client::FocusClient:
- virtual void AddObserver(client::FocusChangeObserver* observer) OVERRIDE;
- virtual void RemoveObserver(client::FocusChangeObserver* observer) OVERRIDE;
- virtual void FocusWindow(Window* window) OVERRIDE;
- virtual void ResetFocusWithinActiveWindow(Window* window) OVERRIDE;
- virtual Window* GetFocusedWindow() OVERRIDE;
- virtual void OnWindowHiddenInRootWindow(aura::Window* window,
- aura::RootWindow* root_window,
- bool destroyed) OVERRIDE;
-
- protected:
- aura::Window* focused_window_;
-
- ObserverList<client::FocusChangeObserver> observers_;
-
- DISALLOW_COPY_AND_ASSIGN(FocusManager);
-};
-
-} // namespace aura
-
-#endif // UI_AURA_FOCUS_MANAGER_H_
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698