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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/client/event_client.cc ('k') | ui/aura/client/focus_change_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/focus_change_observer.h
diff --git a/ui/aura/client/focus_change_observer.h b/ui/aura/client/focus_change_observer.h
deleted file mode 100644
index 46db114b20c0d25298e4c33625a6ba7864244f26..0000000000000000000000000000000000000000
--- a/ui/aura/client/focus_change_observer.h
+++ /dev/null
@@ -1,33 +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_CLIENT_FOCUS_CHANGE_OBSERVER_H_
-#define UI_AURA_CLIENT_FOCUS_CHANGE_OBSERVER_H_
-
-#include "ui/aura/aura_export.h"
-
-namespace aura {
-class Window;
-namespace client {
-
-// TODO(beng): this interface will be OBSOLETE by FocusChangeEvent.
-class AURA_EXPORT FocusChangeObserver {
- public:
- // Called when focus moves from |lost_focus| to |gained_focus|.
- virtual void OnWindowFocused(Window* gained_focus, Window* lost_focus) = 0;
-
- protected:
- virtual ~FocusChangeObserver() {}
-};
-
-AURA_EXPORT FocusChangeObserver* GetFocusChangeObserver(Window* window);
-AURA_EXPORT void SetFocusChangeObserver(
- Window* window,
- FocusChangeObserver* focus_change_observer);
-
-
-} // namespace client
-} // namespace aura
-
-#endif // UI_AURA_CLIENT_FOCUS_CHANGE_OBSERVER_H_
« no previous file with comments | « ui/aura/client/event_client.cc ('k') | ui/aura/client/focus_change_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698