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

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

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "app/surface/transport_dib.h"
10
11 class BackingStore; 9 class BackingStore;
12 class RenderWidgetHost; 10 class RenderWidgetHost;
13 class SkBitmap; 11 class SkBitmap;
14 12
15 namespace gfx { 13 namespace gfx {
16 class Size; 14 class Size;
17 } 15 }
18 16
19 // This class can be used to observe painting events for a RenderWidgetHost. 17 // This class can be used to observe painting events for a RenderWidgetHost.
20 // Its primary goal in Chrome is to allow thumbnails to be generated. 18 // Its primary goal in Chrome is to allow thumbnails to be generated.
(...skipping 12 matching lines...) Expand all
33 virtual void WidgetDidReceivePaintAtSizeAck( 31 virtual void WidgetDidReceivePaintAtSizeAck(
34 RenderWidgetHost* widget, 32 RenderWidgetHost* widget,
35 int tag, 33 int tag,
36 const gfx::Size& size) = 0; 34 const gfx::Size& size) = 0;
37 35
38 protected: 36 protected:
39 virtual ~RenderWidgetHostPaintingObserver() {} 37 virtual ~RenderWidgetHostPaintingObserver() {}
40 }; 38 };
41 39
42 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_ 40 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_PAINTING_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/resource_message_filter_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698