| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // WebContentses to share the same session storage (part of the WebStorage | 116 // WebContentses to share the same session storage (part of the WebStorage |
| 117 // spec) space. This is useful when restoring contentses, but most callers | 117 // spec) space. This is useful when restoring contentses, but most callers |
| 118 // should pass in NULL which will cause a new SessionStorageNamespace to be | 118 // should pass in NULL which will cause a new SessionStorageNamespace to be |
| 119 // created. | 119 // created. |
| 120 RenderViewHostImpl( | 120 RenderViewHostImpl( |
| 121 SiteInstance* instance, | 121 SiteInstance* instance, |
| 122 RenderViewHostDelegate* delegate, | 122 RenderViewHostDelegate* delegate, |
| 123 RenderWidgetHostDelegate* widget_delegate, | 123 RenderWidgetHostDelegate* widget_delegate, |
| 124 int routing_id, | 124 int routing_id, |
| 125 int main_frame_routing_id, | 125 int main_frame_routing_id, |
| 126 bool swapped_out); | 126 bool swapped_out, |
| 127 bool hidden); |
| 127 virtual ~RenderViewHostImpl(); | 128 virtual ~RenderViewHostImpl(); |
| 128 | 129 |
| 129 // RenderViewHost implementation. | 130 // RenderViewHost implementation. |
| 130 virtual void AllowBindings(int binding_flags) OVERRIDE; | 131 virtual void AllowBindings(int binding_flags) OVERRIDE; |
| 131 virtual void ClearFocusedNode() OVERRIDE; | 132 virtual void ClearFocusedNode() OVERRIDE; |
| 132 virtual void ClosePage() OVERRIDE; | 133 virtual void ClosePage() OVERRIDE; |
| 133 virtual void CopyImageAt(int x, int y) OVERRIDE; | 134 virtual void CopyImageAt(int x, int y) OVERRIDE; |
| 134 virtual void DisassociateFromPopupCount() OVERRIDE; | 135 virtual void DisassociateFromPopupCount() OVERRIDE; |
| 135 virtual void DesktopNotificationPermissionRequestDone( | 136 virtual void DesktopNotificationPermissionRequestDone( |
| 136 int callback_context) OVERRIDE; | 137 int callback_context) OVERRIDE; |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 706 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 706 }; | 707 }; |
| 707 | 708 |
| 708 #if defined(COMPILER_MSVC) | 709 #if defined(COMPILER_MSVC) |
| 709 #pragma warning(pop) | 710 #pragma warning(pop) |
| 710 #endif | 711 #endif |
| 711 | 712 |
| 712 } // namespace content | 713 } // namespace content |
| 713 | 714 |
| 714 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 715 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |