Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/cancelable_callback.h" | 9 #include "base/cancelable_callback.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 169 | 169 |
| 170 gfx::Size size_; | 170 gfx::Size size_; |
| 171 bool has_transparent_background_; | 171 bool has_transparent_background_; |
| 172 float device_scale_factor_; | 172 float device_scale_factor_; |
| 173 | 173 |
| 174 ANativeWindow* window_; | 174 ANativeWindow* window_; |
| 175 int surface_id_; | 175 int surface_id_; |
| 176 | 176 |
| 177 CompositorClient* client_; | 177 CompositorClient* client_; |
| 178 | 178 |
| 179 gfx::NativeWindow root_window_; | 179 ui::WindowAndroid* root_window_; |
|
no sievers
2015/10/22 20:55:40
revert
mfomitchev
2015/11/02 21:51:16
Done.
| |
| 180 | 180 |
| 181 // Used locally to track whether a call to LTH::Composite() did result in | 181 // Used locally to track whether a call to LTH::Composite() did result in |
| 182 // a posted SwapBuffers(). | 182 // a posted SwapBuffers(). |
| 183 bool did_post_swapbuffers_; | 183 bool did_post_swapbuffers_; |
| 184 | 184 |
| 185 // Used locally to inhibit ScheduleComposite() during Layout(). | 185 // Used locally to inhibit ScheduleComposite() during Layout(). |
| 186 bool ignore_schedule_composite_; | 186 bool ignore_schedule_composite_; |
| 187 | 187 |
| 188 // Whether we need to composite in general because of any invalidation or | 188 // Whether we need to composite in general because of any invalidation or |
| 189 // explicit request. | 189 // explicit request. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 base::ObserverList<VSyncObserver, true> observer_list_; | 223 base::ObserverList<VSyncObserver, true> observer_list_; |
| 224 | 224 |
| 225 base::WeakPtrFactory<CompositorImpl> weak_factory_; | 225 base::WeakPtrFactory<CompositorImpl> weak_factory_; |
| 226 | 226 |
| 227 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); | 227 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
| 228 }; | 228 }; |
| 229 | 229 |
| 230 } // namespace content | 230 } // namespace content |
| 231 | 231 |
| 232 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 232 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| OLD | NEW |