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

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

Issue 373323003: Cache the current WebPreferences on RenderViewHostImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 6 years, 5 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 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // RenderViewHostDelegate implementation: 123 // RenderViewHostDelegate implementation:
124 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; 124 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
125 virtual bool OnMessageReceived(RenderViewHost* render_view_host, 125 virtual bool OnMessageReceived(RenderViewHost* render_view_host,
126 const IPC::Message& message) OVERRIDE; 126 const IPC::Message& message) OVERRIDE;
127 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; 127 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE;
128 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 128 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
129 base::TerminationStatus status, 129 base::TerminationStatus status,
130 int error_code) OVERRIDE; 130 int error_code) OVERRIDE;
131 virtual RendererPreferences GetRendererPrefs( 131 virtual RendererPreferences GetRendererPrefs(
132 BrowserContext* browser_context) const OVERRIDE; 132 BrowserContext* browser_context) const OVERRIDE;
133 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 133 virtual WebPreferences ComputeWebkitPrefs() OVERRIDE;
134 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 134 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
135 virtual void CreateNewWindow( 135 virtual void CreateNewWindow(
136 int render_process_id, 136 int render_process_id,
137 int route_id, 137 int route_id,
138 int main_frame_route_id, 138 int main_frame_route_id,
139 const ViewHostMsg_CreateWindow_Params& params, 139 const ViewHostMsg_CreateWindow_Params& params,
140 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 140 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
141 virtual void CreateNewWidget(int render_process_id, 141 virtual void CreateNewWidget(int render_process_id,
142 int route_id, 142 int route_id,
143 blink::WebPopupType popup_type) OVERRIDE; 143 blink::WebPopupType popup_type) OVERRIDE;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 284 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
285 285
286 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 286 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
287 287
288 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 288 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
289 }; 289 };
290 290
291 } // namespace content 291 } // namespace content
292 292
293 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 293 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698