OLD | NEW |
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 SiteInstance* instance, | 117 SiteInstance* instance, |
118 RenderViewHostDelegate* delegate, | 118 RenderViewHostDelegate* delegate, |
119 RenderWidgetHostDelegate* widget_delegate, | 119 RenderWidgetHostDelegate* widget_delegate, |
120 int routing_id, | 120 int routing_id, |
121 int main_frame_routing_id, | 121 int main_frame_routing_id, |
122 bool swapped_out, | 122 bool swapped_out, |
123 bool hidden); | 123 bool hidden); |
124 virtual ~RenderViewHostImpl(); | 124 virtual ~RenderViewHostImpl(); |
125 | 125 |
126 // RenderViewHost implementation. | 126 // RenderViewHost implementation. |
| 127 virtual RenderFrameHost* GetMainFrame() OVERRIDE; |
127 virtual void AllowBindings(int binding_flags) OVERRIDE; | 128 virtual void AllowBindings(int binding_flags) OVERRIDE; |
128 virtual void ClearFocusedNode() OVERRIDE; | 129 virtual void ClearFocusedNode() OVERRIDE; |
129 virtual void ClosePage() OVERRIDE; | 130 virtual void ClosePage() OVERRIDE; |
130 virtual void CopyImageAt(int x, int y) OVERRIDE; | 131 virtual void CopyImageAt(int x, int y) OVERRIDE; |
131 virtual void DesktopNotificationPermissionRequestDone( | 132 virtual void DesktopNotificationPermissionRequestDone( |
132 int callback_context) OVERRIDE; | 133 int callback_context) OVERRIDE; |
133 virtual void DesktopNotificationPostDisplay(int callback_context) OVERRIDE; | 134 virtual void DesktopNotificationPostDisplay(int callback_context) OVERRIDE; |
134 virtual void DesktopNotificationPostError( | 135 virtual void DesktopNotificationPostError( |
135 int notification_id, | 136 int notification_id, |
136 const base::string16& message) OVERRIDE; | 137 const base::string16& message) OVERRIDE; |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 709 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
709 }; | 710 }; |
710 | 711 |
711 #if defined(COMPILER_MSVC) | 712 #if defined(COMPILER_MSVC) |
712 #pragma warning(pop) | 713 #pragma warning(pop) |
713 #endif | 714 #endif |
714 | 715 |
715 } // namespace content | 716 } // namespace content |
716 | 717 |
717 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 718 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |