| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_android.h" | 10 #include "base/android/jni_android.h" |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 | 389 |
| 390 // The owning window that has a hold of main application activity. | 390 // The owning window that has a hold of main application activity. |
| 391 ui::WindowAndroid* window_android_; | 391 ui::WindowAndroid* window_android_; |
| 392 | 392 |
| 393 // The cache of device's current orientation set from Java side, this value | 393 // The cache of device's current orientation set from Java side, this value |
| 394 // will be sent to Renderer once it is ready. | 394 // will be sent to Renderer once it is ready. |
| 395 int device_orientation_; | 395 int device_orientation_; |
| 396 | 396 |
| 397 bool accessibility_enabled_; | 397 bool accessibility_enabled_; |
| 398 | 398 |
| 399 int mouse_drag_start_x_; |
| 400 int mouse_drag_start_y_; |
| 401 |
| 399 // Manages injecting Java objects. | 402 // Manages injecting Java objects. |
| 400 scoped_ptr<JavaBridgeDispatcherHostManager> | 403 scoped_ptr<JavaBridgeDispatcherHostManager> |
| 401 java_bridge_dispatcher_host_manager_; | 404 java_bridge_dispatcher_host_manager_; |
| 402 | 405 |
| 403 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 406 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 404 }; | 407 }; |
| 405 | 408 |
| 406 bool RegisterContentViewCore(JNIEnv* env); | 409 bool RegisterContentViewCore(JNIEnv* env); |
| 407 | 410 |
| 408 } // namespace content | 411 } // namespace content |
| 409 | 412 |
| 410 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 413 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |