| 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_WIDGET_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 // Called when the visibility of the RenderFrameProxyHost in outter | 175 // Called when the visibility of the RenderFrameProxyHost in outter |
| 176 // WebContents changes. This method is only called on an inner WebContents and | 176 // WebContents changes. This method is only called on an inner WebContents and |
| 177 // will eventually notify all the RenderWidgetHostViews belonging to that | 177 // will eventually notify all the RenderWidgetHostViews belonging to that |
| 178 // WebContents. | 178 // WebContents. |
| 179 virtual void OnRenderFrameProxyVisibilityChanged(bool visible) {} | 179 virtual void OnRenderFrameProxyVisibilityChanged(bool visible) {} |
| 180 | 180 |
| 181 // Update the renderer's cache of the screen rect of the view and window. | 181 // Update the renderer's cache of the screen rect of the view and window. |
| 182 virtual void SendScreenRects() {} | 182 virtual void SendScreenRects() {} |
| 183 | 183 |
| 184 // Notifies that the main frame in the renderer has performed the first paint |
| 185 // after a navigation. |
| 186 virtual void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) { |
| 187 } |
| 188 |
| 184 protected: | 189 protected: |
| 185 virtual ~RenderWidgetHostDelegate() {} | 190 virtual ~RenderWidgetHostDelegate() {} |
| 186 }; | 191 }; |
| 187 | 192 |
| 188 } // namespace content | 193 } // namespace content |
| 189 | 194 |
| 190 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 195 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |