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

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

Issue 8894018: Move the concept of Activation to the Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_CLIENT_ACTIVATION_CLIENT_H_
6 #define UI_AURA_CLIENT_ACTIVATION_CLIENT_H_
7 #pragma once
8
9 #include "ui/aura/aura_export.h"
10
11 namespace aura {
12
13 class Window;
14
15 // An interface implemented by an object that manages window activation.
16 class AURA_EXPORT ActivationClient {
17 public:
18 virtual ~ActivationClient() {}
19
20 // Activates |window|. If |window| is NULL, nothing happens.
21 virtual void ActivateWindow(Window* window) = 0;
22
23 // Deactivates |window|. What (if anything) is activated next is up to the
24 // client. If |window| is NULL, nothing happens.
25 virtual void DeactivateWindow(Window* window) = 0;
26
27 // Retrieves the active window, or NULL if there is none.
28 virtual aura::Window* GetActiveWindow() = 0;
29 };
30
31 } // namespace aura
32
33 #endif // UI_AURA_CLIENT_ACTIVATION_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698