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

Unified Diff: content/browser/frame_host/navigation_controller_impl.cc

Issue 58343006: Rename WebContentsScreenshotManager to NavigationEntryScreenshotManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove TODO. Created 7 years, 1 month 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_controller_impl.cc
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc
index 04c229a27c1137e82735ceccf5b0da42905feb7e..ecf6a675c6cf9e26403660ec293fe6ab1e900afb 100644
--- a/content/browser/frame_host/navigation_controller_impl.cc
+++ b/content/browser/frame_host/navigation_controller_impl.cc
@@ -17,7 +17,7 @@
#include "content/browser/frame_host/debug_urls.h"
#include "content/browser/frame_host/interstitial_page_impl.h"
#include "content/browser/frame_host/navigation_entry_impl.h"
-#include "content/browser/frame_host/web_contents_screenshot_manager.h"
+#include "content/browser/frame_host/navigation_entry_screenshot_manager.h"
#include "content/browser/renderer_host/render_view_host_impl.h" // Temporary
#include "content/browser/site_instance_impl.h"
#include "content/common/view_messages.h"
@@ -209,7 +209,7 @@ NavigationControllerImpl::NavigationControllerImpl(
is_initial_navigation_(true),
pending_reload_(NO_RELOAD),
get_timestamp_callback_(base::Bind(&base::Time::Now)),
- screenshot_manager_(new WebContentsScreenshotManager(this)) {
+ screenshot_manager_(new NavigationEntryScreenshotManager(this)) {
DCHECK(browser_context_);
}
@@ -505,9 +505,9 @@ void NavigationControllerImpl::TakeScreenshot() {
}
void NavigationControllerImpl::SetScreenshotManager(
- WebContentsScreenshotManager* manager) {
+ NavigationEntryScreenshotManager* manager) {
screenshot_manager_.reset(manager ? manager :
- new WebContentsScreenshotManager(this));
+ new NavigationEntryScreenshotManager(this));
}
bool NavigationControllerImpl::CanGoBack() const {

Powered by Google App Engine
This is Rietveld 408576698