| OLD | NEW | 
|    1 // Copyright 2013 The Chromium Authors. All rights reserved. |    1 // Copyright 2013 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_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |    5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 
|    6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |    6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 
|    7  |    7  | 
|    8 #include <stddef.h> |    8 #include <stddef.h> | 
|    9  |    9  | 
 |   10 #include <memory> | 
 |   11  | 
|   10 #include "base/memory/ref_counted.h" |   12 #include "base/memory/ref_counted.h" | 
|   11 #include "content/common/content_export.h" |   13 #include "content/common/content_export.h" | 
|   12 #include "gpu/command_buffer/service/in_process_command_buffer.h" |   14 #include "gpu/command_buffer/service/in_process_command_buffer.h" | 
|   13 #include "ui/gfx/geometry/rect.h" |   15 #include "ui/gfx/geometry/rect.h" | 
|   14 #include "ui/gfx/geometry/size.h" |   16 #include "ui/gfx/geometry/size.h" | 
|   15  |   17  | 
|   16 class SkCanvas; |   18 class SkCanvas; | 
|   17  |   19  | 
|   18 namespace cc { |   20 namespace cc { | 
|   19 class CompositorFrame; |   21 class CompositorFrame; | 
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  104   // and if any input animation is active, it should tick now. |  106   // and if any input animation is active, it should tick now. | 
|  105   virtual void OnComputeScroll(base::TimeTicks animation_time) = 0; |  107   virtual void OnComputeScroll(base::TimeTicks animation_time) = 0; | 
|  106  |  108  | 
|  107  protected: |  109  protected: | 
|  108   virtual ~SynchronousCompositor() {} |  110   virtual ~SynchronousCompositor() {} | 
|  109 }; |  111 }; | 
|  110  |  112  | 
|  111 }  // namespace content |  113 }  // namespace content | 
|  112  |  114  | 
|  113 #endif  // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |  115 #endif  // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 
| OLD | NEW |