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

Side by Side Diff: content/browser/web_contents/navigation_entry_impl.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
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_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual int64 GetPostID() const OVERRIDE; 58 virtual int64 GetPostID() const OVERRIDE;
59 virtual const FaviconStatus& GetFavicon() const OVERRIDE; 59 virtual const FaviconStatus& GetFavicon() const OVERRIDE;
60 virtual FaviconStatus& GetFavicon() OVERRIDE; 60 virtual FaviconStatus& GetFavicon() OVERRIDE;
61 virtual const SSLStatus& GetSSL() const OVERRIDE; 61 virtual const SSLStatus& GetSSL() const OVERRIDE;
62 virtual SSLStatus& GetSSL() OVERRIDE; 62 virtual SSLStatus& GetSSL() OVERRIDE;
63 63
64 void set_unique_id(int unique_id) { 64 void set_unique_id(int unique_id) {
65 unique_id_ = unique_id; 65 unique_id_ = unique_id;
66 } 66 }
67 67
68 // The SiteInstance tells us how to share sub-processes when the tab type is 68 // The SiteInstance tells us how to share sub-processes. This is a reference
69 // TAB_CONTENTS_WEB. This will be NULL otherwise. This is a reference counted 69 // counted pointer to a shared site instance.
70 // pointer to a shared site instance.
71 // 70 //
72 // Note that the SiteInstance should usually not be changed after it is set, 71 // Note that the SiteInstance should usually not be changed after it is set,
73 // but this may happen if the NavigationEntry was cloned and needs to use a 72 // but this may happen if the NavigationEntry was cloned and needs to use a
74 // different SiteInstance. 73 // different SiteInstance.
75 void set_site_instance(SiteInstanceImpl* site_instance); 74 void set_site_instance(SiteInstanceImpl* site_instance);
76 SiteInstanceImpl* site_instance() const { 75 SiteInstanceImpl* site_instance() const {
77 return site_instance_.get(); 76 return site_instance_.get();
78 } 77 }
79 78
80 void set_page_type(PageType page_type) { 79 void set_page_type(PageType page_type) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // instance, instead of a new navigation. This value should not be persisted 207 // instance, instead of a new navigation. This value should not be persisted
209 // and is not needed after the entry commits. 208 // and is not needed after the entry commits.
210 bool is_cross_site_reload_; 209 bool is_cross_site_reload_;
211 210
212 // Copy and assignment is explicitly allowed for this class. 211 // Copy and assignment is explicitly allowed for this class.
213 }; 212 };
214 213
215 } // namespace content 214 } // namespace content
216 215
217 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ 216 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698