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

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

Issue 8956004: Move ActivationClient/Delegate to client namespace. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura/client/activation_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/activation_client.h
===================================================================
--- ui/aura/client/activation_client.h (revision 114593)
+++ ui/aura/client/activation_client.h (working copy)
@@ -9,16 +9,12 @@
#include "ui/aura/aura_export.h"
namespace aura {
-
class Window;
+namespace client {
// An interface implemented by an object that manages window activation.
class AURA_EXPORT ActivationClient {
public:
- // Sets/Gets the activation client on the RootWindow.
- static void SetActivationClient(ActivationClient* client);
- static ActivationClient* GetActivationClient();
-
// Activates |window|. If |window| is NULL, nothing happens.
virtual void ActivateWindow(Window* window) = 0;
@@ -37,6 +33,11 @@
virtual ~ActivationClient() {}
};
+// Sets/Gets the activation client on the RootWindow.
+AURA_EXPORT void SetActivationClient(ActivationClient* client);
+AURA_EXPORT ActivationClient* GetActivationClient();
+
+} // namespace clients
} // namespace aura
#endif // UI_AURA_CLIENT_ACTIVATION_CLIENT_H_
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura/client/activation_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698