diff options
Diffstat (limited to 'chromium/ui/aura/client/activation_delegate.h')
-rw-r--r-- | chromium/ui/aura/client/activation_delegate.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/chromium/ui/aura/client/activation_delegate.h b/chromium/ui/aura/client/activation_delegate.h deleted file mode 100644 index 0ce86388f52..00000000000 --- a/chromium/ui/aura/client/activation_delegate.h +++ /dev/null @@ -1,37 +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_ACTIVATION_DELEGATE_H_ -#define UI_AURA_CLIENT_ACTIVATION_DELEGATE_H_ - -#include "ui/aura/aura_export.h" - -namespace ui { -class Event; -} - -namespace aura { -class Window; -namespace client { - -// An interface implemented by an object that configures and responds to changes -// to a window's activation state. -class AURA_EXPORT ActivationDelegate { - public: - // Returns true if the window should be activated. - virtual bool ShouldActivate() const = 0; - - protected: - virtual ~ActivationDelegate() {} -}; - -// Sets/Gets the ActivationDelegate on the Window. No ownership changes. -AURA_EXPORT void SetActivationDelegate(Window* window, - ActivationDelegate* delegate); -AURA_EXPORT ActivationDelegate* GetActivationDelegate(Window* window); - -} // namespace client -} // namespace aura - -#endif // UI_AURA_CLIENT_ACTIVATION_DELEGATE_H_ |