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

Side by Side Diff: ui/aura/mus/focus_synchronizer_observer.h

Issue 2714763002: Change FocusSynchronizer to maintain active focus client and window. (Closed)
Patch Set: fix crash in aura_test_helper tear down Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_MUS_FOCUS_SYNCHRONIZER_OBSERVER_H_
6 #define UI_AURA_MUS_FOCUS_SYNCHRONIZER_OBSERVER_H_
7
8 #include "ui/aura/aura_export.h"
9
10 namespace aura {
11 class Window;
12
13 namespace client {
14 class FocusClient;
15 }
16
17 class AURA_EXPORT FocusSynchronizerObserver {
18 public:
19 // Called from FocusSynchronizer::OnActiveFocusClientChanged() to notify its
20 // observers of active focus client and focus window changes.
21 virtual void OnActiveFocusClientChanged(client::FocusClient* focus_client,
22 Window* window) {}
23
24 protected:
25 virtual ~FocusSynchronizerObserver() {}
26 };
27
28 } // namespace aura
29
30 #endif // UI_AURA_MUS_FOCUS_SYNCHRONIZER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698