Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package


// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.


class BackingStore;
class RenderWidgetHost;

// This class can be used to observe painting events for a RenderWidgetHost.
// Its primary goal in Chrome is to allow thumbnails to be generated.
class RenderWidgetHostPaintingObserver {
  // Indicates the RenderWidgetHost is about to destroy the backing store. The
  // backing store will still be valid when this call is made.
  virtual void WidgetWillDestroyBackingStore(RenderWidgetHost* widget,
                                             BackingStore* backing_store) = 0;

  // Indicates that the RenderWidgetHost just updated the backing store.
  virtual void WidgetDidUpdateBackingStore(RenderWidgetHost* widget) = 0;


Generated by  Doxygen 1.6.0   Back to index