Put WeakPtrFactory member last in USBEventRouter
[chromium-blink-merge.git] / ash / wm / overview / transparent_activate_window_button_delegate.h
blob07695f0835c98fb32c1e0f87b73470ee0cfd7134
1 // Copyright 2014 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 // A delegate that
6 #ifndef ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_DELEGATE_H_
7 #define ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_DELEGATE_H_
9 #include "ash/ash_export.h"
11 namespace ash {
13 // A pure-virtual delegate that is used by the TransparentActivateWindowButton
14 // to manipulate windows while in overview mode.
15 class ASH_EXPORT TransparentActivateWindowButtonDelegate {
16 public:
17 // Called when the TransparentActivateWindowButton was selected.
18 virtual void Select() = 0;
20 protected:
21 TransparentActivateWindowButtonDelegate() {}
22 virtual ~TransparentActivateWindowButtonDelegate() {}
24 private:
25 DISALLOW_COPY_AND_ASSIGN(TransparentActivateWindowButtonDelegate);
28 } // namespace ash
30 #endif // ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_DELEGATE_H_