diff options
Diffstat (limited to 'ash/screenshot_delegate.h')
-rw-r--r-- | ash/screenshot_delegate.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ash/screenshot_delegate.h b/ash/screenshot_delegate.h new file mode 100644 index 0000000..56b29c9 --- /dev/null +++ b/ash/screenshot_delegate.h @@ -0,0 +1,22 @@ +// Copyright (c) 2011 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_SCREENSHOT_DELEGATE_H_ +#define ASH_SCREENSHOT_DELEGATE_H_ +#pragma once + +namespace aura_shell { + +// Delegate for taking screenshots. +class ScreenshotDelegate { + public: + virtual ~ScreenshotDelegate() {} + + // The actual task of taking a screenshot. This method is called + // when the user wants to take a screenshot manually. + virtual void HandleTakeScreenshot() = 0; +}; +} // namespace aura_shell + +#endif // ASH_SCREENSHOT_DELEGATE_H_ |