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

Side by Side Diff: chrome/browser/tab_contents/render_view_host_manager.h

Issue 160249: Merge 21685 - Relanding r21673 without reenabling the BrowserTest, which appa... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/tab_contents/render_view_host_manager.h:r21685
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_MANAGER_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_MANAGER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_MANAGER_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_MANAGER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 interstitial_page_ = NULL; 153 interstitial_page_ = NULL;
154 } 154 }
155 155
156 // Returns the currently showing interstitial, NULL if no interstitial is 156 // Returns the currently showing interstitial, NULL if no interstitial is
157 // showing. 157 // showing.
158 InterstitialPage* interstitial_page() const { 158 InterstitialPage* interstitial_page() const {
159 return interstitial_page_; 159 return interstitial_page_;
160 } 160 }
161 161
162 // RenderViewHostDelegate::RendererManagement implementation. 162 // RenderViewHostDelegate::RendererManagement implementation.
163 virtual void ShouldClosePage(bool proceed); 163 virtual void ShouldClosePage(bool for_cross_site_transition, bool proceed);
164 virtual void OnCrossSiteResponse(int new_render_process_host_id, 164 virtual void OnCrossSiteResponse(int new_render_process_host_id,
165 int new_request_id); 165 int new_request_id);
166 virtual void OnCrossSiteNavigationCanceled(); 166 virtual void OnCrossSiteNavigationCanceled();
167 167
168 private: 168 private:
169 friend class TestTabContents; 169 friend class TestTabContents;
170 170
171 // Returns whether this tab should transition to a new renderer for 171 // Returns whether this tab should transition to a new renderer for
172 // cross-site URLs. Enabled unless we see the --process-per-tab command line 172 // cross-site URLs. Enabled unless we see the --process-per-tab command line
173 // switch. Can be overridden in unit tests. 173 // switch. Can be overridden in unit tests.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 }; 243 };
244 244
245 // The "details" for a NOTIFY_RENDER_VIEW_HOST_CHANGED notification. The old 245 // The "details" for a NOTIFY_RENDER_VIEW_HOST_CHANGED notification. The old
246 // host can be NULL when the first RenderViewHost is set. 246 // host can be NULL when the first RenderViewHost is set.
247 struct RenderViewHostSwitchedDetails { 247 struct RenderViewHostSwitchedDetails {
248 RenderViewHost* old_host; 248 RenderViewHost* old_host;
249 RenderViewHost* new_host; 249 RenderViewHost* new_host;
250 }; 250 };
251 251
252 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_MANAGER_H_ 252 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698