| Index: content/browser/frame_host/navigation_entry_screenshot_manager.h
|
| diff --git a/content/browser/frame_host/navigation_entry_screenshot_manager.h b/content/browser/frame_host/navigation_entry_screenshot_manager.h
|
| index 40600af2d22b4c1f1a2bd2bb235916b0cd7c4e99..508b1895ce536cbdd8d3fee6d177e1c4ab2e7faa 100644
|
| --- a/content/browser/frame_host/navigation_entry_screenshot_manager.h
|
| +++ b/content/browser/frame_host/navigation_entry_screenshot_manager.h
|
| @@ -38,8 +38,10 @@ class CONTENT_EXPORT NavigationEntryScreenshotManager {
|
| void ClearAllScreenshots();
|
|
|
| protected:
|
| - virtual void TakeScreenshotImpl(RenderViewHost* host,
|
| - NavigationEntryImpl* entry);
|
| + // Overridden by tests to be notified when a screenshot will be taken. Tests
|
| + // can override OnScreenshotSet() to be notified after the screenshot is
|
| + // taken.
|
| + virtual void WillTakeScreenshot(RenderViewHost* host) {}
|
|
|
| // Called after a screenshot has been set on an NavigationEntryImpl.
|
| // Overridden in tests to get notified of when a screenshot is set.
|
|
|