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

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

Issue 2877203002: Don't allow RenderFrames to be created during WebContents destruction. (Closed)
Patch Set: Initial patch Created 3 years, 7 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_delegate.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_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents, 294 virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents,
295 bool allowed_per_prefs, 295 bool allowed_per_prefs,
296 const url::Origin& origin, 296 const url::Origin& origin,
297 const GURL& resource_url); 297 const GURL& resource_url);
298 298
299 #if defined(OS_ANDROID) 299 #if defined(OS_ANDROID)
300 virtual base::android::ScopedJavaLocalRef<jobject> 300 virtual base::android::ScopedJavaLocalRef<jobject>
301 GetJavaRenderFrameHostDelegate(); 301 GetJavaRenderFrameHostDelegate();
302 #endif 302 #endif
303 303
304 // Whether the delegate is being destroyed, in which case the RenderFrameHost
305 // should not be asked to create a RenderFrame.
306 virtual bool IsBeingDestroyed() const;
307
304 protected: 308 protected:
305 virtual ~RenderFrameHostDelegate() {} 309 virtual ~RenderFrameHostDelegate() {}
306 }; 310 };
307 311
308 } // namespace content 312 } // namespace content
309 313
310 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 314 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698