| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_SCREENSHOT_DELEGATE_H_ | 5 #ifndef ASH_SCREENSHOT_DELEGATE_H_ |
| 6 #define ASH_SCREENSHOT_DELEGATE_H_ | 6 #define ASH_SCREENSHOT_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 namespace aura_shell { | 9 namespace ash { |
| 10 | 10 |
| 11 // Delegate for taking screenshots. | 11 // Delegate for taking screenshots. |
| 12 class ScreenshotDelegate { | 12 class ScreenshotDelegate { |
| 13 public: | 13 public: |
| 14 virtual ~ScreenshotDelegate() {} | 14 virtual ~ScreenshotDelegate() {} |
| 15 | 15 |
| 16 // The actual task of taking a screenshot. This method is called | 16 // The actual task of taking a screenshot. This method is called |
| 17 // when the user wants to take a screenshot manually. | 17 // when the user wants to take a screenshot manually. |
| 18 virtual void HandleTakeScreenshot() = 0; | 18 virtual void HandleTakeScreenshot() = 0; |
| 19 }; | 19 }; |
| 20 } // namespace aura_shell | 20 } // namespace ash |
| 21 | 21 |
| 22 #endif // ASH_SCREENSHOT_DELEGATE_H_ | 22 #endif // ASH_SCREENSHOT_DELEGATE_H_ |
| OLD | NEW |