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

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

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 6 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_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual void UpdateTitle(RenderViewHost* render_view_host, 106 virtual void UpdateTitle(RenderViewHost* render_view_host,
107 int32 page_id, 107 int32 page_id,
108 const string16& title, 108 const string16& title,
109 base::i18n::TextDirection title_direction) OVERRIDE; 109 base::i18n::TextDirection title_direction) OVERRIDE;
110 virtual RendererPreferences GetRendererPrefs( 110 virtual RendererPreferences GetRendererPrefs(
111 BrowserContext* browser_context) const OVERRIDE; 111 BrowserContext* browser_context) const OVERRIDE;
112 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 112 virtual WebPreferences GetWebkitPrefs() OVERRIDE;
113 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 113 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
114 virtual void CreateNewWindow( 114 virtual void CreateNewWindow(
115 int route_id, 115 int route_id,
116 int main_frame_route_id,
116 const ViewHostMsg_CreateWindow_Params& params, 117 const ViewHostMsg_CreateWindow_Params& params,
117 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 118 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
118 virtual void CreateNewWidget(int route_id, 119 virtual void CreateNewWidget(int route_id,
119 WebKit::WebPopupType popup_type) OVERRIDE; 120 WebKit::WebPopupType popup_type) OVERRIDE;
120 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; 121 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE;
121 virtual void ShowCreatedWindow(int route_id, 122 virtual void ShowCreatedWindow(int route_id,
122 WindowOpenDisposition disposition, 123 WindowOpenDisposition disposition,
123 const gfx::Rect& initial_pos, 124 const gfx::Rect& initial_pos,
124 bool user_gesture) OVERRIDE; 125 bool user_gesture) OVERRIDE;
125 virtual void ShowCreatedWidget(int route_id, 126 virtual void ShowCreatedWidget(int route_id,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 scoped_ptr<InterstitialPageDelegate> delegate_; 241 scoped_ptr<InterstitialPageDelegate> delegate_;
241 242
242 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 243 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
243 244
244 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 245 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
245 }; 246 };
246 247
247 } // namespace content 248 } // namespace content
248 249
249 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ 250 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.cc ('k') | content/browser/web_contents/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698