| 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_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/android/jni_helper.h" | 10 #include "base/android/jni_helper.h" |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 | 301 |
| 302 // A compositor layer containing any layer that should be shown. | 302 // A compositor layer containing any layer that should be shown. |
| 303 scoped_refptr<cc::Layer> root_layer_; | 303 scoped_refptr<cc::Layer> root_layer_; |
| 304 | 304 |
| 305 // Whether the renderer backing this ContentViewCore has crashed. | 305 // Whether the renderer backing this ContentViewCore has crashed. |
| 306 bool tab_crashed_; | 306 bool tab_crashed_; |
| 307 | 307 |
| 308 // Whether input events will be consistently delivered at vsync time. | 308 // Whether input events will be consistently delivered at vsync time. |
| 309 bool input_events_delivered_at_vsync_; | 309 bool input_events_delivered_at_vsync_; |
| 310 | 310 |
| 311 // Whether the page has JavaScript handlers for touch events. |
| 312 bool has_touch_event_handlers_; |
| 313 |
| 311 // Whether a new frame from the renderer is waiting to be displayed by the | 314 // Whether a new frame from the renderer is waiting to be displayed by the |
| 312 // browser compositor. | 315 // browser compositor. |
| 313 bool renderer_frame_pending_; | 316 bool renderer_frame_pending_; |
| 314 | 317 |
| 315 float dpi_scale_; | 318 float dpi_scale_; |
| 316 | 319 |
| 317 // The owning window that has a hold of main application activity. | 320 // The owning window that has a hold of main application activity. |
| 318 ui::WindowAndroid* window_android_; | 321 ui::WindowAndroid* window_android_; |
| 319 | 322 |
| 320 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 323 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 321 }; | 324 }; |
| 322 | 325 |
| 323 bool RegisterContentViewCore(JNIEnv* env); | 326 bool RegisterContentViewCore(JNIEnv* env); |
| 324 | 327 |
| 325 } // namespace content | 328 } // namespace content |
| 326 | 329 |
| 327 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 330 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |