Index: media/capture/content/video_capture_oracle.h |
diff --git a/media/capture/content/video_capture_oracle.h b/media/capture/content/video_capture_oracle.h |
index aff9745295118330e1406f168b5ce4f3526e929c..09c1407b6be6d53d4b45322ce851cb4dab3d0928 100644 |
--- a/media/capture/content/video_capture_oracle.h |
+++ b/media/capture/content/video_capture_oracle.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef MEDIA_CAPTURE_VIDEO_CAPTURE_ORACLE_H_ |
-#define MEDIA_CAPTURE_VIDEO_CAPTURE_ORACLE_H_ |
+#ifndef MEDIA_CAPTURE_CONTENT_VIDEO_CAPTURE_ORACLE_H_ |
+#define MEDIA_CAPTURE_CONTENT_VIDEO_CAPTURE_ORACLE_H_ |
#include "base/callback_forward.h" |
#include "base/memory/scoped_ptr.h" |
@@ -98,6 +98,9 @@ class MEDIA_EXPORT VideoCaptureOracle { |
// changes to the capture size, to avoid stressing the end-to-end pipeline. |
gfx::Size capture_size() const { return capture_size_; } |
+ // Returns the oracle's estimate of animation content currently being active. |
+ bool IsAnimationActive() const; |
+ |
private: |
// Retrieve/Assign a frame timestamp by capture |frame_number|. Only valid |
// when IsFrameInRecentHistory(frame_number) returns true. |
@@ -199,4 +202,4 @@ class MEDIA_EXPORT VideoCaptureOracle { |
} // namespace media |
-#endif // MEDIA_CAPTURE_VIDEO_CAPTURE_ORACLE_H_ |
+#endif // MEDIA_CAPTURE_CONTENT_VIDEO_CAPTURE_ORACLE_H_ |