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

Side by Side Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 92873004: Prevent the browser process from creating duplicate RenderViewHosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 7 years 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 | « no previous file | content/browser/frame_host/interstitial_page_impl.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 112 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
113 virtual void UpdateTitle(RenderViewHost* render_view_host, 113 virtual void UpdateTitle(RenderViewHost* render_view_host,
114 int32 page_id, 114 int32 page_id,
115 const string16& title, 115 const string16& title,
116 base::i18n::TextDirection title_direction) OVERRIDE; 116 base::i18n::TextDirection title_direction) OVERRIDE;
117 virtual RendererPreferences GetRendererPrefs( 117 virtual RendererPreferences GetRendererPrefs(
118 BrowserContext* browser_context) const OVERRIDE; 118 BrowserContext* browser_context) const OVERRIDE;
119 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 119 virtual WebPreferences GetWebkitPrefs() OVERRIDE;
120 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 120 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
121 virtual void CreateNewWindow( 121 virtual void CreateNewWindow(
122 int render_process_id,
122 int route_id, 123 int route_id,
123 int main_frame_route_id, 124 int main_frame_route_id,
124 const ViewHostMsg_CreateWindow_Params& params, 125 const ViewHostMsg_CreateWindow_Params& params,
125 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 126 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
126 virtual void CreateNewWidget(int route_id, 127 virtual void CreateNewWidget(int route_id,
127 blink::WebPopupType popup_type) OVERRIDE; 128 blink::WebPopupType popup_type) OVERRIDE;
128 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; 129 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE;
129 virtual void ShowCreatedWindow(int route_id, 130 virtual void ShowCreatedWindow(int route_id,
130 WindowOpenDisposition disposition, 131 WindowOpenDisposition disposition,
131 const gfx::Rect& initial_pos, 132 const gfx::Rect& initial_pos,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 262 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
262 263
263 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 264 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
264 265
265 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 266 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
266 }; 267 };
267 268
268 } // namespace content 269 } // namespace content
269 270
270 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 271 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698