// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_SNAPSHOT_SCREENSHOT_GRABBER_H_ #define UI_SNAPSHOT_SCREENSHOT_GRABBER_H_ #include <memory> #include <string> #include "base/functional/callback.h" #include "base/memory/ref_counted_memory.h" #include "base/memory/weak_ptr.h" #include "base/time/time.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/native_widget_types.h" #include "ui/snapshot/snapshot_export.h" namespace ui { // Result of the entire screenshotting attempt. This enum is fat for various // file operations which could happen in the chrome layer. enum class ScreenshotResult { … }; class SNAPSHOT_EXPORT ScreenshotGrabber { … }; } // namespace ui #endif // UI_SNAPSHOT_SCREENSHOT_GRABBER_H_