OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
146 virtual void DidAbortSwapBuffers() OVERRIDE; | 146 virtual void DidAbortSwapBuffers() OVERRIDE; |
147 | 147 |
148 private: | 148 private: |
149 RenderWidgetCompositor(RenderWidget* widget, bool threaded); | 149 RenderWidgetCompositor(RenderWidget* widget, bool threaded); |
150 | 150 |
151 void Initialize(cc::LayerTreeSettings settings); | 151 void Initialize(cc::LayerTreeSettings settings); |
152 | 152 |
153 bool threaded_; | 153 bool threaded_; |
154 RenderWidget* widget_; | 154 RenderWidget* widget_; |
155 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; | 155 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; |
156 | |
157 bool send_v8_idle_notification_after_commit_; | |
158 base::TimeTicks begin_main_frame_time_; | |
159 base::TimeDelta begin_main_frame_interval_; | |
brettw
2014/08/26 17:48:46
The previous variable seems self-explanatory, but
ernstm
2014/08/26 18:44:08
Done.
| |
156 }; | 160 }; |
157 | 161 |
158 } // namespace content | 162 } // namespace content |
159 | 163 |
160 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 164 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
OLD | NEW |