| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOU
RCE_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOU
RCE_H_ |
| 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOU
RCE_H_ | 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOU
RCE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
| 11 #include "cc/scheduler/begin_frame_source.h" | 11 #include "cc/scheduler/begin_frame_source.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 class SynchronousCompositorRegistry; | 15 class SynchronousCompositorRegistry; |
| 16 | 16 |
| 17 class SynchronousCompositorExternalBeginFrameSourceClient { | 17 class SynchronousCompositorExternalBeginFrameSourceClient { |
| 18 public: | 18 public: |
| 19 virtual void OnNeedsBeginFramesChange(bool needs_begin_frames) = 0; | 19 virtual void OnNeedsBeginFramesChange(bool needs_begin_frames) = 0; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 SynchronousCompositorExternalBeginFrameSourceClient* client_; | 51 SynchronousCompositorExternalBeginFrameSourceClient* client_; |
| 52 | 52 |
| 53 base::ThreadChecker thread_checker_; | 53 base::ThreadChecker thread_checker_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorExternalBeginFrameSource); | 55 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorExternalBeginFrameSource); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace content | 58 } // namespace content |
| 59 | 59 |
| 60 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_EXTERNAL_BEGIN_FRAME_
SOURCE_H_ | 60 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_EXTERNAL_BEGIN_FRAME_
SOURCE_H_ |
| OLD | NEW |