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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 25503004: Create a new RenderFrameHost per child frame when --site-per-process is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT. Created 7 years, 2 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 39
40 namespace gfx { 40 namespace gfx {
41 class Point; 41 class Point;
42 class Rect; 42 class Rect;
43 class Size; 43 class Size;
44 } 44 }
45 45
46 namespace content { 46 namespace content {
47 47
48 class BrowserContext; 48 class BrowserContext;
49 class FrameTree;
49 class PageState; 50 class PageState;
50 class RenderViewHost; 51 class RenderViewHost;
51 class RenderViewHostDelegateView; 52 class RenderViewHostDelegateView;
52 class SessionStorageNamespace; 53 class SessionStorageNamespace;
53 class SiteInstance; 54 class SiteInstance;
54 class WebContents; 55 class WebContents;
55 class WebContentsImpl; 56 class WebContentsImpl;
56 struct ContextMenuParams; 57 struct ContextMenuParams;
57 struct FileChooserParams; 58 struct FileChooserParams;
58 struct GlobalRequestID; 59 struct GlobalRequestID;
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // calling |callback|. 430 // calling |callback|.
430 virtual void RequestMediaAccessPermission( 431 virtual void RequestMediaAccessPermission(
431 const MediaStreamRequest& request, 432 const MediaStreamRequest& request,
432 const MediaResponseCallback& callback) {} 433 const MediaResponseCallback& callback) {}
433 434
434 // Returns the SessionStorageNamespace the render view should use. Might 435 // Returns the SessionStorageNamespace the render view should use. Might
435 // create the SessionStorageNamespace on the fly. 436 // create the SessionStorageNamespace on the fly.
436 virtual SessionStorageNamespace* GetSessionStorageNamespace( 437 virtual SessionStorageNamespace* GetSessionStorageNamespace(
437 SiteInstance* instance); 438 SiteInstance* instance);
438 439
440 // Returns the FrameTree the render view should use. Guaranteed to be constant
441 // for the lifetime of the render view.
442 //
443 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer
444 // created by the RenderViewHost.
445 virtual FrameTree* GetFrameTree();
446
439 protected: 447 protected:
440 virtual ~RenderViewHostDelegate() {} 448 virtual ~RenderViewHostDelegate() {}
441 }; 449 };
442 450
443 } // namespace content 451 } // namespace content
444 452
445 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 453 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698