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

Unified Diff: content/public/browser/navigation_entry.h

Issue 87343002: Revise comments for the PageState property on NavigationEntry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 9df14b1b10dbf77c588fd15f7ede90144cbec382..1c7d34348385efb043a8d9c6f72677602f8f1c32 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -76,15 +76,14 @@ class NavigationEntry {
virtual void SetTitle(const string16& title) = 0;
virtual const string16& GetTitle() const = 0;
- // XXX
- // Content state is an opaque blob created by WebKit that represents the
- // state of the page. This includes form entries and scroll position for each
- // frame. We store it so that we can supply it back to WebKit to restore form
- // state properly when the user goes back and forward.
+ // Page state is an opaque blob created by Blink that represents the state of
+ // the page. This includes form entries and scroll position for each frame.
+ // We store it so that we can supply it back to Blink to restore form state
+ // properly when the user goes back and forward.
//
- // WARNING: This state is saved to the file and used to restore previous
- // states. If the format is modified in the future, we should still be able to
- // deal with older versions.
+ // NOTE: This state is saved to disk and used to restore previous states. If
+ // the format is modified in the future, we should still be able to deal with
+ // older versions.
virtual void SetPageState(const PageState& state) = 0;
virtual const PageState& GetPageState() const = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698