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/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 android build. 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // RenderViewHostDelegate implementation: 124 // RenderViewHostDelegate implementation:
125 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; 125 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
126 virtual bool OnMessageReceived(RenderViewHost* render_view_host, 126 virtual bool OnMessageReceived(RenderViewHost* render_view_host,
127 const IPC::Message& message) OVERRIDE; 127 const IPC::Message& message) OVERRIDE;
128 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; 128 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE;
129 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 129 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
130 base::TerminationStatus status, 130 base::TerminationStatus status,
131 int error_code) OVERRIDE; 131 int error_code) OVERRIDE;
132 virtual RendererPreferences GetRendererPrefs( 132 virtual RendererPreferences GetRendererPrefs(
133 BrowserContext* browser_context) const OVERRIDE; 133 BrowserContext* browser_context) const OVERRIDE;
134 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 134 virtual WebPreferences ComputeWebkitPrefs() OVERRIDE;
135 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 135 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
136 virtual void CreateNewWindow( 136 virtual void CreateNewWindow(
137 int render_process_id, 137 int render_process_id,
138 int route_id, 138 int route_id,
139 int main_frame_route_id, 139 int main_frame_route_id,
140 const ViewHostMsg_CreateWindow_Params& params, 140 const ViewHostMsg_CreateWindow_Params& params,
141 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 141 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
142 virtual void CreateNewWidget(int render_process_id, 142 virtual void CreateNewWidget(int render_process_id,
143 int route_id, 143 int route_id,
144 blink::WebPopupType popup_type) OVERRIDE; 144 blink::WebPopupType popup_type) OVERRIDE;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 285 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
286 286
287 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 287 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
288 288
289 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 289 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
290 }; 290 };
291 291
292 } // namespace content 292 } // namespace content
293 293
294 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 294 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698