Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Unified Diff: content/browser/frame_host/navigation_entry_screenshot_manager.h

Issue 2702093002: Consistent CopyFromSurface() API, consolidated to RWHV (Closed)
Patch Set: Per alexmos, simplification in NavigationEntryScreenshotManager. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..bbd76e7f385325c5cc096012125ab98facd9fa64 100644
--- a/content/browser/frame_host/navigation_entry_screenshot_manager.h
+++ b/content/browser/frame_host/navigation_entry_screenshot_manager.h
@@ -18,7 +18,6 @@ namespace content {
class NavigationControllerImpl;
class NavigationEntryImpl;
-class RenderViewHost;
class ScreenshotData;
// NavigationEntryScreenshotManager takes care of taking image-captures for the
@@ -38,9 +37,6 @@ class CONTENT_EXPORT NavigationEntryScreenshotManager {
void ClearAllScreenshots();
protected:
- virtual void TakeScreenshotImpl(RenderViewHost* host,
- NavigationEntryImpl* entry);
-
// Called after a screenshot has been set on an NavigationEntryImpl.
// Overridden in tests to get notified of when a screenshot is set.
virtual void OnScreenshotSet(NavigationEntryImpl* entry);

Powered by Google App Engine
This is Rietveld 408576698