// Copyright 2013 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_WINDOW_SELECTOR_DELEGATE_H_
#define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_

#include "base/compiler_specific.h"

namespace aura {
class Window;
}

namespace ash {

// Implement this class to handle the selection event from WindowSelector.
class WindowSelectorDelegate {
 public:
  // Invoked when a window is selected.
  virtual void OnWindowSelected(aura::Window* window) = 0;

  // Invoked if selection is canceled.
  virtual void OnSelectionCanceled() = 0;

 protected:
  virtual ~WindowSelectorDelegate() {}
};

}  // namespace ash

#endif  // ASH_WM_WINDOW_SELECTOR_DELEGATE_H_

// Copyright 2013 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_WINDOW_SELECTOR_DELEGATE_H_
#define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_

#include "ash/ash_export.h"
#include "base/compiler_specific.h"

namespace aura {
class Window;
}

namespace ash {

// Implement this class to handle the selection event from WindowSelector.
class ASH_EXPORT WindowSelectorDelegate {
 public:
  // Invoked when a window is selected.
  virtual void OnWindowSelected(aura::Window* window) = 0;

  // Invoked if selection is canceled.
  virtual void OnSelectionCanceled() = 0;

 protected:
  virtual ~WindowSelectorDelegate() {}
};

}  // namespace ash

#endif  // ASH_WM_WINDOW_SELECTOR_DELEGATE_H_

Add ASH_EXPORT to base class of exported WindowSelectorController.
Add ASH_EXPORT to base class of exported WindowSelectorController.

TBR=pkotwicz@chromium.org

BUG=263477
TEST=Win Aura Builder compiles.

Review URL: https://codereview.chromium.org/21527003

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@215043 0039d316-1c4b-4281-b951-d872f2087c98
