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

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

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 // Allows overriding the type of this tab. 106 // Allows overriding the type of this tab.
107 void set_view_type(content::ViewType type) { view_type_ = type; } 107 void set_view_type(content::ViewType type) { view_type_ = type; }
108 108
109 // Returns the SavePackage which manages the page saving job. May be NULL. 109 // Returns the SavePackage which manages the page saving job. May be NULL.
110 SavePackage* save_package() const { return save_package_.get(); } 110 SavePackage* save_package() const { return save_package_.get(); }
111 111
112 // Return the currently active RenderProcessHost and RenderViewHost. Each of 112 // Return the currently active RenderProcessHost and RenderViewHost. Each of
113 // these may change over time. 113 // these may change over time.
114 RenderProcessHost* GetRenderProcessHost() const; 114 content::RenderProcessHost* GetRenderProcessHost() const;
115 RenderViewHost* render_view_host() const { 115 RenderViewHost* render_view_host() const {
116 return render_manager_.current_host(); 116 return render_manager_.current_host();
117 } 117 }
118 118
119 WebUI* committed_web_ui() const { 119 WebUI* committed_web_ui() const {
120 return render_manager_.web_ui(); 120 return render_manager_.web_ui();
121 } 121 }
122 122
123 // Returns the committed WebUI if one exists, otherwise the pending one. 123 // Returns the committed WebUI if one exists, otherwise the pending one.
124 // Callers who want to use the pending WebUI for the pending navigation entry 124 // Callers who want to use the pending WebUI for the pending navigation entry
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 // (full-page plugins for now only) permissions. 871 // (full-page plugins for now only) permissions.
872 int content_restrictions_; 872 int content_restrictions_;
873 873
874 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 874 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
875 content::ViewType view_type_; 875 content::ViewType view_type_;
876 876
877 DISALLOW_COPY_AND_ASSIGN(TabContents); 877 DISALLOW_COPY_AND_ASSIGN(TabContents);
878 }; 878 };
879 879
880 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 880 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698