chromeos: bluetooth: add BluetoothNodeClient
[chromium-blink-merge.git] / ash / screenshot_delegate.h
blob96e67bbd28343d153ae390fca755fa4fcb42ad43
1 // Copyright (c) 2012 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.
5 #ifndef ASH_SCREENSHOT_DELEGATE_H_
6 #define ASH_SCREENSHOT_DELEGATE_H_
7 #pragma once
9 namespace aura {
10 class Window;
11 } // namespace aura
13 namespace gfx {
14 class Rect;
15 } // namespace gfx
17 namespace ash {
19 // Delegate for taking screenshots.
20 class ScreenshotDelegate {
21 public:
22 virtual ~ScreenshotDelegate() {}
24 // The actual task of taking a screenshot for the given window.
25 // This method is called when the user wants to take a screenshot
26 // manually.
27 virtual void HandleTakeScreenshot(aura::Window* window) = 0;
29 // The actual task of taking a partial screenshot for the given
30 // window.
31 virtual void HandleTakePartialScreenshot(
32 aura::Window* window, const gfx::Rect& rect) = 0;
34 } // namespace ash
36 #endif // ASH_SCREENSHOT_DELEGATE_H_