| 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_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
| 6 #define CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // Must be accessed only on ImplThread, through GetImpl(). | 126 // Must be accessed only on ImplThread, through GetImpl(). |
| 127 ImplThreadData impl_unsafe_; | 127 ImplThreadData impl_unsafe_; |
| 128 | 128 |
| 129 // Must be accessed only on MainThread, through GetMain(). | 129 // Must be accessed only on MainThread, through GetMain(). |
| 130 MainThreadData main_unsafe_; | 130 MainThreadData main_unsafe_; |
| 131 | 131 |
| 132 // Can be accessed on both. | 132 // Can be accessed on both. |
| 133 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; | 133 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; |
| 134 scoped_refptr<base::MessageLoopProxy> main_message_loop_; | 134 scoped_refptr<base::MessageLoopProxy> main_message_loop_; |
| 135 int surface_id_; | 135 int surface_id_; |
| 136 bool flip_texture_; |
| 136 }; | 137 }; |
| 137 | 138 |
| 138 } // namespace content | 139 } // namespace content |
| 139 | 140 |
| 140 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 141 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
| OLD | NEW |