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

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

Issue 49823002: Move navigation and frame tree classes to a new frame_host/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing gyp and adding TODO. Created 7 years, 2 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/web_contents_screenshot_manager.h
diff --git a/content/browser/web_contents/web_contents_screenshot_manager.h b/content/browser/frame_host/web_contents_screenshot_manager.h
similarity index 90%
rename from content/browser/web_contents/web_contents_screenshot_manager.h
rename to content/browser/frame_host/web_contents_screenshot_manager.h
index 23df41ee757a1c9eb87ee0a0960b6cbd519e9e89..d76dfae8b5145637b6ad88d739ec2e27cfe38ae5 100644
--- a/content/browser/web_contents/web_contents_screenshot_manager.h
+++ b/content/browser/frame_host/web_contents_screenshot_manager.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_SCREENSHOT_MANAGER_H_
-#define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_SCREENSHOT_MANAGER_H_
+#ifndef CONTENT_BROWSER_FRAME_HOST_WEB_CONTENTS_SCREENSHOT_MANAGER_H_
+#define CONTENT_BROWSER_FRAME_HOST_WEB_CONTENTS_SCREENSHOT_MANAGER_H_
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
@@ -23,6 +23,8 @@ class ScreenshotData;
// current navigation entry of a NavigationControllerImpl, and managing these
// captured images. These image-captures are used for history navigation using
// overscroll gestures.
+// TODO(nasko): Rename this to better reflect that it is used for
+// navigation entries and not WebContents.
class CONTENT_EXPORT WebContentsScreenshotManager {
public:
explicit WebContentsScreenshotManager(NavigationControllerImpl* controller);
@@ -86,4 +88,4 @@ class CONTENT_EXPORT WebContentsScreenshotManager {
} // namespace content
-#endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_SCREENSHOT_MANAGER_H_
+#endif // CONTENT_BROWSER_FRAME_HOST_WEB_CONTENTS_SCREENSHOT_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698