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

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

Issue 126101: Adds kind-of-live thumbnail generation for a potential tab switcher. (Closed)
Patch Set: For Checking hopefully Created 11 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_
7
8 class BackingStore;
9 class RenderWidgetHost;
10
11 // This class can be used to observe painting events for a RenderWidgetHost.
12 // Its primary goal in Chrome is to allow thumbnails to be generated.
13 class RenderWidgetHostPaintingObserver {
14 public:
15 // Indicates the RenderWidgetHost is about to destroy the backing store. The
16 // backing store will still be valid when this call is made.
17 virtual void WidgetWillDestroyBackingStore(RenderWidgetHost* widget,
18 BackingStore* backing_store) = 0;
19
20 // Indicates that the RenderWidgetHost just updated the backing store.
21 virtual void WidgetDidUpdateBackingStore(RenderWidgetHost* widget) = 0;
22 };
23
24 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.cc ('k') | chrome/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698