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

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

Issue 103633002: Add RenderFrameHostDelegate and plumb it through all the necessary classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 namespace ui { 55 namespace ui {
56 struct SelectedFileInfo; 56 struct SelectedFileInfo;
57 } 57 }
58 58
59 namespace content { 59 namespace content {
60 60
61 class BrowserMediaPlayerManager; 61 class BrowserMediaPlayerManager;
62 class ChildProcessSecurityPolicyImpl; 62 class ChildProcessSecurityPolicyImpl;
63 class PageState; 63 class PageState;
64 class RenderFrameHostDelegate;
64 class RenderFrameHostImpl; 65 class RenderFrameHostImpl;
65 class RenderWidgetHostDelegate; 66 class RenderWidgetHostDelegate;
66 class SessionStorageNamespace; 67 class SessionStorageNamespace;
67 class SessionStorageNamespaceImpl; 68 class SessionStorageNamespaceImpl;
68 class TestRenderViewHost; 69 class TestRenderViewHost;
69 struct ContextMenuParams; 70 struct ContextMenuParams;
70 struct FileChooserParams; 71 struct FileChooserParams;
71 struct Referrer; 72 struct Referrer;
72 struct ShowDesktopNotificationHostMsgParams; 73 struct ShowDesktopNotificationHostMsgParams;
73 74
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // view is initially hidden or visible. 112 // view is initially hidden or visible.
112 // 113 //
113 // The |session_storage_namespace| parameter allows multiple render views and 114 // The |session_storage_namespace| parameter allows multiple render views and
114 // WebContentses to share the same session storage (part of the WebStorage 115 // WebContentses to share the same session storage (part of the WebStorage
115 // spec) space. This is useful when restoring contentses, but most callers 116 // spec) space. This is useful when restoring contentses, but most callers
116 // should pass in NULL which will cause a new SessionStorageNamespace to be 117 // should pass in NULL which will cause a new SessionStorageNamespace to be
117 // created. 118 // created.
118 RenderViewHostImpl( 119 RenderViewHostImpl(
119 SiteInstance* instance, 120 SiteInstance* instance,
120 RenderViewHostDelegate* delegate, 121 RenderViewHostDelegate* delegate,
122 RenderFrameHostDelegate* frame_delegate,
121 RenderWidgetHostDelegate* widget_delegate, 123 RenderWidgetHostDelegate* widget_delegate,
122 int routing_id, 124 int routing_id,
123 int main_frame_routing_id, 125 int main_frame_routing_id,
124 bool swapped_out, 126 bool swapped_out,
125 bool hidden); 127 bool hidden);
126 virtual ~RenderViewHostImpl(); 128 virtual ~RenderViewHostImpl();
127 129
128 // RenderViewHost implementation. 130 // RenderViewHost implementation.
129 virtual void AllowBindings(int binding_flags) OVERRIDE; 131 virtual void AllowBindings(int binding_flags) OVERRIDE;
130 virtual void ClearFocusedNode() OVERRIDE; 132 virtual void ClearFocusedNode() OVERRIDE;
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 747 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
746 }; 748 };
747 749
748 #if defined(COMPILER_MSVC) 750 #if defined(COMPILER_MSVC)
749 #pragma warning(pop) 751 #pragma warning(pop)
750 #endif 752 #endif
751 753
752 } // namespace content 754 } // namespace content
753 755
754 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 756 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_factory.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698