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

Unified Diff: ash/wm/activation_controller_delegate.h

Issue 23874013: Remove old activation code and disable-focus-controller flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ash/wm/activation_controller_delegate.h
diff --git a/ash/wm/activation_controller_delegate.h b/ash/wm/activation_controller_delegate.h
deleted file mode 100644
index 5cebfc6c8aed343cd9aad8d71e4a847e0b46e5e9..0000000000000000000000000000000000000000
--- a/ash/wm/activation_controller_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 ASH_WM_ACTIVATION_CONTROLLER_DELEGATE_H_
-#define ASH_WM_ACTIVATION_CONTROLLER_DELEGATE_H_
-
-#include "ash/ash_export.h"
-
-namespace aura {
-class Window;
-}
-
-namespace ash {
-namespace internal {
-
-class ASH_EXPORT ActivationControllerDelegate {
- public:
- virtual ~ActivationControllerDelegate() {}
-
- // Called when the ActivationController is about to activate |window|. The
- // delegate gets an opportunity to take action and modify activation.
- // Modification occurs via the return value:
- // Returning |window| will activate |window|.
- // Returning some other window will activate that window instead.
- // Returning NULL will not change activation.
- virtual aura::Window* WillActivateWindow(aura::Window* window) = 0;
-
- // Called when the ActivationController is about to focus |window|. Returns
- // the window that should be focused instead.
- virtual aura::Window* WillFocusWindow(aura::Window* window) = 0;
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_WM_ACTIVATION_CONTROLLER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698