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

Unified Diff: ui/aura/client/focus_client.h

Issue 29883002: Attempt to re-land FocusManager removal from Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable test with note. 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/bench/bench_main.cc ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/focus_client.h
diff --git a/ui/aura/client/focus_client.h b/ui/aura/client/focus_client.h
index ff5f7f6b542caa6267b9c8a13c14e0a4a033b2d2..ad55d5ec6c0d3c84a0dd3a869017ca698e9c28b3 100644
--- a/ui/aura/client/focus_client.h
+++ b/ui/aura/client/focus_client.h
@@ -23,7 +23,6 @@ class AURA_EXPORT FocusClient {
public:
virtual ~FocusClient() {}
- // TODO(beng): these methods will be OBSOLETE by FocusChangeEvent.
virtual void AddObserver(FocusChangeObserver* observer) = 0;
virtual void RemoveObserver(FocusChangeObserver* observer) = 0;
@@ -36,14 +35,6 @@ class AURA_EXPORT FocusClient {
// Retrieves the focused window, or NULL if there is none.
virtual Window* GetFocusedWindow() = 0;
-
- // TODO(beng): temporary compat until FocusController is on.
- // Called when |window|'s disposition in |root_window| changes such that
- // focus must be shifted away from it. |destroyed| is true if the disposition
- // change is that |window| is being destroyed.
- virtual void OnWindowHiddenInRootWindow(aura::Window* window,
- aura::RootWindow* root_window,
- bool destroyed) = 0;
};
// Sets/Gets the focus client on the RootWindow.
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698