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

Side by Side Diff: content/public/browser/render_widget_host_view_frame_subscriber.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_FRAME_SUBSCRIBER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_FRAME_SUBSCRIBER_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_FRAME_SUBSCRIBER_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_FRAME_SUBSCRIBER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Rect; 12 class Rect;
13 class Size;
14 } // namespace gfx 13 } // namespace gfx
15 14
16 namespace media { 15 namespace media {
17 class VideoFrame; 16 class VideoFrame;
18 } // namespace media 17 } // namespace media
19 18
20 namespace content { 19 namespace content {
21 20
22 // Defines an interface for listening to events of frame presentation and to 21 // Defines an interface for listening to events of frame presentation and to
23 // instruct the platform layer (i.e. RenderWidgetHostView) to copy a frame. 22 // instruct the platform layer (i.e. RenderWidgetHostView) to copy a frame.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Return false if the current frame should not be captured. 66 // Return false if the current frame should not be captured.
68 virtual bool ShouldCaptureFrame(const gfx::Rect& damage_rect, 67 virtual bool ShouldCaptureFrame(const gfx::Rect& damage_rect,
69 base::TimeTicks present_time, 68 base::TimeTicks present_time,
70 scoped_refptr<media::VideoFrame>* storage, 69 scoped_refptr<media::VideoFrame>* storage,
71 DeliverFrameCallback* callback) = 0; 70 DeliverFrameCallback* callback) = 0;
72 }; 71 };
73 72
74 } // namespace content 73 } // namespace content
75 74
76 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_FRAME_SUBSCRIBER_H_ 75 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_FRAME_SUBSCRIBER_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/public/browser/resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698