| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "app/surface/transport_dib.h" | 8 #include "app/surface/transport_dib.h" |
| 9 | 9 |
| 10 class BackingStore; | 10 class BackingStore; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 virtual void WidgetWillDestroyBackingStore(RenderWidgetHost* widget, | 24 virtual void WidgetWillDestroyBackingStore(RenderWidgetHost* widget, |
| 25 BackingStore* backing_store) = 0; | 25 BackingStore* backing_store) = 0; |
| 26 | 26 |
| 27 // Indicates that the RenderWidgetHost just updated the backing store. | 27 // Indicates that the RenderWidgetHost just updated the backing store. |
| 28 virtual void WidgetDidUpdateBackingStore(RenderWidgetHost* widget) = 0; | 28 virtual void WidgetDidUpdateBackingStore(RenderWidgetHost* widget) = 0; |
| 29 | 29 |
| 30 // This notifies the painting observer that a PaintAtSizeACK was | 30 // This notifies the painting observer that a PaintAtSizeACK was |
| 31 // received. | 31 // received. |
| 32 virtual void WidgetDidReceivePaintAtSizeAck( | 32 virtual void WidgetDidReceivePaintAtSizeAck( |
| 33 RenderWidgetHost* widget, | 33 RenderWidgetHost* widget, |
| 34 const TransportDIB::Handle& dib_handle, | 34 int sequence_number, |
| 35 const gfx::Size& size) = 0; | 35 const gfx::Size& size) = 0; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ | 38 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ |
| OLD | NEW |