| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 // The owning window that has a hold of main application activity. | 334 // The owning window that has a hold of main application activity. |
| 335 ui::WindowAndroid* window_android_; | 335 ui::WindowAndroid* window_android_; |
| 336 | 336 |
| 337 // The cache of device's current orientation set from Java side, this value | 337 // The cache of device's current orientation set from Java side, this value |
| 338 // will be sent to Renderer once it is ready. | 338 // will be sent to Renderer once it is ready. |
| 339 int device_orientation_; | 339 int device_orientation_; |
| 340 | 340 |
| 341 bool accessibility_enabled_; | 341 bool accessibility_enabled_; |
| 342 | 342 |
| 343 // Manages injecting Java objects. | 343 // Manages injecting Java objects. |
| 344 scoped_ptr<GinJavaBridgeDispatcherHost> | 344 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 345 java_bridge_dispatcher_host_; | |
| 346 | 345 |
| 347 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 346 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 348 }; | 347 }; |
| 349 | 348 |
| 350 bool RegisterContentViewCore(JNIEnv* env); | 349 bool RegisterContentViewCore(JNIEnv* env); |
| 351 | 350 |
| 352 } // namespace content | 351 } // namespace content |
| 353 | 352 |
| 354 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 353 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |