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

Side by Side Diff: ui/aura/client/focus_client.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/app_list/views/start_page_view.h ('k') | ui/aura/mus/drag_drop_controller_mus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_CLIENT_FOCUS_CLIENT_H_ 5 #ifndef UI_AURA_CLIENT_FOCUS_CLIENT_H_
6 #define UI_AURA_CLIENT_FOCUS_CLIENT_H_ 6 #define UI_AURA_CLIENT_FOCUS_CLIENT_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window;
13 namespace client { 12 namespace client {
14 class FocusChangeObserver; 13 class FocusChangeObserver;
15 14
16 // An interface implemented by an object that manages window focus. 15 // An interface implemented by an object that manages window focus.
17 class AURA_EXPORT FocusClient { 16 class AURA_EXPORT FocusClient {
18 public: 17 public:
19 virtual ~FocusClient() {} 18 virtual ~FocusClient() {}
20 19
21 virtual void AddObserver(FocusChangeObserver* observer) = 0; 20 virtual void AddObserver(FocusChangeObserver* observer) = 0;
22 virtual void RemoveObserver(FocusChangeObserver* observer) = 0; 21 virtual void RemoveObserver(FocusChangeObserver* observer) = 0;
(...skipping 14 matching lines...) Expand all
37 AURA_EXPORT FocusClient* GetFocusClient(Window* window); 36 AURA_EXPORT FocusClient* GetFocusClient(Window* window);
38 AURA_EXPORT FocusClient* GetFocusClient(const Window* window); 37 AURA_EXPORT FocusClient* GetFocusClient(const Window* window);
39 38
40 // The focus client is stored on the window using this property. 39 // The focus client is stored on the window using this property.
41 AURA_EXPORT extern const WindowProperty<FocusClient*>* const kFocusClientKey; 40 AURA_EXPORT extern const WindowProperty<FocusClient*>* const kFocusClientKey;
42 41
43 } // namespace clients 42 } // namespace clients
44 } // namespace aura 43 } // namespace aura
45 44
46 #endif // UI_AURA_CLIENT_FOCUS_CLIENT_H_ 45 #endif // UI_AURA_CLIENT_FOCUS_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/start_page_view.h ('k') | ui/aura/mus/drag_drop_controller_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698