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

Side by Side Diff: content/public/browser/navigation_entry.h

Issue 10091006: TabContents -> WebContentsImpl, part 15. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/browser/interstitial_page.h ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // state of the page. This includes form entries and scroll position for each 74 // state of the page. This includes form entries and scroll position for each
75 // frame. We store it so that we can supply it back to WebKit to restore form 75 // frame. We store it so that we can supply it back to WebKit to restore form
76 // state properly when the user goes back and forward. 76 // state properly when the user goes back and forward.
77 // 77 //
78 // WARNING: This state is saved to the file and used to restore previous 78 // WARNING: This state is saved to the file and used to restore previous
79 // states. If the format is modified in the future, we should still be able to 79 // states. If the format is modified in the future, we should still be able to
80 // deal with older versions. 80 // deal with older versions.
81 virtual void SetContentState(const std::string& state) = 0; 81 virtual void SetContentState(const std::string& state) = 0;
82 virtual const std::string& GetContentState() const = 0; 82 virtual const std::string& GetContentState() const = 0;
83 83
84 // Describes the current page that the tab represents. For web pages 84 // Describes the current page that the tab represents. This is the ID that the
85 // (TAB_CONTENTS_WEB) this is the ID that the renderer generated for the page 85 // renderer generated for the page and is how we can tell new versus
86 // and is how we can tell new versus renavigations. 86 // renavigations.
87 virtual void SetPageID(int page_id) = 0; 87 virtual void SetPageID(int page_id) = 0;
88 virtual int32 GetPageID() const = 0; 88 virtual int32 GetPageID() const = 0;
89 89
90 // Page-related helpers ------------------------------------------------------ 90 // Page-related helpers ------------------------------------------------------
91 91
92 // Returns the title to be displayed on the tab. This could be the title of 92 // Returns the title to be displayed on the tab. This could be the title of
93 // the page if it is available or the URL. |languages| is the list of 93 // the page if it is available or the URL. |languages| is the list of
94 // accpeted languages (e.g., prefs::kAcceptLanguages) or empty if proper 94 // accpeted languages (e.g., prefs::kAcceptLanguages) or empty if proper
95 // URL formatting isn't needed (e.g., unit tests). 95 // URL formatting isn't needed (e.g., unit tests).
96 virtual const string16& GetTitleForDisplay( 96 virtual const string16& GetTitleForDisplay(
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual FaviconStatus& GetFavicon() = 0; 136 virtual FaviconStatus& GetFavicon() = 0;
137 137
138 // All the SSL flags and state. See content::SSLStatus. 138 // All the SSL flags and state. See content::SSLStatus.
139 virtual const SSLStatus& GetSSL() const = 0; 139 virtual const SSLStatus& GetSSL() const = 0;
140 virtual SSLStatus& GetSSL() = 0; 140 virtual SSLStatus& GetSSL() = 0;
141 }; 141 };
142 142
143 } // namespace content 143 } // namespace content
144 144
145 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 145 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
OLDNEW
« no previous file with comments | « content/public/browser/interstitial_page.h ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698