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

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

Issue 8443005: Don't reload into an app process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge after revert. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 int unique_id() const { 202 int unique_id() const {
203 return unique_id_; 203 return unique_id_;
204 } 204 }
205 205
206 // The SiteInstance tells us how to share sub-processes when the tab type is 206 // The SiteInstance tells us how to share sub-processes when the tab type is
207 // TAB_CONTENTS_WEB. This will be NULL otherwise. This is a reference counted 207 // TAB_CONTENTS_WEB. This will be NULL otherwise. This is a reference counted
208 // pointer to a shared site instance. 208 // pointer to a shared site instance.
209 // 209 //
210 // Note that the SiteInstance should usually not be changed after it is set, 210 // Note that the SiteInstance should usually not be changed after it is set,
211 // but this may happen if the NavigationEntry was cloned and needs to use a 211 // but this may happen if the NavigationEntry was cloned and needs to use a
212 // different SiteInstance, or if a hosted app is installed or uninstalled. 212 // different SiteInstance.
213 void set_site_instance(SiteInstance* site_instance); 213 void set_site_instance(SiteInstance* site_instance);
214 SiteInstance* site_instance() const { 214 SiteInstance* site_instance() const {
215 return site_instance_; 215 return site_instance_;
216 } 216 }
217 217
218 // The page type tells us if this entry is for an interstitial or error page. 218 // The page type tells us if this entry is for an interstitial or error page.
219 // See the PageType enum above. 219 // See the PageType enum above.
220 void set_page_type(content::PageType page_type) { 220 void set_page_type(content::PageType page_type) {
221 page_type_ = page_type; 221 page_type_ = page_type;
222 } 222 }
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 // This is a cached version of the result of GetTitleForDisplay. It prevents 448 // This is a cached version of the result of GetTitleForDisplay. It prevents
449 // us from having to do URL formatting on the URL every time the title is 449 // us from having to do URL formatting on the URL every time the title is
450 // displayed. When the URL, virtual URL, or title is set, this should be 450 // displayed. When the URL, virtual URL, or title is set, this should be
451 // cleared to force a refresh. 451 // cleared to force a refresh.
452 mutable string16 cached_display_title_; 452 mutable string16 cached_display_title_;
453 453
454 // Copy and assignment is explicitly allowed for this class. 454 // Copy and assignment is explicitly allowed for this class.
455 }; 455 };
456 456
457 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ 457 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698