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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_painting_observer.h

Issue 3037006: Let PaintAtAck send an int tag instead of the TransportDIB handle. (Closed)
Patch Set: '' Created 10 years, 5 months 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
OLDNEW
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
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 tag,
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698